/* --- CORE VARIABLES & RESET --- */
:root {
  --navy: #0b1b2e;
  --navy-mid: #132338;
  --navy-light: #1c3150;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --white: #ffffff;
  --off-white: #f5f3ee;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-mid: rgba(255, 255, 255, 0.8);
  --border-light: rgba(255, 255, 255, 0.1);
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
/* --- BULLETPROOF MOBILE OVERFLOW PREVENTION --- */

/* Hard reset for the AOS library container footprint */

html,
body {
  max-width: 100%;
  font-family: "DM Sans", sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  /* position: relative; */
}
/* [data-aos] {
  pointer-events: none;
} */
body.aos-initialized {
  overflow-x: hidden !important;
}
/* --- CUSTOM NAV STYLES (Blended with Bootstrap) --- */
.nav-logo-img {
  height: 80px; /* Scaled down beautifully to fit safely inside the 90px nav footprint */
  width: auto; /* Retains original asset aspect ratio perfectly */
  object-fit: contain;
  transition: var(
    --transition
  ); /* Matches your custom 0.5s fluid animation speed */
}

/* Micro-adjustment to correctly SHRINK the image when navigation is scrolled */
.custom-nav.scrolled .nav-logo-img {
  height: 100px; /* Scales down cleanly for the compact 70px header frame */
}

/* --- MOBILE RESPONSIVE NAV FIXES --- */
@media (max-width: 991px) {
  /* Cancel the rigid 90px/70px height rule on mobile so the menu can actually expand downwards */
  nav,
  nav.scrolled {
    height: auto !important;
    padding: 15px 24px !important;
  }

  /* Create a premium dark glass tray for the mobile dropdown options */
  .navbar-collapse {
    background: var(--navy-mid);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 25px;
    margin-top: 15px;
    box-shadow: 0 15px 35px rgba(6, 14, 24, 0.5);
  }

  /* Align items beautifully inside the mobile drawer */
  .nav-links {
    flex-direction: column;
    align-items: stretch !important;
    gap: 15px !important;
    text-align: center;
  }

  .nav-cta {
    display: block;
    width: 100%;
    margin-top: 5px;
  }
}
.custom-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 60px;
  height: 90px;
  background: rgba(11, 27, 46, 0.1);
  backdrop-filter: blur(0px);
  transition: var(--transition);
}

