
@media  (max-width: 767px) {

  /* navbar */
  .navbar {
    padding: 20px 20px;
    height: 50px;
  }

  .nav-menubar {
    display: none;
  }

  .nav-mid {
    display: none;
  }

  .menu {
    display: none;
  }

  .line-container {
    display: flex;
    padding: 0;
  }
  .navbar-wrapper.shrink {
  height: auto;
}
  .navbar-wrapper.shrink .navbar {
  padding: 20px 25px;
}


  /* header-section */
  .header-section {
    padding: 100px 30px;
    padding-top: 50px;
    height: auto;
    position: relative;
  }

  .header-second-section {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 30px 0px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 1s ease, opacity 1s ease;
    width: auto;
    position: absolute;
    bottom: -160px;
  }

  .main-head {
    font-size: 55px;
    padding: 30px 0px;
    width: 100%;
  }

  .image-wrap {
    height: 25vh;
    width: auto;
  }
  .hanging-bulb {
  width: auto;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-out;
  /* smooth zoom transition */
}

  /* gallery-section */
  .gallery-section {
    padding: 20px 30px;
    padding-top: 250px;
  }

  .gallery-section-head {
    text-align: center;
    width: 100%;
    font-size: 60px;
  }

  .paragraph-section {
    display: block;
  }

  /* project-section */
  .project-section {
    padding: 20px 0px;
  }

  .first-project {
    display: block;
    padding: 20px 0px;
  }

  .first-project-right {
    width: 100%;
    display: block;
    gap: 30px;
    padding: 0px 0px;
  }

  .image-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
  }

  .review {
    margin: 0;
    transform: none !important;
    /* Remove any rotation */
    writing-mode: horizontal-tb;
    /* Ensure horizontal text */
    position: relative;
    /* Ensures it flows above image */
    font-size: 13px;
    font-weight: 200;
    letter-spacing: 2px;
    color: #000;
    font-family: Julius Sans One, sans-serif;
    text-transform: uppercase;
    padding: 20px 30px;
  }

  .zoom-wrapper.visible img {
    width: 100%;
  }

  .paragraph {
    padding: 20px 0px;
  }

  .first-project-para {
    padding: 0px 20px;
  }

  .second-project {
    display: block;
    padding: 20px 0px;
    width: 100%;
  }

  .second-project-left {
    width: 100%;
    display: block;
  }

  .hall {
    width: 100%;
    display: block;
  }

  .second-review {
    position: relative;
    /* Remove absolute on mobile */
    top: auto;
    right: auto;
    transform: none;
    /* Cancel rotation */
    writing-mode: horizontal-tb;
    /* Horizontal text */
    padding: 20px 30px;
    font-size: 13px;
    font-weight: 200;
    letter-spacing: 2px;
    color: #000;
    font-family: Julius Sans One, sans-serif;
    text-transform: uppercase;
    text-align: left;
  }

  .scroll-zoom.visible img {
    width: 100%;
  }

  .para {
    margin-left: 0;
    width: 100%;
    padding: 0;
  }

  .left-paragraph-section {
    text-align: left;
    padding: 20px 20px;
  }

  .third-project {
    display: flex;
    flex-direction: column;
    padding: 20px 0px;
    gap: 20px;
  }

  .third-project-right {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .image-zoom.visible img {
    width: 100%;
  }

  .third-review {
    order: -1;
    /* Move to the top */
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 10px;
    text-align: left;
    padding: 20px 30px;
  }

  .image-zoom {
    order: 0;
    width: 100%;
  }



  .third-project-left {
    width: 100%;
    order: 2;
    text-align: left;
  }

  .third-para {
    font-size: 17px;
    font-weight: 300;
    line-height: 25px;
    margin: 0;
    text-align: left;
    padding: 20px 30px;
  }

  .fourth-project {
    display: flex;
    flex-direction: column;
    padding: 20px 0px;
    gap: 20px;
  }

  .fourth-project-right,
  .fourth-project-left {
    width: 100%;
  }

  .fourth-project-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    order: -2;
  }

  .third-review {
    order: -2;
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 200;
    margin-bottom: 10px;
    font-family: Julius Sans One, sans-serif;
    text-transform: uppercase;
  }

  .layer-color {
    order: -1;
    width: 100%;
    height: auto;
  }

  .fourth-project-left {
    order: 0;
  }

  .fourth-para {
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    padding: 20px 30px;
  }

  /* grid-section */
  .grid-section {
    padding: 20px 30px;
  }

  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .grid-item {
    padding: 40px 20px;
    font-size: 13px;
  }

  .grid-head {
    font-size: 24px;
    line-height: 28px;
    padding-bottom: 20px;
    width: 100%;
  }

  .grid-para {
    font-size: 15px;
    line-height: 22px;
    width: 100%;
  }

  .banner-wrapper {
    width: 70%;
    margin: 30px auto 0 auto;
  }

  .marquee {
    gap: 20px;
    font-size: 12px;
  }

  /* General section padding */
  .box-section {
    flex-direction: column;
    padding: 20px 30px;
    position: static;
    /* removes any special stacking behavior */
    z-index: auto;
  }

  .support-section {
    position: static;
    /* no sticky on mobile */
    padding: 20px 30px;
    flex-direction: column;
    border-left: none;
    height: auto;
    /* remove divider on mobile */
  }

  /* Box grid stack */
  .box-grid {
    width: 100%;
    gap: 20px;
  }

  /* Box width adjustment */
  .box {
    width: 90%;
    padding: 20px 20px;
  }

  /* Image sizing */
  .grid-hall {
    height: auto;
    width: 60%;
  }

  /* Star section spacing */
  .star-section {
    padding: 20px 0px;
  }

  /* Font size adjustments */
  .box-head {
    font-size: 14px;
    width: 100%;
  }

  .alina {
    font-size: 11px;
    padding: 10px 0px;
  }

  /* Support section layout */
  .support-section {
    flex-direction: column;
  }

  .support-section-grid {
    width: 100%;
    padding: 0;
    border-left: none !important;
    border-top: 1px solid #ccc;
    padding-top: 30px;
  }

  .support-section-grid:first-child {
    border-top: none;
  }

  .support-img {
    width: 60%;
  }

  .support-head {
    font-size: 18px;
  }

  .support-para {
    font-size: 16px;
    padding: 10px 20px;
  }

  .btn {
    font-size: 11px;
    padding: 15px 30px;
  }

  /* bottom-grid-section */
  .bottom-grid-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 40px;
  }

  .bottom-grid {
    width: 100%;
  }

  .bottom-links {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }

  .link-column h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .link-column li {
    font-size: 16px;
    line-height: 1.8;
  }

  .bottom-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    margin-top: 0px;
  }

  .bottom-img {
    width: 100px;
    height: 150px;
  }

  /* footer */
  .footer {
    padding: 40px 20px;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-bottom: 30px;
    display: flex;
  }

  .social-section {
    order: 1;
    width: 100%;
  }

  .subscribe-form {
    order: 2;
    width: 100%;
  }

  .brand-logo {
    order: 3;
    width: auto;
    text-align: center;
  }

  .subscribe-form .input-group {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
  }

  .subscribe-form input[type="email"],
  .subscribe-form button {
    width: auto;
    padding: 14px;
    font-size: 14px;
  }

  .privacy-text {
    font-size: 11px;
    padding: 0 10px;
  }

  .social-section h4 {
    font-size: 14px;
  }

  .social-links {
    display: block;
    justify-content: center;
    gap: 15px;
  }

  .social-links li {
    margin-bottom: 0;
    padding: 10px 0px;
  }

  .social-links a {
    font-size: 20px;
  }

  .footer-logo {
    width: 80px;
  }

  .footer-bottom {
    font-size: 11px;
    padding: 0 10px;
    line-height: 1.6;
  }

  .footer-bottom a {
    display: inline;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* navbar */
  .navbar {
    padding: 20px 50px;
  }

  .nav-menubar {
    display: none;
  }

  .nav-mid {
    display: none;
  }

  .menu {
    display: none;
  }

  .line-container {
    display: flex;
    padding: 0;
  }
    .navbar-wrapper.shrink {
  height: auto;
}
  .navbar-wrapper.shrink .navbar {
  padding: 20px 25px;
}
    /* header-section */
  .header-section {
    padding: 20px 50px;
  }

  .main-head {
    font-size: 95px;
    padding: 30px 0px;
    width: 90%;
  }
  .image-wrap {
    height: 25vh;
  }
  .header-second-section.animate {
  width: auto;
}
/* gallery-section */
  .gallery-section {
    padding: 20px 50px;
    padding-top: 250px;
  }
  
  .gallery-section-head {
    text-align: center;
    width: 100%;
    font-size: 80px;
  }
.paragraph-section {
  gap: 30px;
}
/* project-section */
  .project-section {
    padding: 20px 50px;
  }

  .first-project {
    display: block;
    padding: 20px 0px;
  }

  .first-project-right {
    width: 100%;
    display: block;
    gap: 30px;
    padding: 0px 0px;
  }

  .image-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
  }

  .review {
    margin: 0;
    transform: none !important;
    /* Remove any rotation */
    writing-mode: horizontal-tb;
    /* Ensure horizontal text */
    position: relative;
    /* Ensures it flows above image */
    font-size: 13px;
    font-weight: 200;
    letter-spacing: 2px;
    color: #000;
    font-family: Julius Sans One, sans-serif;
    text-transform: uppercase;
    padding: 20px 30px;
  }

  .zoom-wrapper.visible img {
    width: 100%;
  }

  .paragraph {
    padding: 20px 0px;
  }

  .first-project-para {
    padding: 0px 20px;
  }

  .second-project {
    display: block;
    padding: 20px 0px;
    width: 100%;
  }

  .second-project-left {
    width: 100%;
    display: block;
  }

  .hall {
    width: 100%;
    display: block;
  }

  .second-review {
    position: relative;
    /* Remove absolute on mobile */
    top: auto;
    right: auto;
    transform: none;
    /* Cancel rotation */
    writing-mode: horizontal-tb;
    /* Horizontal text */
    padding: 20px 30px;
    font-size: 13px;
    font-weight: 200;
    letter-spacing: 2px;
    color: #000;
    font-family: Julius Sans One, sans-serif;
    text-transform: uppercase;
    text-align: left;
  }

  .scroll-zoom.visible img {
    width: 100%;
  }

  .para {
    margin-left: 0;
    width: 100%;
    padding: 0;
  }

  .left-paragraph-section {
    text-align: left;
    padding: 20px 20px;
  }

  .third-project {
    display: flex;
    flex-direction: column;
    padding: 20px 0px;
    gap: 20px;
  }

  .third-project-right {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .image-zoom.visible img {
    width: 100%;
  }

  .third-review {
    order: -1;
    /* Move to the top */
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 10px;
    text-align: left;
    padding: 20px 30px;
  }

  .image-zoom {
    order: 0;
    width: 100%;
  }



  .third-project-left {
    width: 100%;
    order: 2;
    text-align: left;
  }

  .third-para {
    font-size: 17px;
    font-weight: 300;
    line-height: 25px;
    margin: 0;
    text-align: left;
    padding: 20px 30px;
  }

  .fourth-project {
    display: flex;
    flex-direction: column;
    padding: 20px 0px;
    gap: 20px;
  }

  .fourth-project-right,
  .fourth-project-left {
    width: 100%;
  }

  .fourth-project-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    order: -2;
  }

  .third-review {
    order: -2;
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 200;
    margin-bottom: 10px;
    font-family: Julius Sans One, sans-serif;
    text-transform: uppercase;
  }

  .layer-color {
    order: -1;
    width: 100%;
    height: auto;
  }

  .fourth-project-left {
    order: 0;
  }

  .fourth-para {
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    padding: 20px 30px;
  }
  /* grid-section */
  .grid-section {
    padding: 60px 50px;
  }

  .grid-container {
    grid-template-columns: 1fr; /* Stack grid items vertically */
    grid-template-rows: auto;
    margin: 20px 0;
  }

  .grid-item {
    padding: 40px 30px;
    font-size: 13px;
  }

  .grid-head {
    font-size: 26px;
    line-height: 30px;
    width: 100%;
    padding-bottom: 20px;
  }

  .grid-para {
    font-size: 16px;
    width: 100%;
    line-height: 24px;
  }

  .banner-wrapper {
    width: 90%; /* more width for medium screens */
    padding: 15px 0;
    margin: 60px auto 0;
  }

  .marquee {
    gap: 30px;
    animation-duration: 15s; /* slightly slower scroll on tablet */
  }

  .item {
    font-size: 13px;
  }

  .dot {
    width: 6px;
    height: 6px;
    margin-right: 8px;
  }
  /* overlaping-section */
    .box-section {
    flex-direction: column;
    padding: 60px 40px;
    gap: 40px;
  }

  .box-grid {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .box {
    width: 45%;
    padding: 25px 30px;
  }

  .grid-hall {
    height: 160px;
    width: 100%;
    object-fit: cover;
  }

  .box-head {
    font-size: 14px;
    width: 90%;
    line-height: 20px;
  }

  .alina {
    font-size: 11px;
  }

  .star {
    height: 8px;
    width: 8px;
  }

  .star-section {
    padding: 20px 0;
  }

  .support-section {
    flex-direction: column;
    padding: 40px 40px;
    height: auto;
    position: relative;
  }

  .support-section-grid {
    width: 100%;
    padding: 20px 0;
    border: none !important; /* remove vertical border for stacked layout */
  }

  .support-img {
    width: 120px;
  }

  .support-head {
    font-size: 18px;
    margin-top: 20px;
  }

  .support-para {
    font-size: 16px;
    padding: 10px 20px;
  }

  .btn {
    font-size: 11px;
    padding: 15px 40px;
  }
  /* bottom-grid-section */
.bottom-grid-section {
  background-color: #D1D1CF;
  padding: 80px 50px;
  display: block;
}
.bottom-grid {
    width: 100%;
    padding-top: 20px;
  }
  .bottom-img {
    width: 200px;
    height: 220px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {}

@media (min-width: 1201px) and (max-width: 1400px) {}