/* CSS Global Styling for J-Cert Indonesia */

:root {
    --primary: #0066cc;          /* Vibrant Royal Blue */
    --primary-light: #3399ff;    /* Light Royal Blue */
    --primary-dark: #004080;     /* Deep Royal Blue */
    --accent: #ff6633;           /* Orange accent */
    --accent-gold: #ffa500;      /* Gold/Yellow accent */
    --accent-red: #e60012;       /* Japan Red */
    --secondary: #4a9cd3;        /* Steel Blue */
    --secondary-green: #00a852;  /* Vibrant Green */
    --secondary-blue: #0077cc;   /* Secondary Blue */
    --secondary-gold: #fbb03b;   /* Gold/Yellow */
    --bg-light: #f0f5fa;         /* Light blue-grey background */
    --bg-blue: #ebf6fb;          /* Very light blue */
    --text-dark: #1a1a1a;        /* Dark text */
    --text-muted: #666666;
    --border-color: #d1e2f0;     /* Border tinted with blue */
    --white: #ffffff;
    --font-sans: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
    --shadow-lg: 0 8px 20px rgba(0, 102, 204, 0.15);
}

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

body {
    font-family: var(--font-sans);
    background: linear-gradient(180deg, #dce7f5 0%, #ebf3fb 200px, #f8fafc 100%);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 25px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Header */
.main-header {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    border-top: 5px solid var(--accent-gold); /* Iconic Orange top bar */
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0, 102, 204, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

/* Stylized Logo to match official J-Cert branding */
.logo-link {
    display: inline-flex;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    white-space: nowrap;
    gap: 8px;
}

.logo-j {
    position: relative;
    color: var(--text-dark);
    display: inline-block;
    font-weight: 900;
}

.logo-j::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 4px;
    width: 7px;
    height: 7px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    z-index: 5;
}

.logo-cert {
    color: var(--accent-gold);
    font-weight: 800;
}

.logo-main {
    color: var(--primary);
    margin-left: 2px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 16px;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: rgba(0, 102, 204, 0.08);
    border-bottom-color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background-color: var(--white);
    border: 1.5px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 15px;
}

.lang-btn:hover {
    background-color: var(--bg-light);
    border-color: var(--primary);
}

.lang-flag {
    font-size: 16px;
}

.lang-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    min-width: 140px;
    overflow: hidden;
    z-index: 1010;
}

.lang-dropdown.show {
    display: flex;
}

.lang-dropdown a {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.lang-dropdown a:hover {
    background-color: var(--bg-light);
    color: var(--primary-light);
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    height: 2px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    border-radius: 50%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-green);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 122, 72, 0.25);
}

.btn-primary:hover {
    background-color: #006038;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 122, 72, 0.35);
}

.btn-secondary {
    background-color: var(--secondary-gold);
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(242, 169, 0, 0.2);
}

.btn-secondary:hover {
    background-color: #d99700;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(242, 169, 0, 0.3);
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary);
}

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

.card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.card-text {
    color: var(--text-muted);
}

/* News List */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--border-color);
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.news-summary {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
}

.news-link:hover {
    text-decoration: underline;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 20px 24px;
}

.faq-q {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.faq-a {
    color: var(--text-muted);
}

/* Schools Grid */
.schools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.school-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.school-logo {
    max-width: 100px;
    max-height: 80px;
    margin-bottom: 15px;
}

.school-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 10px;
}

.school-url {
    font-size: 13px;
    color: var(--secondary);
}

