/* -------------------------------------------------------------
   SILVER CROWN HIGH SCHOOL - PREMIUM STYLESHEET
   ------------------------------------------------------------- */

/* 1. DESIGN TOKENS & RESET */
:root {
    --color-navy: #0B1F3A;
    --color-navy-light: #162E4E;
    --color-royal: #1D4ED8;
    --color-royal-hover: #1E40AF;
    --color-sky: #EAF4FF;
    --color-gold: #F4B400;
    --color-gold-hover: #D69E00;
    --color-white: #FFFFFF;
    --color-gray-light: #F7F9FC;
    --color-gray-border: #E5E7EB;
    --color-text-dark: #1F2937;
    --color-text-muted: #4B5563;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(11, 31, 58, 0.05);
    --shadow-md: 0 10px 20px rgba(11, 31, 58, 0.06);
    --shadow-lg: 0 20px 40px rgba(11, 31, 58, 0.1);
    --shadow-premium: 0 25px 60px -15px rgba(11, 31, 58, 0.12);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

/* 2. COMMON UTILITIES & CONTAINERS */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.mobile-only {
    display: none !important;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-royal);
    background-color: var(--color-sky);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-title {
    font-size: 2.25rem;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-royal);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-royal-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

section {
    padding: 96px 0;
}

/* 3. SCROLL REVEAL ANIMATIONS */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 4. TOP CONTACT BAR */
.top-contact-bar {
    background-color: var(--color-navy);
    color: var(--color-sky);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(234, 244, 255, 0.1);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-info, .top-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-icon {
    color: var(--color-gold);
}

.top-info-item a:hover {
    color: var(--color-gold);
}

.admissions-badge {
    background-color: var(--color-gold);
    color: var(--color-navy);
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.top-whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-white);
    background-color: #25D366;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
}

.top-whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-1px);
}

/* 5. STICKY NAVBAR */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--color-gray-border);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: 6px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .nav-container {
    height: 70px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.school-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-navy);
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.school-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-royal);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-navy);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-royal);
    transition: var(--transition-fast);
    border-radius: 4px;
}

.nav-link:hover {
    color: var(--color-royal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-royal);
    font-weight: 600;
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta-btn {
    background-color: var(--color-royal);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    background-color: var(--color-royal-hover);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: var(--color-navy);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

/* Hamburger mobile animations */
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 6. HERO SECTION */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 140px 0 100px 0;
    display: flex;
    align-items: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 31, 58, 0.88), rgba(11, 31, 58, 0.72));
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.25rem;
    color: var(--color-white);
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-sky);
    margin-bottom: 40px;
    max-width: 680px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hero-badge-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-smooth);
}

.hero-badge-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: rgba(244, 180, 0, 0.4);
}

.badge-icon-wrap {
    color: var(--color-gold);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: rgba(244, 180, 0, 0.1);
}

.badge-info h3 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 8px;
    font-weight: 600;
}

.badge-info p {
    font-size: 0.85rem;
    color: rgba(234, 244, 255, 0.7);
    line-height: 1.5;
}

/* Floating Animations */
.floating-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-item {
    position: absolute;
    opacity: 0.15;
    color: var(--color-white);
}

.float-book {
    top: 15%;
    right: 15%;
    animation: floatVertical 6s ease-in-out infinite alternate;
}

.float-pencil {
    top: 50%;
    right: 8%;
    animation: floatRotate 8s linear infinite;
}

.float-star {
    top: 30%;
    left: 45%;
    animation: floatDiagonal 10s ease-in-out infinite alternate;
}

.float-trophy {
    bottom: 25%;
    left: 8%;
    animation: floatVertical 7s ease-in-out infinite alternate-reverse;
}

.float-badge {
    bottom: 40%;
    right: 40%;
    animation: floatDiagonal 9s ease-in-out infinite alternate-reverse;
}

@keyframes floatVertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-25px); }
}

@keyframes floatDiagonal {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, -20px); }
}

@keyframes floatRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 7. ABOUT SECTION */
.about-section {
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.about-text-column .section-title {
    margin-bottom: 24px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-value-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-card {
    display: flex;
    gap: 20px;
}

.value-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-sky);
    color: var(--color-royal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.value-text h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.value-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.about-image-column {
    display: flex;
    justify-content: center;
}

.about-image-frame {
    position: relative;
    width: 100%;
    max-width: 460px;
}

.about-image-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-gold);
    border-radius: 16px;
    z-index: 1;
}

