/* ===================================
   Programs Page Specific Styles
   =================================== */

/* Programs Hero Section */
.programs-hero {
    padding: 120px 0 120px;
    background: linear-gradient(135deg, var(--color-mint-green) 0%, #3d9875 100%);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.programs-hero-content {
    position: relative;
    z-index: 2;
}

.programs-hero .page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-white);
}

.programs-hero .programs-main-title {
    color: var(--color-sunshine-yellow);
}

.programs-hero .page-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

/* Wave Decoration */
.wave-decoration {
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    background-repeat: repeat-x;
    background-size: 50px 60px;
}

.wave-top {
    bottom: -1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 60'%3E%3Cpath d='M0,30 Q12.5,50 25,30 T50,30 L50,60 L0,60 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* Programs Overview Section */
.programs-overview-section {
    padding: 80px 0 40px;
    background: var(--color-white);
    text-align: center;
}

/* Program Banner */
.program-banner {
    background: var(--color-white);
    padding: 50px 60px;
    border-radius: 0;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.program-banner-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #2C5AA0;
    margin-bottom: 30px;
    text-transform: capitalize;
}

.program-banner-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.program-banner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2C5AA0;
    font-size: 1.1rem;
    font-weight: 500;
}

.banner-icon {
    font-size: 1.5rem;
}

/* Program Detail Sections */
.program-detail-section {
    padding: 0 0 70px 0;
    position: relative;
    border-top: none;
}

.program-detail-section:nth-child(even) {
    background: var(--color-light-grey);
}

.program-detail-section:nth-child(odd) {
    background: var(--color-white);
}

.program-detail-content {
    width: 100%;
    text-align: center;
    background: #FFF8F0;
    padding: 60px 80px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.program-detail-content::before {
    content: 'ABC   ABC   ABC   ABC';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 100px;
    font-weight: 900;
    color: rgba(73, 175, 139, 0.08);
    font-family: 'Poppins', sans-serif;
    z-index: 0;
    transform: rotate(-15deg);
    letter-spacing: 80px;
}

.program-detail-content::after {
    content: '123   123   123   123';
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-size: 90px;
    font-weight: 900;
    color: rgba(246, 180, 7, 0.08);
    font-family: 'Poppins', sans-serif;
    z-index: 0;
    transform: rotate(10deg);
    letter-spacing: 70px;
}

.program-detail-description {
    position: relative;
    z-index: 1;
}

.program-detail-header {
    margin-bottom: 32px;
}

.program-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-mint-green), #3d9875);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(73, 175, 139, 0.3);
    transition: transform 0.3s ease;
}

.program-icon-large:hover {
    transform: scale(1.05);
}

.program-icon-large svg {
    width: 60px;
    height: 60px;
}

.program-detail-title {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.program-age-large {
    font-size: 1.2rem;
    color: var(--color-mint-green);
    font-weight: 600;
}

.program-detail-description {
    font-family: 'Delius', cursive;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-medium-grey);
    text-align: left;
}

.program-detail-description p {
    font-family: 'Delius', cursive;
    margin-bottom: 20px;
}

.program-detail-description em {
    color: var(--color-sunshine-yellow);
    font-style: italic;
}

/* Section Subheadings */
.section-subheading {
    font-family: 'Pacifico', cursive;
    font-size: 1.75rem;
    color: var(--color-dark);
    margin-top: 32px;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: left;
}

/* Program Highlights (4 key focus areas) */
.program-highlights {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: left;
    position: relative;
}

.program-highlights::before {
    content: 'XYZ   XYZ   XYZ';
    position: absolute;
    top: 10px;
    right: -30px;
    font-size: 70px;
    font-weight: 900;
    color: rgba(255, 107, 107, 0.08);
    font-family: 'Poppins', sans-serif;
    z-index: 0;
    transform: rotate(15deg);
    pointer-events: none;
    letter-spacing: 60px;
}

