/* <-- FONT IMPORTS */
@import url('https://fonts.cdnfonts.com/css/sf-pro-display');
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100..900&display=swap');

/* FONT-FACE DECLARATONS */
@font-face {
  font-family: "KumbhSansSemiBold";
  src: url(../fonts/KumbhSans/KumbhSans-SemiBold.ttf);
}
@font-face {
  font-family: "KumbhSansBold";
  src: url(../fonts/KumbhSans/KumbhSans-Bold.ttf);
}
@font-face {
  font-family: "KumbhSansExtraBold";
  src: url(../fonts/KumbhSans/KumbhSans-ExtraBold.ttf);
}
@font-face {
  font-family: "KumbhSansMedium";
  src: url(../fonts/KumbhSans/KumbhSans-Medium.ttf);
}
@font-face {
  font-family: "KumbhSansRegular";
  src: url(../fonts/KumbhSans/KumbhSans-Regular.ttf);
}
@font-face {
  font-family: "KumbhSansBlack";
  src: url(../fonts/KumbhSans/KumbhSans-Black.ttf);
}

@font-face {
  font-family: "KumbhSansLight";
  src: url(../fonts/KumbhSans/KumbhSans-Light.ttf);
}
@font-face {
  font-family: "Geraldica";
  src: url(../fonts/Geraldica.ttf);
}
/* --- CSS from the prompt --- */
        @import url('https://fonts.googleapis.com/css?family=Signika+Negative:300,400&display=swap');

        html, body, section.horizontal {
            overflow-x: hidden;
        }

        body {
            min-width:350px;
            margin: 0;
            padding: 0;
        }

        /* RESET & BASE STYLES */
:root {
  --footer-bg: #0a1936;
  --footer-text: #cdd6f4;
  --footer-heading: #ffffff;
  --footer-border: #3b4b6b;
  font-size: 100%;
}

/*  NAVIGATION BAR - DEFAULT (NO GLASS) STATE */
.navbar {
  background-color: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none !important;
  filter: none;
  box-shadow: none !important;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
}

/* NAVIGATION BAR - GLASS EFFECT / ACTIVE STATE (Applied via JavaScript) */
.navbar.glass {
  background-color: none !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 4px solid rgba(44, 44, 44, 0.2);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
  margin-bottom: 0;
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-top: 0.5%;
}

/* LOGO */
.nav-logo {
  padding-left: 2%;
  gap: 0.5rem;
  cursor: pointer;
}

.nav-logo svg path {
  fill: #333;
  transition: fill 0.4s ease;
}

.navbar.glass .nav-logo svg path {
  fill: #fff;
}

.nav-logo a {
  display: flex;
  align-items: center;
  height: 2.5em;
  flex-shrink: 0;
  transition: transform 0.3s ease, fill 0.3s ease;
}


.nav-logo svg,
.nav-logo img {
  width: auto;
  height: clamp(100%, 4vw, 2.5em);
  transition: transform 0.3s ease, fill 0.3s ease;
}

.nav-logo:hover svg {
  transform: scale(1.05);
  cursor: pointer;
}

.nav-logo:hover svg path {
  fill: #ababab;
}

