/* Driver Logistics Website Styles */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, video, iframe, embed {
    max-width: 100%;
}

:root {
    --primary-orange: #FF6B35;
    --primary-blue: #004E89;
    --dark-blue: #002855;
    --light-gray: #F5F5F5;
    --text-dark: #1A1A1A;
    --text-gray: #666;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

body.mobile-nav-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

/* Header Styles */
header {
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header.scrolled .nav-links a {
    color: #1a1a2e;
}

header.scrolled .mobile-menu-toggle {
    color: #1a1a2e;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
    z-index: 1;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.nav-links a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    min-width: 250px;
    border-radius: 8px;
    padding: 1rem 0;
    margin-top: 0.5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    gap: 1rem;
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: var(--light-gray);
}

.dropdown-item img {
    width: 30px;
    height: 30px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    position: relative;
    z-index: 1202;
    flex-direction: column;
    gap: 4px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle__line {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.is-open .mobile-menu-toggle__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.is-open .mobile-menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open .mobile-menu-toggle__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* Hero Section for Bootstrap Carousel */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

/* Each carousel item becomes a background slide */
.hero-section,
.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 70vh;
    min-height: 500px;
}

.carousel-item.hero-slide {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Dark overlay for readability */
.carousel-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Hero text — Apple-style large type */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90%;
    max-width: 860px;
    padding: 0 2rem;
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 14ch;
    margin: 0 auto 1rem;
    text-wrap: balance;
    word-break: normal;
    hyphens: none;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 400;
    opacity: 0.88;
    max-width: 34ch;
    margin: 0 auto 2rem;
    letter-spacing: -0.01em;
    text-wrap: pretty;
}

/* ── Hero CTA Buttons ── */
.hero-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* Shared base — pixel-perfect equal size on all slides */
.reach-btn,
.reach-btn-outline {
    width: 168px;
    height: 56px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 50px;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

/* Solid red */
.reach-btn {
    background: #e63946;
    color: #ffffff;
    border: 2px solid #e63946;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
}
.reach-btn:hover {
    background: #c1121f;
    border-color: #c1121f;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.5);
}

/* Ghost outline */
.reach-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}
.reach-btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 30, 0.97);
    color: #e8e8f0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
    min-width: 220px;
}

.cookie-banner p a {
    color: #ff9a5c;
    text-decoration: underline;
}

.cookie-banner-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cookie-accept:hover { background: #ff8c5a; }

.cookie-decline {
    background: transparent;
    color: #aaa;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* Bootstrap Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: rgba(255,255,255,0.9);
    width: 30px;
    border-radius: 6px;
}


.creative-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.creative-card .imgBox {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: 0.5s ease;
}

.creative-card .imgBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creative-card .details {
    position: absolute;
    bottom: -100%;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253, 0.95);
    color: #fff;
    padding: 25px;
    transition: 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.creative-card:hover .details {
    bottom: 0;
}

.creative-card:hover .imgBox {
    transform: scale(1.1);
}

.creative-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

/* CTA Banner */
.cta-banner {
    min-height: 350px;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.cta-banner .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(13,110,253,0.75));
}

.cta-banner .container {
    z-index: 2;
}

.cta-banner h2 .highlight,
.cta-banner .highlight {
    position: relative;
    display: inline-block;
    font-style: italic;
    font-weight: 800;
    white-space: nowrap;
    word-break: normal;
    hyphens: none;
    color: #ff4d4d;
    -webkit-text-fill-color: #ff4d4d;
    background: transparent;
    text-shadow: 0 10px 28px rgba(255, 77, 77, 0.18);
}

.cta-banner h2 .highlight::after,
.cta-banner .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 77, 77, 0.8);
    animation: ctaUnderlinePulse 1.8s ease-in-out infinite alternate;
}

.cta-banner .highlight .letter {
    display: inline-block;
    color: inherit;
    -webkit-text-fill-color: currentColor;
    will-change: transform, opacity;
}

@keyframes ctaUnderlinePulse {
    from { transform: scaleX(0.92); opacity: 0.7; }
    to { transform: scaleX(1); opacity: 1; }
}

/* Primary Button */
.cta-btn-primary {
    background: #0d6efd;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(13,110,253,0.4);
}

.cta-btn-primary:hover {
    background: #084298;
    transform: translateY(-4px);
}

