/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1A261D; /* Dark chalkboard green */
    background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url('images/chalkboard.webp');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #E8EDE9; /* Chalk white */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.container-lg {
    max-width: 1100px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.col-md-4 {
    flex: 0 0 100%;
}

.col-md-5 {
    flex: 0 0 100%;
}

.col-md-6 {
    flex: 0 0 100%;
}

.col-md-7 {
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .row {
        flex-wrap: nowrap;
    }
    .col-md-4 {
        flex: 0 0 calc(33.333% - 1.34rem);
    }
    .col-md-5 {
        flex: 0 0 41.666%;
    }
    .col-md-6 {
        flex: 0 0 calc(50% - 1rem); /* Accounting for gap */
    }
    .col-md-7 {
        flex: 0 0 58.333%;
    }
    .text-left-md {
        text-align: left;
    }
}

/* Typography */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    color: #FFFFFF;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    letter-spacing: -1.5px;
}


h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.title {
    font-family: 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #A3B8A8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #C0CDC3;
    font-weight: 400;
    line-height: 1.7;
}

/* Urgency Text */
.urgency-line {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #FCA5A5;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #1A261D;
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    width: 100%; 
    max-width: 320px;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    background-color: #F8F9FA;
}

/* Sections */
section, header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 7rem;
    position: relative;
    background-image: linear-gradient(to right, rgba(10, 40, 30, 0.75), rgba(10, 40, 30, 0.1)), url('images/melanie_hero_classroom.webp');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.hero-text-content {
    display: flex;
    position: relative;
    padding-left: 1.5rem;
}

.hero-accent-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #A3B8A8, rgba(163, 184, 168, 0.1));
}

.hero-text-inner {
    max-width: 480px;
}



@media (max-width: 767px) {
    .container {
        padding: 3rem 1.5rem;
    }
    .hero-row {
        flex-direction: column-reverse;
        gap: 3rem;
    }

    h1 {
        font-size: 3rem;
    }
    .title {
        font-size: 2.5rem;
    }
    .hero-text-content {
        padding-left: 1rem;
    }
    .hero-section {
        background-position: 85% center;
    }
}

/* Core Issues Section */
.core-issues-section {
    background-color: rgba(0, 0, 0, 0.2);
}

.issue-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .issue-box:nth-child(2) {
        transform: translateY(30px);
    }
    .issue-box:nth-child(2):hover {
        transform: translateY(22px);
    }
}

.issue-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.issue-icon-wrapper {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.issue-icon {
    width: 64px;
    height: 64px;
    display: block;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease;
}

.chalk-effect {
    filter: url(#chalk-filter);
}

.issue-box:hover .issue-icon {
    transform: scale(1.15) rotate(4deg);
    color: #FFFFFF;
}

.issue-content {
    position: relative;
    z-index: 1;
}

.issue-box h2 {
    font-size: 1.5rem;
    color: #FFFFFF;
    border-top: 3px solid #A3B8A8;
    padding-top: 1rem;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.5px;
}

.issue-box p {
    font-size: 1.1rem;
    color: #C0CDC3;
    margin-top: 1rem;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background-color: rgba(0, 0, 0, 0.2);
}

.about-highlight {
    margin: 32px 0;
    padding: 26px 28px;
    border-left: 4px solid #ffffff;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.10),
        rgba(255,255,255,0.03)
    );
    backdrop-filter: blur(6px);
    border-radius: 6px;
}

.about-highlight p:first-child {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.about-highlight p:last-child {
    font-size: 16px;
    opacity: 0.85;
    margin-top: 6px;
}

.about-image {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.about-section p {
    font-size: 1.15rem;
    color: #C0CDC3;
}

.about-section blockquote {
    margin-top: 2.5rem;
    font-size: 1.4rem;
    font-style: italic;
    color: #FFFFFF;
    font-weight: 600;
    position: relative;
    padding: 1.5rem 2rem;
    text-align: center;
    z-index: 1;
}

.about-section blockquote::before {
    content: '“';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    font-family: 'Playfair Display', serif;
    color: rgba(163, 184, 168, 0.15);
    z-index: -1;
    line-height: 1;
}

/* Experience Section */
.experience-section {
    /* No bg to alternate shading */
}

.experience-image {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.experience-section p {
    font-size: 1.15rem;
    color: #C0CDC3;
}

@media (max-width: 767px) {
    .experience-row {
        flex-direction: column-reverse;
    }
}

/* Family Section */
.family-section {
    background-color: rgba(255, 255, 255, 0.02);
}

.family-content {
    margin-bottom: 2rem;
    text-align: center;
}

.family-content p {
    font-size: 1.15rem;
    color: #C0CDC3;
    max-width: 800px;
    margin: 0 auto;
}

.family-image {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Signup Section */
.signup-section {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Card Panel for Form */
.card-panel {
    background: #FFFFFF;
    color: #1A261D;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    text-align: left;
    margin: 0 auto;
    max-width: 600px;
}

.card-panel h2 {
    color: #1A261D;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Form Styles */
form {
    margin-top: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-row .form-group {
    flex: 1;
}

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

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #333333;
}

.form-input {
    width: 100%;
    padding: 0.9rem;
    border-radius: 8px;
    border: 1px solid #CCCCCC;
    background-color: #F8F9FA;
    color: #1A261D;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1A261D;
    box-shadow: 0 0 0 3px rgba(26, 38, 29, 0.1);
    background-color: #FFFFFF;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.checkbox-group input {
    margin-top: 0.25rem;
}

.legal-text {
    font-size: 0.85rem;
    color: #555555;
    font-weight: 400;
}

.legal-link {
    color: #1A261D;
    text-decoration: underline;
    font-weight: 600;
}

.form-submit-btn {
    width: 100%;
    max-width: 100%;
    background-color: #1A261D;
    color: #FFFFFF;
}

.form-submit-btn:hover {
    background-color: #2D4032;
    color: #FFFFFF;
}

.success-message {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 3.5rem;
    color: #1A261D; /* Adjusted to match dark theme inside white card */
    margin-bottom: 1rem;
}

.hidden {
    display: none !important;
}

/* Final CTA */
.final-cta-section {
    padding: 6rem 0;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

/* Footer Section */
.footer-section {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section p {
    font-size: 0.95rem;
    color: #A3B8A8;
    margin-bottom: 0.75rem;
}

.footer-link-muted {
    color: #A3B8A8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link-muted:hover {
    color: #FFFFFF;
}

.social-links a {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
}

.social-links a:hover {
    transform: scale(1.1) translateY(-2px);
    color: #FFFFFF !important;
}

.social-links svg {
    transition: color 0.2s ease;
}

.social-links a:hover svg {
    color: #FFFFFF !important;
}

/* Utility Classes */
.text-center { text-align: center !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-items-center { align-items: center !important; }
.mt-3 { margin-top: 1rem !important; }

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(23, 36, 26, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text {
    font-size: 0.85rem;
    color: #C0CDC3;
    flex: 1;
    text-align: left;
    min-width: 250px;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-actions .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.cookie-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-actions .btn-accept {
    background: #FFFFFF;
    border: none;
    color: #17241A;
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s;
}

.cookie-actions .btn-accept:hover {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }
    .cookie-text {
        text-align: center;
    }
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Entrance Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }


