/* <-- 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 {
            font-family: "KumbhSansMedium", sans-serif;
            font-weight: 300;
            margin: 0;
            padding: 0;
        }
        /* RESET & BASE STYLES */
:root {
  --footer-bg: #0a1936;
  --footer-text: #cdd6f4;
  --footer-heading: #ffffff;
  --footer-border: #3b4b6b;

  /* Set base font size for rem calculations */
  font-size: 100%;
  /* (100% = user's default, typically 16px) */
}

/*  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 */
.form-image image{
    width:40px;
}
        
.end-image{
width:100%;
}
.end-image-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Responsive height */
  overflow: hidden;
  background-color: #000; /* Fallback */
  margin-bottom: 0; /* Ensures it's flush with footer */
  display: block; /* Ensures it takes full width */
}

.end-image-section .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-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width:90%;
  padding: clamp(1.5rem, 4vw, 3rem); /* Responsive padding */
  display:flex;
  justify-content:center; /* Pushes buttons to ends */
  align-items: center;
  z-index: 10;
  font-family: 'KumbhSansBold', sans-serif;
  font-size: clamp(1.8rem, 3.9vw, 3.8rem);
  color: #ffffff;
  text-align: center;
  opacity: 0.5;
  top:0;
  margin-bottom:20%;
}

        .form-section-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4vh 5vw; /* Responsive padding */
    width: 100%;
    box-sizing: border-box;
}

.contact-container {
    display: flex;
    flex-wrap: wrap; /* This is key for responsiveness */
    width: 100%;
    max-width: 1200px; /* Max width, but 100% responsive below that */
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Contains children */
}

/* 3. INFO & FORM CONTAINER LAYOUT */

.contact-info,
.form-container {
    flex: 1; /* Each takes 50% */
    padding: clamp(2rem, 5vw, 4rem); /* Responsive padding */
    box-sizing: border-box;
    /* This is our responsive minimum width. Below this, they stack. */
    min-width: 320px; 
}

.contact-info {
    background: #fdfdfd; /* Slightly off-white for contrast */
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h1 {
    font-family: 'KumbhSansExtraBold', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-info p {
    font-family: 'KumbhSansMedium', sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.1rem); /* Using rems and vw */
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-info .email-link {
    font-family: 'KumbhSansBold', sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: #007df9; /* Use a site-wide link color if you have one */
    text-decoration: none;
}

.contact-info .email-link:hover {
    text-decoration: underline;
}

/* 4. FORM STYLES */

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem; /* Responsive gap between fields */
}

.form-group {
    /* This math creates the responsive 2-column layout */
    flex: 1 1 calc(50% - 0.75rem); /* 0.75rem is half the gap */
    display: flex;
    flex-direction: column;
    min-width: 200px; /* Prevents fields from getting too small */
}

.form-group.full-width {
    flex-basis: 100%; /* Makes an item span the full width */
}

.form-group label {
    font-family: 'KumbhSansSemiBold', sans-serif;
    font-size: 1rem;
    color: #444;
    margin-bottom: 0.5rem;
    display: block;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 1rem; /* Responsive padding */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'KumbhSansRegular', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007df9;
    box-shadow: 0 0 0 3px rgba(0, 125, 249, 0.2);
}

/* Add visual feedback for invalid fields */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #d9534f;
}

.form-group textarea {
    resize: vertical;
    min-height: 8rem; /* Responsive min-height */
}

.submit-button {
    font-family: 'KumbhSansBold', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    /* We reuse the footer background variable for brand consistency */
    background-color: var(--footer-bg, #0a1936); 
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px; /* Pill shape */
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    align-self: flex-start;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(10, 25, 54, 0.3);
}

.submit-button:disabled {
    background-color: #999;
    cursor: not-allowed;
}

/* 5. FORM STATUS MESSAGES */

.form-status {
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: 5px;
    font-family: 'KumbhSansMedium', sans-serif;
    font-size: 1rem;
    display: none; /* Hidden by default */
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}
.contact-item span{
font-family: 'KumbhSansMedium', sans-serif;
letter-spacing:2px;
}

/* 6. RESPONSIVENESS */

/* On tablets and small desktops, the containers are still side-by-side */
@media (max-width: 900px) {
    .contact-info {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    /* On mobile, stack everything */
    .contact-container {
        flex-direction: column;
    }

    .form-group {
        /* Stack form fields on mobile */
        flex-basis: 100%;
    }
    
    .contact-page-main {
        padding-top: 8rem; /* Less padding on mobile */
    }
}


.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;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
   padding: clamp(0.8rem, 1vw, 1rem) clamp(1.5rem, 3vw, 2.5rem); /* Responsive padding */
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  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;
  }
}


@media (max-width:768px){
   .end-video-section{
    height:60vh;
  }
}



/*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 */
}
.foot-logo-p{
  font-size:1.5em;
  letter-spacing:2px;
   font-family: 'KubhSansLight', sans-serif;
}
.footer-brand .logo-main {
  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 */
  }
}