/* ============================================================
   Savannah International Academy (SIA) - Main Stylesheet
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #165426;
    --primary-dark: #165426;
    --primary-light: #165426;
    --secondary: #FAA349;
    --secondary-dark: #FAA349;
    --accent: #165426;
    --dark: #1a1a2e;
    --dark-2: #2d2d44;
    --light: #f8f9fa;
    --light-2: #f0f5f1;
    --text: #444;
    --text-light: #777;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 4px 24px rgba(0,0,0,0.09);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.15);
    --shadow-green: 0 8px 30px rgba(22,84,38,0.22);
    --font-heading: "Inter", Arial, Helvetica, sans-serif;
    --font-body: "Inter", Arial, Helvetica, sans-serif;
    --font-display: "Inter", Arial, Helvetica, sans-serif;
    --site-header-h: 78px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---- Global Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    font-style: normal;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}
button, input, textarea, select { font-family: inherit; }
body *:not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands) { font-style: normal; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; font-style: normal; line-height: 1.3; color: var(--dark); }
em, address, cite, dfn, var, blockquote, .logo-tagline, .footer-logo-tagline { font-style: normal; }
i:not([class*="fa"]) { font-style: normal; }
p { margin-bottom: 1rem; }

/* ---- Preloader ---- */
#preloader {
    position: fixed; inset: 0; background: var(--white);
    display: flex; align-items: center; justify-content: center;
    z-index: 99999; transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo img { width: 84px; height: 84px; object-fit: contain; display: block; }
.preloader-bar {
    width: 60px; height: 4px; background: var(--border);
    border-radius: 4px; margin: 16px auto 0;
    overflow: hidden; position: relative;
}
.preloader-bar::after {
    content: '';
    position: absolute; left: -60px; top: 0;
    width: 60px; height: 100%;
    background: var(--primary);
    border-radius: 4px;
    animation: preloaderSlide 1.2s ease infinite;
}
@keyframes preloaderSlide {
    0% { left: -60px; }
    100% { left: 100%; }
}

/* ---- Top Bar ---- */
.site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    z-index: 1100;
    background: #ffffff;
}
.topbar { display: none !important; }
.topbar-left a {
    color: rgba(255,255,255,0.85);
    margin-right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.topbar-left a:hover { color: var(--secondary); }
.topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.topbar-text { color: rgba(255,255,255,0.7); display: inline-flex; align-items: center; gap: 5px; }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a {
    color: rgba(255,255,255,0.7);
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 0.7rem;
    transition: var(--transition);
}
.topbar-social a:hover { background: var(--secondary); border-color: var(--secondary); color: var(--dark); }

/* ---- Navigation ---- */
.main-nav,
.main-nav.topbar-active,
.main-nav.scrolled {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    position: relative;
    top: auto !important;
    left: auto;
    right: auto;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.main-nav .nav-logo {
    display: flex; align-items: center; gap: 12px;
}
.logo-emblem {
    width: 56px; height: 56px;
    background: #ffffff;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
    box-shadow: var(--shadow-green);
    transition: var(--transition);
    overflow: hidden;
    padding: 3px;
    flex-shrink: 0;
}
.logo-emblem img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-emblem .accent { color: #ffffff; }
.logo-text-wrap .logo-name,
.main-nav.scrolled .logo-text-wrap .logo-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #165426;
    display: block;
    line-height: 1.2;
}
.logo-text-wrap .logo-tagline,
.main-nav.scrolled .logo-text-wrap .logo-tagline {
    font-size: 0.65rem;
    color: #555555;
    display: block;
    font-style: normal;
}
.main-nav.scrolled .logo-emblem { box-shadow: var(--shadow); }

/* Nav Links */
.main-nav .nav-link,
.main-nav.scrolled .nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: #165426 !important;
    padding: 8px 14px !important;
    border-radius: 8px;
    letter-spacing: 0.3px;
    position: relative;
    transition: var(--transition);
}
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 14px; right: 14px;
    height: 2px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}
