/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: #ffffff;
    font-weight: 400;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(203, 213, 224, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    letter-spacing: -0.025em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    letter-spacing: 0.025em;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.burger-menu:hover {
    background: rgba(37, 99, 235, 0.1);
}

.burger-line {
    width: 24px;
    height: 2px;
    background: #2563eb;
    margin: 3px 0;
    transition: 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid rgba(203, 213, 224, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(203, 213, 224, 0.2);
    transition: all 0.2s ease;
    position: relative;
}

.mobile-menu a:hover {
    background: #f7fafc;
    color: #2563eb;
    padding-left: 2rem;
}

.mobile-menu a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #2563eb;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.mobile-menu a:hover:before {
    transform: scaleY(1);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* Quick Links Section in Mobile Menu */
.mobile-quick-links {
    background: #f8fafc;
    padding: 1rem 0;
    border-top: 1px solid rgba(203, 213, 224, 0.3);
}

.mobile-quick-links h4 {
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1.5rem 0.5rem;
    margin-bottom: 0.5rem;
}

.mobile-quick-links a {
    font-size: 0.85rem;
    color: #6b7280;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(203, 213, 224, 0.15);
}

.mobile-quick-links a:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    text-align: center;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: #4a5568;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: #d4af37;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    letter-spacing: 0.025em;
}

.cta-button:hover {
    background: #b8941f;
    transform: translateY(-1px);
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats {
    background: white;
    margin: 3rem 0;
    padding: 2rem;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: -0.025em;
}

.stat-label {
    color: #4a5568;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    background: white;
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.025em;
}

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

.feature-card {
    text-align: left;
    padding: 2rem;
    border-radius: 12px;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* ==========================================================================
   Certifications Section
   ========================================================================== */

.certifications {
    background: #2563eb;
    padding: 100px 0;
    color: white;
}

.certifications .section-title {
    color: white;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s ease;
    color: #1a202c;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cert-provider {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cert-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
    line-height: 1.3;
}

.cert-description {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cert-features {
    list-style: none;
    margin-bottom: 2rem;
}

.cert-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #4a5568;
    font-size: 0.875rem;
}

.cert-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.cert-button {
    display: block;
    background: #2563eb;
    color: white;
    padding: 14px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 0.875rem;
}

.cert-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials {
    background: #f8fafc;
    padding: 100px 0;
}

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

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
}

.testimonial-author {
    font-weight: 600;
    color: #1a202c;
    font-size: 0.875rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1, .hero p, .cta-button {
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    animation-delay: 0.1s;
}

.cta-button {
    animation-delay: 0.2s;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .stat-number {
        font-size: 1.875rem;
    }

    .features,
    .certifications,
    .testimonials {
        padding: 60px 0;
    }
    
    .feature-card,
    .cert-card,
    .testimonial {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cert-provider {
        font-size: 0.75rem;
    }
    
    .cert-title {
        font-size: 1.125rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .mobile-menu a {
        padding: 0.875rem 1rem;
    }
    
    .mobile-quick-links h4 {
        padding: 0 1rem 0.5rem;
    }
    
    .mobile-quick-links a {
        padding: 0.75rem 1rem;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .logo {
        font-size: 1.125rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}