/* Modern Scandinavian Care & Health Styling */
:root {
    --primary: #1e3a24;
    --primary-light: #2d5a37;
    --accent: #2e7d32;
    --accent-soft: #e8f5e9;
    --bg-page: #f8faf8;
    --bg-card: #ffffff;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-page);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* Header & Nav */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nav-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.3px;
}

.brand-logo {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
    font-weight: 600;
}

.btn-contact {
    background: var(--primary);
    color: #ffffff !important;
    padding: 0.55rem 1.2rem;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(30, 58, 36, 0.2);
}

.btn-contact:hover {
    background: var(--primary-light) !important;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #edf4ee 0%, var(--bg-page) 100%);
    padding: 5rem 1.5rem 4rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #eef2ed;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #d1e3d3;
    color: #24582e;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.hero h1 {
    font-size: 2.7rem;
    color: var(--primary);
    line-height: 1.25;
    letter-spacing: -0.6px;
    margin-bottom: 1.2rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 2.2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.02rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(30, 58, 36, 0.25);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 58, 36, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid #c5d8c7;
    padding: 0.9rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.02rem;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #f1f6f1;
    border-color: var(--primary);
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
}

.section-head {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem auto;
}

.section-tag {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-head h2 {
    font-size: 2.2rem;
    color: var(--primary);
    letter-spacing: -0.4px;
    margin-bottom: 0.8rem;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Focus Cards (Education & Health) */
.pillar-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.pillar-card.highlight {
    border-left: 6px solid var(--accent);
}

.pillar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.pillar-tag {
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pillar-card h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.pillar-card p.lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0 2rem 0;
}

.benefit-item {
    background: #fbfdfa;
    border: 1px solid #edf2ec;
    border-radius: var(--radius-sm);
    padding: 1.2rem;
}

.benefit-item h4 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.benefit-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Modular 3-grid */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}

.mod-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.2s, box-shadow 0.2s;
}

.mod-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.mod-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.mod-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Call to Action Banner */
.cta-banner {
    background: linear-gradient(135deg, #1c3620 0%, #102114 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    text-align: center;
    margin: 2rem 0 4rem 0;
    box-shadow: 0 12px 30px rgba(16, 33, 20, 0.25);
}

.cta-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 0.9rem;
}

.cta-banner p {
    font-size: 1.15rem;
    color: #d7e6d9;
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

.cta-banner .btn-banner {
    background: #ffffff;
    color: var(--primary);
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    transition: all 0.2s;
}

.cta-banner .btn-banner:hover {
    background: #eef5ef;
    transform: translateY(-2px);
}

/* Course Catalog Page Cards */
.catalog-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.4rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-subtle);
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.6rem;
    border-bottom: 1px solid #f0f3ef;
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
}

.catalog-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.catalog-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-badge {
    background: #f1f5f2;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.catalog-body p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.catalog-list {
    background: #f9fbf9;
    border: 1px solid #edf2ed;
    border-radius: var(--radius-sm);
    padding: 1.4rem 1.6rem;
    margin: 1.2rem 0 1.6rem 0;
}

.catalog-list h4 {
    font-size: 0.98rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.catalog-list ul {
    list-style: square;
    padding-left: 1.4rem;
    color: var(--text-muted);
    font-size: 0.93rem;
}

.catalog-list li {
    margin-bottom: 0.4rem;
}

/* Dark Footer & Contact */
.footer-contact {
    background: #142417;
    color: #e5ede6;
    padding: 4.5rem 1.5rem 3rem 1.5rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.footer-content p.desc {
    color: #b5ceb8;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.08rem;
}

.contact-details {
    margin: 2rem 0;
    line-height: 1.9;
    font-size: 1.05rem;
}

.contact-details a {
    color: #92d89a;
    text-decoration: underline;
}

.copyright {
    margin-top: 3.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #7b997f;
    font-size: 0.88rem;
}

.copyright a {
    color: #b5ceb8;
    text-decoration: none;
    margin: 0 0.5rem;
}

/* Forms */
.form-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    max-width: 620px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.45rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: #fafbfa;
    transition: border-color 0.15s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    padding: 1rem;
    border: none;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(30, 58, 36, 0.2);
}

.btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hero {
        padding: 3.5rem 1.2rem 3rem 1.2rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .pillar-card {
        padding: 1.8rem;
    }
    .form-card {
        padding: 2rem 1.5rem;
    }
}
