/* ==========================================================================
   Enfant Music School & Loyola Primary School - Design System & Stylesheet
   Color Palette:
   - Primary Gold: #f9b933 / #f8b830
   - Secondary Slate Teal: #416d86
   - Slate Dark: #2c4d62 / #1e3341
   - Slate Light: #4d829e / #5289a6
   - Text Dark: #2c3e50
   - Text Muted: #718096 / #a0a0a0
   - Light Bg: #f8fafc / #f4f6f8
   - Border Color: #f2f2f2 / #e2e8f0
   ========================================================================== */

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

:root {
    --primary: #f9b933;
    --primary-dark: #e5a41e;
    --primary-light: #fbe096;
    --secondary: #416d86;
    --secondary-dark: #2c4d62;
    --secondary-light: #5289a6;
    --secondary-border: #4d829e;
    --dark-slate: #1f2d3d;
    --text-color: #4a5568;
    --text-heading: #416d86;
    --text-muted: #8c9ba5;
    --bg-light: #f8fafc;
    --bg-alt: #f2f6f9;
    --border-color: #f0f4f8;
    --border-light: #f2f2f2;
    --white: #ffffff;
    --radius-pill: 28px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(65, 109, 134, 0.08);
    --shadow-md: 0 8px 24px rgba(65, 109, 134, 0.12);
    --shadow-lg: 0 16px 36px rgba(65, 109, 134, 0.16);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.font-accent, .ztl-heading {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1.00rem; }

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

p {
    margin-bottom: 1.25rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--primary) !important; }
.text-teal { color: var(--secondary) !important; }
.text-white { color: var(--white) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Buttons & CTAs (Enfant Signature Styles) */
.ztl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

/* Button One: Gold outline button */
.ztl-btn-one, .ztl-btn-outline-gold {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
}
.ztl-btn-one:hover, .ztl-btn-outline-gold:hover {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 185, 51, 0.35);
}

/* Button Two: White outline button on teal backgrounds */
.ztl-btn-two, .ztl-btn-outline-white {
    color: var(--white) !important;
    border-color: var(--white) !important;
    background-color: transparent !important;
}
.ztl-btn-two:hover, .ztl-btn-outline-white:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Button Three: Solid Gold button */
.ztl-btn-three, .ztl-btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}
.ztl-btn-three:hover, .ztl-btn-primary:hover {
    background-color: transparent !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* Button Four: Solid Slate Teal button */
.ztl-btn-four, .ztl-btn-secondary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--white) !important;
}
.ztl-btn-four:hover, .ztl-btn-secondary:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

.ztl-btn-sm {
    padding: 7px 18px;
    font-size: 0.75rem;
}

.ztl-btn-lg {
    padding: 14px 34px;
    font-size: 0.95rem;
}

/* Section Header & Enfant Divider */
.ztl-section-title {
    margin-bottom: 3.5rem;
    text-align: center;
}

.ztl-section-title h2 {
    font-size: 2.25rem;
    color: var(--secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.ztl-section-title p {
    font-size: 1.15rem;
    color: var(--text-color);
    font-weight: 300;
    margin-bottom: 1rem;
}

.ztl-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    width: 140px;
    height: 18px;
}

.ztl-divider::before,
.ztl-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background-color: var(--primary);
}

.ztl-divider .circle {
    width: 14px;
    height: 14px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    margin: 0 8px;
    position: relative;
    display: inline-block;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background-color: var(--white);
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Top Header Bar */
.top-header-bar {
    background-color: var(--secondary);
    color: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header-widgets {
    display: flex;
    align-items: center;
    gap: 35px;
}

.header-widget-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-widget-icon {
    font-size: 1.6rem;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.header-widget-text {
    border-left: 1px solid var(--secondary-border);
    padding-left: 14px;
}

.header-widget-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.header-widget-title span.label {
    color: var(--primary);
    margin-right: 4px;
}

.header-widget-title span.val {
    color: var(--white);
}

.header-widget-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.2;
}

.top-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-header-actions .social-links {
    display: flex;
    gap: 10px;
}

.top-header-actions .social-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    transition: var(--transition);
}

.top-header-actions .social-links a:hover {
    color: var(--primary);
}

/* Main Navigation */
.main-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(65, 109, 134, 0.2);
}

.brand-logo-text h1 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.1;
}

.brand-logo-text h1 span {
    color: var(--primary);
}

.brand-logo-text p {
    font-size: 0.72rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--secondary) !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* Dropdown Navigation */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background-color: var(--primary);
    border-radius: 4px;
    padding: 8px 0;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--primary);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 9px 20px;
    color: var(--white) !important;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.1);
    padding-left: 25px;
}

