:root {
    color-scheme: light;
    --brand-navy: #051B2C;
    --brand-green: #00D957;
    --brand-green-dark: #00B84A;
    --brand-slate: #343D4E;
    --brand-gray: #666666;
    --brand-button: #5d7ca8;
    --brand-button-hover: #4e698e;
    --brand-light: #F5F7FA;
}

* {
    box-sizing: border-box;
}

body {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fff;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--brand-navy), var(--brand-green));
    border-radius: 10px;
}

.nav-link {
    position: relative;
    transition: color 0.25s ease;
}
.nav-link:hover {
    color: var(--brand-green);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--brand-green);
    transition: width 0.25s ease;
}
.nav-link:hover::after {
    width: 100%;
}

#main-header.shrink .bg-white\/90 {
    opacity: 0.94;
}
#main-header.shrink .max-w-\[1400px\] {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.mobile-link {
    padding: 0.7rem 0.85rem;
    border-radius: 0.65rem;
}
.mobile-link:hover {
    background: var(--brand-light);
}

.search-panel {
    opacity: 0;
    transform: translateX(20px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.search-panel.open {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}
.search-filter {
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.45rem 0.65rem;
    transition: all 0.2s ease;
    background: #fff;
    color: var(--brand-navy);
}
.search-filter:hover {
    border-color: var(--brand-button);
    background: var(--brand-button);
    color: #fff;
}

.mega-card {
    background: #fff;
    border: 1px solid #fff;
    border-radius: 1rem;
    padding: 0.75rem;
}
.mega-card h3 {
    margin: 0.8rem 0 0.35rem;
    font-weight: 700;
    color: var(--brand-slate);
}
.mega-card p {
    color: var(--brand-gray);
    font-size: 0.85rem;
}
.mega-thumb {
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 27, 44, 0.88), rgba(5, 27, 44, 0.45));
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 34px 34px;
    mix-blend-mode: soft-light;
    animation: heroGridMove 12s linear infinite;
}

@keyframes heroGridMove {
    0% {
        background-position: 0 0, 0 0;
        opacity: 0.45;
    }
    50% {
        background-position: 18px 10px, 10px 18px;
        opacity: 0.6;
    }
    100% {
        background-position: 34px 20px, 20px 34px;
        opacity: 0.45;
    }
}

.glass-card {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}
.glass-input {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.9rem;
}
.glass-input::placeholder {
    color: #dbeafe;
}
.glass-input:focus {
    outline: none;
    border-color: rgba(0, 217, 87, 0.9);
}
.glass-input option {
    color: var(--brand-navy);
}

.feature-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #ebedf0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(5, 27, 44, 0.08);
}
.feature-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: var(--brand-slate);
}
.feature-card p {
    color: var(--brand-gray);
    font-size: 0.93rem;
}
.feature-icon {
    font-size: 48px;
    color: var(--brand-green);
    margin-bottom: 1rem;
}

.service-card {
    background: #fff;
    border: 1px solid #eceff4;
    border-radius: 1rem;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.2s ease;
}
.service-img {
    width: 100%;
    height: 235px;
    object-fit: cover;
}
.service-card h3 {
    margin-top: 0.9rem;
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--brand-slate);
}
.service-card p {
    margin-top: 0.4rem;
    color: var(--brand-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}
.service-icon {
    font-size: 1.9rem;
    color: var(--brand-green);
    transition: transform 0.25s ease;
}
.service-card:hover .service-icon {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: clamp(1.7rem, 2.8vw, 2.8rem);
    font-weight: 800;
    color: var(--brand-green);
}
.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
}

.test-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: #cbd5e1;
    transition: all 0.2s ease;
}
.test-dot.active {
    width: 1.65rem;
    background: var(--brand-green);
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.65rem;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}
.social-link:hover {
    background: var(--brand-green);
    transform: translateX(-3px);
}

.bubble {
    max-width: 86%;
    padding: 0.65rem 0.75rem;
    border-radius: 0.9rem;
    font-size: 0.83rem;
}
.bubble.bot {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
}
.bubble.user {
    margin-left: auto;
    background: rgba(0, 217, 87, 0.12);
    border: 1px solid rgba(0, 217, 87, 0.35);
    color: var(--brand-navy);
}

.wa-option {
    text-align: left;
    font-size: 0.73rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    padding: 0.5rem 0.6rem;
    background: #fff;
    transition: all 0.2s ease;
    color: var(--brand-navy);
}
.wa-option:hover {
    border-color: var(--brand-button);
    background: var(--brand-button);
    color: #fff;
}

.footer-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}
.footer-list {
    margin-top: 0.65rem;
    display: grid;
    gap: 0.42rem;
    font-size: 0.8rem;
}
.footer-list li {
    list-style: disc;
    margin-left: 1rem;
}
.footer-list a {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
}
.footer-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: var(--brand-green);
    transition: width 0.25s ease;
}
.footer-list a:hover::after {
    width: 100%;
}

@media (max-width: 639px) {
    #main-header .bg-white\/90 {
        border-radius: 0 0 1rem 1rem;
    }
}
