/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BRAND VARIABLES & BASE SETUP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
    /* Brand Colors */
    --teal: #00B8A9;
    --teal-light: #1cead9;
    --teal-pale: #E6F8F7;
    --navy: #0D1B4B;
    --navy-deep: #080f2e;
    --white: #FFFFFF;
    --text-main: #444444;
    --text-muted: #8896a0;
    --bg-light: #f4f8f9;

    /* Typography */
    --font-heading: 'Zalando Sans Expanded', 'Zalando Sans Wide', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing */
    --section-padding: 110px;
    --section-padding-mobile: 80px;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-pill: 50px;

    /* Transitions */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-base: 0.3s var(--ease-smooth);
}

@font-face {
    font-family: 'Zalando Sans Wide';
    src: url('fonts/ZalandoSansWide-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zalando Sans Wide';
    src: url('fonts/ZalandoSansWide-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zalando Sans Wide';
    src: url('fonts/ZalandoSansWide-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Google Fonts alias fallback */
@font-face {
    font-family: 'Zalando Sans Expanded';
    src: local('Zalando Sans Expanded');
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.has-custom-cursor {
    cursor: none;
}

body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor .service-card {
    cursor: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--navy);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    outline: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: var(--font-heading);
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
}

.reveal {
    transform: translateY(32px);
}

.reveal-left {
    transform: translateX(-32px);
}

.reveal-right {
    transform: translateX(32px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CUSTOM CURSOR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(calc(var(--x, 0px) - 50%), calc(var(--y, 0px) - 50%)) scale(var(--scale, 1));
    display: none;
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring {
    display: block;
}

.cursor-dot {
    width: 10px;
    height: 10px;
    background-color: var(--teal);
    z-index: 9999;
    transition: transform 0s, width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), opacity 0.3s var(--ease-smooth);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 2px solid var(--teal);
    z-index: 9998;
    transition: transform 0s, width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), background-color 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}

body.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 184, 169, 0.15);
}

body.cursor-hover .cursor-dot {
    width: 0;
    height: 0;
    opacity: 0;
}

body.cursor-clicking .cursor-dot,
body.cursor-clicking .cursor-ring {
    --scale: 0.7;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER & NAVBAR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, backdrop-filter 0.35s ease, border-bottom 0.35s ease;
}

header.scrolled {
    background: rgba(13, 27, 75, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 184, 169, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Footer logo — larger */
.footer-logo {
    height: 110px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links li {
    display: flex;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    display: inline-block;
    background-color: var(--teal);
    color: var(--white);
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s var(--ease-spring), background-color 0.3s, box-shadow 0.3s, color 0.3s;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
}

.btn:hover {
    background-color: #00998c;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 184, 169, 0.3);
}

.btn-primary {
    background-color: var(--teal);
    color: var(--white);
    padding: 12px 26px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: var(--teal-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 184, 169, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
    padding: 13px 30px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: var(--teal);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 184, 169, 0.3);
}

.btn:active {
    transform: scale(0.97);
}

/* Override transform transition when JS is actively moving it */
.btn.js-magnetic {
    transition: transform 0s, background-color 0.3s, box-shadow 0.3s, color 0.3s !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 14px;
    z-index: 1001;
    /* Above overlay */
    cursor: pointer;
}

.hamburger .line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open .line-1 {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.open .line-2 {
    opacity: 0;
}

.hamburger.open .line-3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--navy-deep);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-overlay.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-overlay.active .mobile-nav-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--white);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   UTILITY CLASSES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.text-teal {
    color: var(--teal);
}

.bg-light {
    background-color: var(--bg-light);
}

.mt-4 {
    margin-top: 32px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
    min-height: 100vh;
    background-color: var(--navy-deep);
    position: relative;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 184, 169, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 184, 169, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
    animation: gridPulse 8s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.8;
    }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.orb-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 184, 169, 0.10) 0%, transparent 70%);
    animation: orbDrift1 12s ease-in-out infinite alternate;
}

.orb-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    background: radial-gradient(circle, rgba(0, 184, 169, 0.06) 0%, transparent 70%);
    animation: orbDrift2 10s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-40px);
    }
}

@keyframes orbDrift2 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(30px);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 184, 169, 0.08);
    border: 1px solid rgba(0, 184, 169, 0.25);
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s var(--ease-smooth) 0.2s both;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--teal);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

.badge-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--teal);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(36px, 5.5vw, 72px);
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s var(--ease-smooth) 0.4s both;
}

.hero-headline .line-2 {
    position: relative;
    display: inline-block;
}

.hero-headline .line-2::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineSlide 0.7s var(--ease-smooth) 0.8s forwards;
}