/* HAMBURGER MENU BUTTON */
.nav-toggle {
  font-size: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  z-index: 1100;
  background: linear-gradient(to top, #161616, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 4rem;
  justify-content: center;
  grid-column: 2;
  padding-right: 5%;
  margin-right: 10%;
}

.nav-links li a {
  display: inline-block;
  text-decoration: none;
  color: #333;
    font-size: clamp(0.8rem, 1.2vw, 1.4rem);
  transition: color 0.4s ease, transform 0.3s ease;
  font-family: 'KumbhSans-Bold', sans-serif;
}

/* ensure specificity; remove any background-clip for the glass state */
.navbar.glass .nav-links li a {
  color: #fff !important;                 /* force visible colour */
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.nav-links li a:hover {
  background: linear-gradient(to top, #161616, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: scale(1.1);
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.icon:hover {
  fill: #00d05f;
}

/* Mobile Navigation */
@media (max-width: 599px) {
  .nav-logo {
    font-size: 1rem;
  }

  .nav-logo img {
    width: 75%;
  }

  .nav-links li a {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {

  .nav-links {
    background: rgba(248, 248, 248, 0.95);
  }

  .nav-links li a {
    color: #333;
  }

  .navbar.glass .nav-links {
    background: rgba(0, 0, 0, 0.85);
  }

  .navbar.glass .nav-links li a {
    color: white;
  }

  .icon {
    width: 15vw;
    height: auto;
    max-height: 60px;
    align-self: flex-start;
  }

  .feature-item {
    align-items: flex-start;
  }

  .nav-links {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 60px;
    left: 0;
    width: 200px;
    padding: 0 1rem;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    grid-column: 1 / span 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
  }

  .nav-container {
    grid-template-columns: auto 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 1rem;
    transition: max-height 0.4s ease-in, padding 0.4s ease-in;
  }
}

@media (min-width: 600px) {
  .nav-logo img {
    width: 80%;
  }
}

/* Tablet & Desktop Navigation */

@media (min-width: 1200px) {
  .nav-toggle {
    display: none;
  }
}

@media (min-width: 992px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-logo img {
    width: 95%;
  }
}

@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    gap: 4rem;
    width: auto;
    height: auto;
    background: none;
    transform: none;
    padding: 0;
    /* Reset padding */
    padding-right: 5%;
    margin-right: 10%;
  }

  .nav-links li a {
    font-size:clamp(0.6em, 1.4vw, 1.5em) ;
    color: #333;
  }

  .navbar.glass .nav-links li a {
    color: white;
  }
}

/* END NAVIGATION BAR STYLES */


/* HERO CONTAINER STYLES */
.hero-section {
  position: relative;
  width: 100%;
  background-image: url('../media/images/backgrounds/hallway-building.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1.9), transparent);
  pointer-events: none;
  z-index: 5;
}

/* OVERLAY CONTENT STYLES */
.hero-overlay-content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
  align-items: center;
}

/* TOP ROW: Title and Bubble */
.hero-main-content {
  display:flex;
  gap: 1.25rem;
  margin-top:12%;
justify-content: center;
}

.hero-title {
  font-family: 'KumbhSansMedium', sans-serif;
  font-size: clamp(2.9rem,8.1vw, 12rem);
     background: linear-gradient(to top, #000000, #b9a284);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.5;
  text-align: center;
  align-self: center;
  display: flex;
    text-shadow:0 0 3.5rem rgba(160, 155, 146, 0.726);
}


/* BOTTOM ROW: Tagline and Button */
.hero-bottom-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  align-self: center;
}

.hero-tagline {
  font-family: 'KumbhSansMedium', sans-serif;
  font-size: clamp(1rem, 3vw, 2.5rem);
  color: white;
  text-shadow: 0.0625rem 0.0625rem 0.5rem rgba(0, 0, 0, 0.5);
  opacity:0.6;
}

/* Hero media queries */
/* BUG FIX: Changed from 768px to 992px to prevent tablet overflow */
@media (min-width: 992px) {

  .hero-tagline {
    font-size: clamp(1rem, 3vw, 3.5rem);
  }


}
.heading-icon {
  width: clamp(1em, 4vw, 4.5rem);
  height: clamp(1em, 4vw, 4.5rem);
  opacity: 0.6;
  display: inline;
  vertical-align: middle;
}
.video-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000; /* fallback in case video doesn't load */
  padding: 6rem 0; /* gives it visual breathing space without being fullscreen */
}

.intro-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.85; /* optional subtle dimming for readability */
}

.video-overlay-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center; /* horizontal center */
  text-align: center;
  color: #fff;
  gap: 1.5rem;
  padding: 0 5%;
  width: 100%;
  max-width: 90%;
}

/* Heading styling */
.video-overlay-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.video-overlay-top h2 {
  font-family: 'KumbhSansSemiBold', sans-serif;
  font-size: clamp(1.2rem, 5vw, 4.2rem);
  color: #fff;
  opacity: 0.85;
}

/* Center paragraph with readable width */
.video-overlay-content p {
  font-family: 'KumbhSansMedium', sans-serif;
  font-size: clamp(0.8rem, 3vw, 1.6rem);
  line-height: 1.6;
  max-width: 75%;
  opacity: 0.8;
  margin: 0 auto 2rem;
  text-shadow: 0.0625rem 0.0625rem 0.5rem rgba(0, 0, 0, 0.6);
}

/* Button styling */
.video-overlay-button {
  font-family: 'KumbhSansBold', sans-serif;
  font-size: clamp(0.8rem, 1.8vw, 1.5rem);
  color: #575757;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.2rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-overlay-button:hover {
  background-color: #fff;
  color: #0a1936;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* --- Mobile adjustments --- */
@media (max-width: 768px) {
  .video-section {
    padding: 8rem 0 5rem; /* extra space to prevent overlap with next section */
  }

  .video-overlay-top {
    flex-direction: column;
    gap: 0.8rem;
  }

  .video-overlay-content p {
    max-width: 90%;
    font-size: clamp(0.9rem, 4vw, 1.3rem);
    margin-bottom: 2.5rem;
  }

  .video-overlay-button {
    width: auto;
    max-width: 280px;
  }
}
@media (min-width: 768px){
 .video-section {
   height:80vh;
  }
}
 .opening-info {
  width: 90%;
    margin:0;
  padding: 0%;
  margin-left: 5%;
  text-align: center;
}

.opening-info p {
 font-family: 'KumbhSansMedium', sans-serif;
  font-size: clamp(.8rem, 1.4vw, 1.5rem);
  line-height: 2.2;
  margin: 4% 0;
  text-align: center;
  color: #333;
}

        /*SECTION 4 STYLES - NOW .gallery-section */

.gallery-section {
  display: flex;
  flex-direction: column; /* Mobile-first: stack them */
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 2rem 1rem;
  gap: 2rem;
   position: relative;
  overflow: hidden
}

.gallery-image-label {
  position: absolute;
  top:0;  /* <-- Changed from 'bottom' */
  left: 0;
  width: 100%;
  /* --- Reversed gradient --- */
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); 
  color: #fff;
  font-family: 'KumbhSansMedium', sans-serif;
  font-size: clamp(1rem, 2vw, 2.2rem); /* <-- This is already responsive */
  text-align: center;
  padding: 0.6rem 0.4rem;
  box-sizing: border-box;
  opacity: 0.95;
  text-transform: capitalize;
  pointer-events: none;
}

/* Gallery Carousel Styles */
.gallery-carousel-container {
  position: relative;
  width: 100%;
  max-width: 90%; /* Cap width on mobile */
  aspect-ratio: 4 / 3;
  overflow: hidden; 
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  border-radius:5px;
}

.gallery-carousel-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Make images clickable for lightbox */
  pointer-events: auto;
  cursor: zoom-in;
}

