/* ============================================================
   EDVOLUTION prog2026 — Static clone styles
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #E6125D;
    --primary-darken-1: #C7104F;
    --primary-darken-2: #B80E49;
    --primary-darken-3: #9E0C3E;
    --deep-orange: #FE541E;
    --teal: #18BA9B;
    --text-dark: #2d3436;
    --blue: #3398DC;
    --blue-dark: #14112C;
    --yellow-start: #F59B00;
    --yellow-end: #F5D400;
    --gray-dark: #555555;
    --gray-light-v4: #CCCCCC;
    --gray-light-v5: #F7F7F7;
    --white: #FFFFFF;
    --black: #222222;
    --text-main: #444444;
    --nav-gradient: linear-gradient(to right top, rgb(252,114,121) 10%, rgb(255,123,156) 65%, rgb(255,192,25) 125%);
    --drama-gradient: linear-gradient(225deg, #F59B00, #F5D400);
    --tv-overlay: rgba(230, 18, 93, 0.9);
    --font-primary: 'Open Sans', sans-serif;
    --font-decorative: 'Cormorant Infant', serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-darken-1); }
ul { padding-left: 1.5em; }
.text-primary { color: var(--primary) !important; }

/* ---------- Container ---------- */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-gradient);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}
.nav-logo-img {
    height: 35px;
    width: auto;
}
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 0;
}
.nav-link {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    text-transform: none;
    transition: background 0.3s, border-radius 0.3s;
    white-space: nowrap;
}
.nav-link:hover {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    color: #fff;
}
/* Highlight nav link (pink) */
.nav-link-highlight {
    color: #18BA9B !important;
    font-weight: 700;
}
.nav-link-highlight:hover {
    color: #18BA9B !important;
    background: rgba(24, 186, 155, 0.1);
    border-radius: 4px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    z-index: 1100;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }



/* ============================================================
   HERO / INTRO SECTION
   ============================================================ */
.section-intro {
    background: var(--blue);
    padding: 70px 0 9px 0;
    margin-top: 56px;
}
.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    text-align: center;
}
.intro-image img {
    max-width: 360px;
    margin: 0 auto;
}
.intro-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}
.intro-title::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--white);
    margin: 0 auto 15px;
    border-radius: 2px;
}
.intro-desc {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    padding: 0 40px;
    line-height: 1.7;
    white-space: pre-line;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--nav-gradient, #2d3436);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s, opacity 0.3s;
        pointer-events: none;
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-link { padding: 12px 20px; }

    .intro-layout {
        grid-template-columns: 1fr;
        padding: 30px 15px;
    }
    .intro-image img { max-width: 280px; }
    .intro-title { font-size: 28px; }
    .intro-desc { padding: 0 10px; }
}

/* ============================================================
   DRAMA SECTION (Orange/Yellow)
   ============================================================ */
.section-drama {
    background: var(--deep-orange);
    overflow: hidden;
}
.drama-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
    min-height: 360px;
}
.drama-image-col {
    position: relative;
    overflow: hidden;
    order: 1;
}
.drama-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.drama-text-col {
    order: 2;
    background: var(--drama-gradient);
    padding: 60px 40px 60px 30px;
}
.drama-header {
    margin-bottom: 30px;
}
.drama-subtitle {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 0.9;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}
.drama-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
/* Third card spans both columns on 3rd row */
.drama-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
}
.drama-card {
    background: rgba(255,255,255,0.9);
    border-left: 3px solid var(--deep-orange);
    padding: 12px 12px;
    transition: border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.drama-card:hover {
    border-color: #fff;
}
.drama-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.drama-card-title p {
    display: inline;
    font-size: 16px;
    font-weight: 700;
}
.drama-card-text {
    font-size: 13px;
    color: var(--black);
    line-height: 1.6;
}
.drama-card-text p { margin-bottom: 6px; }
.drama-card-text ul { margin: 4px 0; }
.drama-card-text li { margin-bottom: 2px; }

@media (max-width: 992px) {
    .drama-layout {
        grid-template-columns: 1fr;
    }
    .drama-image-col { order: 2; max-height: 300px; }
    .drama-text-col { order: 1; padding: 40px 25px; }
}
@media (max-width: 600px) {
    .drama-cards { grid-template-columns: 1fr; }
    .drama-card:nth-child(3) { max-width: 100%; }
    .drama-subtitle { font-size: 28px; }
}

/* ============================================================
   TV STATION SECTION (Pink overlay)
   ============================================================ */
.section-tv {
    background: var(--tv-overlay);
    padding: 50px 0 30px;
}
.tv-header {
    text-align: center;
    margin-bottom: 40px;
}
.tv-title {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
    border-bottom: 5px solid #fff;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 10px;
    text-align: left;
    letter-spacing: 0;
}
.tv-subtitle {
    color: #fff;
    font-size: 17px;
    margin-top: -10px;
    margin-bottom: 0;
    white-space: pre-line;
    text-align: left;
}
.tv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.tv-card {
    background: #fff;
    display: flex;
    align-items: flex-start;
    gap: 0;
    overflow: hidden;
}
.tv-card-icon {
    flex: 0 0 auto;
    padding: 30px 20px 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tv-card-icon img {
    width: 130px;
    height: 130px;
    object-fit: contain;
}
.tv-card-content {
    padding: 30px 30px 30px 0;
    flex: 1;
}
.tv-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.tv-card-text {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
    text-align: justify;
}
.tv-card-text ul { margin: 6px 0; }
.tv-card-text li { margin-bottom: 3px; }

@media (max-width: 992px) {
    .tv-grid { grid-template-columns: 1fr; }
    .tv-title { font-size: 28px; }
}
@media (max-width: 600px) {
    .tv-card { flex-direction: column; align-items: center; }
    .tv-card-icon { padding: 20px; }
    .tv-card-icon img { width: 100px; height: 100px; }
    .tv-card-content { padding: 0 20px 20px; }
}

/* ============================================================
   TEACHER INTRO (Dark blue bg)
   ============================================================ */
.section-teacher-intro {
    background: var(--blue-dark);
    padding: 50px 0 20px;
}
.teacher-intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.teacher-intro-header {
    margin-bottom: 25px;
    position: relative;
}
.teacher-intro-header::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
}
.teacher-intro-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.teacher-intro-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 0.85;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}
.teacher-intro-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
    padding: 0 10px;
}

