/* <-- 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-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 */

/* HERO CONTAINER STYLES */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* Ensures full-screen hero */
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('../media/images/backgrounds/services-page-landing.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Background gradient for contrast at the bottom */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
  z-index: 1;
}


/* OVERLAY CONTENT STYLES */
.hero-overlay-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  z-index: 10;
  padding: 0 1rem;
  pointer-events: auto;
}

.hero-logo {
  opacity: .8;
  fill: #fff;
}


/* Title centered */
.hero-title {
  font-family: 'KumbhSansMedium', sans-serif;
  font-size: clamp(8rem, 10vw, 8.2rem);
  background: linear-gradient(to top, #161616, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  opacity: 0.95;
  margin-bottom: 20%;
  padding: 0 10px;
}


/* BOTTOM ROW: Tagline and Button (Not actively used to position buttons, but keeping for reference) */
.hero-bottom-content {
  position: absolute;
  /* This positioning seems incomplete/buggy, but is kept to preserve original behavior */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  pointer-events: auto;
  z-index: 15;
}

/* New Hero Button Styles - KEY CHANGES HERE */
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Reduced gap for mobile, but it's okay for desktop too */
  gap: 1rem;
  /* Adjusted gap to be smaller for side-by-side on mobile */
  margin-top: 2rem;
  /* CRITICAL: Removed flex-wrap: wrap; and width: 100%; 
    This prevents stacking and allows the buttons to naturally center.
  */
  max-width: 600px;
  /* Constrain group width on very wide screens */
  margin-left: auto;
  margin-right: auto;
}

.hero-button {
  width: 70%;
  height: 2.5em;
  font-family: 'KumbhSansBold', sans-serif;
  /* Slightly smaller clamp base for mobile */
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  text-decoration: none;
  color: #686868;
  background-color: rgba(255, 255, 255, 0.6);
  /* Slightly more opaque for mobile contrast */
  padding: 0.7rem 1.4rem;
  /* Adjusted padding to be slightly smaller */
  border-radius: 50px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  /* Ensures button doesn't shrink too much */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-button:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Tagline centered at bottom of hero */
.hero-tagline {
  font-family: 'KumbhSansMedium', sans-serif;
  font-size: clamp(1rem, 3vw, 2.5rem);
  /* Updated for better mobile sizing */
  color: white;
  opacity: 0.8;
  text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.5);
  margin: 1.5rem 0 3rem 0;
  /* Proper vertical spacing */
  text-align: center;
}

/* Ensure the button stacking is correct on smaller screens */
@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
    /* Shorter height on mobile */
    top: 0;
  }

  .hero-overlay-content {
    margin-top: 10%;
  }

  .hero-title {
    /* Adjusted mobile sizing */
    font-size: clamp(4.6rem, 7.2vw, 8rem);
  }

  /* Tagline adjustment for mobile */
  .hero-tagline {
    font-family: 'KumbhSansMedium', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: white;
    text-shadow: 0.0625rem 0.0625rem 0.5rem rgba(0, 0, 0, 0.5);
    margin-top: 10%;
    /* Keeping this positioning, but the media query above improves it */
    text-align: center;
    opacity: 0.6;
  }

  .hero-buttons {
    /* Set max-width and margin-left/right: auto to center on small screens */
    max-width: 100%;
    gap: 0.8rem;
    /* Use a smaller gap */
    padding: 0 0.5rem;
    /* Add horizontal padding to prevent stretching to edge */
  }

  .hero-button {
    /* Allow buttons to take up equal space */
    flex-grow: 1;
    max-width: 50%;
    /* Prevent one button from dominating */
    padding: 0.8rem 0.5rem;
    /* Adjust padding to fit content */
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    /* Smaller font on mobile */
    min-width: unset;
  }
}