.about-img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.about-image-frame:hover .about-img {
    transform: translate(-10px, -10px);
}

.img-badge {
    position: absolute;
    bottom: -15px;
    left: -20px;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
    text-align: center;
}

.badge-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1.1;
}

.badge-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* 8. WHY CHOOSE US SECTION */
.why-choose-section {
    background-color: var(--color-gray-light);
}

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

.why-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-border);
    border-radius: 12px;
    padding: 32px 24px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: transparent;
}

.why-icon-wrap {
    width: 48px;
    height: 48px;
    background-color: var(--color-sky);
    color: var(--color-royal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon-wrap {
    background-color: var(--color-royal);
    color: var(--color-white);
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* 9. ACADEMICS SECTION */
.academics-section {
    background-color: var(--color-white);
}

.academics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

.academic-card {
    background-color: var(--color-gray-light);
    border-top: 5px solid var(--color-royal);
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background-color: var(--color-white);
    border-top-color: var(--color-gold);
}

.academic-img-container {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--color-gray-border);
}

.academic-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.academic-card:nth-child(2) {
    border-top-color: var(--color-navy);
}
.academic-card:nth-child(2):hover {
    border-top-color: var(--color-royal);
}

.academic-card:nth-child(3) {
    border-top-color: var(--color-gold);
}
.academic-card:nth-child(3):hover {
    border-top-color: var(--color-navy);
}

.academic-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.academic-icon {
    color: var(--color-royal);
}

.academic-card:hover .academic-icon {
    color: var(--color-gold);
}

.academic-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

.academic-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
    flex-grow: 1;
}

.academic-highlights {
    border-top: 1px solid var(--color-gray-border);
    padding-top: 20px;
}

.academic-highlights li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.academic-highlights li::before {
    content: '✓';
    color: var(--color-royal);
    font-weight: 700;
}

.learning-approach-bar {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-radius: 12px;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.learning-approach-bar h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 600;
}

.approach-tags-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.approach-tag {
    font-size: 0.9rem;
    color: var(--color-sky);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.approach-tag .bullet {
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: 50%;
}

/* 10. FACILITIES SECTION */
.facilities-section {
    background-color: var(--color-gray-light);
}

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

.facility-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 78, 216, 0.15);
}

