/* =============================================
   AgapAILearn - Default Theme
   Minimal structural CSS only.
   Visual design (colors, fonts, personality)
   is intentionally left for theme development.
   ============================================= */

/* --- Reset & Box Model --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- Base --- */
body {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Header --- */
header {
    padding: 1rem;
    border-bottom: 1px solid #ccc;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

/* --- Navigation --- */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    font-size: 0.95rem;
}

nav a.active {
    font-weight: bold;
    text-decoration: underline;
}

/* --- Main Content --- */
main {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* --- Footer --- */
footer {
    padding: 1.5rem 1rem;
    border-top: 1px solid #ccc;
    text-align: center;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-verse a {
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-verse a:hover {
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.85rem;
}

/* --- Home Page Sections --- */

.home-hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.home-hero h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-sub {
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: #333;
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.home-section {
    padding: 3rem 0;
    border-top: 1px solid #e0e0e0;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #666;
}

.home-section h2 {
    font-size: 1.7rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

/* News */
.news-summary {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 0.75rem;
}

.news-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.news-link {
    font-weight: 600;
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
}

/* Service cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.service-card {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #444;
}

/* Who we serve */
.who-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 1.25rem;
}

.who-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.who-list li::before {
    content: "→ ";
    font-weight: 700;
}

/* CTA section */
.home-cta {
    text-align: center;
}

.home-cta p {
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 1.5rem;
    color: #444;
    line-height: 1.7;
}

/* --- Splash Pages --- */

.splash-hero {
    padding: 4rem 0 3rem;
}

.splash-hero h1 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.splash-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 680px;
    color: #444;
}

.splash-coming-soon {
    padding: 2.5rem 0;
    border-top: 1px solid #e0e0e0;
}

.coming-soon-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.75rem;
}

.splash-coming-soon p:not(.coming-soon-label) {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.25rem;
    max-width: 560px;
    line-height: 1.7;
}

/* --- FAQs --- */

.faq-section {
    margin-bottom: 2rem;
}

.faq-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e0e0e0;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    padding: 1rem 1.25rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-top: 4px;
}

.faq-question {
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 4px;
}

.faq-answer {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #444;
    padding-bottom: 4px;
}

/* --- Responsive: narrow screens --- */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        gap: 1rem;
    }
}