/* Outline Button */
.cta-btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.cta-btn-outline:hover {
    background: #fff;
    color: #0d6efd;
    transform: translateY(-4px);
}

/* Mobile */
@media (max-width: 768px) {
    .cta-banner {
        min-height: 280px;
        padding: 40px 20px;
    }

    .cta-banner h2 {
        font-size: 28px;
    }
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: #f8fbff; /* Match light modern background */
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
    grid-auto-rows: 1fr;
    gap: 2.5rem;
    padding: 1rem;
}

.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* GSAP takes care of interactions instead of CSS transitions */
}

.form-status-message {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.65;
    border: 1px solid transparent;
}

.form-status-success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.22);
    color: #0f5132;
}

.form-status-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
}

.service-card-link:hover,
.service-card-link:focus-visible {
    text-decoration: none;
    color: inherit;
}

.service-card-link:focus-visible {
    outline: 3px solid rgba(255, 107, 53, 0.32);
    outline-offset: 4px;
}

/* Base image styling */
.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    color: #004E89; /* Distinct blue matching reference */
    min-height: 96px;
    padding: 1.5rem 1.4rem 1.7rem;
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: flex-start;
    line-height: 1.35;
}

.service-img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

/* About page core services cards */
.core-services-section .row {
    align-items: stretch;
}

.core-services-section .core-service-card {
    width: 100%;
    min-height: 214px;
    padding: 2rem 1.75rem !important;
    border-radius: 22px;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08) !important;
}

.core-services-section .core-service-card h5 {
    margin: 0 0 0.9rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.core-services-section .core-service-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #2f3b4a;
}

/* Sectors Section */

/* SECTION CENTERING */
#sector {
  scroll-margin-top: 80px;
}

.sectors-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f7fa;
  color: #1a1a2e;
  text-align: center;
  padding: 0 1rem 3rem;
  overflow-x: hidden;
}

/* Heading wrapper */
.sectors-heading-wrap {
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 200;
  padding: 2rem 0 1.5rem;
}

/* HEADING */
.section-title {
  font-size: 48px;
  font-weight: 800;
  margin: 0;
  position: relative;
  display: inline-block;
  color: #1a1a2e;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 60%;
  height: 4px;
  background: crimson;
  transform: translateX(-50%);
  border-radius: 5px;
}

/* IMAGE CONTAINER */
.image-container {
  position: relative;
  --tz: 280px;
  width: 200px;
  height: 240px;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateY(0deg);
  transition: transform 0.7s ease;
  margin-top: 10px;
  margin-bottom: 100px;
  overflow: visible;
}

/* EACH IMAGE POSITION — uses --tz for responsive radius */
.image-container span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(calc((var(--i) - 1) * 45deg)) translateZ(var(--tz));
  overflow: visible;
}

