/* 
   Linhcap.com Landing Page Styling
   Adopted from User Theme (Vanilla CSS)
*/

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

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

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: #F0F5FB; 
    color: #0B1F3A; 
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Form Placeholders */
input::placeholder, textarea::placeholder { 
    color: rgba(138, 172, 197, 0.45); 
}

/* FAQ Details/Summary resets */
details summary::-webkit-details-marker { 
    display: none; 
}

details summary::marker { 
    display: none; 
}

.faq-arrow { 
    transition: transform 0.25s ease; 
    display: inline-block; 
}

details[open] .faq-arrow { 
    transform: rotate(180deg); 
}

a:hover { 
    opacity: 0.85; 
}

/* Navigation layout */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #E5EDF5;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 24px;
    }
    .nav-links {
        display: none !important; /* Simple mobile responsive hidden menu */
    }
}

.nav-logo {
    font-family: 'Lora', serif;
    font-size: 21px;
    font-weight: 700;
    color: #0B1F3A;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #4A6080;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #1565C0;
}

/* Hero Section */
.hero-flex {
    display: flex;
    gap: 80px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .hero-flex div[style*="flex:none"] {
        width: 100% !important;
        max-width: 440px;
        height: 440px !important;
    }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
    }
    .stats-grid div {
        border-right: none !important;
    }
}

/* Courses Grid */
.courses-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 992px) {
    .courses-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .courses-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Grid */
.testimonials-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 992px) {
    .testimonials-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Media Bar Row */
.media-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 768px) {
    .media-bar {
        justify-content: center;
        gap: 20px 40px;
    }
    .media-divider {
        display: none !important;
    }
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Footer layout */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