.facility-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-sky);
    color: var(--color-royal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.facility-card:hover .facility-icon {
    background-color: var(--color-royal);
    color: var(--color-white);
    transform: scale(1.05);
}

.facility-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.facility-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* 11. ADMISSIONS SECTION */
.admissions-section {
    background-color: var(--color-white);
}

.admissions-wrapper {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    box-shadow: var(--shadow-lg);
}

.admissions-info {
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admissions-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.admissions-title {
    color: var(--color-white);
    font-size: 2.25rem;
    margin-bottom: 24px;
    line-height: 1.25;
}

.admissions-desc {
    color: var(--color-sky);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.admissions-ctas {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-call {
    background-color: var(--color-gold);
    color: var(--color-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-call:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.admissions-steps {
    background-color: var(--color-navy-light);
    padding: 64px;
}

.admissions-steps h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 32px;
    font-weight: 600;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-card {
    display: flex;
    gap: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.step-content p {
    color: rgba(234, 244, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* 12. GALLERY SECTION */
.gallery-section {
    background-color: var(--color-white);
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.placeholder-gradient {
    display: flex;
    flex-direction: column;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.pg-1 { background: linear-gradient(135deg, #0B1F3A 0%, #1D4ED8 100%); }
.pg-2 { background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%); }
.pg-3 { background: linear-gradient(135deg, #0B1F3A 0%, #F4B400 150%); }
.pg-4 { background: linear-gradient(135deg, #1E3A8A 0%, #0D9488 100%); }
.pg-5 { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); }

.placeholder-icon {
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.gallery-item:hover .placeholder-icon {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.7);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(11, 31, 58, 0.95));
    padding: 30px 24px 20px 24px;
    z-index: 2;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

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

.gallery-overlay p {
    color: rgba(234, 244, 255, 0.8);
    font-size: 0.85rem;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

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

/* 13. ACHIEVEMENTS / VALUES SECTION */
.values-section {
    background-color: var(--color-gray-light);
}

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

.value-item-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-border);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.value-item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(244, 180, 0, 0.3);
}

.val-icon-box {
    width: 44px;
    height: 44px;
    background-color: var(--color-sky);
    color: var(--color-royal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-item-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.value-item-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* 14. TESTIMONIALS SECTION */
.testimonials-section {
    background-color: var(--color-white);
}

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

.testimonial-card {
    background-color: var(--color-gray-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--color-white);
    border-color: rgba(29, 78, 216, 0.15);
}

.rating-stars {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.parent-label {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-left: 3px solid var(--color-royal);
    padding-left: 10px;
}

/* 15. CONTACT SECTION */
.contact-section {
    background-color: var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-sky);
    color: var(--color-royal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-text h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.detail-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-actions-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-call-primary {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-call-primary:hover {
    background-color: var(--color-navy-light);
    transform: translateY(-2px);
}

.btn-whatsapp-primary {
    background-color: #25D366;
    color: var(--color-white);
}

.btn-whatsapp-primary:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.btn-directions {
    background-color: var(--color-royal);
    color: var(--color-white);
}

.btn-directions:hover {
    background-color: var(--color-royal-hover);
    transform: translateY(-2px);
}

.form-wrapper {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-border);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-wrapper > p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
}

.form-group label .required {
    color: #DC2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-gray-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-royal);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.error-msg {
    font-size: 0.8rem;
    color: #DC2626;
    display: none;
    margin-top: 4px;
}

.form-group.has-error input,
.form-group.has-error select {
    border-color: #DC2626;
}

.form-group.has-error .error-msg {
    display: block;
}

.btn-submit {
    width: 100%;
    background-color: var(--color-royal);
    color: var(--color-white);
    border-radius: 8px;
    padding: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background-color: var(--color-royal-hover);
}

/* Success toast embedded inside the card */
.form-success-toast {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-navy);
    color: var(--color-white);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    text-align: center;
}

.form-success-toast.active {
    opacity: 1;
    pointer-events: auto;
}

.toast-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.toast-content svg {
    color: #25D366;
    width: 56px;
    height: 56px;
    padding: 12px;
    background-color: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
}

.toast-content h4 {
    color: var(--color-white);
    font-size: 1.5rem;
}

.toast-content p {
    color: var(--color-sky);
    font-size: 0.95rem;
}

/* 16. FOOTER */
.site-footer {
    background-color: var(--color-navy);
    color: var(--color-sky);
    padding: 80px 0 0 0;
}

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

.footer-col h3 {
    color: var(--color-white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-white);
}

.footer-desc {
    font-size: 0.85rem;
    color: rgba(234, 244, 255, 0.7);
    line-height: 1.6;
}

.footer-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-top: 8px;
}

.footer-rating .stars {
    color: var(--color-gold);
}

.footer-rating .score {
    font-weight: 700;
    color: var(--color-white);
}

.footer-rating .count {
    color: rgba(234, 244, 255, 0.5);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(234, 244, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.85rem;
}

.footer-contacts p {
    color: rgba(234, 244, 255, 0.7);
    line-height: 1.5;
}

.footer-contacts a:hover {
    color: var(--color-gold);
}

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.85rem;
}

.footer-cta p {
    color: rgba(234, 244, 255, 0.7);
    line-height: 1.6;
}

.btn-footer-cta {
    background-color: var(--color-royal);
    color: var(--color-white);
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
}

.btn-footer-cta:hover {
    background-color: var(--color-royal-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(234, 244, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(234, 244, 255, 0.5);
}

/* Back to top button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-royal);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top-btn:hover {
    background-color: var(--color-royal-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.back-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

/* 17. MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
    section {
        padding: 72px 0;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .academics-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admissions-wrapper {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile nav overlay styles */
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--color-gray-border);
        z-index: 1000;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: inline-flex !important;
        margin-top: 16px;
    }
    
    .top-contact-bar {
        font-size: 0.8rem;
    }
    
    .top-bar-container {
        justify-content: center;
        gap: 8px 16px;
    }
    
    .hero-section {
        min-height: auto;
        padding: 100px 0 64px 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-badges-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .about-image-frame::before {
        display: none;
    }
    
    .about-image-frame {
        max-width: 100%;
    }
    
    .img-badge {
        left: 20px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-actions-wrap {
        flex-direction: column;
    }
    
    .contact-btn {
        justify-content: center;
        width: 100%;
    }
    
    .form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