/* ============================================================
   TEACHER COURSES (Light gray bg)
   ============================================================ */
.section-teacher-courses {
    background: var(--gray-light-v5);
    padding: 45px 0 50px;
}
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.teacher-card {
    background: #fff;
    overflow: hidden;
    margin-bottom: 10px;
    transition: box-shadow 0.3s;
}
.teacher-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.teacher-card-img {
    width: 100%;
    overflow: hidden;
}
.teacher-card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}
.teacher-card:hover .teacher-card-img img {
    transform: scale(1.03);
}
.teacher-card-body {
    padding: 20px 24px 16px;
}
.teacher-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}
.teacher-card-title p {
    display: inline;
    font-size: 16px;
    font-weight: 400;
}
.teacher-card-text {
    font-size: 14px;
    color: var(--black);
    line-height: 1.6;
}
.teacher-card-text p { margin-bottom: 6px; }
.teacher-card-text ul { margin: 4px 0; }
.teacher-card-text li { margin-bottom: 3px; }

@media (max-width: 992px) {
    .teacher-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .teacher-grid { grid-template-columns: 1fr; }
    .teacher-intro-title { font-size: 28px; }
}

/* ============================================================
   CONTACT HEADING
   ============================================================ */
.section-contact-heading {
    background: var(--text-dark, #2d3436);
    padding: 50px 0 30px;
    text-align: center;
}

.section-contact-heading .section-title {
    color: #fff;
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-intro {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.section-contact-form {
    background: rgba(255, 0, 0, 0.1);
    padding: 30px 0 50px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px 40px;
    overflow: hidden;
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--teal, #18BA9B);
}

.form-header-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark, #2d3436);
    margin-bottom: 5px;
}

.form-header-subtitle {
    display: block;
    font-size: 14px;
    color: #666;
}

.contact-form {
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark, #2d3436);
    margin-bottom: 5px;
}

.form-group .required {
    color: var(--primary, #E6125D);
}

.form-group input,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal, #18BA9B);
    box-shadow: 0 0 0 3px rgba(24, 186, 155, 0.1);
}
.form-group select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--teal, #18BA9B);
    box-shadow: 0 0 0 3px rgba(24, 186, 155, 0.1);
}



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

.form-consent {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--teal, #18BA9B);
}

.form-submit {
    text-align: center;
    margin-top: 10px;
}

.form-submit .btn-primary {
    background-color: var(--primary, #E6125D);
    color: #fff;
    padding: 13px 36px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
    width: fit-content;
}

.form-submit .btn-primary:hover {
    opacity: 0.9;
}

.form-message.success {
    display: inline-block;
    border: 2px solid var(--primary, #E6125D);
    color: var(--primary, #E6125D);
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 15px;
}

.form-message.error {
    display: inline-block;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 15px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--gray-dark);
    color: #bbb;
    padding: 40px 0 20px;
}
.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-contact-card {
    padding: 25px 15px;
    text-align: center;
    border-left: 1px solid var(--teal, #18BA9B);
}
.footer-contact-card:first-child { border-left: none; }
.footer-card-link {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    display: block;
}
.footer-card-link strong {
    color: #fff;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 2px;
}
.footer-card-link:hover {
    color: var(--teal, #18BA9B);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 10px;
}
.footer-bottom p {
    font-size: 13px;
    color: #999;
    margin: 0;
}
.footer-social-icons {
    display: flex;
    gap: 10px;
}
.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #777;
    color: #aaa;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-social-icons a:hover {
    background: var(--teal, #18BA9B);
    border-color: var(--teal, #18BA9B);
    color: #fff;
}

@media (max-width: 768px) {
    .footer-contact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-contact-card { border-left: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
    .section-contact-heading .section-title { font-size: 36px; line-height: 1.3; }
    .form-submit .btn-primary { max-width: 100%; }
}
@media (max-width: 480px) {
    .footer-contact-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   UTILITY / ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.6s ease-out; }
.fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.slide-in-up { animation: slideInUp 0.6s ease-out; }

/* Scroll-reveal animation (progressive enhancement — JS adds these classes)
   Cards are VISIBLE by default. JS adds .sr-hidden only to elements below
   the viewport, then IntersectionObserver swaps to .sr-visible on scroll.
   If JS fails or is slow, cards remain visible. */
.sr-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.sr-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 56px;
}