.custom-nav.scrolled {
  height: 70px;
  background: rgba(11, 27, 46, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 991px) {
  .custom-nav {
    padding: 0 24px;
    height: auto;
    background: rgba(11, 27, 46, 0.95);
  }

  .navbar-collapse {
    background: var(--navy-mid);
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
  }
}
/* --- COMPREHENSIVE MOBILE HERO REFINEMENTS --- */
@media (max-width: 768px) {
  .hero {
    min-height: 85vh; /* Gives content extra space to unfold vertically */
    padding-top: 100px; /* Brings the badge closer to the mobile navbar safely */
    padding-bottom: 80px; /* Ensures the bottom link never crashes into the stats bar */
  }

  .hero h1 {
    font-size: 32px !important; /* Elegant, readable scale for mobile screens */
    line-height: 1.25;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 15px !important; /* Prevents long paragraphs from looking like giant walls of text */
    max-width: 100%;
    margin-bottom: 35px !important;
  }

  /* Ensures the video/image background always fills the entire container footprint */

  .nav-logo-img {
    height: 50px;
  }
  .custom-nav.scrolled .nav-logo-img {
    height: 55px; /* Scales down cleanly for the compact 70px header frame */
  }
  .hero-badge {
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
    padding: 6px 12px !important;
    max-width: 90%; /* Forces safety boundaries */
    margin-left: auto;
    margin-right: auto;
  }

  /* Hard containment rule directly on the hero container block */
  .hero {
    overflow: hidden !important;
  }
}
.nav-logo {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
}

.nav-logo span {
  color: var(--gold);
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700 !important;
}

/* --- HERO SECTION --- */
/* --- UPDATED HERO STYLES --- */
.hero {
  position: relative;
  min-height: 80vh; /* Changed from 100vh to make the section smaller */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-top: 130px; /* Ensures content sits safely below the 90px fixed navbar */
  padding-bottom: 60px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(
    34px,
    4.5vw,
    58px
  ); /* Reduced from 95px to a cleaner, more luxury scale */
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

/* --- HERO BADGE (WITH INTERNAL ALIGNMENT) --- */
.hero-badge {
  display: inline-flex; /* Keeps the dot and text on the same line */
  align-items: center; /* Perfectly centers the dot vertically */
  gap: 8px; /* Spacing between the dot and your text */
  padding: 6px 16px;
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* --- THE LIVE BLINKING DOT --- */
.blink-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
  display: inline-block;

  /* Smooth pulse animation applied ONLY to the dot */
  animation: liveIndicator 1.8s infinite ease-in-out;
}

/* --- DOT ANIMATION KEYFRAMES --- */
@keyframes liveIndicator {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px var(--gold);
  }
  50% {
    opacity: 0.2;
    transform: scale(0.8);
    box-shadow: 0 0 0px transparent;
  }
}

.hero p {
  font-size: 18px; /* Slightly tightened font size */
  max-width: 650px;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(11, 27, 46, 0.7), rgba(11, 27, 46, 0.9)),
    url("../images/hero.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

/* --- PREMIUM PRODUCT PORTFOLIO STYLES --- */
.portfolio-card {
  background: linear-gradient(145deg, var(--navy-mid), rgba(19, 35, 56, 0.4));
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Accent lighting effect behind the card on hover */
.portfolio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(201, 168, 76, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow:
    0 20px 40px rgba(6, 14, 24, 0.5),
    0 0 30px rgba(201, 168, 76, 0.05);
}

.portfolio-card:hover::before {
  opacity: 1;
}

/* Upgraded glowing icon style */
.portfolio-icon-wrapper {
  width: 65px;
  height: 65px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--gold);
  transition: all 0.4s ease;
  box-shadow: inset 0 0 10px rgba(201, 168, 76, 0.05);
}

.portfolio-card:hover .portfolio-icon-wrapper {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
  transform: scale(1.05);
}

/* Premium Visual Content Tags */
.portfolio-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  background: var(--gold-dim);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: inline-block;
}

/* --- INTERACTIVE PARTNER PILLS --- */
.partner-pill {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Elite, responsive snapping curve */
}

/* Standard Pill Hover State */
.partner-pill:hover {
  transform: scale(1.06) translateY(-3px); /* Zooms in and lifts up */
  background: rgba(201, 168, 76, 0.12) !important; /* Premium gold tint */
  border-color: var(--gold) !important; /* Sharp gold border highlight */
  color: var(--gold-light) !important;
  box-shadow:
    0 12px 24px rgba(6, 14, 24, 0.4),
    0 0 20px rgba(201, 168, 76, 0.15); /* Soft outer glow */
}

/* Special Treatment for the Final Highlighted Tech Pill */
.partner-pill-gold {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 168, 76, 0.3) !important;
  color: var(--gold-light) !important;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Feature Pill Hover State */
.partner-pill-gold:hover {
  transform: scale(1.06) translateY(-3px);
  background: var(--gold) !important; /* Solid color invert on hover */
  border-color: var(--gold) !important;
  color: var(--navy) !important; /* Shifts text dark for flawless legibility */
  box-shadow:
    0 12px 28px rgba(6, 14, 24, 0.4),
    0 0 25px rgba(201, 168, 76, 0.35);
}

/* --- PREMIUM CONTACT SECTION STYLES --- */
.contact-section {
  background:
    linear-gradient(rgba(11, 27, 46, 0.93), rgba(11, 27, 46, 0.93)),
    url("../images/contact.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Creates an ultra-premium fixed-window scrolling depth */
}

.contact-info-card {
  background: rgba(19, 35, 56, 0.45);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

/* Luxury Card Sliding & Lighting Hover Effect */
.contact-info-card:hover {
  transform: translateX(12px) scale(1.01); /* Interactive nudge forward */
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(19, 35, 56, 0.75);
  box-shadow: 0 15px 35px rgba(6, 14, 24, 0.4);
  color: var(--white);
}

.contact-icon-box {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.contact-info-card:hover .contact-icon-box {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.4);
}

.btn-gold-action {
  background: var(--gold);
  color: var(--navy);
  padding: 18px 36px;
  font-weight: 700;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold-action:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(6, 14, 24, 0.4);
}

/* Micro-interaction to snap the arrow forward on hover */
.btn-gold-action i {
  transition: transform 0.3s ease;
}
.btn-gold-action:hover i {
  transform: translateX(6px);
}

/* --- COMPONENT CARDS --- */
.stat-item {
  padding: 50px 20px;
  border-right: 1px solid var(--border-light);
}

@media (max-width: 767px) {
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
}

.stat-num {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
  display: block;
  margin-bottom: 15px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.v-card {
  position: relative;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  text-decoration: none;
  color: white;
  transition: var(--transition);
}

.v-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: 0.8s;
  filter: brightness(0.6);
}

.v-card:hover img {
  transform: scale(1.15);
  filter: brightness(0.4);
}

.v-card:hover {
  transform: translateY(-10px);
  color: #fff;
}

.v-content {
  position: relative;
  z-index: 2;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  text-align: left;
}

.v-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin-bottom: 10px;
}

.v-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.process-step {
  background: var(--navy-mid);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  position: relative;
  transition: 0.3s;
  height: 100%;
}

.process-step:hover {
  border-color: var(--gold);
  background: var(--navy-light);
}

.step-num {
  position: absolute;
  top: -20px;
  left: 40px;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border-radius: 50%;
}

.process-step i {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.img-stack {
  position: relative;
  height: 550px;
}

.img-stack-large {
  width: 85%;
  height: 90%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.img-stack-small {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 50%;
  object-fit: cover;
  border-radius: 10px;
  border: 10px solid var(--navy-mid);
}

.traffic-card {
  background: var(--navy-light);
  padding: 35px;
  border-radius: 8px;
  display: flex;
  gap: 25px;
  border: 1px solid transparent;
  transition: 0.3s;
  height: 100%;
  text-align: left;
}

.traffic-card:hover {
  border-color: var(--gold-dim);
  transform: scale(1.02);
}

.traffic-icon {
  width: 60px;
  height: 60px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  flex-shrink: 0;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  padding: 20px 50px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
}

.btn-gold:hover {
  background: var(--white);
  transform: translateY(-5px);
  color: var(--navy);
}

.footer-head {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 25px;
}

.footer-links a {
  display: block;
  color: var(--text-mid);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--gold);
}
