/* ==========================================================================
   Houston Child Development Center - Parent Resources Stylesheet
   Brand Colors:
   - Dark Green:    #174525
   - Primary Green: #28763B
   - Pale Green:    #F0F6ED
   - White:         #FFFFFF
   - Accent Gold:   #ffae00 / #ffc233
   - Accent Blue:   #154c87 / #5798fe
   - Text Dark:     #222c38
   - Text Muted:    #5a6777
   - Border Light:  #dce8d8
   ========================================================================== */

:root {
    --pr-green-dark: #174525;
    --pr-green-primary: #28763B;
    --pr-green-pale: #F0F6ED;
    --pr-green-soft: #e5f0e1;
    --pr-green-border: #d7e6d3;
    --pr-amber: #ffae00;
    --pr-blue: #154c87;
    --pr-blue-soft: #ebf3fc;
    --pr-text-dark: #222c38;
    --pr-text-muted: #5a6777;
    --pr-font-heading: 'Fredoka One', cursive;
    --pr-font-sub: 'Rubik', sans-serif;
    --pr-font-script: 'Schoolbell', cursive;
    --pr-shadow-card: 0 8px 24px rgba(23, 69, 37, 0.06);
    --pr-shadow-hover: 0 16px 36px rgba(23, 69, 37, 0.12);
    --pr-radius: 18px;
}

/* --------------------------------------------------------------------------
   1. Hero Banner Section
   -------------------------------------------------------------------------- */
.parent-hero-section {
    position: relative;
    width: 100%;
    min-height: 480px;
    background-image: url('../images/play-learn/classroom-wide.jpg');
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 100px 0 90px;
    overflow: hidden;
}

/* Subtle, rich dark-green gradient overlay */
.parent-hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(15, 45, 23, 0.90) 0%,
        rgba(15, 45, 23, 0.78) 45%,
        rgba(23, 69, 37, 0.50) 100%
    );
    pointer-events: none;
}

.parent-hero-section .auto-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.parent-hero-content {
    max-width: 680px;
    color: #ffffff;
}

.parent-hero-eyebrow {
    display: inline-block;
    font-family: var(--pr-font-sub);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffd24d;
    margin-bottom: 14px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.parent-hero-title {
    font-family: var(--pr-font-heading);
    font-size: 44px;
    line-height: 1.22;
    color: #ffffff;
    margin-bottom: 18px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.parent-hero-desc {
    font-family: var(--pr-font-sub);
    font-size: 18px;
    line-height: 1.7;
    color: #f1f8ed;
    margin-bottom: 28px;
    font-weight: 300;
}

.parent-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.parent-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 400;
}

.parent-hero-badge i {
    color: #ffd24d;
}

/* --------------------------------------------------------------------------
   Shared Section Headers
   -------------------------------------------------------------------------- */
.resources-sec-header {
    margin-bottom: 55px;
}

.resources-sec-header .sec-eyebrow {
    display: inline-block;
    font-family: var(--pr-font-sub);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pr-green-primary);
    margin-bottom: 8px;
}

.resources-sec-header h2 {
    font-family: var(--pr-font-heading);
    font-size: 38px;
    color: var(--pr-green-dark);
    line-height: 1.25;
    margin-bottom: 14px;
}