/* Navigation Action Buttons (Search, Enroll) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 30px;
}

.btn-search-trigger {
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.15rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search-trigger:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider-section {
    position: relative;
    height: 580px;
    overflow: hidden;
    background-color: var(--secondary-dark);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, transform 1s ease;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(31, 45, 61, 0.85) 0%, rgba(65, 109, 134, 0.55) 50%, rgba(31, 45, 61, 0.3) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 10;
    max-width: 680px;
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 20px;
}

.hero-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 2px;
    background-color: var(--primary);
}

.hero-title {
    font-size: 3.0rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: var(--primary);
    color: var(--white);
}

.slider-arrow.prev { left: 25px; }
.slider-arrow.next { right: 25px; }

/* ==========================================================================
   Announcement Bars
   ========================================================================== */
.ztl-announcement-bar {
    background-color: var(--secondary);
    color: var(--white);
    padding: 24px 0;
    position: relative;
}

.ztl-announcement-bar.bg-gold {
    background-color: var(--primary);
    color: var(--white);
}

.announcement-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.announcement-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.announcement-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.announcement-text h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.announcement-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   Instrument & Feature Cards
   ========================================================================== */
.instruments-section {
    padding: 80px 0 60px;
    background-color: var(--white);
}

.instrument-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.instrument-card {
    padding: 30px;
    border-radius: var(--radius-md);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.instrument-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.instrument-card:hover .instrument-icon {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.instrument-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.instrument-card p {
    font-size: 0.92rem;
    color: var(--text-color);
    margin-bottom: 0;
}

/* ==========================================================================
   5-Step Enrollment Process Wizard
   ========================================================================== */
.steps-enrollment-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 20px 10px;
    transition: var(--transition);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 10px rgba(65, 109, 134, 0.25);
    transition: var(--transition);
}

.step-card:nth-child(even) .step-number {
    background-color: var(--primary);
    box-shadow: 0 4px 10px rgba(249, 185, 51, 0.25);
}

.step-card:hover .step-number {
    transform: scale(1.15) rotate(5deg);
}

.step-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Popular Courses & Programs Grid
   ========================================================================== */
.courses-section {
    padding: 80px 0;
    background-color: var(--white);
}

.course-filter-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--secondary);
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.course-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card:hover .course-img-wrap img {
    transform: scale(1.08);
}

.course-price-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.course-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.course-body h3 a {
    color: var(--secondary);
}

.course-body h3 a:hover {
    color: var(--primary);
}

.course-body p {
    font-size: 0.90rem;
    color: var(--text-color);
    margin-bottom: 20px;
    flex: 1;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.course-instructor {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

/* ==========================================================================
   Live Statistics Animated Counter Bar
   ========================================================================== */
.stats-counter-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    flex-shrink: 0;
}

.stat-details h3 {
    font-size: 2.75rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-details p {
    font-size: 0.95rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Circular Pricing Plans
   ========================================================================== */
.pricing-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover,
.pricing-card.popular {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.pricing-card.popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    letter-spacing: 1px;
}

/* Enfant Circular Price Tag */
.ztl-package-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 6px 16px rgba(65, 109, 134, 0.25);
    transition: var(--transition);
}

.pricing-card:hover .ztl-package-circle,
.pricing-card.popular .ztl-package-circle {
    background-color: var(--primary);
    box-shadow: 0 6px 16px rgba(249, 185, 51, 0.35);
    transform: scale(1.05);
}

.ztl-package-circle .price-val {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
}

.ztl-package-circle .price-period {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 4px;
}

.pricing-card h3 {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--primary);
    font-size: 0.85rem;
}

/* ==========================================================================
   Countdown Special Event Banner
   ========================================================================== */
.countdown-section {
    padding: 90px 0;
    background: linear-gradient(rgba(31, 45, 61, 0.85), rgba(65, 109, 134, 0.85)), url('https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4?w=1400&q=80') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.countdown-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

.countdown-wrapper h2 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.countdown-wrapper p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.countdown-timer-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 2.5rem;
}

.countdown-timer-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 20px 25px;
    min-width: 105px;
    text-align: center;
}