/* Hero media queries */
/* BUG FIX: Changed from 768px to 992px to prevent tablet overflow */
@media (min-width: 992px) {
  .hero-overlay-content {
    padding: 3vw 5vw;
  }

  .hero-main-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .hero-title {
    font-size: clamp(10rem, 12.2vw, 12rem);
    margin-top: 1.5em;
    flex-basis: 60%;
    /* Give title space */
  }

  .hero-right-aligned {
    align-self: flex-end;
    margin-top: 15em;
    width: 100%;
    max-width: 30em;
    flex-basis: 35%;
    /* Give bubble space */
  }

  .hero-wipe-button {
    align-self: flex-end;
    margin-top: 0;
  }

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


}

.heading-icon {
  width: clamp(2rem, 4.5vw, 4.5rem);
  height: clamp(2rem, 4.5vw, 4.5rem);
  opacity: 0.6;
  display: inline;
}

.section1 {
  margin: 0;
  padding: 0%;
  background-color: #fff;
}

.opening-info {
  width: 90%;
  margin: 0;
  padding: 0%;
  margin-left: 5%;
  text-align: center;
}

.opening-info h2 {
  font-family: 'KumbhSansSemiBold', sans-serif;
  font-size: clamp(1.8rem, 5vw, 4.2rem);
  color: #273c51;
  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;
}

.panel-icon {
  width: 1em;
  display: flex;
  display: inline;
  vertical-align: middle;
}

.item h2 {
  text-align: center;
  font-family: 'KumbhSansExtraBold', sans-serif;
  font-size: clamp(2.2rem, 4vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  background: linear-gradient(to top, #161616, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.item h3 {
  font-family: 'KumbhSansBold', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: rgba(53, 53, 53, 0.85);
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease;
  opacity: 0.9;
  text-align: center;
}

.item p {
  text-align: left;
  /* Overrides the global p padding-left: 50px */
  font-family: 'KumbhSansMedium', sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.5rem);
  line-height: 1.6;
  color: #333;
  opacity: 0.6;

}

section.horizontal {
  width: 100%;
  height: 100vh;
  /* Assuming blank sections are 100vh for even spacing */
  position: relative;
}

section.horizontal:nth-of-type(odd) {
  background-color: #ffffff;
}

section.horizontal:nth-of-type(even) {
  background-color: #ffffff;
}

section.horizontal {
  overflow-x: hidden;
  height: auto;
  /* Allow height to be determined by content/pinning */

}

section.horizontal .pin-wrap,
section.horizontal .animation-wrap {
  display: flex;
  position: relative;
  z-index: 1;
  height: 100vh;
  /* The section to be pinned */
}

section.horizontal .item {
  position: relative;
  padding: 9rem 5rem;
  /* 500px total width for each item */
  flex: 0 0 60rem;
  height: calc(100vh - 18rem);
  flex-direction: column;
  justify-content: center;
  display: flex;
  align-items: center;
  line-height: 1.7;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: none;
}

section.horizontal .item:before {
  position: absolute;
  opacity: .13;
  font-weight: bold;
  z-index: -1;
  transform: translate(-2rem, -3rem);
  line-height: 1;
}

section.horizontal .animation-wrap.to-right .item:before,
section.horizontal .animation-wrap.to-left .item:before {
  content: none;
  /* Remove auto-generated numbers */
}


/* Helper for visibility (optional, but useful for debugging layout) */
@media (max-width: 768px) {

  section.horizontal .pin-wrap,
  section.horizontal .animation-wrap {
    display: block;
    height: auto;
    /*Crucial: Allows the container to grow with its content */
  }

  .item h2 {
    font-size: clamp(1.8rem, 2vw, 2.2rem);
  }

  .item h3 {
    font-size: clamp(1rem, 1vw, 1.4rem);
      text-align: center; 
   margin:0;
  }

  .item p {
    font-size: clamp(.8rem, 1vw, 1.2rem);
    width: 80%;
    /* New: Enforce center alignment for mobile view */
    text-align: justify; 
    margin-left: auto;
    margin-right: auto;
    
  }

  section.horizontal {
    height: auto !important;
    /* Also crucial: Overrides any h-100vh set by the desktop JS/pinning */
  }

  section.horizontal .item {
    flex: none;
    width: 100%;
    padding: 2rem 0rem;
    height: auto;
    border: none;
  }
}

/* Elevator Section Styling */
.elevator-section {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  margin-bottom:5%;
}

.elevator-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.floor-number {
  font-family: 'KumbhSansExtraBold', sans-serif;
  font-size: clamp(8rem, 20vw, 16rem);
  line-height: 1;
  background: linear-gradient(to top, #161616, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  text-shadow: 0 0 45px rgba(255, 255, 255, 0.2);
}

.floor-label {
  font-family: 'KumbhSansSemiBold', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 0.3em;
  color: #626262;
  text-transform: uppercase;
  opacity: 0.7;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}


/* Arrow styling */
.arrow {
  font-size: clamp(3rem, 6vw, 4rem);
  background: linear-gradient(to top, #161616, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
  animation: bounceUp 1.2s ease-in-out infinite;
  transition: transform 0.3s ease, rotate 0.4s ease;
}

/* Bounce animation */
@keyframes bounceUp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(15px);
  }
}

.elevator-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  z-index: 0;
}


