/* =========================================================
   QUANTONIC LIMITED — Main Stylesheet (index.css)
   ========================================================= */

:root {
  --blue-900: #01305e;
  --blue-700: #01488a;
  --blue-600: #0a5aa3;
  --cyan-500: #12bfd0;
  --cyan-400: #14c8d7;
  --cyan-600: #08adc0;
  --green-500: #88ba26;
  --green-600: #729e1c;
  --ink: #0e1b24;
  --steel-600: #4c5a66;
  --steel-400: #7c8993;
  --steel-200: #c7d0d6;
  --paper: #f6f7f5;
  --paper-dim: #eef1ee;
  --line: #d8dedb;
  --white: #ffffff;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
  --radius: 12px;
}

/* =========================================================
   RESET & BASE STYLES
   ========================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image: 
    radial-gradient(ellipse 900px 520px at 6% -8%, rgba(10, 90, 163, 0.06), transparent 60%),
    radial-gradient(ellipse 760px 520px at 100% 6%, rgba(136, 186, 38, 0.07), transparent 55%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container {
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 999;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  height: 95px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 180px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 42px;
}

.nav-links a {
  color: #142b72;
  font-weight: 600;
  font-size: 17px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--cyan-400);
  transition: width 0.35s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.book-btn {
  background: var(--cyan-400);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.book-btn span {
  margin-left: 8px;
}

.book-btn:hover {
  background: var(--cyan-600);
  transform: translateY(-2px);
}

/* =========================================================
   HERO SECTION (UPDATED OVERLAY)
   ========================================================= */

.hero {
  width: 96%;
  max-width: 1400px;
  height: 720px;
  margin: 125px auto 40px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.hero img,
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
   
  animation: zoomHero 15s linear infinite alternate;
}

/* Darker overlay to make image less prominent and text easier to read */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); 
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 80%;
  z-index: 2;
}

.hero-subtitle {
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 25px;
  opacity: 0.9;
  font-family: var(--font-mono);
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 30px;
}

.hero p {
  width: 720px;
  max-width: 100%;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.8;
}

.hero-buttons {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.primary-btn,
.secondary-btn {
  padding: 18px 34px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.primary-btn {
  background: var(--cyan-400);
  color: var(--white);
}

.primary-btn:hover {
  transform: translateY(-4px);
  background: var(--cyan-600);
}

.secondary-btn {
  border: 2px solid var(--white);
  color: var(--white);
}

.secondary-btn:hover {
  background: var(--white);
  color: #142b72;
}

.scroll-indicator {
  position: absolute;
  right: 35px;
  bottom: 30px;
  color: var(--white);
  font-size: 42px;
  animation: bounce 2s infinite;
  z-index: 2;
}

/* =========================================================
   MOBILE HERO - FIXED OVERFLOW & PERFECT CENTER (< 768px)
   ========================================================= */

@media (max-width: 768px) {
  .hero {
    position: relative;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important; /* Adapts dynamically as mobile address bar hides/shows */
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important; /* Breaks out of any parent wrapper margins */
    margin-right: -50vw !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important; /* Removes rounded corners for a true full bleed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Expands the image to fill every pixel without stretching */
  .hero img,
  .hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    z-index: 1;
  }

  /* Dark overlay for contrast */
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0.7) 100%
    ) !important;
    z-index: 2;
  }

  /* Centered content box with fixed padding */
  .hero-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important; /* Removes transforms pushing text off-screen */
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important; /* Prevents edge clipping */
    text-align: center !important;
    box-sizing: border-box !important;
    z-index: 3;
  }

  /* Subtitle */
  .hero-subtitle {
    display: block !important;
    font-size: 11px !important;
    letter-spacing: 2px !important;
    margin-bottom: 10px !important;
    color: rgba(255, 255, 255, 0.85) !important;
  }

  /* Heading */
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem) !important;
    line-height: 1.2 !important;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
    white-space: normal !important; /* Allows text to wrap normally */
    word-break: break-word !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }

  /* Body Paragraph */
  .hero p {
    display: block !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons */
  .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 20px !important;
    width: 100% !important;
  }

  .primary-btn,
  .secondary-btn {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 13.5px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* Scroll Arrow */
  .scroll-indicator {
    display: none !important;
  }
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */

.services {
  padding: 110px 0;
  background: #f8fafc;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-heading span {
  
  color: #162870;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 44px;
  font-family: var(--font-mono);
}

.section-heading{

    position:relative;

    text-align:center;

    max-width:720px;

    margin:0 auto 70px;

}

.section-heading::after{

    content:"";

    width:80px;

    height:4px;

    background:linear-gradient(90deg,#10c4d8,#87c80a);

    display:block;

    margin:28px auto 0;

    border-radius:10px;

}
.section-heading h2 {
  font-size: 36px;
  color: var(--cyan-500);
  margin: 18px 0;
}

.section-heading p {
  color: var(--steel-600);
  line-height: 1.8;
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position:relative;
  overflow:hidden;
}

.service-card::before{

    content:"";
    position:absolute;
    left:0;
    top:0;
    width:0;
    height:4px;
    background:#10c4d8;
    transition:.35s;
}

.service-card:hover::before{

    width:100%;

}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}
.service-link{

display:flex;

align-items:center;

gap:8px;

font-weight:600;

}

.service-link span{

transition:.4s;

}

.service-link:hover span{

transform:translateX(8px);

}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--green-500);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  margin-bottom: 25px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.service-card:hover .service-icon {
  transform: translateY(-4px) scale(1.06);
  background: var(--green-600);
}