.countdown-timer-box .time-val {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.countdown-timer-box .time-label {
    font-size: 0.78rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

/* ==========================================================================
   Events Listing Section
   ========================================================================== */
.events-section {
    padding: 80px 0;
    background-color: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.event-img-wrap {
    position: relative;
    height: 200px;
}

.event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    text-align: center;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.event-date-badge .day {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: block;
}

.event-date-badge .month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.event-body {
    padding: 24px;
}

.event-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.event-body p {
    font-size: 0.90rem;
    color: var(--text-color);
    margin-bottom: 18px;
}

/* ==========================================================================
   Photo Gallery & Lightbox
   ========================================================================== */
.gallery-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(65, 109, 134, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-overlay span {
    font-size: 0.8rem;
    color: var(--primary-light);
}

/* ==========================================================================
   Faculty & Teachers Spotlight
   ========================================================================== */
.teachers-section {
    padding: 80px 0;
    background-color: var(--white);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.teacher-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.teacher-img-wrap {
    height: 240px;
    overflow: hidden;
}

.teacher-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.teacher-card:hover .teacher-img-wrap img {
    transform: scale(1.06);
}

.teacher-body {
    padding: 20px;
}

.teacher-body h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.teacher-role {
    font-size: 0.82rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.teacher-body p {
    font-size: 0.88rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.teacher-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.teacher-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.teacher-socials a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   Testimonials Carousel
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.testimonial-stars {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-author h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Newsletter Subscriber Bar
   ========================================================================== */
.newsletter-section {
    padding: 50px 0;
    background-color: var(--secondary);
    color: var(--white);
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-icon {
    font-size: 2.2rem;
    color: var(--primary);
}

.newsletter-text h3 {
    color: var(--white);
    font-size: 1.45rem;
    margin-bottom: 2px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--primary);
}

/* ==========================================================================
   Blog & News Grid
   ========================================================================== */
.blog-section {
    padding: 80px 0;
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.blog-img-wrap {
    height: 220px;
    overflow: hidden;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.08);
}

.blog-body {
    padding: 25px;
}

.blog-date-line {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.blog-date-line span {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
}

.blog-body h3 {
    font-size: 1.20rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-body h3 a {
    color: var(--secondary);
}

.blog-body h3 a:hover {
    color: var(--primary);
}

.blog-body p {
    font-size: 0.90rem;
    color: var(--text-color);
    margin-bottom: 18px;
}

/* ==========================================================================
   Page Headers & Breadcrumbs (Inner Pages)
   ========================================================================== */
.page-header-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
}

.page-header-banner h1 {
    font-size: 2.6rem;
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumbs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

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

.breadcrumbs-nav a:hover {
    color: var(--white);
}

/* ==========================================================================
   Forms & Controls (Enrollment, Contact, Inquiries)
   ========================================================================== */
.form-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control, .form-select, textarea.form-control {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border-light);
    background-color: var(--bg-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
    outline: none;
    transition: var(--transition);
}

textarea.form-control {
    border-radius: var(--radius-md);
    resize: vertical;
    min-height: 120px;
}

.form-control:focus, .form-select:focus, textarea.form-control:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(249, 185, 51, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Flash Messages */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-pill);
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
}

.alert-danger {
    background-color: #fff1f0;
    border: 1px solid #ffa39e;
    color: #f5222d;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--secondary);
    color: var(--white);
    position: relative;
}

.footer-widgets {
    padding: 80px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 40px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-widget ul.bullet-list li {
    padding: 6px 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding-left: 18px;
}

.footer-widget ul.bullet-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Footer Recent Posts Widget */
.footer-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-post-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.footer-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-post-info h4 {
    font-size: 0.90rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.footer-post-info h4 a {
    color: var(--white);
}

.footer-post-info h4 a:hover {
    color: var(--primary);
}

.footer-post-date {
    font-size: 0.80rem;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: var(--white);
    color: var(--secondary);
    padding: 22px 0;
    text-align: center;
}

.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-copyright i {
    color: var(--primary);
}

/* Scroll To Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   Modals (Search & Lightbox)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 45, 61, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    width: 100%;
    max-width: 600px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.search-modal-content h3 {
    font-size: 1.75rem;
    margin-bottom: 25px;
    color: var(--secondary);
}

.search-input-group {
    display: flex;
    gap: 10px;
}

.search-input-group input {
    flex: 1;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.search-input-group input:focus {
    border-color: var(--primary);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--primary);
}

/* Lightbox Modal */
.lightbox-modal-content {
    max-width: 900px;
    width: 100%;
    position: relative;
}

.lightbox-modal-content img {
    border-radius: var(--radius-md);
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 12px;
    font-size: 1rem;
    font-family: var(--font-heading);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .instrument-grid,
    .courses-grid,
    .pricing-grid,
    .events-grid,
    .blog-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .teachers-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-list {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .top-header-bar {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
        z-index: 9999;
    }

    .nav-menu-wrapper.open {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 8px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--bg-light);
        display: none;
        padding-left: 15px;
    }

    .nav-item.open .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        color: var(--secondary) !important;
    }

    .nav-actions {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        justify-content: space-between;
    }

    .instrument-grid,
    .courses-grid,
    .pricing-grid,
    .events-grid,
    .gallery-grid,
    .blog-grid,
    .teachers-grid,
    .testimonials-grid,
    .stats-grid,
    .steps-list,
    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .hero-slider-section {
        height: 480px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .announcement-flex,
    .newsletter-wrapper,
    .footer-bottom-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .announcement-left,
    .newsletter-text {
        flex-direction: column;
    }

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

    .countdown-timer-grid {
        flex-wrap: wrap;
        gap: 12px;
    }

    .countdown-timer-box {
        min-width: 80px;
        padding: 12px 16px;
    }

    .countdown-timer-box .time-val {
        font-size: 1.9rem;
    }
}
