 :root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f093fb;
    --dark-bg: linear-gradient(135deg, #0f0f23 0%, #1e1e3f 50%, #2a2a5a 100%);
    --glass: rgba(255,255,255,0.1);
    --glass-border: rgba(255,255,255,0.2);
}

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

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: #ffffff;
    overflow-x: hidden;
    padding-top: 30px;
}

/* ========== NAVBAR ========== */
.navbar-glass {
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0), rgba(1, 1, 3, 0.22), rgba(0, 0, 0, 0.23));
    backdrop-filter: blur(5px) saturate(100%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(30, 30, 36, 0.37);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-text {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 500;
    letter-spacing: -0.03em;
}

.smooth-nav {
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px !important;
    margin: 0 0.25rem !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.smooth-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.smooth-nav:hover::before {
    left: 100%;
}

.smooth-nav:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.glass-dropdown {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 15px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    margin-top: 10px;
    animation: dropdownSlide 0.3s ease-out;
}

.dropdown-item {
    color: #333 !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #3b82f6 !important;
    transform: translateX(5px);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 50px;
    color: white;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

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

/* ========== SECTIONS ========== */
.section-hero {
    padding: 8rem 2rem 6rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(102,126,234,0.1) 0%, transparent 70%);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #e6f0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    line-height: 1.7;
}

.btn-explore {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.4s ease;
}

.btn-explore:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.6);
    color: white;
}

.section-stats {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    padding: 5rem 2rem;
    border-bottom: 1px solid var(--glass-border);
}

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

.stat-card { padding: 2rem; }

.stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    display: block;
    margin-bottom: 1rem;
}

.stat-label {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    font-weight: 500;
}

.section-features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #a8d0ff);
    -webkit-background-clip: text;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    color: rgba(255,255,255,0.9);
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
}

#testimonial-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.15); 
    backdrop-filter: blur(20px);
}

.testimonial-card {
    background: rgba(0, 0, 0, 0.15); 
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(17, 85, 231, 0.34);
    transition: 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #ffffff;
}

/* ========== TIMELINE ========== */
.timeline-section {
    padding: 6rem 2rem;
    background: rgba(0,0,0,0.2);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-date {
    position: absolute;
    top: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ========== MODAL ========== */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(10px); 
}

.modal.show { 
    display: block !important; 
    animation: modalFadeIn 0.5s ease-out; 
}

@keyframes modalFadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

.modal-content { 
    background: radial-gradient(circle at 30% 20%, rgba(230, 230, 230, 0.3), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139,92,246,0.3), transparent 50%),
                linear-gradient(135deg, rgba(15,15,35,0.9), rgba(30,30,63,0.9)); 
    backdrop-filter: blur(20px);
    margin: 8% auto; 
    padding: 0; 
    border-radius: 24px; 
    width: 90%; 
    max-width: 550px; 
    max-height: 85vh; 
    overflow-y: auto; 
    border: 1px solid rgba(2, 27, 252, 0.3); 
    box-shadow: 0 30px 80px rgba(130, 15, 238, 0.4); 
    animation: modalSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    transform-origin: center top; 
}

.modal.show .modal-content { 
    transform: scale(1); 
}

@keyframes modalSlideIn { 
    from { opacity: 0; transform: scale(0.7) translateY(-30px); } 
    to { opacity: 1; transform: scale(1) translateY(0); } 
}

.modal-header { 
    padding: 2.5rem 2.5rem 2rem; 
    border-bottom: 1px solid rgba(0,0,0,0.1); 
    text-align: center; 
    position: relative; 
}

.modal-title { 
    font-size: 2rem; 
    font-weight: 800; 
    color: white; 
    margin: 0 0 1rem 0; 
}

.modal-badge { 
    display: inline-flex; 
    background: linear-gradient(135deg, var(--accent), var(--secondary)); 
    color: white; 
    padding: 0.5rem 1.5rem; 
    border-radius: 50px; 
    font-size: 0.9rem; 
    font-weight: 600; 
    margin-bottom: 1rem; 
}

.close { 
    position: absolute; 
    right: 2rem; 
    top: 2rem; 
    color: #999; 
    font-size: 2rem; 
    font-weight: bold; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    width: 45px; 
    height: 45px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    border: 2px solid rgba(0,0,0,0.1); 
}

.close:hover { 
    background: rgba(0,0,0,0.1); 
    color: white; 
    transform: rotate(90deg); 
}

.modal-body { 
    padding: 2.5rem; 
}