.program-highlights::after {
    content: '🎯  🏆  🎯';
    position: absolute;
    bottom: -20px;
    left: 20px;
    font-size: 45px;
    opacity: 0.08;
    z-index: 0;
    transform: rotate(-10deg);
    pointer-events: none;
    letter-spacing: 50px;
}

.program-highlights li {
    font-family: 'Delius', cursive;
    background: #FFFFFF;
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--color-mint-green);
    font-size: 1.05rem;
    line-height: 1.6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Different light colors for each highlight box */
.program-highlights li:nth-child(1) {
    background: #FFF8E1 !important; /* Light yellow - solid */
    border-left-color: #FBC02D;
    opacity: 1;
}

.program-highlights li:nth-child(2) {
    background: #E8F5E9 !important; /* Light green - solid */
    border-left-color: #4CAF50;
    opacity: 1;
}

.program-highlights li:nth-child(3) {
    background: #FCE4EC !important; /* Light pink - solid */
    border-left-color: #E91E63;
    opacity: 1;
}

.program-highlights li:nth-child(4) {
    background: #E3F2FD !important; /* Light blue - solid */
    border-left-color: #2196F3;
    opacity: 1;
}

.program-highlights li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(73, 175, 139, 0.2);
}

.program-highlights li strong {
    color: var(--color-mint-green);
    display: block;
    margin-bottom: 4px;
}

/* Program Features List */
.program-features-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    text-align: left;
    position: relative;
}

.program-features-list::before {
    content: '✏️  🎨  📚';
    position: absolute;
    top: 50%;
    right: -20px;
    font-size: 50px;
    opacity: 0.08;
    z-index: 0;
    transform: translateY(-50%) rotate(-10deg);
    pointer-events: none;
    letter-spacing: 40px;
}

.program-features-list::after {
    content: '🌟  ⭐  🌟';
    position: absolute;
    bottom: -30px;
    left: 30px;
    font-size: 45px;
    opacity: 0.08;
    z-index: 0;
    transform: rotate(8deg);
    pointer-events: none;
    letter-spacing: 50px;
}

.program-features-list li {
    font-family: 'Delius', cursive;
    padding: 12px 16px 12px 40px;
    position: relative;
    background: #FFFFFF;
    border-radius: 8px;
    font-size: 1.05rem;
    color: var(--color-medium-grey);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
    z-index: 1;
}

/* Different light colors for each key area box */
.program-features-list li:nth-child(1) {
    background: #FFF8E1 !important; /* Light yellow - solid */
    opacity: 1;
}

.program-features-list li:nth-child(2) {
    background: #E8F5E9 !important; /* Light green - solid */
    opacity: 1;
}

.program-features-list li:nth-child(3) {
    background: #E3F2FD !important; /* Light blue - solid */
    opacity: 1;
}

.program-features-list li:nth-child(4) {
    background: #FCE4EC !important; /* Light pink - solid */
    opacity: 1;
}

.program-features-list li:nth-child(5) {
    background: #F3E5F5 !important; /* Light purple - solid */
    opacity: 1;
}

.program-features-list li:nth-child(6) {
    background: #FFF3E0 !important; /* Light orange - solid */
    opacity: 1;
}

.program-features-list li:nth-child(7) {
    background: #E0F2F1 !important; /* Light teal - solid */
    opacity: 1;
}

.program-features-list li:nth-child(8) {
    background: #FFEBEE !important; /* Light red - solid */
    opacity: 1;
}

.program-features-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.program-features-list li::before {
    content: '●';
    position: absolute;
    left: 16px;
    color: var(--color-mint-green);
    font-size: 1.5rem;
    line-height: 1;
}

/* Program Activities List */
.program-activities-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: left;
    position: relative;
}

.program-activities-list::before {
    content: '🧸  🎈  🧸';
    position: absolute;
    top: 30px;
    left: -15px;
    font-size: 50px;
    opacity: 0.08;
    z-index: 0;
    transform: rotate(20deg);
    pointer-events: none;
    letter-spacing: 45px;
}