.resources-sec-header p {
    font-family: var(--pr-font-sub);
    font-size: 16px;
    line-height: 1.7;
    color: var(--pr-text-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   2. Quick-Access Resource Grid Section
   -------------------------------------------------------------------------- */
.parent-quick-resources {
    padding: 95px 0 85px;
    background-color: #fafcf9;
    position: relative;
}

.resource-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.resource-card {
    background: #ffffff;
    border: 1px solid var(--pr-green-border);
    border-radius: var(--pr-radius);
    padding: 32px 26px 28px;
    box-shadow: var(--pr-shadow-card);
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pr-shadow-hover);
    border-color: var(--pr-green-primary);
}

.resource-card:hover::before {
    background: linear-gradient(90deg, var(--pr-green-primary) 0%, var(--pr-amber) 100%);
}

.resource-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--pr-green-pale);
    color: var(--pr-green-primary);
    border: 1px solid var(--pr-green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.resource-card:hover .resource-card-icon {
    background: var(--pr-green-primary);
    color: #ffffff;
    transform: scale(1.05);
}

.resource-card h3 {
    font-family: var(--pr-font-heading);
    font-size: 20px;
    color: var(--pr-green-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.resource-card p {
    font-family: var(--pr-font-sub);
    font-size: 14px;
    line-height: 1.6;
    color: var(--pr-text-muted);
    margin-bottom: 22px;
    flex-grow: 1;
}

.resource-card-action {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #e8efe5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.resource-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--pr-font-sub);
    font-size: 14px;
    font-weight: 600;
    color: var(--pr-green-primary);
    text-decoration: none;
    transition: color 0.25s ease, gap 0.25s ease;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.resource-action-btn i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.resource-card:hover .resource-action-btn {
    color: var(--pr-green-dark);
    gap: 10px;
}

.resource-card:hover .resource-action-btn i {
    transform: translateX(2px);
}

.resource-action-btn:focus-visible {
    outline: 2px solid var(--pr-green-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.doc-badge-pill {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #637766;
    background: #edf5ea;
    padding: 3px 8px;
    border-radius: 6px;
}

/* --------------------------------------------------------------------------
   3. Classroom Documents & Schedules Section
   -------------------------------------------------------------------------- */
.parent-classroom-docs {
    padding: 100px 0 95px;
    background-color: #ffffff;
    border-top: 1px solid #edf4eb;
    border-bottom: 1px solid #edf4eb;
}

.programs-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.program-doc-group {
    background: #fafcf9;
    border: 1px solid var(--pr-green-border);
    border-radius: var(--pr-radius);
    padding: 32px 30px;
    box-shadow: 0 4px 16px rgba(23, 69, 37, 0.04);
}

.program-doc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e7efe4;
}

.program-doc-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--pr-green-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.program-doc-header-text h3 {
    font-family: var(--pr-font-heading);
    font-size: 21px;
    color: var(--pr-green-dark);
    margin: 0 0 4px 0;
}

.program-doc-header-text span {
    font-family: var(--pr-font-sub);
    font-size: 13px;
    color: #667868;
    font-weight: 500;
}

.doc-rows-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doc-row-item {
    background: #ffffff;
    border: 1px solid #e5efe2;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.25s ease;
}

.doc-row-item:hover {
    border-color: var(--pr-green-primary);
    box-shadow: 0 6px 18px rgba(40, 118, 59, 0.08);
    transform: translateX(3px);
}

.doc-row-info {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-grow: 1;
}

.doc-row-file-icon {
    font-size: 22px;
    color: #c44040; /* subtle red for PDF file icon distinction */
    margin-top: 2px;
    flex-shrink: 0;
}

.doc-row-file-icon.calendar-icon {
    color: var(--pr-green-primary);
}

.doc-row-details h4 {
    font-family: var(--pr-font-heading);
    font-size: 16px;
    color: var(--pr-green-dark);
    margin: 0 0 3px 0;
    line-height: 1.3;
}

.doc-row-details p {
    font-family: var(--pr-font-sub);
    font-size: 13px;
    color: var(--pr-text-muted);
    margin: 0;
    line-height: 1.45;
}

.doc-row-action {
    flex-shrink: 0;
}

.doc-download-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: var(--pr-green-pale);
    color: var(--pr-green-primary);
    border: 1px solid var(--pr-green-border);
    border-radius: 50px;
    font-family: var(--pr-font-sub);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.doc-download-pill:hover {
    background: var(--pr-green-primary);
    color: #ffffff;
    border-color: var(--pr-green-primary);
}

.doc-download-pill:focus-visible {
    outline: 2px solid var(--pr-green-primary);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   4. Help & Support Section
   -------------------------------------------------------------------------- */
.parent-help-section {
    padding: 95px 0 100px;
    background-color: var(--pr-green-pale);
    position: relative;
    overflow: hidden;
}

.parent-help-card {
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid var(--pr-green-border);
    box-shadow: 0 12px 35px rgba(23, 69, 37, 0.08);
    overflow: hidden;
}

.help-card-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.help-content-col {
    padding: 55px 50px;
    flex: 1 1 55%;
}

.help-photo-col {
    flex: 1 1 45%;
    min-height: 380px;
    position: relative;
}

.help-photo-col img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.help-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--pr-green-pale);
    color: var(--pr-green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.help-content-col h2 {
    font-family: var(--pr-font-heading);
    font-size: 36px;
    color: var(--pr-green-dark);
    line-height: 1.25;
    margin-bottom: 14px;
}

.help-content-col p {
    font-family: var(--pr-font-sub);
    font-size: 16px;
    line-height: 1.7;
    color: var(--pr-text-muted);
    margin-bottom: 28px;
}

.help-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.help-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--pr-green-primary);
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--pr-font-sub);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(40, 118, 59, 0.25);
    border: none;
}

.help-btn-primary:hover {
    background: var(--pr-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(23, 69, 37, 0.3);
}

.help-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--pr-green-dark) !important;
    border: 2px solid var(--pr-green-border);
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--pr-font-sub);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.help-btn-secondary:hover {
    border-color: var(--pr-green-primary);
    color: var(--pr-green-primary) !important;
    transform: translateY(-2px);
    background: var(--pr-green-pale);
}

.help-btn-primary:focus-visible,
.help-btn-secondary:focus-visible {
    outline: 2px solid var(--pr-green-primary);
    outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .resource-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .parent-hero-title {
        font-size: 38px;
    }
}

@media (max-width: 991px) {
    .resource-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .programs-doc-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .help-content-col {
        padding: 40px 35px;
        flex: 1 1 100%;
    }

    .help-photo-col {
        flex: 1 1 100%;
        min-height: 260px;
    }

    .parent-hero-section {
        min-height: 420px;
        padding: 80px 0 70px;
    }

    .parent-hero-title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .resource-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .parent-hero-section {
        min-height: 360px;
        padding: 70px 0 60px;
    }

    .parent-hero-eyebrow {
        font-size: 12px;
        letter-spacing: 0.14em;
    }

    .parent-hero-title {
        font-size: 28px;
    }

    .parent-hero-desc {
        font-size: 16px;
    }

    .resources-sec-header h2 {
        font-size: 30px;
    }

    .doc-row-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .doc-row-action {
        width: 100%;
    }

    .doc-download-pill {
        width: 100%;
        justify-content: center;
    }

    .help-content-col h2 {
        font-size: 28px;
    }

    .help-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .help-btn-primary,
    .help-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