.gallery-nav {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(0,0,0,0.1);
  border-radius: 50px;
  backdrop-filter: blur(5px);
  padding: 0.5rem 1rem;
  box-sizing: border-box; /* Added for safety */
  width: 70%;
}


.gallery-arrow {
  background: transparent;
  border: none;
  color: #fff;
  font-size:1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-arrow:hover {
  transform: scale(1.2);
  color: #007df9;
}

.gallery-enlarge-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0,0,0,0.1);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.gallery-enlarge-btn:hover {
  background: rgba(0,0,0,0.7);
  transform: scale(1.1);
}

/* Lightbox / Modal Styles */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90vw;
  max-width: 1200px;
  max-height: 90vh;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  color: #fff;
  background: rgba(0,0,0,0.4);
  border: none;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover {
  transform: scale(1.1);
  color: #0072ce;
}

.lightbox-carousel-wrapper {
  display: flex;
  height: 100%;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 50px;
  z-index: 5;
}

.lightbox-arrow:hover {
  color: #FFF;
  background-color: rgba(0,0,0,0.6);
}

.lightbox-arrow.prev {
  left: 1rem;
}

.lightbox-arrow.next {
  right: 1rem;
}

@media (max-width: 768px) {
  .lightbox-content {
    width: 95vw;
    max-height: 80vh;
    aspect-ratio: auto;
  }
  .lightbox-close {
    font-size: 2.5rem;
    width: 3rem;
    height: 3rem;
  }
  .lightbox-arrow {
    font-size: 2rem;
    padding: 0.8rem;
  }
}
@media (max-width: 480px) {
  .gallery-nav {
    gap: 1rem;
    padding: 0.4rem 0.8rem;
  }
}
/* Desktop layout for Gallery */
@media (min-width: 992px) {
  .gallery-section {
    flex-direction: row; /* Side-by-side */
    align-items: flex-start; /* Align to top */
    padding: 4rem;
    gap: 4rem;
  }

  .gallery-award-container {
    flex: 1; /* Take up remaining space */
    max-width: none;
  }
  
  .gallery-carousel-container {
    flex-basis: 55%; /* Give gallery more space */
    max-width: none;
  }

}




