/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a1f5c;
    --secondary: #f5a623;
    --accent: #1a3a8f;
    --light-bg: #f0f4ff;
    --text-dark: #1a1a2e;
    --text-muted: #555;
    --white: #ffffff;
    --card-shadow: 0 6px 24px rgba(10, 31, 92, 0.12);
    --border-radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== NAVBAR ===== */
.navbar {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.nav-logo .logo-icon {
    width: 46px;
    height: 46px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: var(--primary);
}

.nav-logo .brand-name {
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.nav-logo .brand-sub {
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 6px;
}

.nav-links a {
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 6px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== HERO / BANNER ===== */
.hero {
    width: 100%;
    min-height: 92vh;
    background: linear-gradient(135deg, #0a1f5c 0%, #1a3a8f 40%, #0d2d7a 70%, #061240 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 60px 24px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(245, 166, 35, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(100, 149, 237, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(245, 166, 35, 0.08) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float-up linear infinite;
    opacity: 0.15;
    background: var(--secondary);
}

.particle:nth-child(1)  { width: 6px;  height: 6px;  left: 8%;   animation-duration: 12s; animation-delay: 0s;   }
.particle:nth-child(2)  { width: 4px;  height: 4px;  left: 20%;  animation-duration: 16s; animation-delay: 2s;   }
.particle:nth-child(3)  { width: 8px;  height: 8px;  left: 35%;  animation-duration: 14s; animation-delay: 4s;   }
.particle:nth-child(4)  { width: 5px;  height: 5px;  left: 50%;  animation-duration: 18s; animation-delay: 1s;   }
.particle:nth-child(5)  { width: 7px;  height: 7px;  left: 65%;  animation-duration: 13s; animation-delay: 3s;   }
.particle:nth-child(6)  { width: 4px;  height: 4px;  left: 80%;  animation-duration: 15s; animation-delay: 5s;   }
.particle:nth-child(7)  { width: 6px;  height: 6px;  left: 92%;  animation-duration: 17s; animation-delay: 2.5s; }
.particle:nth-child(8)  { width: 3px;  height: 3px;  left: 14%;  animation-duration: 20s; animation-delay: 1.5s; background: #a0c4ff; }
.particle:nth-child(9)  { width: 5px;  height: 5px;  left: 73%;  animation-duration: 11s; animation-delay: 4.5s; background: #a0c4ff; }
.particle:nth-child(10) { width: 4px;  height: 4px;  left: 44%;  animation-duration: 19s; animation-delay: 0.5s; background: #a0c4ff; }

@keyframes float-up {
    0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0;    }
    10%  { opacity: 0.2; }
    90%  { opacity: 0.15; }
    100% { transform: translateY(-120px) rotate(360deg); opacity: 0;   }
}

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

.hero-badge {
    display: inline-block;
    background: rgba(245,166,35,0.18);
    border: 1px solid rgba(245,166,35,0.4);
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hero h1 span {
    color: var(--secondary);
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.75);
    margin-bottom: 28px;
    font-style: italic;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 580px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

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

.hero-stat .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.hero-stat .lbl {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.hero-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    align-self: center;
}

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

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 34px;
    border-radius: 50px;
    border: 2px solid var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background: transparent;
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,166,35,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 34px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.3);
    margin: 8px auto 0;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-8px); }
}

/* ===== SUBJECTS STRIP ===== */
.subjects-strip {
    background: var(--secondary);
    padding: 16px 0;
    overflow: hidden;
}

.strip-inner {
    display: flex;
    gap: 50px;
    animation: scroll-strip 18s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.strip-item {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.strip-item::after {
    content: '◆';
    font-size: 0.6rem;
}

@keyframes scroll-strip {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== SECTION COMMON ===== */
section {
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-block;
    background: rgba(10, 31, 92, 0.08);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    border: 1px solid rgba(10, 31, 92, 0.15);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-title span {
    color: var(--secondary);
}

.section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 16px auto 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== WHY CHOOSE US ===== */
.why-section {
    background: var(--light-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.why-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10, 31, 92, 0.18);
    border-top-color: var(--secondary);
}

.why-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    display: block;
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

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

/* ===== COURSES PREVIEW (Home) ===== */
.courses-preview {
    background: var(--white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.course-card {
    background: var(--white);
    border: 2px solid #e8edf8;
    border-radius: var(--border-radius);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--course-color, var(--primary));
}

.course-card:hover {
    border-color: transparent;
    box-shadow: var(--card-shadow);
    transform: translateY(-4px);
}

.course-card:nth-child(1) { --course-color: #3f51b5; }
.course-card:nth-child(2) { --course-color: #2e7d32; }
.course-card:nth-child(3) { --course-color: #1565c0; }
.course-card:nth-child(4) { --course-color: #6a1b9a; }

.course-icon {
    font-size: 3rem;
    margin-bottom: 18px;
    display: block;
}

.course-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.course-card .course-range {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(245,166,35,0.1);
    padding: 4px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}

.course-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    text-align: center;
    padding: 80px 24px;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
}

.cta-section p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 36px;
}

.cta-info {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-info-item {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== FOOTER ===== */
footer {
    background: #060e2a;
    color: rgba(255,255,255,0.7);
    padding: 56px 24px 28px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 28px;
}

.footer-brand .brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}

.footer-brand .brand-sub {
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.75;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.83rem;
}

.footer-bottom span {
    color: var(--secondary);
}

/* ===== ABOUT PAGE ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 80px 24px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(245,166,35,0.08);
    border-radius: 50%;
    top: -100px; right: -80px;
}

.page-hero::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    bottom: -80px; left: -60px;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-hero h1 span {
    color: var(--secondary);
}

.page-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.55);
    position: relative;
    z-index: 1;
}

.breadcrumb a { color: var(--secondary); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* About Mission */
.about-mission {
    background: var(--white);
}

.about-mission-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-text-col h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    line-height: 1.25;
}

.about-text-col h2 span {
    color: var(--secondary);
}

.about-text-col p {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.highlight-box {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid var(--secondary);
}

.highlight-box .num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
}

.highlight-box .lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.about-visual {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    padding: 48px 36px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(10,31,92,0.3);
    position: relative;
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(245,166,35,0.1);
    border-radius: 50%;
    top: -60px; right: -60px;
}

.about-visual .est-year {
    font-size: 5rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.about-visual .est-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.about-visual .tagline {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.about-visual .sub {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    position: relative;
    z-index: 1;
}

/* Faculty */
.faculty-section {
    background: var(--light-bg);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.faculty-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(10,31,92,0.18);
}

.faculty-card.director {
    border: 2px solid var(--secondary);
}

.faculty-avatar {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 36px 24px 28px;
    position: relative;
}

.faculty-card.director .faculty-avatar {
    background: linear-gradient(135deg, #f5a623, #e08a00);
}

.avatar-circle {
    width: 88px;
    height: 88px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--white);
    border: 3px solid rgba(255,255,255,0.35);
    font-family: Georgia, serif;
}

.faculty-card.director .avatar-circle {
    background: rgba(255,255,255,0.3);
}

.director-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--white);
    color: #b8760a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
}

.faculty-info {
    padding: 24px 22px 28px;
}

.faculty-info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.faculty-deg {
    font-size: 0.83rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 12px;
}

.faculty-subject {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-bg);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.faculty-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== COURSES PAGE ===== */
.courses-intro {
    background: var(--white);
}

.subject-section {
    padding: 72px 24px;
}

.subject-section:nth-child(odd) {
    background: var(--light-bg);
}

.subject-section:nth-child(even) {
    background: var(--white);
}

.subject-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 56px;
    align-items: start;
}

.subject-left {
    position: sticky;
    top: 90px;
}

.subject-icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.subject-left h2 {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
}

.subject-left .sub-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(245,166,35,0.12);
    padding: 4px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.subject-left p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}

.class-box {
    background: var(--white);
    border: 2px solid #e0e7f5;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
    transition: all 0.25s ease;
    cursor: default;
}

.class-box:hover {
    border-color: var(--secondary);
    background: rgba(245,166,35,0.04);
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(245,166,35,0.2);
}

.class-box .class-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.class-box .class-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    font-weight: 600;
}

.subject-topics {
    margin-top: 28px;
}

.subject-topics h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-tag {
    background: var(--light-bg);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid #d0daee;
}

/* ===== GALLERY PAGE ===== */
.gallery-intro {
    background: var(--white);
    text-align: center;
    padding: 60px 24px;
}

.google-gallery-section {
    background: var(--light-bg);
    padding: 60px 24px;
    text-align: center;
}

.google-gallery-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 52px 40px;
    box-shadow: var(--card-shadow);
    border: 2px dashed #c8d5ef;
}

.google-gallery-card .gallery-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.google-gallery-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.google-gallery-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    line-height: 1.75;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-google:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(10,31,92,0.3);
    color: var(--white);
}

.gallery-note {
    margin-top: 20px;
    font-size: 0.82rem;
    color: #aaa;
}

/* Gallery grid placeholder cards */
.gallery-placeholder {
    padding: 60px 24px;
    background: var(--white);
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 36px rgba(10,31,92,0.25);
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,31,92,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

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

.gallery-item-overlay span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Placeholder gallery items */
.gallery-placeholder-item {
    border-radius: 12px;
    aspect-ratio: 4/3;
    background: var(--light-bg);
    border: 2px dashed #c8d5ef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #9eaacc;
    font-size: 0.85rem;
    font-weight: 600;
}

.gallery-placeholder-item .ph-icon {
    font-size: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-mission-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .subject-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .subject-left {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .navbar { position: relative; }

    .hero-stats { gap: 24px; }
    .hero-divider { display: none; }

    .about-highlights { grid-template-columns: 1fr 1fr; }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    section { padding: 56px 16px; }
    .hero { min-height: 100svh; }
    .about-highlights { grid-template-columns: 1fr 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
    .google-gallery-card { padding: 36px 24px; }
}