.main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .nav-link:hover::after { transform: scaleX(0.55); }
.main-nav .nav-link:visited,
.main-nav.scrolled .nav-link:visited { color: #165426 !important; }
.main-nav .nav-link:visited::after { transform: scaleX(0); }
.main-nav .nav-link.active:visited::after,
.main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .nav-link:hover,
.main-nav .nav-link.active,
.main-nav.scrolled .nav-link:hover,
.main-nav.scrolled .nav-link.active { color: #FAA349 !important; }
.main-nav.scrolled .nav-link::after { background: #FAA349; }

/* Apply Button */
.btn-apply {
    background: var(--secondary);
    color: var(--dark) !important;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 10px 22px !important;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(250,163,73,0.4);
    letter-spacing: 0.3px;
    transition: var(--transition);
}
.btn-apply::after { display: none; }
.btn-apply:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250,163,73,0.5);
}

/* Dropdown — hover on desktop, click on mobile */
.dropdown-menu.mega-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(22,84,38,0.16);
    padding: 10px;
    min-width: 260px;
    margin-top: 10px;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid #e5e5e5;
}
@media (min-width: 992px) {
    .main-nav .nav-item.dropdown { position: relative; }
    .main-nav .nav-item.dropdown > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        pointer-events: none;
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
        margin-top: 0;
        top: 100%;
    }
    .main-nav .nav-item.dropdown:hover > .dropdown-menu,
    .main-nav .nav-item.dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-menu .dropdown-item {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--dark);
    padding: 10px 14px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}
.dropdown-menu .dropdown-item:hover {
    background: var(--light-2);
    color: var(--primary);
    padding-left: 18px;
}
.dropdown-menu .dropdown-item.active {
    background: rgba(22,84,38,0.08);
    color: var(--primary);
    font-weight: 700;
}