/*SECTION 5 STYLES*/
  .svg-drag-section {
      width:100%;
      display: flex;
      overflow: hidden;
      position: relative;
      align-items: center;
      justify-content: center;
      margin-top:0;
    }

    .svg-drag-section svg {
      width:40%;
      height: auto;
      overflow: visible;
      touch-action: none;
      align-self: center;
      justify-self:center;
      vertical-align: middle;
    }

    .svg-drag-section polygon {
      fill: #007df9;
      cursor: grab;
      transform-origin: 50% 50%;
      user-select: none;
    }

    .svg-drag-section polygon:active {
      cursor: grabbing;
    }

    @media (max-width: 600px) {
      svg {
        width: 95%;
      }
    }
.end-note-section {
  width: 100%;
  text-align: center;
  padding: 5% 5%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(100px); /* smaller for smoother motion */
}

.end-note-info > * {
  opacity: 0;
  transform: translateY(30px); /* children also start slightly below */
}


.end-note-info h2 {
  /* was h1 */
  font-size: clamp(2.5em, 6vw, 5.4em);
  /* was 3em */
  margin-bottom: 2%;
  font-family: 'KumbhSansBold', sans-serif;
   background: linear-gradient(to top, #161616, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.end-note-info h3 {
  /* was h2 */
  font-size: clamp(1.2em, 3vw, 2em);
  /* was 1.5em */
  margin-bottom: 2%;
  font-family: 'KumbhSansMedium', sans-serif;
  color: #007df9;
}

.end-note-info p {
  font-family: 'KumbhSansRegular', sans-serif;
  color: #636363;
  font-size: clamp(1em, 2vw, 1.5em);
  /* was 0.8em / 1.8em */
  margin-bottom: 4%;
  line-height: 1.6;
}

.end-video-section {
  position: relative;
  height: 95vh; /* Responsive height */
  overflow: hidden;
  background-color: #000; /* Fallback */
  margin-bottom: 0; /* Ensures it's flush with footer */
  justify-content: center;
  align-items: center;
}
.end-vid {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%); /* Center the video */
  z-index: 1;
  opacity: 0.6; /* Darken video */
}

.end-video-overlay {
  position: absolute;
  bottom:0;
  width: 80%;
  margin-left:10%;
  margin-bottom: 5%;
display:flex;
  justify-content:center; /* Pushes buttons to ends */
  align-items: center;
  z-index: 10;
}

.btn-overlay {
  text-decoration: none;
  font-family: 'KumbhSansBold', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem); /* Responsive font size */
  color: #3f3f3f;
  background-color: rgba(255, 255, 255, 0.3); /* Site blue, semi-transparent */
  padding: clamp(0.8rem, 1vw, 1rem) clamp(1.5rem, 3vw, 2.5rem); /* Responsive padding */
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity:0.5;
}