.service-card h3 {
  color: #162870;
  margin-bottom: 15px;
  font-size: 26px;
}

.service-card p {
  color: var(--steel-600);
  line-height: 1.8;
  margin-bottom: 25px;
}

.service-card a {
  color: var(--cyan-500);
  font-weight: 600;
  transition: color 0.2s ease;
}

.service-card a:hover {
  color: var(--blue-700);
}

.services-btn {
  text-align: center;
  margin-top: 60px;
}

.view-services-btn {
  display: inline-block;
  background: #162870;
  color: var(--white);
  padding: 18px 38px;
  border-radius: var(--radius);
  transition: background 0.3s ease;
}

.view-services-btn:hover {
  background: var(--cyan-500);
}

/* =========================================================
   CTA SECTION
   ========================================================= */

.cta-band {
  background: var(--green-500);
  color: var(--blue-900);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 50px 0;
  position: relative;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 20ch;
}

.cta-inner p {
  max-width: 50ch;
  font-size: 16px;
  line-height: 1.6;
}

.cta-fly {
  position: absolute;
  right: 8%;
  top: -18px;
  opacity: 0.85;
}

.fly-icon {
  animation: fly 4.5s ease-in-out infinite;
}

.btn {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
  background: var(--white);
  color: var(--blue-900);
}

.btn:hover {
  background: var(--paper);
}

.btn-primary {
  background: var(--blue-900);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.btn-ghost:hover {
  background: var(--blue-900);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================================
   MOBILE RESPONSIVE CTA SECTION (< 768px)
   ========================================================= */

@media (max-width: 768px) {
  .cta-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px; /* Ensures padding on small screens */
  }

  .cta-inner h2,
  .cta-inner p {
    max-width: 100%; /* Removes character width limits on narrow screens */
  }

  .cta-fly {
    top: -14px;
    right: 16px; /* Prevents overflow off the edge of small displays */
    width: 36px;
    height: 36px;
  }

  .section-heading span {
  
  color: #162870;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 34px;
  font-family: var(--font-mono);
}

  .btn {
    width: 100%; /* Spans full width for easy tapping on mobile */
    justify-content: center;
    padding: 14px 20px;
  }
}
/* =========================================================
   FOOTER SECTION
   ========================================================= */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 30px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 34ch;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--green-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   KEYFRAME ANIMATIONS
   ========================================================= */

@keyframes zoomHero {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes fly {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, -16px) rotate(-4deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 960px) {
  .hero-content { width: 90%; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-fly { display: none; }
}

@media (max-width: 720px) {
  .site-header .container {
    height: auto;
    padding: 15px 0;
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    height: auto;
    min-height: 580px;
    margin-top: 180px;
    border-radius: 16px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/*==============================
        STATS SECTION
==============================*/


/* Color Variable Fallbacks */


/* Container Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Wrapper */
.stats {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Grid Layout */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Individual Card */
.stat-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 35px 20px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(1, 72, 138, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Top Accent Bar */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan-500), var(--green-500));
}

/* Background Glow Circle */
.stat-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(18, 191, 208, 0.08);
  border-radius: 50%;
  top: -50px;
  right: -40px;
  transition: transform 0.4s ease;
  pointer-events: none;
}

/* Card Hover States */
.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
}

.stat-card:hover::after {
  transform: scale(1.3);
}

/* Headings (Text Titles or Big Stat Numbers) */
.stat-card h2,
.stat-card h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
  font-weight: 730;
  color: var(--blue-900);
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Style for Numerical Displays (if using <h2>50<span>%</span></h2>) */
.stat-card h2 {
  font-size: 40px;
  font-weight: 600;
  display: inline-block;
}

.stat-card span {
  font-size: 34px;
  color: var(--green-500);
  font-weight: 700;
}

/* Body Text Description */
.stat-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5a66;
  font-weight: 400;
  transition: color 0.35s ease;
}

.stat-card:hover p {
  color: var(--blue-900);
}

/* Scroll Animation Helper */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .stats {
    padding: 40px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 20px 12px;
  }

  .stat-card h2 {
    font-size: 26px;
  }

  .stat-card h3 {
    font-size: 15px;
  }

  .stat-card span {
    font-size: 20px;
  }

  .stat-card p {
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.4;
  }
}



/* =========================================================
   MOBILE HEADER & NAVIGATION FIX
   ========================================================= */