@keyframes underlineSlide {
    to {
        transform: scaleX(1);
    }
}

.hero-subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s var(--ease-smooth) 0.6s both;
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s var(--ease-smooth) 0.8s both;
}

.hero-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    display: flex;
    gap: 32px;
    animation: fadeInUp 0.6s var(--ease-smooth) 1.0s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--white);
    line-height: 1;
}

.hero-stats .stat-suffix {
    color: var(--teal);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Floating Cards */
.hero-cards {
    position: relative;
    height: 500px;
    width: 100%;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    z-index: 2;
    width: 170px;
}

.float-card:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 20px 60px rgba(0, 184, 169, 0.3);
    border-color: rgba(0, 184, 169, 0.5);
    backdrop-filter: blur(24px);
}

.card-icon {
    margin-bottom: 12px;
    line-height: 0;
}

.card-icon svg {
    color: var(--teal);
    width: 28px;
    height: 28px;
}

.card-div {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--teal);
}

.card-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Balanced pentagon layout: finely tuned for the right column */
.card-blabs {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation: float1 7s ease-in-out infinite alternate, fadeInRight 0.6s var(--ease-smooth) 1.2s both;
}

.card-evolve {
    top: 25%;
    right: 2%;
    animation: float2 9s ease-in-out infinite alternate, fadeInRight 0.6s var(--ease-smooth) 1.3s both;
    animation-delay: -2s, 1.3s;
}

.card-xplore {
    top: 25%;
    left: 2%;
    animation: float3 8s ease-in-out infinite alternate, fadeInRight 0.6s var(--ease-smooth) 1.4s both;
    animation-delay: -4s, 1.4s;
}

.card-elevate {
    bottom: 5%;
    right: 12%;
    animation: float4 6.5s ease-in-out infinite alternate, fadeInRight 0.6s var(--ease-smooth) 1.5s both;
    animation-delay: -1s, 1.5s;
}

.card-ensure {
    bottom: 5%;
    left: 12%;
    animation: float5 10s ease-in-out infinite alternate, fadeInRight 0.6s var(--ease-smooth) 1.6s both;
    animation-delay: -6s, 1.6s;
}

@keyframes float1 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-18px);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-22px);
    }
}

@keyframes float3 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-16px);
    }
}

@keyframes float4 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

@keyframes float5 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-14px);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
    animation: fadeInUp 0.6s var(--ease-smooth) 1.5s both;
    transition: opacity 0.3s;
}

.scroll-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-arrow {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.4);
    animation: scrollBounce 1.2s ease-in-out infinite alternate;
}

@keyframes scrollBounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(8px);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MARQUEE STRIP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.marquee-wrapper {
    width: 100%;
    background-color: var(--navy);
    padding: 18px 0;
    overflow: hidden;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 12s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 16px;
}

.marquee-content .sep {
    color: var(--teal);
    padding: 0 8px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ABOUT SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-section {
    padding: 110px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-card {
    border-radius: var(--radius-xl);
    height: 400px;
    position: relative;
    box-shadow: 0 12px 40px rgba(13, 27, 75, 0.08);
}

.about-card-img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    object-fit: cover;
    display: block;
}

.ac-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.about-badge {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background-color: var(--teal);
    border-radius: 14px;
    padding: 18px 24px;
    box-shadow: 0 8px 40px rgba(0, 184, 169, 0.4);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.ab-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--white);
    line-height: 1;
}

.ab-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-top: 40px;
}

.value-chip {
    background-color: var(--white);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

.value-chip:hover {
    background-color: var(--teal-pale);
    transform: translateY(-2px);
}

.value-chip svg {
    color: var(--teal);
    width: 22px;
    height: 22px;
}

.value-chip .label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SERVICES SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.services-section {
    padding: 110px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 280px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 184, 169, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    pointer-events: none;
    z-index: 0;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s;
    z-index: 2;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    box-shadow: 0 20px 60px rgba(13, 27, 75, 0.12);
    z-index: 2;
}

.service-bg-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    color: rgba(0, 184, 169, 0.08);
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--teal), #008f83);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 184, 169, 0.3);
}

.service-icon-box svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon-box {
    background-color: var(--teal);
    transform: rotate(-5deg) scale(1.1);
}

.service-division {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.service-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: var(--teal-pale);
    color: var(--teal);
    border-radius: var(--radius-pill);
    padding: 4px 13px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
}