.btn-overlay:hover {
  background-color: #fff;
  color: #2b2b2b;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Responsive styles for the overlay */
@media (max-width: 600px) {
  .end-video-overlay {
    flex-direction: column; /* Stack buttons on mobile */
    gap: 1.5rem;
  }

  .btn-overlay {
    width: 80%;
    text-align: center;
    max-width: 300px;
  }
}

.btn-requests {
  display: flex;
  flex-wrap: wrap;
  /* This is responsive! */
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  margin-top: 2rem;
}

.btn-requests a {
  text-decoration: none;
  width: 100%;
  /* Full width on mobile */
  max-width: 25rem;
  /* 400px */
}

.request-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 0.8rem;
  width: 100%;
  /* Fill the 'a' tag */
  /* was clamp(250px, 40%, 400px) */
  height: 4em;
  border: none;
  color: #fff;
  background-color: #001f3f;
  border-radius: 3.125rem;
  /* 50px */
  font-size: clamp(1.1em, 2.5vw, 1.5em);
  /* was 1.2em / 1.8em */
  font-family: 'KumbhSansMedium', sans-serif;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.request-btn:hover {
  background-color: #00d05f;
  transform: scale(1.03);
}

.btn-request-icon {
  width: 1.5em;
  height: 1.5em;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

@media (min-width: 600px) {
  .btn-requests a {
    width: 45%;
    /* Two-up layout */
  }

}
@media (max-width:768px){
   .end-video-section{
    height:60vh;
  }
}
/* END OF SECTION 5 STYLES*/

.promise-icon{
  width:60%;

}
/*FOOTER STYLES */
.site-footer {
  background-color: #001f3f;
  color:#fff;
  padding: 3.75rem 0 1.875rem 0;
  /* 60px 0 30px 0 */
  font-family: 'KubhSansRegular', sans-serif;
  line-height: 1.6;
  position: relative; 
    z-index: 10;
}

.footer-container {
  width: 90%;
  /* was 80% */
  margin: 0 !important;
  padding: 0 1.25rem;
  /* 20px */
  /* margin-left: auto; */
  /* was 15% */
}

.footer-brand .logo-link {
  text-decoration: none;
  color: var(--footer-heading);
  display: block;
  margin-bottom: 1.25rem;
  /* 20px */
}

.footer-brand .logo-main {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  width: 100%;
  /* was 80% */
  max-width: 15rem;
  /* Cap logo size */
}

.footer-tagline {
  font-size: 0.9rem;
  max-width: 18.75rem;
  /* 300px */
}

/* Mobile-first grid */
.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  /* 1 column by default */
  gap: 2.5rem;
  /* 40px */
}

.footer-column h4 {
  color: var(--footer-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
  /* 1px */
  margin-bottom: 1.25rem;
  /* 20px */
  font-family: 'KumbhSansSemiBold', sans-serif;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-services li {
  margin-bottom: 0.625rem;
  /* 10px */
}

.footer-links a,
.footer-services a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease-in-out;
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--footer-heading);
  text-decoration: underline;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.9375rem;
  /* 15px */
  margin-bottom: 0.9375rem;
  /* 15px */
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--footer-heading);
  font-size: 1rem;
  padding-top: 0.25rem;
  /* 4px */
}

.footer-contact a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.footer-contact a:hover {
  color: var(--footer-heading);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  /* Stack on mobile */
  justify-content: space-between;
  align-items: center;
  /* Center on mobile */
  text-align: center;
  flex-wrap: wrap;
  gap: 0.625rem;
  /* 10px */
  padding-top: 1.875rem;
  /* 30px */
  margin-top: 2.5rem;
  /* 40px */
  border-top: 0.0625rem solid var(--footer-border);
  /* 1px */
  width: 100%;
  /* was 90% */
}

.footer-copyright {
  font-size: 0.85rem;
  margin: 0;
  order: 2;
  /* Show copyright last on mobile */
}

.back-to-top {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03125rem;
  /* 0.5px */
  transition: color 0.2s ease-in-out;
  order: 1;
  /* Show first on mobile */
}

.back-to-top:hover {
  color: var(--footer-heading);
}

.back-to-top i {
  margin-left: 0.3125rem;
  /* 5px */
}


/* ============  RESPONSIVE MEDIA QUERIES  ============ */

/* Tablet Footer Layout */
@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    /* 2 columns */
  }

  .footer-brand {
    grid-column: 1 / -1;
    /* Brand spans full-width */
  }

  .footer-bottom {
    flex-direction: row;
    /* Side-by-side */
    justify-content: space-between;
    text-align: left;
  }

  .footer-copyright {
    order: 1;
    /* Reset order */
  }

  .back-to-top {
    order: 2;
    /* Reset order */
  }
}

/* Desktop Footer Layout */
@media (min-width: 992px) {
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    /* 4 columns */
  }

  .footer-brand {
    grid-column: auto;
    /* Reset brand span */
  }
}