:root {
    --primary: #c4f34a;
    /* The green-yellow color */
    --primary-dark: #b2de43;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-muted: #475569;
    --white: #ffffff;
    --bg-blue: #0ea5e9;
    --bg-light-blue: #e0f2fe;
    

    --card-bg: rgba(255, 255, 255, 0.4);
    --card-border: rgba(255, 255, 255, 0.6);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    --font-main: 'Plus Jakarta Sans', sans-serif;

    --primary-grediant: linear-gradient(135deg, #0ea5e9, #009de6);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    background: #f8fafc;
    /* Base color */
    position: relative;
    overflow-x: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120vh;
    /* Extends past the hero to fade smoothly */
    background-image: url('../images/bg1.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -2;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}


.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 600;
    /* Bolder, like the original design */
    line-height: 1.1;
    letter-spacing: -0.03em;
    /* Tighter letter spacing */
    margin-bottom: 1.5rem;
}
h2
 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(90deg, #00d0ff, #009dc0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-secondary {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-special {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    font-size: 1.125rem;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    transition: opacity 0.2s;
}

.nav-links a i {
    width: 14px;
    height: 14px;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Secondary Navbar for Light Backgrounds */
.navbar-secondary .logo {
    color: var(--text-dark);
}

.navbar-secondary .nav-links a {
    color: var(--text-dark);
}

.navbar-secondary .mobile-menu-btn {
    color: var(--text-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-btn i {
    width: 28px;
    height: 28px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(180deg, #dcfb67, #9fde23);
    color: var(--text-dark);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-dark);
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--text-dark);
    color: var(--primary);
    border-radius: 50%;
}

.btn-secondary .icon-circle {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover .icon-circle {
    background-color: #f8fafc;
}

.btn-large {
    padding: 12px 16px 12px 24px;
    font-size: 1.1rem;
}

.btn-large .icon-circle {
    width: 32px;
    height: 32px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bg-blue);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.badge svg {
    width: 20px;
    height: 20px;
}

/* Footer Styling */
.site-footer {
    background: #ffffff;
    padding: 80px 0 40px;
    width: 100%;
}

.footer-cta {
    background: var(--primary-grediant);
    border-radius: 32px;
    padding: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    margin-bottom: 64px;
}

.cta-left {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(196, 243, 74, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.cta-left h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

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

.cta-left p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cta-right {
    display: flex;
    gap: 16px;
}

.btn.bg-white {
    background: #ffffff;
    color: #0f172a;
    border: none;
}

.btn.bg-white:hover {
    background: #f8fafc;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 48px;
    padding: 0 40px;
    margin-bottom: 64px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-col p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0ea5e9;
    color: #ffffff;
    border-color: #0ea5e9;
}

.social-links a:hover svg {
    color: #ffffff;
}

.social-links i, .social-links svg {
    width: 18px;
    height: 18px;
    transition: color 0.3s ease;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
}

.dot-blue {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    text-decoration: none;
    color: #475569;
    font-size: 0.90rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #0ea5e9;
}

.newsletter-col p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    padding: 8px;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 16px;
    font-size: 0.95rem;
    outline: none;
    color: #0f172a;
}

.newsletter-form button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0ea5e9;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #0284c7;
}

/* Utility Colors for Newsletter Icons */
.bg-light-green {
    background: #dcfce7 !important;
}

.bg-light-purple {
    background: #f3e8ff !important;
}

.bg-light-blue {
    background: #e0f2fe !important;
}

.text-green {
    color: #22c55e !important;
}

.text-purple {
    color: #a855f7 !important;
}

.text-blue {
    color: #3b82f6 !important;
}

.newsletter-features {
    gap: 16px !important;
}

.newsletter-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

.icon-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    width: 12px;
    height: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px 0;
    border-top: 1px solid #e2e8f0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-legal a,
.footer-copyright {
    color: #64748b;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
}

.shield-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.shield-badge i {
    width: 16px;
    height: 16px;
    color: #3b82f6;
}

/* Popup Module */
.promo-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.promo-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.promo-popup-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

.promo-popup-overlay.active .promo-popup-content {
    transform: translateY(0) scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.popup-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.popup-header h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #0f172a;
}

.popup-body p {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Chatbot Button */
.chatbot-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    background: var(--primary-grediant);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.4);
    z-index: 9990;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.5);
}

.chatbot-btn i {
    width: 28px;
    height: 28px;
}


@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    .badge { margin: 0 auto 1.5rem; }
    .cta-group { justify-content: center; }
    .mobile-menu-btn { display: block; color: var(--text-dark); }
    .nav-actions { display: none; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 80px; left: 24px; right: 24px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 24px; border-radius: 24px; box-shadow: 0 16px 40px rgba(0,0,0,0.15); z-index: 100; gap: 16px; }
    .nav-links.active { display: flex; }
    .nav-links a { color: var(--text-dark); padding: 12px 16px; font-size: 1.1rem; background: #f8fafc; border-radius: 12px; justify-content: space-between; }
    .nav-links a.active::after { display: none; }
    .footer-main { grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .footer-cta { flex-direction: column; text-align: center; gap: 32px; }
    .cta-left { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
    .chatbot-btn { bottom: 24px; right: 24px; width: 56px; height: 56px; }
    .chatbot-btn i { width: 24px; height: 24px; }
    .site-footer { padding: 60px 0 30px; }
    h1 { font-size: 2.25rem; margin-bottom: 1rem; }
    .footer-cta h2 { font-size: 2rem; }
    .cta-group { flex-direction: column; width: 100%; }
    .cta-group .btn { width: 100%; justify-content: center; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 24px; text-align: center; }
    .footer-legal { flex-direction: column; gap: 16px; }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-content {
    visibility: hidden;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 12px;
    top: 100%;
    left: -20px;
    padding: 12px 0;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

/* Invisible bridge so hover isn't lost when moving to dropdown */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-links .dropdown-content a {
    color: var(--text-dark);
    padding: 10px 24px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.nav-links .dropdown-content a:hover {
    background-color: #f8fafc;
    color: var(--bg-blue);
    opacity: 1;
}

.nav-links .dropdown-content a::after {
    display: none;
}

/* Mobile adjustments */
@media (max-width: 1024px) {
    .dropdown {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        display: none;
        margin-top: 0;
        padding-left: 16px;
        background: transparent;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    .nav-links .dropdown-content a {
        background: transparent;
        padding: 8px 16px;
    }
}

/* Utility Colors Extended */
.bg-light-orange { background: #ffedd5 !important; }
.text-orange { color: #f97316 !important; }
.bg-light-pink { background: #fce7f3 !important; }
.text-pink { color: #ec4899 !important; }
.bg-light-teal { background: #ccfbf1 !important; }
.text-teal { color: #14b8a6 !important; }

/* Mega Menu Styles */
.mega-dropdown .dropdown-content.mega-menu {
    min-width: 650px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    padding: 24px;
    border-radius: 16px;
}

.mega-dropdown:hover .dropdown-content.mega-menu {
    transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.nav-links .dropdown-content.mega-menu a.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    transition: background 0.3s ease;
    white-space: normal; /* allow text wrapping */
}

.nav-links .dropdown-content.mega-menu a.mega-menu-item:hover {
    background-color: #f1f5f9;
}

.mega-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mega-icon i {
    width: 24px;
    height: 24px;
}

.mega-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-content h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    transition: color 0.2s ease;
}

.nav-links .dropdown-content.mega-menu a.mega-menu-item:hover .mega-content h4 {
    color: #0ea5e9;
}

.mega-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .mega-dropdown .dropdown-content.mega-menu {
        min-width: 100%;
        left: 0;
        transform: none;
        padding: 16px 0;
        background: transparent;
    }
    
    .mega-dropdown:hover .dropdown-content.mega-menu {
        transform: none;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .nav-links .dropdown-content.mega-menu a.mega-menu-item {
        padding: 12px;
    }
}