.end-image {
  width: 100%;
}

.end-image-section {
  position: relative;
  width: 100vw;
  overflow: hidden;
  margin-bottom: 0;
  /* Ensures it's flush with footer */
  display: flex;
  /* Ensures it takes full width */
}

.end-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90%;
  padding: clamp(.8rem, 3vw, 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.5rem, 3vw, 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;
}


/* 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 */
  }
}

/* ---------------------------------------------
        2. MAIN SECTION STYLING
        ---------------------------------------------
        */
.parts-section {
  width: 100%;
  overflow: hidden;
  padding: 100px 0;
  background-color: #FFFFFF;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------------------------------------------
        3. TYPOGRAPHY & HERO HEADING
        ---------------------------------------------
        */

/* Ensures the title can wrap cleanly on small phones */
.parts-section__title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #3a3a3a;
  line-height: 1.51;
  text-align: center;
  margin-bottom: 2em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* Allows words to move to new lines */
  gap: 0.2em;

}

.slot-wrapper {
  height: 1.5em;
  overflow: hidden;
}



.slot-item {
  display: block;
  height: 1.5em;
  line-height: 1.1;
}

.parts-section__subtitle {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 40px;
  border-bottom: 2px solid #0071E3;
  padding-bottom: 15px;
  display: inline-block;
}

.component-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.component-card ul {
  list-style: none;
}

.component-card li {
  font-size: 1rem;
  color: #555;
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.component-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #0071E3;
  font-weight: bold;
}

/* ---------------------------------------------
        4. LAYOUT & GRIDS (Fully Responsive)
        ---------------------------------------------
        */

.component-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile-first: 1 column */
  gap: 40px;
  margin-bottom: 100px;
}

.component-card {
  background-color: #F9F9F9;
  padding: 30px;
  border-radius: 12px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile-first: 1 column */
  gap: 30px;
  margin-bottom: 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.dependability-block {
  background-color: #1D1D1F;
  color: #F9F9F9;
  padding: 60px;
  border-radius: 12px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

  .why-choose-grid {
    grid-template-columns: 1fr 1fr;
    /* 2 columns */
  }
}

/* Desktop Layout */
@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns */
  }
}

/* ---------------------------------------------
        5. ANIMATION PREP
        ---------------------------------------------
        */
.component-card li,
.why-choose-item p,
.dependability-block p {
  visibility: hidden;
  opacity: 0;
  transform: translateY(30px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Prevent elements from being cut off */
section,
div,
.container-v2,
.grid {
  min-height: auto;
  overflow: visible;
}

/* Ensure flex or grid reflows on smaller screens */
@media (max-width: 768px) {
  .grid {
    display: block;
  }

  .core-sequence__flair,
  .core-sequence__info {
    width: 100%;
    padding: 1rem;
  }

  svg,
  img {
    max-width: 100%;
    height: auto;
  }
}



/*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 */
  }
}