.service-cta-card {
    background-color: var(--navy) !important;
    border: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STATS STRIP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.bg-teal {
    background-color: var(--teal);
}

.stats-strip {
    padding: 56px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-block {
    text-align: center;
    flex: 1;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.25);
}

.stat-number-large {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    color: var(--teal-light);
}

.stat-label-large {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 6px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WHY ESAFE SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.why-section {
    padding: 120px 0;
    background-color: var(--navy);
    background-image: url('why-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.text-white {
    color: var(--white);
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.5);
}

.why-glow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 184, 169, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 1;
    align-items: center;
}

.why-pills {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: border-color 0.4s var(--ease-smooth), background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.why-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 200px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    pointer-events: none;
    z-index: 0;
}

.why-pill:hover::before {
    opacity: 1;
}

.why-pill>* {
    position: relative;
    z-index: 1;
}

.why-pill:hover {
    border-color: rgba(0, 184, 169, 0.35);
    background: rgba(0, 184, 169, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pill-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 184, 169, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.pill-icon svg {
    width: 26px;
    height: 26px;
}

.pill-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 5px;
}

.pill-desc {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.6;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROCESS SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.process-section {
    background-color: var(--white);
    padding: 110px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.process-line {
    position: absolute;
    top: 38px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), rgba(0, 184, 169, 0.2));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.step-circle {
    width: 76px;
    height: 76px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--teal);
    box-shadow: 0 0 0 6px rgba(0, 184, 169, 0.08);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.process-step:hover .step-circle {
    background-color: var(--teal);
    color: var(--white);
    transform: scale(1.1);
}

.step-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    margin-top: 20px;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TESTIMONIALS SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.testimonials-section {
    padding: 110px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.stars {
    color: #f5a623;
    font-size: 0.9rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--teal);
    opacity: 0.2;
    line-height: 0.8;
    margin-bottom: 10px;
}

.quote-text {
    font-size: 0.93rem;
    color: var(--text-main);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 24px;
}

.author-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--navy);
}

.author-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTACT SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.contact-section {
    background-color: var(--white);
    padding: 110px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.c-icon {
    width: 50px;
    height: 50px;
    background-color: var(--teal-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.c-details {
    display: flex;
    flex-direction: column;
}

.c-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.c-value {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
}

.c-value.link {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.3s;
}

.c-value.link:hover {
    color: var(--navy);
}

.contact-divisions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.div-pill {
    background-color: var(--teal-pale);
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    text-align: center;
}

.contact-form-wrapper {
    background-color: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(0, 0, 0, 0.08);
    background-color: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300B8A9%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px auto;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(0, 184, 169, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff4d4f;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {

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

    25% {
        transform: translateX(-8px);
    }

    50% {
        transform: translateX(8px);
    }

    75% {
        transform: translateX(-8px);
    }
}

.btn-submit {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-pill);
}

.form-success {
    display: none;
    background-color: var(--teal-pale);
    border: 1px solid var(--teal);
    color: var(--teal);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-weight: 500;
    text-align: center;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA BANNER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cta-banner {
    background: linear-gradient(135deg, var(--navy), #162060);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 184, 169, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 540px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-white {
    background-color: var(--white);
    color: var(--navy);
    padding: 13px 30px;
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer {
    background-color: var(--navy-deep);
    padding: 70px 0 30px;
    border-top: 1px solid rgba(0, 184, 169, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand-desc {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 280px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s;
}

.social-btn:hover {
    background-color: var(--teal);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright,
.legal-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a:hover {
    color: var(--teal);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background-color: var(--teal);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--teal-light);
    transform: translateY(-5px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .btn-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-content {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtext {
        margin: 0 auto 36px;
    }

    .hero-cards {
        height: auto;
        transform: none;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 40px;
    }

    .float-card {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        animation: none !important;
        width: 150px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .process-line {
        display: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--section-padding-mobile) 0;
    }

    .hero-headline {
        font-size: 30px;
        line-height: 1.15;
    }

    .hero-container {
        padding: 100px 0 60px;
    }

    .hero-cards {
        gap: 12px;
    }

    .float-card {
        width: calc(50% - 6px);
        padding: 14px 10px;
    }

    .card-div {
        font-size: 0.85rem;
    }

    .card-sub {
        font-size: 0.65rem;
    }

    .card-icon {
        margin-bottom: 8px;
    }

    .card-icon svg {
        width: 22px;
        height: 22px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-cta .btn {
        min-height: 44px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-badge {
        align-self: center;
        padding: 6px 14px;
        font-size: 0.65rem;
    }

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

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

    .stats-grid {
        flex-direction: column;
        gap: 32px;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
        margin: 0 auto;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo,
    .footer-brand-desc,
    .social-links,
    .footer-bottom {
        margin: 0 auto;
        justify-content: center;
        left: 0;
        right: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
}