/* Static Page Content */
.page-container {
    max-width: 800px;
    margin: 40px auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.page-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.page-title {
    font-size: 36px;
    color: var(--primary);
}

.page-body {
    font-size: 16px;
    color: var(--text-dark);
}

.page-body p {
    margin-bottom: 20px;
}

/* Footer */
.main-footer {
    background: linear-gradient(160deg, #1a7a9a 0%, #0f5e7a 50%, #0a4a63 100%);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: auto;
    border-top: 4px solid #a8dce8;
    box-shadow: inset 0 1px 0 rgba(168, 220, 232, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #a8dce8;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 13px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: #a8dce8;
}

.footer-contact p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(168, 220, 232, 0.25);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
    color: #c5e8f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-3, .news-grid {
        grid-template-columns: 1fr;
    }
    
    .schools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px;
        gap: 30px;
        transition: var(--transition);
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .layout-row {
        flex-direction: column;
        gap: 20px;
    }

    .centers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .levels-banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* J-Cert China Portal Mode Layout Styles */
.site-main-layout {
    padding: 30px 0;
}

.layout-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

/* Row Top: Slider & Buttons */
.row-top {
    align-items: stretch;
}

.col-slider {
    flex: 7.2; /* 72% */
    min-width: 0;
}

.col-cta-buttons {
    flex: 2.8; /* 28% */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Promo Slider Mockup */
.promo-slider {
    background: linear-gradient(135deg, #0055bb 0%, #3399ff 100%);
    border-radius: var(--radius);
    height: 100%;
    min-height: 330px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-slider h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -0.8px;
    line-height: 1.1;
}

.promo-slider .slide-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 28px;
    max-width: 600px;
    font-weight: 500;
}

.promo-slider .slide-badge {
    align-self: flex-start;
    background-color: rgba(255, 165, 0, 0.3);
    border: 1.5px solid rgba(255, 165, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    right: 25px;
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active, .slider-dots .dot:hover {
    background-color: var(--white);
    color: var(--primary-light);
}

/* CTA Buttons Stack */
.cta-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border-radius: var(--radius);
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: none;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cta-individual {
    background: linear-gradient(135deg, #00a852 0%, #008c3f 100%);
}
.cta-group {
    background: linear-gradient(135deg, #3ab8d8 0%, #1d97bb 100%);
    box-shadow: 0 3px 12px rgba(58, 184, 216, 0.35);
}
.cta-results {
    background: linear-gradient(135deg, #ffa500 0%, #ff8800 100%);
}
.cta-ticket {
    background: linear-gradient(135deg, #5ecce0 0%, #2db5d0 100%);
    box-shadow: 0 3px 12px rgba(94, 204, 224, 0.35);
}

.cta-icon {
    font-size: 26px;
    background-color: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-text {
    display: flex;
    flex-direction: column;
}

.cta-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.cta-subtitle {
    font-size: 11px;
    opacity: 0.8;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 1px;
}

/* Row Middle: Schedule & News */
.row-middle {
    align-items: stretch;
}

.col-schedule {
    flex: 2.8; /* 28% */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.col-news {
    flex: 7.2; /* 72% */
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* Widget Boxes */
.widget-box {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 6px rgba(0, 102, 204, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.widget-box:hover {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.12);
}

.widget-header {
    background: linear-gradient(90deg, #e8f3fb 0%, #dceaf6 100%);
    padding: 16px 20px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
}

.header-more {
    font-size: 11px;
    font-weight: bold;
    color: var(--primary-light);
}

.header-more:hover {
    text-decoration: underline;
}

.widget-content {
    padding: 20px;
    flex-grow: 1;
}

/* Schedule List */
.schedule-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.schedule-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.session-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.session-info {
    display: flex;
    flex-direction: column;
}

.session-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.session-date {
    font-size: 12px;
    color: var(--text-muted);
}

.widget-more-btn {
    display: block;
    text-align: center;
    background-color: #eff6ff;
    color: var(--primary-light);
    padding: 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    transition: var(--transition);
    border: 1px solid rgba(74, 156, 211, 0.2);
}

.widget-more-btn:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

/* Schools Promo Banner */
.schools-promo-banner {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe8cc 100%);
    border: 1.5px solid #ffc966;
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.12);
}

.schools-promo-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.2);
    border-color: #ffb340;
}

.promo-title {
    font-size: 17px;
    font-weight: 800;
    color: #ff6633;
    margin-bottom: 6px;
}

.promo-desc {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

/* News List (China Style) */
.news-list-china {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.news-list-china li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    gap: 15px;
}

.news-list-china li:last-child {
    border-bottom: none;
}

.news-notice-tag {
    color: var(--accent);
    font-weight: bold;
    font-size: 12px;
    white-space: nowrap;
}

.news-title-link {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.news-title-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.news-date-china {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Levels Banner Chart */
.levels-banner {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 1px 6px rgba(0, 102, 204, 0.08);
}

.levels-banner-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    border-left: 4px solid var(--accent-gold);
    padding-left: 12px;
}

.levels-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.lvl-item {
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #eef6fc 100%);
    border: 1.5px solid var(--border-color);
    padding: 16px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.lvl-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.lvl-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    color: var(--white);
    padding: 6px 14px;
    border-radius: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.font-master { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.font-blevel { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.font-clevel { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.font-dlevel { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.lvl-item p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Row Centers: National Test Centers */
.centers-box {
    width: 100%;
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 6px rgba(0, 102, 204, 0.08);
    overflow: hidden;
}

.centers-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: linear-gradient(180deg, #f5f9fc 0%, #eef5fa 100%);
    padding: 22px;
    gap: 16px;
}

.center-col {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1.5px solid #dce7f5;
    padding: 16px 12px;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 1px 4px rgba(0, 102, 204, 0.06);
}

.center-col:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 3px 8px rgba(0, 102, 204, 0.12);
}

.center-col h4 {
    font-size: 13px;
    font-weight: 800;
    color: #ff6633;
    border-bottom: 2px solid #ffc966;
    padding-bottom: 8px;
    margin-bottom: 10px;
    text-align: center;
}

.center-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.center-col ul li {
    font-size: 12px;
    color: var(--text-dark);
    text-align: center;
    font-weight: 500;
}

/* Row Bottom: Three Columns */
.row-bottom {
    align-items: stretch;
}

.col-bottom {
    flex: 1;
}

.col-faq {
    flex: 2; /* Middle FAQ takes 50% */
}

.green-header .widget-header {
    background: linear-gradient(90deg, #e6f8f1 0%, #d0f0e6 100%);
}

.green-header .widget-header h3 {
    color: #00a852;
}

.qr-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.qr-container {
    max-width: 180px;
}

.qr-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

/* FAQ Bottom List */
.bottom-faq-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bottom-faq-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f5fa;
}

.bottom-faq-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-icon-q {
    background: linear-gradient(135deg, #ff6633 0%, #ff8844 100%);
    color: var(--white);
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.faq-txt {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Downloads Section */
.downloads-content {
    padding: 20px;
}

.download-links .dl-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 6px;
    transition: var(--transition);
    color: var(--primary);
    font-weight: 600;
}

.download-links .dl-link:hover {
    background-color: #eff6ff;
    text-decoration: none;
}

.dl-icon {
    font-size: 14px;
}

/* Footer */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 800;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 1000px;
        padding: 0 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .centers-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .col-slider {
        flex: 1 !important;
    }

    .col-cta-buttons {
        flex: 1 !important;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 75px;
    }

    .logo-link {
        font-size: 22px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        width: 100%;
        height: calc(100vh - 75px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px;
        gap: 30px;
        transition: var(--transition);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }

    .nav-menu.open {
        left: 0;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .layout-row {
        flex-direction: column;
        gap: 20px;
    }

    .col-slider {
        flex: 1 !important;
    }

    .col-cta-buttons {
        flex: 1 !important;
    }

    .col-schedule {
        flex: 1 !important;
    }

    .col-news {
        flex: 1 !important;
    }

    .col-bottom {
        flex: 1 !important;
    }

    .col-faq {
        flex: 1 !important;
    }

    .centers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 15px;
    }

    .levels-banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .schools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .cta-title {
        font-size: 14px;
    }

    .cta-subtitle {
        font-size: 10px;
    }

    .slider-dots {
        bottom: 15px;
        right: 15px;
    }

    .slider-dots .dot {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }

    .promo-slider {
        min-height: 280px;
        padding: 30px;
    }

    .promo-slider h2 {
        font-size: 28px;
    }

    .promo-slider .slide-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .header-container {
        height: 70px;
    }

    .logo-link {
        font-size: 18px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }

    .centers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
    }

    .center-col h4 {
        font-size: 12px;
    }

    .center-col ul li {
        font-size: 11px;
    }

    .levels-banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .lvl-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .lvl-item p {
        font-size: 11px;
    }

    .cta-btn {
        padding: 14px 16px;
        gap: 12px;
    }

    .cta-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .cta-title {
        font-size: 13px;
    }

    .cta-subtitle {
        font-size: 9px;
    }

    .promo-slider {
        min-height: 250px;
        padding: 25px;
    }

    .promo-slider h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .promo-slider .slide-subtitle {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .widget-box {
        border-radius: 6px;
    }

    .widget-header h3 {
        font-size: 15px;
    }

    .news-title-link {
        font-size: 13px;
    }

    .col-bottom {
        flex: 1 !important;
    }
}