/* IMAGE STYLE */
.image-container span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* SECTOR LABEL */
.sector-label {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 10px 8px 12px;
  background: linear-gradient(135deg, rgba(26,26,46,0.92), rgba(26,26,46,0.78));
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-radius: 0 0 12px 12px;
  letter-spacing: 0.4px;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* TRANSPARENT ARROW BUTTONS */
.btn-container {
  margin-top: 0;
  display: flex;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.sector-btn {
  background: transparent;
  color: #3b566b;
  border: 2px solid rgba(59, 86, 107, 0.35);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.sector-btn:hover {
  background: rgba(59, 86, 107, 0.12);
  border-color: rgba(59, 86, 107, 0.65);
  transform: scale(1.1);
}

/* RESPONSIVE BREAKPOINTS */

/* Large laptop / desktop */
@media (min-width: 1201px) {
  .image-container { --tz: 340px; width: 240px; height: 300px; margin-bottom: 110px; }
  .sectors-section { padding: 0 1rem 3rem; }
}
/* Laptop */
@media (min-width: 901px) and (max-width: 1200px) {
  .image-container { --tz: 290px; width: 210px; height: 260px; margin-bottom: 100px; }
}
/* Tablet */
@media (max-width: 900px) {
  .image-container { --tz: 200px; width: 150px; height: 190px; margin-bottom: 85px; }
  .section-title { font-size: 32px; }
}
/* Large phone */
@media (max-width: 600px) {
  .image-container { --tz: 150px; width: 110px; height: 140px; margin-bottom: 75px; }
  .sector-btn { width: 40px; height: 40px; font-size: 16px; }
}
/* Small phone */
@media (max-width: 400px) {
  .image-container { --tz: 120px; width: 85px; height: 110px; margin-bottom: 65px; }
}

.sectors-section {
  padding: 5rem 1rem 4.8rem;
  background: #ffffff;
  color: #10213a;
}

.sectors-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.sectors-heading-wrap {
  max-width: 760px;
  margin: 0 auto 1.75rem;
  padding: 0;
  text-align: center;
  background: transparent;
  box-shadow: none;
}

.sectors-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 78, 137, 0.08);
  color: var(--primary-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sectors-header {
  max-width: 820px;
  margin: 0 auto 2.2rem;
}

.sectors-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: #18203c;
}

.sectors-header p {
  max-width: 720px;
  margin: 1rem auto 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #5f6275;
}

.sectors-heading-wrap .section-title {
  display: block;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 0.94;
  color: #10213a;
}

.sectors-heading-wrap .section-title::after {
  display: none;
}

.sectors-intro {
  max-width: 620px;
  margin: 1rem auto 0;
  font-size: 1.03rem;
  line-height: 1.8;
  color: #5f6275;
}

.sectors-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.sector-metric {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: #7a8390;
}

.sector-metric + .sector-metric {
  position: relative;
  padding-left: 1.1rem;
}

.sector-metric + .sector-metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 1.2rem;
  background: rgba(16, 33, 58, 0.14);
  transform: translateY(-50%);
}

.sector-metric strong {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  color: #222834;
  letter-spacing: -0.04em;
}

.sector-metric span {
  font-size: 1rem;
  color: #7a8390;
}

.sectors-stage {
  position: relative;
  padding: 0.65rem 0 0.95rem;
  overflow: hidden;
}

.sectors-stage::before,
.sectors-stage::after {
  display: none;
}

.sector-rail-nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.sector-rail-btn {
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(16, 33, 58, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: #122642;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.sector-rail-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

.image-container,
.btn-container {
  display: none !important;
}

.sectors-grid {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.2rem clamp(1.8rem, 5vw, 4.2rem) 0.9rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.sectors-grid::-webkit-scrollbar {
  display: none;
}

.sector-card {
  position: relative;
  flex: 0 0 clamp(250px, 30vw, 420px);
  min-height: 470px;
  border-radius: 22px;
  overflow: hidden;
  background: #1d1f2d;
  box-shadow: 0 14px 32px rgba(15, 36, 61, 0.12);
  scroll-snap-align: start;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 36, 61, 0.16);
}

.sector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 28, 0.06) 40%, rgba(17, 22, 38, 0.9) 78%, rgba(17, 22, 38, 0.98) 100%);
}

.sector-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  min-height: 118px;
  padding: 1.25rem 1.2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sector-card-content h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.14;
  color: #ffffff;
}

.sector-card-content p {
  display: none;
}

.sectors-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.sectors-copy,
.sectors-sidecopy {
  min-width: 0;
}

.sectors-top .section-title {
  max-width: 560px;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-align: left;
}

.sectors-sidecopy {
  padding-top: 1.1rem;
}

.sectors-sidecopy .sectors-intro {
  max-width: none;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  text-align: left;
}

.sectors-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.sector-action-primary,
.sector-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.sector-action-primary {
  background: #252a31;
  color: #ffffff;
}

.sector-action-secondary {
  background: #ffffff;
  color: #252a31;
  border: 1px solid rgba(37, 42, 49, 0.16);
}

.sector-action-primary:hover,
.sector-action-secondary:hover {
  transform: translateY(-2px);
}

.sectors-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.sector-tile {
  position: relative;
  min-height: 230px;
  grid-column: span 3;
  border-radius: 18px;
  overflow: hidden;
  background: #dfe5ec;
  box-shadow: 0 12px 28px rgba(15, 36, 61, 0.1);
}

.sector-tile-wide {
  min-height: 245px;
  grid-column: span 6;
}

.sector-tile-large {
  grid-column: span 6;
}

.sector-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sector-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 23, 34, 0.02) 45%, rgba(18, 23, 34, 0.74) 100%);
}

.sector-tile .sector-card-content {
  min-height: 0;
  padding: 1.1rem 1rem;
  align-items: flex-start;
  text-align: left;
}

.sector-tile .sector-card-content h3 {
  font-size: 1rem;
  line-height: 1.28;
}