@media (max-width: 768px) {
  .site-header .container {
    height: 70px;
    padding: 0 20px;
    flex-direction: row; /* Keep elements in a single horizontal row */
    justify-content: space-between;
    align-items: center;
  }

  .logo img {
    width: 130px; /* Scale down logo to prevent overflow */
  }

  .book-btn {
    padding: 10px 16px;
    font-size: 12px;
    border-radius: 8px;
  }

  /* Hide raw link list from exploding the header height */
  .navbar {
    display: none; 
  }

  /* Slide-down mobile drawer menu when toggled active */
  .navbar.active {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--line, #d8dedb);
    padding: 20px 0;
    z-index: 998;
  }

  .navbar.active .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .navbar.active .nav-links a {
    font-size: 16px;
  }
  .nav-links a.active {
  color: var(--blue-700);
}

  /* Hamburger Toggle Button */
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
  }

  .mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background-color: #142b72;
    border-radius: 2px;
    transition: 0.3s;
  }
}

@media (min-width: 769px) {
  .mobile-toggle {
    display: none; /* Hide toggle on desktop */
  }
}


/* Fix for Book Consultation button on mobile */
@media (max-width: 768px) {
  .site-header .container {
    height: 70px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .logo img {
    width: 110px; /* Scale logo down slightly to give room */
    height: auto;
  }

  .book-btn {
    padding: 8px 14px;        /* Compact padding */
    font-size: 11.5px;        /* Slightly smaller text */
    white-space: nowrap;      /* Prevents text from breaking into 2 lines */
    border-radius: 6px;       /* Sleek corner rounding */
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;             /* Fixed neat height */
  }

  .book-btn span {
    display: none;            /* Hides arrow icon on mobile to save space */
  }
}


/* =========================================================
   DELIVERY MODEL SECTION (REMOTE / ON-SITE)
   ========================================================= */

.delivery-model {
  padding: 80px 0;
  background-color: #f8fafc;
  text-align: center;
}

.delivery-header {
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.delivery-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-900, #0d253f);
  margin-bottom: 16px;
  line-height: 1.25;
}

.delivery-header p {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5a66;
}

/* 2-Column Card Grid */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto 36px auto;
}

.delivery-card {
  background: #ffffff;
  border: 1px solid rgba(1, 72, 138, 0.08);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.delivery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.delivery-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(18, 191, 208, 0.1);
  color: var(--blue-900, #0d253f);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.delivery-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-900, #0d253f);
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.delivery-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4b5a66;
  margin: 0;
}

.delivery-statement {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-900, #0d253f);
  letter-spacing: 0.5px;
  margin-top: 24px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .delivery-model {
    padding: 50px 0;
  }

  .delivery-header h2 {
    font-size: 24px;
  }

  .delivery-grid {
    grid-template-columns: 1fr; /* Stack into 1 column on mobile */
    gap: 16px;
  }

  .delivery-card {
    padding: 24px 20px;
  }
}

/* =========================================================
   DELIVERY MODEL SECTION (ANIMATED + MOBILE FRIENDLY)
   ========================================================= */

.delivery-model {
  width: 100%;
  background-color: #f8fafc;
  padding: 80px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.delivery-model .wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Base states for scroll animation (Hidden) */
.delivery-header,
.delivery-card,
.delivery-statement {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

/* Staggered delays when scrolled into view */
.delivery-model.in-view .delivery-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.delivery-model.in-view .delivery-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.delivery-model.in-view .delivery-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.delivery-model.in-view .delivery-statement {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

/* Header Styling */
.delivery-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.delivery-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0d253f;
  margin-bottom: 16px;
  line-height: 1.25;
}

.delivery-header p {
  font-size: 16px;
  line-height: 1.6;
  color: #556575;
  margin: 0;
}

/* 2-Column Grid Layout */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.delivery-card {
  background: #ffffff;
  border: 1px solid rgba(13, 37, 63, 0.08);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.delivery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.delivery-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 188, 212, 0.1);
  color: #0d253f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.delivery-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0d253f;
  letter-spacing: 0.8px;
  margin: 0 0 12px 0;
}

.delivery-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #556575;
  margin: 0;
}

.delivery-statement {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #0d253f;
  margin: 0;
}

/* =========================================================
   MOBILE RESPONSIVENESS (< 768px)
   ========================================================= */

@media (max-width: 768px) {
  .delivery-model {
    padding: 50px 0;
  }

  .delivery-header {
    margin-bottom: 32px;
  }

  .delivery-header h2 {
    font-size: 24px;
  }

  .delivery-header p {
    font-size: 14px;
  }

  .delivery-grid {
    grid-template-columns: 1fr; /* Stacks cards on mobile */
    gap: 16px;
    margin-bottom: 28px;
  }

  .delivery-card {
    padding: 24px 20px;
  }

  .delivery-statement {
    font-size: 14px;
    padding: 0 10px;
  }
}

