/* ============================================
   SASO Comprehensive College - Professional Website
   Color Palette:
   - Primary (Deep Purple):  #3D1539
   - Secondary (Magenta):    #B244A2
   - Accent (Orchid):        #D964C8
   - Light:                  #faf5f9
   - White:                  #ffffff
   ============================================ */

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3D1539;
    --primary-light: #5A2655;
    --primary-dark: #2A0E28;
    --secondary: #B244A2;
    --secondary-light: #C85FBB;
    --secondary-dark: #8A3080;
    --accent: #D964C8;
    --accent-light: #E580D6;
    --text-dark: #2A1028;
    --text-medium: #5A4058;
    --text-light: #8A7088;
    --bg-light: #faf5f9;
    --bg-white: #ffffff;
    --bg-cream: #fdf5fc;
    --border: #e8e8f0;
    --shadow: 0 4px 20px rgba(61, 21, 57, 0.08);
    --shadow-lg: 0 10px 40px rgba(61, 21, 57, 0.12);
    --shadow-xl: 0 20px 60px rgba(61, 21, 57, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--text-dark);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(178, 68, 162, 0.35);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-white {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ===== SECTION STYLING ===== */
.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.title-accent {
    color: var(--secondary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-left i, .top-bar-right i {
    margin-right: 6px;
    color: var(--secondary);
}

.top-bar-left .divider {
    opacity: 0.3;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right a {
    color: rgba(255,255,255,0.85);
}

.top-bar-right a:hover {
    color: var(--secondary);
}

.top-bar-login {
    background: var(--secondary);
    color: white !important;
    padding: 4px 16px;
    border-radius: 50px;
    font-weight: 600;
}

.top-bar-login:hover {
    background: var(--secondary-light) !important;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.4rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .school-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text .school-type {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.nav-btn {
    margin-left: 8px;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link i {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--secondary);
    padding-left: 24px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== NEWS TICKER ===== */
.news-ticker {
    background: var(--primary-dark);
    padding: 0;
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    height: 48px;
}

.ticker-label {
    background: var(--secondary);
    color: white;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 0;
    width: 0;
    height: 0;
    border-left: 16px solid var(--secondary);
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    padding-left: 24px;
}

.ticker-track {
    display: flex;
    gap: 60px;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-family: var(--font-accent);
    font-size: 0.85rem;
}

.ticker-badge {
    background: var(--accent);
    color: white;
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
}

.ticker-item strong {
    color: var(--secondary);
}

.ticker-date {
    background: var(--accent);
    color: white;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.ticker-date::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 0;
    width: 0;
    height: 0;
    border-right: 16px solid var(--accent);
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(178, 68, 162, 0.2);
    border: 1px solid rgba(178, 68, 162, 0.5);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero h1 .highlight {
    color: var(--secondary);
    position: relative;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.slider-prev { left: 30px; }
.slider-next { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary);
    width: 36px;
    border-radius: 6px;
}

/* ===== STATS SECTION ===== */
.stats {
    background: var(--primary);
    padding: 60px 0;
    position: relative;
    z-index: 2;
    margin-top: -2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: rgba(178, 68, 162, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--secondary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.stat-item p {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.title-decoration {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.diamond {
    width: 14px;
    height: 14px;
    background: var(--accent);
    transform: rotate(45deg);
}

.line {
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-motto {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--primary);
    margin: 24px 0;
    padding-left: 16px;
    border-left: 4px solid var(--secondary);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about-feature i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.main-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.secondary-image {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid white;
}

.secondary-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 5;
}

.badge-content {
    width: 120px;
    height: 120px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 30px rgba(178, 68, 162, 0.4);
    border: 5px solid white;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PROGRAMS SECTION ===== */
.programs {
    padding: 100px 0;
    background: var(--bg-light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.program-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--secondary);
    transition: var(--transition);
}

.program-card:hover .program-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
}

.program-card h3 {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.program-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.program-list {
    text-align: left;
    margin-bottom: 20px;
}

.program-list li {
    padding: 6px 0;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border);
}

.program-list li:last-child {
    border: none;
}

.program-list li::before {
    content: '✓';
    margin-right: 8px;
    color: var(--secondary);
    font-weight: 700;
}

.program-link {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.program-link:hover {
    color: var(--primary);
    gap: 10px;
}

/* ===== WHY CHOOSE US ===== */
.why-us {
    padding: 100px 0;
    background: var(--bg-white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 32px;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.why-item:hover {
    background: var(--bg-light);
}

.why-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(178,68,162,0.1), rgba(178,68,162,0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.3rem;
}

.why-text h4 {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.why-text p {
    font-size: 0.95rem;
    color: var(--text-medium);
}

.why-us-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.why-us-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--secondary);
    color: white;
    padding: 20px 28px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== TEACHERS SECTION ===== */
.teachers {
    padding: 100px 0;
    background: var(--bg-light);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.teacher-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.teacher-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(transparent, rgba(61, 21, 57, 0.8));
    transition: var(--transition);
}

.teacher-card:hover .teacher-socials {
    bottom: 0;
}

.teacher-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}

.teacher-socials a:hover {
    background: var(--secondary);
}

.teacher-info {
    padding: 20px;
}

.teacher-info h4 {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.teacher-info p {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 500;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 100px 0;
    background: var(--bg-white);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: transparent;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(61, 21, 57, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay h4 {
    color: white;
    font-family: var(--font-accent);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.gallery-overlay i {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

/* ===== NEWS SECTION ===== */
.news {
    padding: 100px 0;
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--secondary);
    color: white;
    padding: 10px 16px;
    border-radius: var(--radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.news-date .day {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
}

.news-date .month {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content {
    padding: 28px;
}

.news-category {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.6;
}

.news-link {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-link:hover {
    color: var(--primary);
    gap: 10px;
}

/* ===== ADMISSION CTA ===== */
.admission-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
}

.admission-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(178, 68, 162, 0.08);
    border-radius: 50%;
}

.admission-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(178, 68, 162, 0.06);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    color: white;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 100px 0;
    background: var(--bg-white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.faq-item.active {
    background: white;
    box-shadow: var(--shadow);
    border-color: var(--secondary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h4 {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===== EVENTS SECTION ===== */
.events {
    padding: 100px 0;
    background: var(--bg-light);
}

.events-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.event-item:hover {
    border-left-color: var(--secondary);
    transform: translateX(4px);
}

.event-date-box {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.event-day {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
}

.event-details h4 {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.event-details p {
    font-size: 0.85rem;
    color: var(--text-medium);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.event-details p i {
    color: var(--secondary);
    margin-right: 4px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--bg-light);
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.1rem;
}

.contact-detail h4 {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0;
}

.contact-map {
    margin-top: 8px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    position: relative;
    margin-bottom: 16px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: white;
    transition: var(--transition);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(178, 68, 162, 0.1);
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
}

.footer-top {
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.015) 40px,
        rgba(255,255,255,0.015) 80px
    );
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.footer-logo .school-name {
    color: white;
}

.footer-logo .school-type {
    color: var(--secondary);
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.7);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    font-family: var(--font-accent);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links ul li a i {
    font-size: 0.6rem;
    color: var(--secondary);
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact-item i {
    color: var(--secondary);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: var(--secondary);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--secondary-light);
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    border-radius: 10px;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .programs-grid,
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid,
    .why-us-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }
    
    .top-bar-right {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile Nav */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        padding: 12px 16px;
        width: 100%;
    }
    
    .nav-btn {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 16px;
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero {
        height: auto;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .slider-prev { left: 12px; }
    .slider-next { right: 12px; }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .programs-grid,
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .ticker-date {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .secondary-image {
        display: none;
    }
    
    .about-badge {
        top: auto;
        bottom: -10px;
        right: 10px;
    }
    
    .badge-content {
        width: 90px;
        height: 90px;
    }
    
    .badge-number {
        font-size: 1.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide.active .hero-content {
    animation: fadeInUp 0.8s ease forwards;
}