@media (max-width: 980px) {
  .sectors-top {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sectors-top .section-title,
  .sectors-sidecopy .sectors-intro {
    text-align: center;
    margin-inline: auto;
  }

  .sectors-actions {
    justify-content: center;
  }

  .sectors-showcase {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .sector-tile,
  .sector-tile-wide,
  .sector-tile-large {
    grid-column: span 3;
  }

  .sector-card {
    flex-basis: clamp(250px, 58vw, 360px);
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .sectors-section {
    padding: 4.2rem 0.8rem 4rem;
  }

  .sectors-header h2 {
    font-size: 2rem;
  }

  .sectors-header p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .sector-rail-btn {
    width: 44px;
    height: 44px;
  }

  .sectors-grid {
    padding-inline: 0.35rem;
  }

  .sectors-showcase {
    grid-template-columns: 1fr;
  }

  .sector-tile,
  .sector-tile-wide,
  .sector-tile-large {
    grid-column: auto;
    min-height: 235px;
  }

  .sectors-top .section-title {
    font-size: 2.2rem;
  }

  .sector-card {
    flex-basis: 82vw;
    min-height: 360px;
  }

  .sector-card-content {
    min-height: 110px;
    padding: 1.05rem 0.95rem 1.2rem;
  }

  .sector-card-content h3 {
    font-size: 1.08rem;
  }
}


/* About Section */
.about {
    padding: 5rem 2rem;
    background: var(--white);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: scale(1.05);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-orange);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.stat-card:hover h3 {
    color: var(--white);
}

.stat-card p {
    font-size: 1.1rem;
    font-weight: 500;
}


/* Carousel Section */
.company-carousel img {
    height: 450px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 15px;
}

.carousel-caption h5 {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .company-carousel img {
        height: 250px;
    }
}


/* Clients Section */
.clients {
    padding: 5rem 0;
    background: var(--white);
    overflow: hidden;
}

.clients .section-header {
    padding: 0 2rem;
}

.clients .section-header h2 {
    background: linear-gradient(90deg, #0077b5, #00c6ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.clients .section-header p {
    color: #666;
}

.clients-slider {
    max-width: none;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    overflow: hidden;
    --client-gap: clamp(1.2rem, 3vw, 3rem);
}

.clients-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: var(--client-gap);
    animation: scroll 18s linear infinite;
    will-change: transform;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - (var(--client-gap) / 2)));
    }
}

.client-logo {
    flex: 0 0 auto;
    width: clamp(110px, 14vw, 150px);
    height: clamp(58px, 7vw, 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
}

.client-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* owners Section */

.owners {
    padding: 120px 20px;
    background: linear-gradient(135deg, #eef2f7, #ffffff);
    position: relative;
}

/* Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 700;
    background: linear-gradient(90deg, #0077b5, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Prevent gradient-clip from bleeding into child spans */
.section-header h2 span {
    -webkit-background-clip: unset;
    background-clip: unset;
}

.section-header p {
    color: #666;
    font-size: 17px;
}

/* Container */
.owners-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 60px; /* IMPORTANT */
}

/* Card */
.owner-card {
    position: relative;
    width: 340px;
    background: white;
    border-radius: 25px;
    padding: 90px 25px 30px; /* increase top padding */
    text-align: center;
    overflow: visible; /* CHANGE from hidden to visible */
    transition: 0.5s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Animated gradient border */
.owner-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 25px;
    background: linear-gradient(45deg, #0077b5, #00c6ff, #0077b5);
    z-index: -1;
    opacity: 0;
    transition: 0.5s;
}

.owner-card:hover::before {
    opacity: 1;
}

/* Glow effect */
.owner-card::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,119,181,0.15), transparent);
    top: -50px;
    right: -50px;
}

/* Hover lift */
.owner-card:hover {
    transform: translateY(-15px) scale(1.03);
}

/* Floating Image */
.owner-image-box {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: #d0d8e8;
    border-radius: 50%;
    width: 140px;
    height: 140px;
}

.owner-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    object-fit: cover;
    background: white;
    display: block;
}

.owner-card:hover .owner-image {
    transform: scale(1.08);
}

/* Content */
.owner-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.owner-role {
    color: #0077b5;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Description */
.owner-description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Creative LinkedIn Button */
.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0077b5, #00c6ff);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

/* Shine animation */
.linkedin-btn::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 200%;
    background: rgba(255,255,255,0.3);
    left: -60px;
    top: -50px;
    transform: rotate(25deg);
    transition: 0.5s;
}