.program-activities-list::after {
    content: '🎨  📚  🎨';
    position: absolute;
    bottom: -30px;
    right: 40px;
    font-size: 50px;
    opacity: 0.08;
    z-index: 0;
    transform: rotate(-12deg);
    pointer-events: none;
    letter-spacing: 45px;
}

.program-activities-list li {
    font-family: 'Delius', cursive;
    padding: 12px 16px 12px 40px;
    position: relative;
    background: #FFFFFF;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--color-medium-grey);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    z-index: 1;
}

/* Different light colors for each activity box */
.program-activities-list li:nth-child(1) {
    background: #FFEBEE !important; /* Light red - solid */
    border-color: rgba(244, 67, 54, 0.3);
    opacity: 1;
}

.program-activities-list li:nth-child(2) {
    background: #E8F5E9 !important; /* Light green - solid */
    border-color: rgba(76, 175, 80, 0.3);
    opacity: 1;
}

.program-activities-list li:nth-child(3) {
    background: #FFF8E1 !important; /* Light yellow - solid */
    border-color: rgba(255, 235, 59, 0.3);
    opacity: 1;
}

.program-activities-list li:nth-child(4) {
    background: #E3F2FD !important; /* Light blue - solid */
    border-color: rgba(33, 150, 243, 0.3);
    opacity: 1;
}

.program-activities-list li:nth-child(5) {
    background: #FCE4EC !important; /* Light pink - solid */
    border-color: rgba(233, 30, 99, 0.3);
    opacity: 1;
}

.program-activities-list li:nth-child(6) {
    background: #F3E5F5 !important; /* Light purple - solid */
    border-color: rgba(156, 39, 176, 0.3);
    opacity: 1;
}

.program-activities-list li:nth-child(7) {
    background: #FFF3E0 !important; /* Light orange - solid */
    border-color: rgba(255, 152, 0, 0.3);
    opacity: 1;
}

.program-activities-list li:nth-child(8) {
    background: #E0F2F1 !important; /* Light teal - solid */
    border-color: rgba(0, 150, 136, 0.3);
    opacity: 1;
}

.program-activities-list li:nth-child(9) {
    background: #F9FBE7 !important; /* Light lime - solid */
    border-color: rgba(205, 220, 57, 0.3);
    opacity: 1;
}

.program-activities-list li:nth-child(10) {
    background: #E1F5FE !important; /* Light cyan - solid */
    border-color: rgba(0, 188, 212, 0.3);
    opacity: 1;
}

.program-activities-list li:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.program-activities-list li::before {
    content: '✓';
    position: absolute;
    left: 14px;
    color: var(--color-sunshine-yellow);
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1;
}

/* FAQ Section Styles */
.faq-container {
    margin-top: 32px;
    margin-bottom: 40px;
    position: relative;
}

.faq-container::before {
    content: '❓  💡  ❓  💡';
    position: absolute;
    top: 15%;
    right: -10px;
    font-size: 45px;
    opacity: 0.06;
    z-index: 0;
    transform: rotate(-15deg);
    pointer-events: none;
    letter-spacing: 40px;
}

.faq-container::after {
    content: '🎓  ✨  🎓';
    position: absolute;
    bottom: 10%;
    left: 20px;
    font-size: 50px;
    opacity: 0.06;
    z-index: 0;
    transform: rotate(10deg);
    pointer-events: none;
    letter-spacing: 45px;
}

