/* ========================================
   Kids Club Inc. Website Styles
   ======================================== */

:root {
    --primary: #1a5f7a;
    --secondary: #f4a261;
    --accent: #e76f51;
    --gold: #d4a574;
    --navy: #0a1128;
    --text-dark: #2b2d42;
    --text-light: #8d99ae;
    --bg-cream: #fdfcf8;
    --bg-light: #f8f9fa;
    --shadow: rgba(26, 95, 122, 0.08);
}

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

body {
    font-family: 'Karla', sans-serif;
    color: var(--text-dark);
    background: var(--bg-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ========================================
   Navigation
   ======================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 95, 122, 0.1);
}

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

.logo {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-family: 'Karla', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 0.2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow);
}

.cta-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 111, 81, 0.3);
}

/* ========================================
   Typography & Utilities
   ======================================== */

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

.section-heading {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 3rem;
    line-height: 1.2;
    font-weight: 700;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-family: 'Karla', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 111, 81, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.btn-gold:hover {
    background: #c49563;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ========================================
   Sections
   ======================================== */

.section {
    padding: 8rem 3rem;
}

.page-section {
    padding: 10rem 3rem 8rem;
    margin-top: 80px;
}

.section-light {
    background: white;
}

.section-wide {
    max-width: 1400px;
    margin: 0 auto;
}

.section-narrow {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   Page Headers
   ======================================== */

.page-header {
    text-align: center;
    margin-bottom: 5rem;
}

.page-title {
    font-family: 'Fraunces', serif;
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.page-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   Scholarship Grid
   ======================================== */

.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.scholarship-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(26, 95, 122, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.scholarship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow);
    border-color: var(--secondary);
}

.scholarship-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.scholarship-name {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.scholarship-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   Application Page
   ======================================== */

.application-container {
    max-width: 900px;
    margin: 0 auto;
}

.eligibility-box {
    background: #e8f4f8;
    border-left: 4px solid var(--primary);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 4rem;
}

.eligibility-box h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.eligibility-box p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.eligibility-list {
    list-style-position: inside;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 2;
}

.eligibility-list li {
    margin-bottom: 0.75rem;
}

.eligibility-note {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* ========================================
   Form Styles
   ======================================== */

.application-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.form-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--bg-light);
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.subsection-title {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.field-help {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Karla', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input[type="file"] {
    padding: 0.5rem 0;
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.large-radio {
    background: var(--bg-light);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.large-radio:has(input:checked) {
    border-color: var(--primary);
    background: rgba(26, 95, 122, 0.05);
}

.info-note {
    background: var(--bg-light);
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
}

.form-submit {
    text-align: center;
    margin-top: 3rem;
}

/* ========================================
   Donate Page
   ======================================== */

.donate-hero {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--navy), var(--primary));
    color: white;
    padding: 8rem 3rem 6rem;
    text-align: center;
}

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

.donate-title {
    font-family: 'Fraunces', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.donate-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.impact-item {
    text-align: center;
}

.impact-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.impact-item h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.impact-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.impact-statement {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.impact-note {
    background: #fff3e0;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    text-align: center;
}

.donation-container {
    max-width: 700px;
    margin: 0 auto;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.amount-option {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-option:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow);
}

.amount-option.selected {
    border-color: var(--gold);
    background: rgba(212, 165, 116, 0.1);
}

.amount-value {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.amount-description {
    font-size: 0.9rem;
    color: var(--text-light);
}

.custom-amount {
    margin-bottom: 2.5rem;
}

.custom-amount label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.custom-amount-input {
    position: relative;
    max-width: 300px;
}

.currency-symbol {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.custom-amount-input input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 2.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Karla', sans-serif;
    font-size: 1.1rem;
}

.donation-frequency {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.donation-frequency .large-radio {
    flex: 1;
    justify-content: center;
}

.monthly-message {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.donate-button-container {
    text-align: center;
}

.security-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.trust-section {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.trust-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.trust-statement {
    text-align: center;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.sponsorship-callout {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.sponsorship-callout h2 {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.sponsorship-callout p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.faq-section {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.faq-item h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.donate-final-cta {
    background: linear-gradient(135deg, var(--primary), #2a7a9a);
    color: white;
    text-align: center;
}

.final-cta-content h2 {
    font-family: 'Fraunces', serif;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.final-cta-note {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    opacity: 0.95;
}

/* ========================================
   About Page
   ======================================== */

.about-content h2 {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    color: var(--primary);
    margin: 2.5rem 0 1.25rem;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* ========================================
   Callout Sections
   ======================================== */

.callout {
    background: linear-gradient(135deg, var(--primary), #2a7a9a);
    padding: 4rem;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    color: white;
    box-shadow: 0 20px 60px var(--shadow);
}

.callout h2 {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.callout p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.callout .btn-primary {
    background: var(--secondary);
    color: var(--text-dark);
    white-space: nowrap;
}

.callout .btn-primary:hover {
    background: var(--accent);
}

/* ========================================
   Footer
   ======================================== */

footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 3rem 2rem;
}

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

.footer-meta {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-ein {
    font-weight: 600;
    color: white;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .callout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .donation-frequency {
        flex-direction: column;
    }

    .page-title {
        font-size: 3rem;
    }

    .section-heading {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .section,
    .page-section {
        padding: 4rem 1.5rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .donate-title {
        font-size: 2.5rem;
    }

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

    .application-form {
        padding: 2rem 1.5rem;
    }

    .callout {
        padding: 2.5rem 2rem;
    }

    .impact-grid,
    .trust-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .donation-amounts {
        grid-template-columns: 1fr 1fr;
    }
}
