﻿/* ── CSS VARIABLES ── */
:root {
    --primary: #14b98c;
    --primary-dark: #0e9272;
    --primary-light: #e6faf4;
    --accent: #ff6b35;
    --dark: #0d1b2a;
    --dark-2: #162133;
    --dark-3: #1e2e42;
    --text-muted: #8fa3b1;
    --white: #ffffff;
    --topbar-bg: #0d1b2a;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Sora', sans-serif;
    --shadow-sm: 0 2px 12px rgba(20,185,140,.12);
    --shadow-lg: 0 8px 40px rgba(13,27,42,.18);
    --radius: 8px;
    --radius-lg: 14px;
    --transition: .22s cubic-bezier(.4,0,.2,1);
}

html, body {
    scroll-behavior: smooth !important;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    letter-spacing: -0.2px;
    -webkit-font-smoothing: antialiased;
}

.section-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid rgba(20,185,140,.2);
}

.section-title-simple {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.4px;
    margin-bottom: 0;
}

.section-subtitle {
    font-size: .97rem;
    color: #6a7f8e;
    line-height: 1.75;
}

/* Headings */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    letter-spacing: -0.5px;
}


/* ══════════════════════════════════════════
   TOPBAR (PREMIUM CLEAN)
══════════════════════════════════════════ */

.topbar {
    background: rgba(13,27,42,0.85);
    backdrop-filter: blur(10px);
    color: #9fb3c8;
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

    .topbar a {
        color: #9fb3c8;
        text-decoration: none;
        transition: all .25s ease;
    }

        .topbar a:hover {
            color: var(--primary);
        }

    .topbar .email-link,
    .topbar .phone-link {
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .topbar .email-link i,
        .topbar .phone-link i {
            color: var(--primary);
            font-size: .9rem;
        }

.topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,.12);
    margin: 0 10px;
}

/* Social Icons */
.topbar .social-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .topbar .social-icons a {
        width: 26px;
        height: 26px;
        font-size: .8rem;
        border-radius: 50%;
        background: transparent;
        border: 1px solid rgba(255,255,255,0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .25s ease;
    }

        .topbar .social-icons a:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }


/* ══════════════════════════════════════════
   NAVBAR (GLASS PREMIUM)
══════════════════════════════════════════ */

.main-nav {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all .3s ease;
}

    .main-nav.scrolled {
        background: rgba(255,255,255,0.9);
        box-shadow: 0 8px 30px rgba(13,27,42,.12);
    }


/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    transition: transform .25s ease;
}

    .logo-img:hover {
        transform: scale(1.05);
    }


/* ══════════════════════════════════════════
   NAV LINKS (MODERN HOVER)
══════════════════════════════════════════ */

.navbar-nav .nav-link {
    font-size: .9rem;
    font-weight: 600;
    color: #0d1b2a;
    padding: .5rem .85rem !important;
    border-radius: 6px;
    transition: all .25s ease;
    position: relative;
    white-space: nowrap;
}

    /* Remove old underline */
    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(20,185,140,.08);
        color: var(--primary);
    }

    .navbar-nav .nav-link.active {
        color: var(--primary);
    }


/* ══════════════════════════════════════════
   DROPDOWN (ULTRA PREMIUM)
══════════════════════════════════════════ */

.dropdown-menu {
    border: none;
    border-radius: 14px;
    padding: 10px;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.96); /* ↑ increased opacity */
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 60px rgba(13,27,42,.18);
    opacity: 0;
    transform: translateY(10px);
    transition: all .25s ease;
    display: block;
    pointer-events: none;
}

/* Show on hover (desktop) */
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown Items */
.dropdown-item {
    font-size: .85rem;
    padding: 10px 12px;
    border-radius: 8px;
    color: #1e2e42;
    transition: all .2s ease;
    display: flex;
    font-weight: 500;
    align-items: center;
    gap: 10px;
}

    .dropdown-item i {
        font-size: 1rem;
        color: var(--primary);
        width: 18px;
        text-align: center;
    }

    .dropdown-item:hover {
        background: rgba(20,185,140,0.08);
        color: var(--primary-dark);
        transform: translateX(3px);
    }

