/* BodyContext - Main Stylesheet */
/* Educational website - January 2026 */

:root {
    --primary-blue: #6BA3D6;
    --primary-blue-light: #A8CBE8;
    --primary-blue-dark: #4A8BC4;
    --text-dark: #2C3E50;
    --text-medium: #5D6D7E;
    --text-light: #7F8C8D;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-soft: #EEF4F9;
    --border-light: #E1E8ED;
    --shadow-soft: rgba(107, 163, 214, 0.1);
}

/* Reset and Base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    margin: 0;
    padding: 0;
    padding-top: 70px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
}

.site-header .navbar-brand {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.site-header .navbar-brand:hover {
    color: var(--primary-blue-dark);
    text-decoration: none;
}

.site-header .nav-link {
    color: var(--text-medium);
    font-size: 0.9375rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.site-header .nav-link:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-white) 100%);
    padding: 4rem 0;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.hero-section p {
    font-size: 1.125rem;
    color: var(--text-medium);
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-soft);
    height: 100%;
}

.section-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}

.section-image-tall {
    height: 320px;
}

/* Two Column Layout */
.two-col-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.two-col-section .text-col {
    padding: 1.5rem;
}

.two-col-section .image-col {
    padding: 1.5rem;
}

.two-col-section.reverse {
    flex-direction: row-reverse;
}

/* Limitations Block */
.limitations-block {
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--primary-blue-light) 30%, var(--bg-soft) 100%);
    border-radius: 12px;
    padding: 2.5rem;
    border-left: 4px solid var(--primary-blue);
}

.limitations-block h3 {
    color: var(--primary-blue-dark);
    margin-bottom: 1.25rem;
}

.limitations-block ul {
    margin: 0;
    padding-left: 1.25rem;
}

.limitations-block li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
}

.faq-item .card-header {
    background: transparent;
    border-bottom: none;
    padding: 1.25rem;
}

.faq-item .btn-link {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    text-align: left;
    width: 100%;
    padding: 0;
    font-size: 1rem;
}

.faq-item .btn-link:hover {
    color: var(--primary-blue);
}

.faq-item .card-body {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-medium);
}

/* Contact Form */
.contact-section {
    padding: 4rem 0;
}

.contact-form {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.contact-form .form-control {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--shadow-soft);
    outline: none;
}

.contact-form label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary-soft {
    background-color: var(--primary-blue);
    border: none;
    color: var(--bg-white);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary-soft:hover {
    background-color: var(--primary-blue-dark);
    color: var(--bg-white);
    transform: translateY(-1px);
}

.btn-outline-soft {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.btn-outline-soft:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    text-decoration: none;
}

/* Contact Info */
.contact-info {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 2rem;
}

.contact-info h3 {
    color: var(--primary-blue-dark);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--bg-soft) 100%);
    padding: 4rem 0;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 3rem 0 1.5rem;
}

.site-footer h5 {
    color: var(--bg-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.site-footer p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.site-footer a {
    color: var(--primary-blue-light);
    font-size: 0.875rem;
}

.site-footer a:hover {
    color: var(--bg-white);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-disclaimer p {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--bg-light);
    padding: 1rem;
    z-index: 1001;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner p {
    color: var(--bg-light);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.cookie-banner .btn {
    font-size: 0.875rem;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-white) 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.0625rem;
}

/* Policy Pages */
.policy-content {
    padding: 3rem 0;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.policy-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.policy-content ul {
    padding-left: 1.25rem;
    color: var(--text-medium);
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* About Page */
.about-section {
    padding: 4rem 0;
}

.about-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

/* Disclaimer Badge */
.disclaimer-badge {
    display: inline-block;
    background: var(--bg-soft);
    color: var(--text-medium);
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    body {
        padding-top: 60px;
    }

    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .section-image {
        height: 220px;
        margin-bottom: 1.5rem;
    }

    .two-col-section .text-col,
    .two-col-section .image-col {
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 1.625rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .content-section {
        padding: 2.5rem 0;
    }

    .section-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .limitations-block {
        padding: 1.5rem;
    }

    .site-footer {
        text-align: center;
    }
}

/* Utility Classes */
.text-primary-blue {
    color: var(--primary-blue);
}

.bg-soft {
    background-color: var(--bg-soft);
}

.mb-4-custom {
    margin-bottom: 2rem;
}

.mt-4-custom {
    margin-top: 2rem;
}
