
:root {
    /* Brand Colors */
    --primary-color: #0F4C81; /* Royal Blue - Trust & Professionalism */
    --primary-light: #3272a8;
    --primary-dark: #0a355c;
    
    --secondary-color: #F59E0B; /* Warm Yellow - Energy & Joy */
    --secondary-light: #fbbf24;
    --secondary-dark: #d97706;
    
    --accent-color: #10B981; /* Growth Green */
    --accent-soft: #d1fae5;

    --brand-red: #DC2626; /* School Red */
    --brand-red-light: #FCA5A5;
    --brand-red-dark: #B91C1C;
    
    --warm-neutral: #FFFBEB; /* Soft Cream Background */
    
    /* Text Colors */
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    
    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-warm: #FFFBEB;
    --bg-gradient: linear-gradient(135deg, #FFFBEB 0%, #FFFFFF 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.025);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
    --shadow-hover: 0 20px 40px -5px rgba(15, 76, 129, 0.15);
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

/* --- Layout Utilities --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

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

.text-center { text-align: center; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

/* Decorative underline for headings */
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0.5rem auto 0;
    border-radius: var(--radius-full);
}

h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    font-size: 1.05rem;
}

.subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 76, 129, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

.btn-white {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

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

.top-info {
    display: flex;
    gap: 1.5rem;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-socials a {
    margin-left: 1rem;
    opacity: 0.8;
}

.top-socials a:hover {
    opacity: 1;
}

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

/* --- Navbar --- */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary-color);
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: none;
}

.nav-links li {
    display: inline-block;
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

@media (min-width: 992px) {
    .nav-links { display: flex; align-items: center; }
    .mobile-menu-btn { display: none; }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: url('assets/hero-background.webp') no-repeat center center/cover;
    margin-top: -80px; /* Offset for fixed header if needed, but we use sticky now */
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 76, 129, 0.9), rgba(15, 76, 129, 0.6), rgba(15, 76, 129, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    color: #E5E7EB;
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Shape Divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: var(--bg-warm);
}

/* --- About Preview --- */
.about-preview {
    background-color: var(--bg-warm);
}

.about-text .tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #DBEAFE;
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
}

.feature-list i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-top: 0.2rem;
    background: var(--accent-soft);
    padding: 0.25rem;
    border-radius: 50%;
}

.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background-color: #FEF3C7;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
}

.about-image img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: rotate(-2deg);
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover img {
    transform: rotate(0deg) scale(1.02);
}

.experience-badge {
    position: absolute;
    bottom: 10%;
    left: 0;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* --- Features / Why Choose Us --- */
.bg-light { background-color: var(--bg-light); }

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(15, 76, 129, 0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition-base);
}

.feature-card:hover .icon-box {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

/* --- Programs --- */
.program-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.program-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

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

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.program-content p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.link-arrow:hover {
    gap: 0.75rem;
    color: var(--secondary-color);
}

/* --- Facilities --- */
.bg-pattern {
    background-color: #F8FAFC;
    background-image: radial-gradient(#E2E8F0 1px, transparent 1px);
    background-size: 20px 20px;
}

.facility-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.facility-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.facility-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card:hover .facility-img-wrapper img {
    transform: scale(1.1);
}

.facility-content {
    padding: 1.5rem;
}

/* --- Testimonials --- */
.testimonial-section {
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid rgba(255,255,255,0.5);
}

.quote-icon {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.testimonial-card p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/pattern-overlay.png'); /* Optional texture */
    opacity: 0.1;
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #BFDBFE;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
footer {
    background-color: #111827;
    color: white;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-col p {
    color: #9CA3AF;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-col i {
    color: var(--secondary-color);
    margin-top: 0.3rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    color: #6B7280;
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* --- WhatsApp Widget --- */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.whatsapp-chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background-color: #075E54;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #075E54;
}

.chat-info h3 {
    color: white;
    font-size: 1rem;
    margin: 0;
}

.chat-info p {
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    margin: 0;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    margin-left: auto;
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-body {
    padding: 1.5rem;
    background-color: #E5DDD5;
    height: 200px;
    overflow-y: auto;
}

.message-bubble {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 0 1rem 1rem 1rem;
    font-size: 0.9rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    max-width: 85%;
}

.chat-footer {
    padding: 1rem;
    background: white;
    text-align: center;
}

.start-chat-btn {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.start-chat-btn:hover {
    background-color: #128C7E;
}

/* --- Animations --- */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Menu Overrides --- */
@media (max-width: 991px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1.5rem;
        box-shadow: var(--shadow-xl);
        border-top: 1px solid var(--bg-light);
    }

    .nav-links.active li {
        margin: 0;
        margin-bottom: 1rem;
        width: 100%;
    }

    .nav-links.active a {
        display: block;
        padding: 0.75rem;
        border-radius: var(--radius-sm);
    }
    
    .nav-links.active a:hover {
        background-color: var(--bg-light);
    }

    .nav-links.active .nav-btn {
        margin: 0;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* --- Subpage Styles --- */

/* Page Header */
.page-header {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -80px; /* Offset for sticky nav */
    padding-top: 80px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 76, 129, 0.85), rgba(15, 76, 129, 0.7));
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: #E5E7EB;
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Admissions Steps */
.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    counter-reset: step;
}

@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-item {
    text-align: center;
    position: relative;
    padding: 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Values Grid (About Page) */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(0,0,0,0.03);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: #FEF3C7;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition-base);
}

.value-card:hover .icon-circle {
    background-color: var(--secondary-color);
    color: white;
    transform: rotate(360deg);
}

/* Approach Grid (About Page) */
.approach-item {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.approach-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.approach-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Teacher Cards (About Page) */
.teacher-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-align: center;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.teacher-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}

.teacher-info {
    padding: 1.5rem;
}

.teacher-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.teacher-info p {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Admissions Requirements & Fees */
.requirements-box, .fees-box {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.fees-box {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.fee-note {
    display: flex;
    gap: 1rem;
    background: rgba(255,255,255,0.6);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    align-items: flex-start;
}

.fee-note i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.fee-note p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* --- Programs Page Styles --- */
.program-detail {
    align-items: center;
    gap: 4rem;
}

.program-info h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.program-info .tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #FEF3C7;
    color: var(--secondary-dark);
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.program-visual {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.program-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- About Page Styles --- */
.mission-vision {
    display: grid;
    gap: 2rem;
}

.mv-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.mv-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.mv-item p {
    margin-bottom: 0;
}

.image-block {
    position: relative;
}

.image-block img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Utilities for Subpages */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.max-w-600 { max-width: 600px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-white { color: white; }