.urgency-text { 
    background: linear-gradient(135deg, #18f5d0, #115bfa); 
    color: white; 
    padding: 1rem; 
    border-radius: 16px; 
    margin-bottom: 2rem; 
    text-align: center; 
    font-weight: 600; 
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 220px;
    padding: 8px;
    opacity: 1.90;
    border-radius: 16px;
}

.logo-smooth:hover .logo-img {
    opacity: 4;
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 20px 48px rgba(7, 18, 85, 0.8);
}

/* ========== FORM CONTROLS ========== */
.form-control.is-valid {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    background-image: none;
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.btn:disabled {
    background: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
}

/* ========== COMPREHENSIVE RESPONSIVE DESIGN ========== */

/* Extra Small Devices (Mobile < 576px) */
@media (max-width: 575.98px) {
    html, body { padding-top: 70px; }
    
    /* Navbar */
    .navbar-glass { padding: 0.75rem 1rem; }
    .smooth-nav {
        font-size: 1rem !important;
        padding: 0.5rem 1rem !important;
        margin: 0 0.25rem !important;
    }
    .logo-img { height: 60px; max-width: 180px; }
    .navbar-toggler { width: 45px; height: 45px; }
    
    /* Hero */
    .section-hero { padding: 4rem 1rem 4rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .btn-explore { padding: 1rem 2rem; font-size: 1rem; }
    
    /* Sections */
    .section-stats,
    .section-features,
    .timeline-section,
    #testimonial-section { padding: 3rem 1rem; }
    
    /* Grids */
    .stats-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .features-grid { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
    }
    .feature-item { padding: 2rem 1.5rem; }
    .feature-icon { font-size: 2.5rem; }
    
    /* Timeline */
    .timeline::before { left: 20px; }
    .timeline-content { 
        width: calc(100% - 60px); 
        margin-left: 60px !important; 
        margin-right: 0 !important; 
    }
    .timeline-date { 
        left: 20px; 
        transform: none; 
    }
    
    /* Modal */
    .modal-content { 
        width: 95%; 
        margin: 5% auto; 
        max-height: 90vh; 
    }
    .modal-header { padding: 1.5rem 1.5rem 1rem; }
    .modal-body { padding: 1.5rem; width: 100%; height: auto; }
    .modal-title { font-size: 1.5rem; }
    .close { right: 1rem; top: 1rem; width: 35px; height: 35px; font-size: 1.5rem; }
    
    /* Testimonials */
    .testimonial-img { width: 60px; height: 60px; }
}

/* Small Devices (576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .section-hero { padding: 5rem 1.5rem 5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .modal-content { width: 92%; }
}

/* Medium Devices (Tablet 768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    html, body { padding-top: 75px; }
    .section-hero { padding: 6rem 2rem 5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Timeline */
    .timeline::before { left: 30px; }
    .timeline-content { width: calc(100% - 80px); margin-left: 80px !important; }
    .timeline-date { left: 30px; }
    
    /* Navbar */
    .smooth-nav { font-size: 1rem !important; padding: 0.6rem 1.2rem !important; }
}

/* Large Devices (Laptop 992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .section-features { padding: 5rem 2rem; }
}

/* Extra Large Devices (Desktop 1200px+) */
@media (min-width: 1200px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .section-hero { padding: 10rem 3rem 8rem; }
}

/* Landscape Mobile */
@media (max-width: 991.98px) and (orientation: landscape) {
    html, body { padding-top: 65px; }
    .section-hero { padding: 3rem 1.5rem 3rem; }
    .modal-content { margin: 2% auto; max-height: 95vh; }
}

/* Scroll Transparency */
@media (min-width: 992px) {
    .navbar-glass.scrolled {
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(25px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-glass,
    .feature-item,
    .testimonial-card,
    .modal-content { backdrop-filter: blur(15px); }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .smooth-nav:hover,
    .feature-item:hover,
    .testimonial-card:hover,
    .btn-explore:hover { transform: none; }
}

/* Print Styles */
@media print {
    .navbar-glass, .modal, .timeline::before { display: none !important; }
    body { padding-top: 0; background: white; color: black; }
}


/* ========================================
   FULLY RESPONSIVE FOOTER - YOUR COLORS ONLY
   ======================================== */

.aero-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    color: #e0e6ed;
    position: relative;
    overflow: hidden;
}

.footer-top {
    background: linear-gradient(135deg, rgba(102,126,238,0.1) 0%, rgba(118,75,178,0.1) 100%);
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.03"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="20" cy="20" r="2" fill="url(%23a)"/><circle cx="80" cy="80" r="1.5" fill="url(%23a)"/><circle cx="60" cy="30" r="1" fill="url(%23a)"/></svg>');
    pointer-events: none;
}

/* SOCIAL ICONS */
.social-icons {
    gap: 1.25rem;
}

.social-link {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 1.25rem;
}

.social-link:hover {
    transform: translateY(-6px) scale(1.08);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 15px 35px rgba(102,126,238,0.4);
}

/* LOGO */
.footer-logo {
    max-width: 140px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(102,126,238,0.3));
}

.footer-logo:hover {
    transform: scale(1.08);
}

/* FOOTER LINKS */
.footer-links {
    font-size: 0.95rem;
    color: white;
}

.footer-link {
    color: #b8c1d4 !important;
    text-decoration: none;
    transition: all 0.25s ease;
    display: block;
    line-height: 1.7;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: #667eee !important;
    padding-left: 12px;
    text-shadow: 0 0 8px rgba(102,126,238,0.5);
}
.footer-bottom {
    color: #ffffff !important;
}

.footer-bottom .contact-link {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom .contact-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
}

.footer-bottom .btn-primary-custom {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.footer-bottom .bi {
    color: #ffffff !important;
}