.linkedin-btn:hover::before {
    left: 120%;
}

.linkedin-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(0,119,181,0.4);
}

/* Responsive */
@media (max-width: 768px) {

    .section-header h2 {
        font-size: 28px;
    }

    .owner-card {
        width: 100%;
        max-width: 350px;
    }

}


/* Testimonials */
.testimonials {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--primary-orange);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-content {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Blog Section */
.blog {
    padding: 5rem 2rem;
    background: var(--white);
}

.blog-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: default;
}

.blog-card--soon {
    opacity: 0.85;
}

.blog-card--soon:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.blog-soon-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.12);
    color: var(--primary-orange);
    border: 1px solid rgba(255, 107, 53, 0.3);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    pointer-events: none;
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.read-more {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-blue);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center !important;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0 auto;
    width: 100%;
    display: block;
    text-align: center !important;
}

/* Tablet footer */
@media (min-width: 481px) and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    .footer-content > div:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
}

/* Mobile footer */
@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        align-items: center;
    }
}

/* ═══════════════════════════════════════════════════
   MOBILE & TABLET NAVIGATION — Premium Dark Panel
   Breakpoint: 992px (phones + tablets)
   ═══════════════════════════════════════════════════ */

@media (max-width: 992px) {
    nav {
        padding: 0.7rem 1.1rem !important;
    }
    .logo img {
        height: 38px !important;
    }

    /* ── Hamburger — three lines only, no box ── */
    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 0 !important;
        border: none !important;
        background: transparent !important;
        color: #fff !important;
        cursor: pointer !important;
        transition: opacity 0.2s ease !important;
        flex-shrink: 0 !important;
    }
    .mobile-menu-toggle:hover { opacity: 0.7 !important; }
    .mobile-menu-toggle__line {
        background: currentColor !important;
        border-radius: 2px !important;
    }
    header.scrolled .mobile-menu-toggle {
        color: #002855 !important;
        background: transparent !important;
        border: none !important;
    }
    body.mobile-nav-open .mobile-menu-toggle,
    body.mobile-nav-open header.scrolled .mobile-menu-toggle {
        color: #fff !important;
        background: transparent !important;
        border: none !important;
    }

    /* ── Full-screen dark backdrop ── */
    body.mobile-nav-open::after {
        content: '' !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 8, 20, 0.72) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        z-index: 1200 !important;
        animation: mnFadeIn 0.28s ease forwards !important;
    }
    @keyframes mnFadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    /* ── The Panel — dark navy, full-height ── */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(78vw, 320px) !important;
        height: 100vh !important;
        height: 100dvh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        background: #001220 !important;
        background-image:
            radial-gradient(ellipse 80% 50% at 110% 20%, rgba(0,78,137,0.35) 0%, transparent 70%),
            radial-gradient(ellipse 60% 40% at -10% 80%, rgba(255,107,53,0.08) 0%, transparent 60%) !important;
        transform: translateX(100%) !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.38s !important;
        z-index: 1201 !important;
        box-shadow: -8px 0 40px rgba(0,0,0,0.45) !important;
        overflow: hidden !important;
        border-left: none !important;
    }
    .nav-links.active {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Top accent bar */
    .nav-links::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important; left: 0 !important; right: 0 !important;
        height: 2px !important;
        background: linear-gradient(90deg, #FF6B35 0%, #004E89 100%) !important;
        display: block !important;
        width: auto !important;
        border-radius: 0 !important;
        transform: none !important;
        bottom: auto !important;
    }
    .nav-links::before { display: none !important; }

    /* ── Nav items ── */
    .nav-links li {
        width: 100% !important;
        display: flex !important;
        margin: 0 !important;
        justify-content: stretch !important;
        opacity: 0 !important;
        transform: translateX(18px) !important;
        transition: opacity 0.32s ease, transform 0.32s ease !important;
    }
    .nav-links.active li { opacity: 1 !important; transform: translateX(0) !important; }
    .nav-links.active li:nth-child(1) { transition-delay: 0.07s !important; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.13s !important; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.19s !important; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s !important; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.31s !important; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.37s !important; }

    /* ── Link styling — white on dark ── */
    .nav-links a {
        color: rgba(255,255,255,0.75) !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.03em !important;
        text-decoration: none !important;
        padding: 0.95rem 2rem !important;
        border: none !important;
        border-bottom: none !important;
        background: transparent !important;
        border-radius: 0 !important;
        transition: color 0.2s ease, padding-left 0.2s ease !important;
        position: relative !important;
        backdrop-filter: none !important;
    }

    /* Subtle divider between items */
    .nav-links li + li a {
        border-top: 1px solid rgba(255,255,255,0.05) !important;
    }

    /* Suppress old desktop underline */
    .nav-links a::after {
        display: none !important;
    }
    /* Left orange bar */
    .nav-links a::before {
        content: '' !important;
        position: absolute !important;
        left: 0 !important;
        top: 20% !important;
        width: 3px !important;
        height: 60% !important;
        background: #FF6B35 !important;
        border-radius: 0 3px 3px 0 !important;
        transform: scaleY(0) !important;
        transition: transform 0.22s cubic-bezier(0.4,0,0.2,1) !important;
        bottom: auto !important;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
        color: #fff !important;
        padding-left: 2.4rem !important;
        background: rgba(255,255,255,0.04) !important;
    }
    .nav-links a:hover::before,
    .nav-links a:focus-visible::before {
        transform: scaleY(1) !important;
    }

    /* Chevron arrow */
    .nav-links a[data-page]::after {
        content: '›' !important;
        display: flex !important;
        position: static !important;
        width: auto !important; height: auto !important;
        background: none !important;
        margin-left: auto !important;
        font-size: 1.25rem !important;
        line-height: 1 !important;
        color: rgba(255,255,255,0.2) !important;
        transform: none !important;
        bottom: auto !important;
        transition: color 0.2s ease !important;
    }
    .nav-links a[data-page]:hover::after { color: rgba(255,255,255,0.5) !important; }

    /* ── Active page ── */
    .nav-links a.nav-active {
        color: #fff !important;
        font-weight: 700 !important;
        letter-spacing: 0.04em !important;
        padding-left: 2.4rem !important;
        background: rgba(255,255,255,0.05) !important;
    }
    .nav-links a.nav-active::before { transform: scaleY(1) !important; }
    .nav-links a.nav-active::after  { color: #FF6B35 !important; }

    /* ── Header z-index when menu open ── */
    body.mobile-nav-open header {
        z-index: 1202 !important;
    }
}

/* Phone-specific overrides */
@media (max-width: 768px) {

    .hero-content h1 {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .features-grid,
    .services-grid,
    .sectors-grid,
    .blog-grid,
    .testimonials-container {
        grid-template-columns: 1fr;
    }

    /* CTA banner */
    .cta-banner {
        padding: 40px 16px;
    }

    .cta-banner h2 {
        font-size: 1.55rem !important;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .cta-banner p.lead {
        font-size: 0.95rem;
    }

    .cta-btn-primary,
    .cta-btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Services */
    .services {
        padding: 3rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    /* Blog */
    .blog {
        padding: 3rem 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Owners */
    .owners {
        padding: 80px 16px;
    }

    .owners-container {
        gap: 80px;
    }

    .owner-card {
        width: 100%;
        max-width: 340px;
    }

    /* Clients */
    .clients {
        padding: 3rem 0;
    }

    .clients .section-header {
        padding: 0 1rem;
    }

    /* Why choose */
    .why-choose {
        padding: 3rem 1rem !important;
    }

    /* Nav padding */
    nav {
        padding: 0.75rem 1rem;
    }
}

/* Small phones (≤ 480px) */
@media (max-width: 480px) {
    .hero-content {
        width: 95%;
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: clamp(1.4rem, 5.5vw, 2rem);
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .reach-btn {
        width: 140px;
        height: 48px;
        font-size: 0.9rem;
    }

    .cta-banner h2 {
        font-size: 1.3rem !important;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 2rem 1rem 1rem;
    }

    .cookie-banner {
        padding: 14px 16px;
    }
}

/* Extra-small phones (≤ 360px) */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.3rem;
    }

    .cta-banner h2 {
        font-size: 1.15rem !important;
    }

    .reach-btn {
        width: 120px;
        height: 44px;
        font-size: 0.85rem;
    }

    nav {
        padding: 0.6rem 0.75rem;
    }

    .logo img {
        height: 40px;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* cta pop up form */
/* Glassmorphism Card */
.unique-modal {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: popupFade 0.4s ease;
}

/* Gradient Top Bar */
.modal-top-bar {
  height: 6px;
  background: linear-gradient(90deg, #0d6efd, #66b2ff, #0d6efd);
}

/* Gradient Heading Text */
.gradient-text {
  background: linear-gradient(45deg, #0d6efd, #66b2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Floating Inputs */
.form-floating-custom {
  position: relative;
}

.form-floating-custom input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #ccc;
  padding: 12px 0;
  background: transparent;
  outline: none;
  transition: 0.3s;
}

.form-floating-custom label {
  position: absolute;
  top: 12px;
  left: 0;
  color: #999;
  transition: 0.3s;
  pointer-events: none;
}

.form-floating-custom input:focus,
.form-floating-custom input:valid {
  border-color: #0d6efd;
}

.form-floating-custom input:focus + label,
.form-floating-custom input:valid + label {
  top: -15px;
  font-size: 12px;
  color: #0d6efd;
}

/* Custom Select & Textarea */
.custom-select,
.custom-textarea {
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 12px;
  transition: 0.3s;
}

.custom-select:focus,
.custom-textarea:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 15px rgba(13,110,253,0.2);
}

/* Unique Submit Button */
.unique-submit-btn {
  background: linear-gradient(45deg, #0d6efd, #66b2ff);
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-weight: 600;
  color: #fff;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(13,110,253,0.3);
}

.unique-submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(13,110,253,0.4);
}

/* Popup Animation */
@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ── Shared Sub-page Layout ── */
.page-hero {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.page-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.62);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 82px 2rem 0;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-hero-content p {
    font-size: 1.1rem;
    opacity: 0.88;
    margin: 0;
}

.page-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.page-section.bg-alt {
    background: #f8fbff;
}

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

/* Accessibility / Reduced Motion International Standard */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* Warehouse Gallery */
.gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    margin-top: 2rem;
    overflow-x: auto;
    padding: 0 0 14px;
    justify-content: flex-start;
    align-items: stretch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(11, 74, 131, 0.45) rgba(11, 74, 131, 0.12);
}

.gallery-grid::-webkit-scrollbar {
    height: 10px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: rgba(11, 74, 131, 0.12);
    border-radius: 999px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(11, 74, 131, 0.45);
    border-radius: 999px;
}

.gallery-item {
    display: block;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.5);
    background: linear-gradient(180deg, #edf4fb 0%, #d7e5f4 100%);
    box-shadow: 0 10px 22px rgba(8, 41, 74, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    flex: 0 0 clamp(130px, 14vw, 170px);
    width: clamp(130px, 14vw, 170px);
    aspect-ratio: 3 / 4;
    height: auto;
    scroll-snap-align: start;
    opacity: 1;
    transform: none;
}

.gallery-item::before,
.gallery-item::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.gallery-item::before {
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.18) 42%, rgba(255,255,255,0) 68%);
}

.gallery-item::after {
    inset: -35%;
    z-index: 3;
    opacity: 0;
    background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.24) 18%, rgba(255,255,255,0) 48%);
    transition: opacity 0.18s ease;
}

.gallery-item:hover {
    box-shadow: 0 18px 34px rgba(8, 41, 74, 0.22);
    border-color: rgba(255,255,255,0.85);
}

.gallery-item.tilt-active::after,
.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ── Warehouse Gallery Cards ── */
.wh-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
}

.wh-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
    background: #1a1a2e;
    cursor: pointer;
    transition: transform 0.32s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.32s cubic-bezier(0.22,1,0.36,1);
}

.wh-card--wide {
    grid-column: span 2;
}

.wh-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.10);
}

.wh-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}

.wh-card:hover img {
    transform: scale(1.08);
}

.wh-card__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}

.wh-card:hover .wh-card__caption {
    transform: translateY(0);
}

.wh-card__caption span {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .gallery-grid {
        gap: 10px;
    }

    .gallery-item {
        flex-basis: clamp(115px, 32vw, 145px);
        width: clamp(115px, 32vw, 145px);
    }

    .wh-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 8px;
    }

    .wh-card--wide {
        grid-column: span 2;
    }
}

/* ---- REACH-BTN BREATHING PULSE (replaces anime.js) ---- */
@media (prefers-reduced-motion: no-preference) {
    .reach-btn {
        animation: reachBtnPulse 1.5s ease-in-out infinite alternate;
    }
}
@keyframes reachBtnPulse {
    from { transform: scale(1); }
    to   { transform: scale(1.05); }
}