/* Hamburger */
.navbar-toggler { border: none; outline: none; padding: 8px; }
.toggler-icon { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.toggler-icon span,
.main-nav.scrolled .toggler-icon span {
    display: block; height: 2px; background: #165426;
    border-radius: 2px; transition: var(--transition);
}

/* ---- Hero carousel ---- */
.hero-carousel {
    position: relative;
    z-index: 1;
    isolation: isolate;
    margin-top: 0;
    width: 100%;
    height: min(56.25vw, 640px);
    min-height: 220px;
    background: #165426;
    overflow: hidden;
    clear: both;
}
.hero-slider-wrap { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: rgba(255,255,255,0.92);
    box-shadow: none;
    text-shadow: 0 1px 8px rgba(0,0,0,0.55);
    cursor: pointer;
}
.hero-arrow:hover {
    background: rgba(255,255,255,0.16);
    color: #ffffff;
}
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-dots {
    position: absolute;
    left: 0; right: 0; bottom: 18px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.hero-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
}
.hero-dot.active { background: #FAA349; }

.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #165426;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
    transform: scale(1.05);
    animation: heroPan 20s ease-in-out infinite alternate;
}
@keyframes heroPan {
    from { transform: scale(1.05) translate(0, 0); }
    to { transform: scale(1.05) translate(-2%, -2%); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: rgba(22,84,38,0.78);
}
.hero-slide::after { content: none; }
.hero-content,
.hero-badge,
.hero-stats,
.hero-scroll-indicator,
.hero-overlay,
.hero-bg {
    display: none !important;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    color: #ffffff;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FAA349;
    border: 1px solid #FAA349;
    color: #165426;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease 0.3s both;
}
.hero-badge i { font-size: 0.7rem; }
.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-title .highlight { color: #FAA349; }
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 580px;
    margin-bottom: 36px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.7s both;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.9s both;
}
.btn-hero-primary {
    background: #FAA349;
    color: #165426;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.92rem;
    border: none;
    box-shadow: 0 6px 25px rgba(250,163,73,0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-primary:hover {
    background: #FAA349;
    color: #165426;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(250,163,73,0.5);
}
.btn-hero-outline {
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 0.92rem;
    border: 2px solid #ffffff;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-3px);
}
.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
    animation: fadeInUp 0.8s ease 1.1s both;
}
.hero-stat-item { text-align: center; }
.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FAA349;
    display: block;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center;
    gap: 8px;
    animation: bounce 2s ease infinite;
}
.hero-scroll-indicator span { font-size: 0.65rem; color: rgba(255,255,255,0.6); letter-spacing: 2px; text-transform: uppercase; }
.scroll-dot {
    width: 28px; height: 44px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 14px;
    position: relative;
}
.scroll-dot::after {
    content: '';
    width: 6px; height: 6px;
    background: #FAA349;
    border-radius: 50%;
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 24px; opacity: 0; }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ---- Section Styles ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #165426;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-tag::before, .section-tag::after {
    content: '';
    display: inline-block;
    width: 30px; height: 2px;
    background: #FAA349;
    border-radius: 2px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #165426;
    margin-bottom: 16px;
    position: relative;
}
.section-desc {
    font-size: 1rem;
    color: #999999;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Buttons */
.btn-primary-custom {
    background: #165426;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-green);
}
.btn-primary-custom:hover {
    background: #165426;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(22,84,38,0.3);
}
.btn-outline-custom {
    border: 2px solid #165426;
    color: #165426;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background: #165426;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}
.btn-secondary-custom {
    background: #FAA349;
    color: #165426;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-secondary-custom:hover {
    background: #FAA349;
    color: #165426;
    transform: translateY(-2px);
}

/* ---- About Section (Home) ---- */
.about-home { position: relative; z-index: 2; padding: 100px 0; background: #ffffff; clear: both; }
.contact-info-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(22,84,38,0.06);
}
.contact-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #165426;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
}
.contact-info-card h3 {
    font-size: 1.02rem;
    margin-bottom: 6px;
}
.contact-info-card p,
.contact-info-card li {
    margin: 0;
    line-height: 1.7;
}
.contact-info-card p {
    font-size: 0.84rem;
}
.contact-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.about-image-wrap { position: relative; min-height: 320px; }
.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 480px;
}
.about-image-main img { width: 100%; height: 100%; object-fit: cover; }
.about-image-accent {
    position: absolute;
    bottom: -30px; right: -30px;
    width: 200px; height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: var(--shadow-lg);
}
.about-image-accent img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-float {
    position: absolute;
    top: 30px; right: -20px;
    background: #FAA349;
    color: #165426;
    padding: 16px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 30px rgba(250,163,73,0.3);
}
.about-badge-float .badge-number {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}
.about-badge-float .badge-text {
    font-size: 0.72rem;
    font-weight: 700;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about-content { padding-left: 2rem; }
.about-content .section-tag { justify-content: flex-start; text-align: left; }
.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.about-feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.about-feature-item:hover { background: #f7f7f7; }
.about-feature-icon {
    width: 46px; height: 46px;
    background: #f7f7f7;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #165426;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.about-feature-item:hover .about-feature-icon {
    background: #165426;
    color: #ffffff;
}
.about-feature-title { font-size: 0.9rem; font-weight: 700; color: #165426; margin-bottom: 3px; }
.about-feature-desc { font-size: 0.82rem; color: #999999; margin: 0; }

/* ---- Stats / Counter Section ---- */
.stats-section {
    background: #165426;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute; inset: 0;
    background: #165426;
}
.stat-card {
    text-align: center;
    color: #ffffff;
    padding: 16px;
    position: relative;
}
.stat-card::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: 0;
    background: rgba(255,255,255,0.2);
}
.stat-icon {
    font-size: 2.2rem;
    color: #FAA349;
    margin-bottom: 12px;
    display: block;
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.stat-number .suffix { font-size: 1.8rem; }
.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    font-weight: 600;
}
.stat-divider {
    height: 60px; width: 1px;
    background: rgba(255,255,255,0.15);
    margin: auto;
}

/* ---- Academics Section ---- */
.academics-section { padding: 100px 0; background: #f7f7f7; }
.academic-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
}
.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.academic-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.academic-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.academic-card:hover .academic-card-img img { transform: scale(1.08); }
.academic-card-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: #FAA349;
    color: #165426;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}
.academic-card-body { padding: 24px; }
.academic-icon {
    width: 52px; height: 52px;
    background: #f7f7f7;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #165426;
    font-size: 1.3rem;
    margin-bottom: 14px;
    transition: var(--transition);
}
.academic-card:hover .academic-icon {
    background: #165426;
    color: #ffffff;
}
.academic-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.academic-card-desc { font-size: 0.84rem; color: #999999; margin-bottom: 16px; line-height: 1.7; }
.academic-card-link {
    font-size: 0.84rem;
    font-weight: 700;
    color: #165426;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.academic-card-link i { font-size: 0.7rem; transition: transform 0.3s; }
.academic-card:hover .academic-card-link { color: #165426; }
.academic-card:hover .academic-card-link i { transform: translateX(4px); }

/* ---- Principal Message ---- */
.principal-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.principal-section::before {
    content: '"';
    position: absolute;
    top: -40px; left: 40px;
    font-size: 20rem;
    color: #f7f7f7;
    font-family: var(--font-display);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}
.principal-content { position: relative; z-index: 1; }
.principal-quote {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #165426;
    line-height: 1.8;
    font-style: normal;
    margin-bottom: 28px;
    position: relative;
    padding-left: 24px;
    border-left: 4px solid #FAA349;
}
.principal-section .principal-quote {
    font-size: 1rem;
    line-height: 1.7;
}
.vp-message .principal-quote {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
}
.principal-info { display: flex; align-items: center; gap: 14px; }
.principal-img {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #165426;
}
.principal-name { font-weight: 700; font-size: 1rem; color: #165426; display: block; }
.principal-role { font-size: 0.8rem; color: #FAA349; font-weight: 600; }
.principal-image-wrap {
    position: relative;
    height: 100%;
    min-height: 500px;
}
.principal-image-bg {
    position: absolute; inset: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.principal-image-bg img { width: 100%; height: 100%; object-fit: cover; }
.principal-image-overlay {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: rgba(22,84,38,0.72);
    backdrop-filter: blur(8px);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding: 20px 24px;
}
.principal-image-caption {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---- News Section ---- */
.news-section { padding: 100px 0; background: #f7f7f7; }
.news-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.07); }
.news-card-category {
    position: absolute;
    top: 14px; left: 14px;
    background: #165426;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.news-card-body { padding: 22px; }
.news-card-date {
    font-size: 0.75rem;
    color: #999999;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}
.news-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #165426;
}
.news-card-title a:hover { color: #165426; }
.news-card-excerpt { font-size: 0.82rem; color: #999999; line-height: 1.7; margin-bottom: 14px; }
.news-read-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: #FAA349;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-read-more i { font-size: 0.7rem; transition: transform 0.3s; }
.news-card:hover .news-read-more i { transform: translateX(4px); }

/* ---- CEP Section ---- */
.cep-section {
    padding: 100px 0;
    background: #165426;
    position: relative;
    overflow: hidden;
}
.cep-section::before {
    content: '';
    position: absolute; inset: 0;
    background: #165426;
}
.cep-content { position: relative; z-index: 1; }
.cep-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}
.cep-text { color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.8; margin-bottom: 32px; }
.cep-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.cep-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}
.cep-feature i { color: #FAA349; font-size: 1rem; flex-shrink: 0; }

/* ---- Testimonials ---- */
.testimonials-section { padding: 100px 0; background: #f7f7f7; }
.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #e5e5e5;
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px; right: 20px;
    font-size: 6rem;
    color: #f7f7f7;
    font-family: var(--font-display);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-stars { color: #FAA349; font-size: 0.85rem; margin-bottom: 16px; }
.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.8;
    color: #999999;
    font-style: normal;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author-img {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: #f7f7f7;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.testimonial-author-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-author-img.placeholder {
    background: #165426;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
}
.testimonial-name { font-weight: 700; font-size: 0.92rem; color: #165426; }
.testimonial-role { font-size: 0.78rem; color: #FAA349; font-weight: 600; }

/* ---- CTA Banner ---- */
.cta-section {
    padding: 80px 0;
    background: #165426 !important;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: #165426 !important;
}
.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
}
.cta-text { color: rgba(255,255,255,0.88); font-size: 1rem; }
.btn-cta-dark,
.cta-section .btn-cta-dark {
    background: #ffffff !important;
    color: #165426 !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-cta-dark:hover {
    background: #ffffff !important;
    color: #165426 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-cta-white,
.cta-section .btn-cta-white {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-cta-white:hover { background: #ffffff !important; color: #165426 !important; border-color: #ffffff !important; transform: translateY(-3px); }

/* ---- Partners / Accreditations ---- */
.partners-section {
    padding: 60px 0;
    background: #f7f7f7;
    border-top: 1px solid #e5e5e5;
}
.partners-title {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999999;
    font-weight: 700;
    margin-bottom: 32px;
}
.partners-logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.partner-logo,
.brand-logo {
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    height: 80px;
    display: flex; align-items: center;
}
.partner-logo:hover,
.partner-logo:hover img,
.brand-logo,
.brand-logo img,
.partners-section img,
.partners-logos img {
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
}
img.brand-logo {
    display: block;
    height: auto;
    max-height: 90px;
    width: auto;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
}
.partner-placeholder {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: var(--radius);
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.82rem;
    color: #999999;
    white-space: nowrap;
}

/* ---- Page Hero Banner ---- */
.page-hero {
    margin-top: 0;
    padding: 56px 0 48px;
    background: #165426;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: #165426;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FAA349;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.page-hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}
.page-hero-desc { font-size: 1rem; color: rgba(255,255,255,0.82); max-width: 600px; line-height: 1.8; }
.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-top: 20px;
}
.breadcrumb-custom .breadcrumb-item { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.breadcrumb-custom .breadcrumb-item.active { color: #FAA349; font-weight: 600; }
.breadcrumb-custom .breadcrumb-item a { color: rgba(255,255,255,0.75); }
.breadcrumb-custom .breadcrumb-item a:hover { color: #FAA349; }
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- Inner Page Card ---- */
.content-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}
.story-card {
    background: #ffffff;
    border: 1px solid rgba(26, 26, 46, 0.06);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(26, 26, 46, 0.07);
    transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.25, 1), box-shadow 0.4s ease;
}
.story-card:hover,
.story-card[data-aos].aos-animate:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(26, 26, 46, 0.13);
}
.story-card-inner {
    background: #ffffff;
    border: 1px solid rgba(26, 26, 46, 0.05);
    border-radius: 16px;
    padding: 18px;
    height: 100%;
    box-shadow: 0 8px 22px rgba(26, 26, 46, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.story-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(26, 26, 46, 0.12);
}
.story-photo {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(26, 26, 46, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.story-photo:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(26, 26, 46, 0.14);
}
.story-photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.story-photo:hover img { transform: scale(1.05); }
.story-photo figcaption {
    padding: 12px 14px 14px;
    font-size: 0.84rem;
    color: #666666;
}
.story-person {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 12px 32px rgba(26, 26, 46, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}
.story-person:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(26, 26, 46, 0.14);
}
.story-person img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center top;
}
.story-person-body { padding: 16px 16px 20px; }
.story-person-name { font-weight: 700; margin-bottom: 4px; }
.story-person-role { font-size: 0.82rem; color: #FAA349; font-weight: 600; }

/* ---- Team Card ---- */
.team-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card-img {
    height: 260px;
    overflow: hidden;
    position: relative;
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-overlay {
    position: absolute; inset: 0;
    background: #165426;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.35s;
}
.team-card:hover .team-card-overlay { opacity: 1; }
.team-card-social { display: flex; gap: 10px; }
.team-card-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #ffffff; font-size: 0.85rem;
    transition: var(--transition);
}
.team-card-social a:hover { background: #FAA349; border-color: #FAA349; color: #165426; }
.team-card-body { padding: 20px; }
.team-card-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-card-role { font-size: 0.8rem; color: #FAA349; font-weight: 600; margin-bottom: 2px; }
.team-card-dept { font-size: 0.74rem; color: #999999; }
.team-card-bio { font-size: 0.84rem; color: #666666; margin-top: 10px; line-height: 1.6; }
.team-group { margin-bottom: 64px; }
.team-group .section-header { margin-bottom: 28px; }

.contact-faqs {
    margin-top: 48px;
    background: #ffffff;
    border: 1px solid rgba(22, 84, 38, 0.08);
    border-radius: 20px;
    padding: 36px 32px 28px;
    box-shadow: 0 16px 40px rgba(22, 84, 38, 0.08);
}
.contact-faqs-kicker {
    display: inline-block;
    background: #FAA349;
    color: #165426;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.contact-faqs h2 {
    color: #165426;
    font-size: 1.7rem;
    margin-bottom: 8px;
}
.contact-faqs-intro {
    color: #5c6b60;
    margin-bottom: 24px;
    max-width: 640px;
}
.faq-item {
    background: #ffffff;
    border: 1px solid rgba(22, 84, 38, 0.08);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(22, 84, 38, 0.06);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item:hover { box-shadow: 0 12px 28px rgba(22, 84, 38, 0.1); }
.faq-item[open] {
    border-color: #FAA349;
    box-shadow: 0 14px 32px rgba(22, 84, 38, 0.12);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 700;
    color: #165426;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #ffffff;
}
.faq-item[open] summary { background: #f6faf6; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FAA349;
    color: #165426;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    flex-shrink: 0;
}
.faq-item[open] summary::after { content: '\2212'; background: #165426; color: #ffffff; }
.faq-answer { padding: 0 22px 18px; color: #444444; line-height: 1.7; background: #f6faf6; }
@media (max-width: 767px) {
    .contact-faqs { padding: 24px 18px 16px; }
}

/* ---- Event Card ---- */
.event-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    gap: 0;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-card-date {
    background: #165426;
    color: #ffffff;
    width: 90px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    text-align: center;
}
.event-date-day { font-size: 2rem; font-weight: 900; line-height: 1; }
.event-date-month { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.8); }
.event-date-year { font-size: 0.7rem; color: rgba(255,255,255,0.6); }
.event-card-body { padding: 20px; flex: 1; }
.event-card-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.event-card-meta { font-size: 0.78rem; color: #999999; display: flex; gap: 16px; flex-wrap: wrap; }
.event-card-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ---- Contact Form ---- */
.contact-form-wrap {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}
.form-label { font-size: 0.85rem; font-weight: 600; color: #165426; margin-bottom: 6px; }
.form-control, .form-select {
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: #165426;
    background: #f7f7f7;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: #165426;
    box-shadow: 0 0 0 4px rgba(22,84,38,0.1);
    background: #ffffff;
    outline: none;
}
.form-control.is-invalid { border-color: #dc3545; }
.form-control.is-valid { border-color: #165426; }

/* ---- Map Embed ---- */
.map-section { height: 400px; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.map-section iframe { width: 100%; height: 100%; border: none; }

/* ---- Footer ---- */
.main-footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.75);
    position: relative;
}
.footer-body { padding: 56px 0 40px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-emblem {
    width: 48px; height: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
    flex-shrink: 0;
}
.footer-logo-emblem span { color: #ffffff; }
.footer-logo-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    display: block;
    line-height: 1.2;
}
.footer-logo-tagline { font-size: 0.65rem; color: rgba(255,255,255,0.45); font-style: normal; }
.footer-about { font-size: 0.84rem; line-height: 1.8; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}
.footer-widget-title {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}
.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 36px; height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}
.footer-links a i { font-size: 0.6rem; color: var(--secondary); transition: transform 0.3s; }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-links a:hover i { transform: translateX(3px); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-icon {
    width: 34px; height: 34px;
    background: rgba(22,84,38,0.25);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-item strong { color: white; font-size: 0.82rem; display: block; margin-bottom: 2px; }
.footer-contact-item p { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin: 0; line-height: 1.6; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--secondary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--secondary); }

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(22,84,38,0.35);
    cursor: pointer;
    z-index: 500;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---- Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ---- Swiper Custom ---- */
.swiper-pagination-bullet { background: var(--primary); opacity: 0.4; }
.swiper-pagination-bullet-active { background: var(--secondary); opacity: 1; }
.swiper-button-next, .swiper-button-prev {
    background: white;
    color: var(--primary) !important;
    width: 44px !important; height: 44px !important;
    border-radius: 50%;
    box-shadow: var(--shadow);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 0.85rem !important; font-weight: 900; }

/* ---- Utilities ---- */
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.bg-light-custom { background: var(--light-2) !important; }
.rounded-custom { border-radius: var(--radius) !important; }
.rounded-custom-lg { border-radius: var(--radius-lg) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .main-nav, .main-nav.topbar-active, .main-nav.scrolled { top: auto !important; background: #ffffff !important; }
    .hero-carousel { margin-top: 0; height: min(56.25vw, 420px); min-height: 200px; }
    .topbar-right { justify-content: flex-start; flex-wrap: wrap; }
    .navbar-collapse .nav-link { color: #165426 !important; }
    .main-nav.scrolled .logo-text-wrap .logo-name,
    .logo-text-wrap .logo-name { color: #165426 !important; }
    .main-nav.scrolled .logo-text-wrap .logo-tagline,
    .logo-text-wrap .logo-tagline { color: #555555 !important; }
    .navbar-collapse {
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: var(--radius);
        padding: 16px;
        margin-top: 12px;
        box-shadow: var(--shadow-lg);
    }
    .btn-apply { display: inline-flex; justify-content: center; margin-top: 8px; }
    .about-content { padding-left: 0; margin-top: 40px; }
    .about-badge-float { right: 10px; }
    .about-image-accent { right: -10px; bottom: -20px; }
    .principal-image-wrap { min-height: 340px; margin-bottom: 40px; }
}
@media (max-width: 767px) {
    .hero-title { font-size: 1.9rem; }
    .hero-stats { gap: 20px; }
    .section-header { margin-bottom: 36px; }
    .content-card { padding: 24px; }
    .contact-form-wrap { padding: 24px; }
    .event-card { flex-direction: column; }
    .event-card-date { flex-direction: row; width: 100%; gap: 10px; padding: 12px 20px; }
    .about-image-accent { display: none; }
    .stat-divider { display: none; }
}
@media (max-width: 575px) {
    .hero-actions { flex-direction: column; }
    .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
}

/* ============================================================
   Glassmorphism, motion, and mobile-first enhancements
   ============================================================ */
.announce-bar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    z-index: 3;
    background: #FAA349;
    color: #165426;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 10px 0;
}
.announce-bar p { font-size: 0.82rem; }
.announce-link {
    color: var(--primary-dark);
    font-weight: 800;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.announce-link:hover { color: var(--primary); }

.glass-card {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(22,84,38,0.08);
    transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(22,84,38,0.14);
}

.news-card, .academic-card, .team-card, .testimonial-card, .event-card, .content-card, .contact-form-wrap, .mvp-card {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.55);
}

.img-fallback {
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    background: rgba(255,255,255,0.7);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-light);
}
.empty-state i { font-size: 2.2rem; color: var(--primary); margin-bottom: 12px; display: block; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1200px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-cap {
    position: absolute; inset: auto 0 0 0;
    padding: 12px 14px;
    background: rgba(22,84,38,0.7);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-item-cap { transform: translateY(0); }

.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.filter-pills button, .filter-pills .filter-btn {
    border: 1.5px solid var(--border);
    background: rgba(255,255,255,0.7);
    color: var(--dark);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.filter-pills button.active, .filter-pills button:hover,
.filter-pills .filter-btn.active, .filter-pills .filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-logo img {
    width: 52px; height: 52px; object-fit: contain; border-radius: 10px; flex-shrink: 0;
    background: #ffffff; padding: 3px;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: var(--radius-lg);
        padding: 16px;
        margin-top: 12px;
        box-shadow: var(--shadow-lg);
        border: 1px solid #e5e5e5;
    }
    .main-nav .nav-item.dropdown > .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        display: none;
        box-shadow: none;
        background: #ffffff;
        margin: 6px 0 10px;
    }
    .main-nav .nav-item.dropdown.show > .dropdown-menu,
    .main-nav .nav-item.dropdown .dropdown-menu.show { display: block; }
    .toggler-icon span,
    .main-nav.scrolled .toggler-icon span { background: #165426; }
}

.term-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform 0.45s cubic-bezier(.22,1,.36,1), box-shadow 0.45s ease;
}
.term-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.term-card-head {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.term-event {
    display: flex;
    gap: 12px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--border);
    transition: background 0.25s ease, padding-left 0.25s ease;
}
.term-event:last-child { border-bottom: none; }
.term-event:hover {
    background: var(--light-2);
    padding-left: 10px;
    border-radius: 8px;
}
.calendar-cta {
    margin-top: 40px;
    background: var(--secondary);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.calendar-cta:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.term-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 12px;
    color: var(--primary);
    transition: gap 0.25s ease;
}
.term-pdf-link:hover { gap: 10px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