.faq-item {
    background: var(--color-white);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Different light colors for each FAQ item */
.faq-item:nth-child(1) {
    background: #FFF8E1 !important; /* Light yellow - solid */
    opacity: 1;
}

.faq-item:nth-child(2) {
    background: #E8F5E9 !important; /* Light green - solid */
    opacity: 1;
}

.faq-item:nth-child(3) {
    background: #E3F2FD !important; /* Light blue - solid */
    opacity: 1;
}

.faq-item:nth-child(4) {
    background: #FCE4EC !important; /* Light pink - solid */
    opacity: 1;
}

.faq-item:nth-child(5) {
    background: #F3E5F5 !important; /* Light purple - solid */
    opacity: 1;
}

.faq-item:nth-child(6) {
    background: #FFF3E0 !important; /* Light orange - solid */
    opacity: 1;
}

.faq-item:nth-child(7) {
    background: #E0F2F1 !important; /* Light teal - solid */
    opacity: 1;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(73, 175, 139, 0.15);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.faq-question:hover {
    background-color: rgba(73, 175, 139, 0.05);
    color: var(--color-mint-green);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-mint-green);
    font-weight: 600;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
    background: linear-gradient(to bottom, rgba(73, 175, 139, 0.02), transparent);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    font-family: 'Delius', cursive;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-medium-grey);
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--color-dark);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 70px 0;
    margin-top: -70px;
    background: linear-gradient(135deg, var(--color-mint-green) 0%, #3d9875 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(246, 180, 7, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(246, 180, 7, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-white);
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .programs-hero {
        padding: 100px 0 60px;
    }

    .program-banner {
        padding: 40px 40px;
    }

    .program-banner-title {
        font-size: 2.8rem;
    }

    .program-banner-details {
        gap: 30px;
    }

    .program-banner-item {
        font-size: 1rem;
    }

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

    .programs-hero .page-subtitle {
        font-size: 1.2rem;
    }

    .program-detail-title {
        font-size: 2rem;
    }

    .program-detail-description {
        font-size: 1.1rem;
    }

    .section-subheading {
        font-size: 1.5rem;
    }

    .program-highlights {
        grid-template-columns: 1fr;
    }

    .program-features-list {
        grid-template-columns: 1fr;
    }

    .program-activities-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .programs-hero {
        padding: 80px 0 40px;
    }

    .program-banner {
        padding: 35px 25px;
    }

    .program-banner-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .program-banner-details {
        flex-direction: column;
        gap: 20px;
    }

    .program-banner-item {
        font-size: 0.95rem;
    }

    .banner-icon {
        font-size: 1.3rem;
    }

    .programs-hero .page-title {
        font-size: 2rem;
    }

    .programs-hero .page-subtitle {
        font-size: 1rem;
    }

    .program-detail-section {
        padding: 50px 0;
    }

    .program-icon-large {
        width: 80px;
        height: 80px;
    }

    .program-icon-large svg {
        width: 50px;
        height: 50px;
    }

    .program-detail-title {
        font-size: 1.75rem;
    }

    .program-age-large {
        font-size: 1rem;
    }

    .program-detail-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .section-subheading {
        font-size: 1.35rem;
    }

    .program-highlights {
        grid-template-columns: 1fr;
    }

    .program-features-list {
        grid-template-columns: 1fr;
    }

    .program-activities-list {
        grid-template-columns: 1fr;
    }

    .program-features-list li,
    .program-activities-list li {
        font-size: 0.95rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 16px 20px;
    }

    .faq-icon {
        font-size: 1.3rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
}

/* Extra Small Devices - Programs Page */
@media (max-width: 480px) {
    .programs-hero {
        padding: 100px 0 60px;
    }

    .program-banner {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .program-banner-title {
        font-size: 1.9rem;
        margin-bottom: 20px;
    }

    .program-banner-item {
        font-size: 0.9rem;
    }

    .banner-icon {
        font-size: 1.2rem;
    }

    .programs-hero .page-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .programs-hero .page-subtitle {
        font-size: 1rem;
    }

    .program-detail-title {
        font-size: 1.6rem;
    }

    .program-age-large {
        font-size: 1rem;
    }

    .program-detail-description {
        font-size: 0.95rem;
    }

    .section-subheading {
        font-size: 1.3rem;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 14px 16px;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 16px 16px;
    }
}

@media (max-width: 375px) {
    .programs-hero .page-title {
        font-size: 1.6rem;
    }

    .program-icon-large {
        width: 70px;
        height: 70px;
    }

    .program-icon-large svg {
        width: 45px;
        height: 45px;
    }

    .program-detail-title {
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
}