/* Divider */
.dropdown-divider {
    margin: 6px 0;
    border-color: rgba(0,0,0,0.06);
}

/* Remove default bootstrap arrow */
.dropdown-toggle::after {
    display: none !important;
}

/* FIX NAV LINK ALIGNMENT */
.custom-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ICON STYLING */
.dropdown-icon {
    font-size: 12px;
    line-height: 1;
    transition: all 0.25s ease;
    color: #010101;
    position: relative;
    top: 1px; /* micro alignment fix */
}

/* HOVER */
.navbar-nav .nav-link:hover .dropdown-icon {
    color: var(--primary);
}

/* ACTIVE / OPEN STATE */
.nav-item.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

/* ══════════════════════════════════════════
   CTA BUTTON (PREMIUM)
══════════════════════════════════════════ */

/* CTA Button Fix */
.btn-nav-cta {
    background: linear-gradient(135deg, var(--primary), #0e9272);
    color: #fff !important;
    border-radius: 8px;
    padding: .5rem 1.3rem !important;
    font-weight: 600;
    border: none;
    box-shadow: 0 6px 20px rgba(20,185,140,.3);
    transition: all .25s ease;
    position: relative;
}

    /* REMOVE NAV LINK EFFECTS */
    .btn-nav-cta::after {
        display: none !important;
    }

/* HOVER FIX */
.navbar-nav .btn-nav-cta:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #16c79a, #0e9272);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(20,185,140,.45);
}

/* ACTIVE / FOCUS */
.navbar-nav .btn-nav-cta:focus,
.navbar-nav .btn-nav-cta:active {
    color: #fff !important;
    box-shadow: 0 0 0 2px rgba(20,185,140,.25);
}

/* IMPORTANT: prevent nav-link hover override */
.navbar-nav .nav-link.btn-nav-cta {
    color: #fff !important;
}

/* ══════════════════════════════════════════
   HAMBURGER
══════════════════════════════════════════ */

.navbar-toggler {
    border: none;
    outline: none !important;
    box-shadow: none !important;
    padding: 4px 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d1b2a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ══════════════════════════════════════════
   RESPONSIVE FIXES
══════════════════════════════════════════ */

@media (max-width: 991.98px) {

    .navbar-collapse {
        background: #fff;
        border-top: 1px solid #eee;
        padding: 12px 0;
    }

    /* Disable hover dropdown on mobile */
    .dropdown-menu {
        display: none;
        position: static;
        float: none;
        width: 100%;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 10px;
    }

    /* ONLY SHOW WHEN ACTIVE */
    .dropdown.show .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 8px 10px;
    }
}

@media (max-width: 575.98px) {
    .topbar .topbar-divider,
    .topbar .phone-link {
        display: none;
    }
}

/* ══════════════════════════════════════════
       HERO (DEMO SECTION)
    ══════════════════════════════════════════ */
.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 55%, #0f2a1e 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2314b98c' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(20,185,140,.15);
    border: 1px solid rgba(20,185,140,.3);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

    .hero-badge span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--primary);
        display: inline-block;
        animation: pulse 1.6s infinite;
    }

@keyframes pulse {
    0%,100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.4)
    }
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-img-footer {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 20px;
}

    .hero-title em {
        font-style: normal;
        color: var(--primary);
    }

.hero-desc {
    color: rgba(255,255,255,.65);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 36px;
}

.btn-hero-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: .8rem 2rem;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 6px 24px rgba(20,185,140,.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-hero-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 10px 32px rgba(20,185,140,.45);
        color: var(--white);
    }

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: var(--radius);
    padding: .78rem 2rem;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-hero-outline:hover {
        border-color: var(--primary);
        background: rgba(20,185,140,.08);
        color: var(--white);
    }

/* Hero visual cards */
.hero-stat-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.4rem;
    text-align: center;
    backdrop-filter: blur(4px);
}

    .hero-stat-card .stat-num {
        font-family: var(--font-display);
        font-size: 2rem;
        font-weight: 800;
        color: var(--primary);
    }

    .hero-stat-card .stat-label {
        font-size: .78rem;
        color: rgba(255,255,255,.55);
        margin-top: 2px;
    }

/* ══════════════════════════════════════════
       PAGE PLACEHOLDER
    ══════════════════════════════════════════ */
