/* Explain: Reusable components for educational institution website. */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255, 247, 237, 0.9);
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.8rem;
    text-transform: uppercase;
}

.surface-card {
    border: 1px solid rgba(254, 215, 170, 0.85);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
}

.nav-link {
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.65rem 0.85rem;
    transition: background 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: var(--surface-color);
    color: var(--primary-hover);
}

.mobile-menu-panel {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-card);
}

.hero-media-frame {
    border: 10px solid var(--white-color);
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-swiper {
    --swiper-navigation-color: #ffffff;
    --swiper-navigation-size: 1.6rem;
    --swiper-pagination-color: var(--primary-color);
}

.facilities-swiper {
    --swiper-navigation-color: var(--primary-color);
    --swiper-navigation-size: 1.15rem;
    --swiper-pagination-color: var(--primary-color);
}

.facilities-swiper .swiper-slide {
    height: auto;
}

.testimonials-swiper {
    --swiper-navigation-color: var(--primary-color);
    --swiper-pagination-color: var(--primary-color);
    padding-bottom: 2.25rem;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}

.stat-pill {
    border: 1px solid rgba(254, 215, 170, 0.95);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
    padding: 1rem;
}

.program-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.program-card:hover {
    border-color: rgba(247, 148, 29, 0.45);
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.icon-badge {
    display: grid;
    place-items: center;
    height: 3.25rem;
    width: 3.25rem;
    border-radius: 1rem;
    background: var(--surface-strong);
    color: var(--primary-hover);
}

.staff-card {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.gallery-tile {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.gallery-tile img {
    transition: transform 400ms ease;
}

.gallery-tile:hover img {
    transform: scale(1.05);
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow-card);
}

.faq-item + .faq-item {
    margin-top: 0.75rem;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    padding: 1.1rem 1.25rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] summary {
    color: var(--primary-hover);
}

.faq-icon {
    transition: transform 200ms ease;
    color: var(--primary-color);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-input {
    min-height: 3.1rem;
    border-color: rgba(254, 215, 170, 0.95);
    background: var(--white-color);
}

.contact-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(247, 148, 29, 0.14);
    outline: none;
}

.form-status {
    border-radius: 1rem;
    font-weight: 700;
    padding: 0.9rem 1rem;
}

.form-status.success {
    background: rgba(21, 128, 61, 0.1);
    color: var(--success-color);
}

.form-status.error {
    background: rgba(185, 28, 28, 0.1);
    color: var(--error-color);
}