.page-content {
    padding: 60px 0;
    text-align: center;
    color: #6b7f8e;
    font-size: .95rem;
}

    .page-content h2 {
        font-family: var(--font-display);
        font-size: 1.6rem;
        color: var(--dark);
        margin-bottom: 8px;
    }

/* ══════════════════════════════════════════
       FOOTER
    ══════════════════════════════════════════ */
/* ═══════════════════════════════════
   ULTRA PREMIUM FOOTER
═══════════════════════════════════ */

.footer-premium {
    background: radial-gradient(circle at 20% 0%, #0f2a3a, #070f18 70%);
    color: #8fa3b1;
    position: relative;
    overflow: hidden;
}

    /* Glow background effect */
    .footer-premium::before {
        content: '';
        position: absolute;
        background: radial-gradient(circle, rgba(20,185,140,.15), transparent 70%);
        filter: blur(80px);
    }

/* Top gradient line */
.footer-gradient-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #14b98c, transparent);
    opacity: .6;
}

/* Container */
.footer-container {
    padding: 80px 20px 30px;
    position: relative;
    z-index: 2;
}

/* Logo */
.footer-logo {
    height: 70px;
}

.footer-desc {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: #c7d6e2;
    max-width: 260px;
    letter-spacing: -0.2px;
}

/* Headings */
.footer-premium h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Links */
.footer-premium ul {
    list-style: none;
    padding: 0;
}

    .footer-premium ul li {
        margin-bottom: 10px;
    }

        .footer-premium ul li a {
            color: #7f96a8;
            text-decoration: none;
            position: relative;
            transition: all .25s;
        }

            /* Animated underline */
            .footer-premium ul li a::after {
                content: '';
                position: absolute;
                left: 0;
                bottom: -2px;
                width: 0%;
                height: 1px;
                background: var(--primary);
                transition: width .3s ease;
            }

            .footer-premium ul li a:hover {
                color: #fff;
            }

                .footer-premium ul li a:hover::after {
                    width: 100%;
                }

/* Social */
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 3px;
    color: #8fa3b1;
    transition: all .3s ease;
}

    .footer-social a:hover {
        background: var(--primary);
        color: #fff;
        transform: translateY(-4px);
    }

/* Contact card */
.footer-contact-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 18px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

    .footer-contact-card p {
        margin: 6px 0;
        font-size: 13px;
        color: #7f96a8;
    }

/* Bottom */
.footer-bottom-premium {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.05);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

    .footer-bottom-premium p {
        margin: 0;
        font-size: 13px;
        color: #5e7688;
    }

    .footer-bottom-premium a {
        margin-left: 15px;
        color: #5e7688;
        text-decoration: none;
        transition: color .2s;
    }

        .footer-bottom-premium a:hover {
            color: var(--primary);
        }

/* Responsive */
@media (max-width: 768px) {
    .footer-bottom-premium {
        flex-direction: column;
        text-align: center;
    }
}

/* ══════════════════════════════════════════
       BACK TO TOP
    ══════════════════════════════════════════ */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(20,185,140,.4);
    transition: transform var(--transition), background var(--transition);
    z-index: 999;
}

    #backToTop:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
    }

    #backToTop.show {
        display: flex;
    }

/* ══════════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--white);
        border-top: 1px solid #edf2f5;
        padding: 12px 0 6px;
        margin-top: 6px;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        box-shadow: none;
        padding: 0 0 0 12px;
    }

    .hero-stat-card {
        margin-top: 12px;
    }
}

@media (max-width: 575.98px) {
    .topbar .topbar-divider,
    .topbar .phone-link {
        display: none;
    }

    .footer-newsletter .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-cta-box {
    background: linear-gradient(135deg, rgba(20,185,140,.15), rgba(20,185,140,.05));
    border: 1px solid rgba(20,185,140,.2);
    padding: 22px;
    border-radius: 14px;
}

    .footer-cta-box h5 {
        color: #fff;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .footer-cta-box p {
        font-size: 13px;
        color: #7f96a8;
        margin-bottom: 14px;
    }

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    transition: all .25s;
}

    .footer-cta-btn:hover {
        transform: translateY(-2px);
        background: var(--primary-dark);
    }
