/**
 * Stylesheet Utama Website Resmi MTSS PP AL IRSYAD
 * File: public_html/assets/style.css
 */

:root {
    --green-deep: #0c4424;
    --green-primary: #115630;
    --green-medium: #1d7242;
    --green-whatsapp: #2fa357;
    --gold-primary: #dfb94c;
    --gold-hover: #cfa636;
    --gold-soft: #f6ecd0;
    --text-dark: #16241c;
    --text-body: #3d4d44;
    --text-muted: #6c7a72;
    --bg-page: #f8faf8;
    --bg-white: #ffffff;
    --border-light: #e3ebe5;
    --shadow-card: 0 10px 28px rgba(12, 68, 36, 0.08);
    --shadow-hover: 0 14px 34px rgba(12, 68, 36, 0.14);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-page);
    /* Pola geometris Islami halus di latar belakang seperti gambar */
    background-image:
        radial-gradient(circle at 20px 20px, rgba(17, 86, 48, 0.035) 2px, transparent 0),
        linear-gradient(45deg, rgba(17, 86, 48, 0.02) 25%, transparent 25%, transparent 75%, rgba(17, 86, 48, 0.02) 75%),
        linear-gradient(-45deg, rgba(223, 185, 76, 0.025) 25%, transparent 25%, transparent 75%, rgba(223, 185, 76, 0.025) 75%);
    background-size: 40px 40px, 60px 60px, 60px 60px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   ORNAMEN SAMPING KIRI & KANAN (Sesuai Desain Gambar)
   ========================================================================== */
.side-ornament {
    position: fixed;
    top: 86px;
    width: 85px;
    height: 440px;
    z-index: 1;
    pointer-events: none;
}

.side-ornament-left {
    left: 0;
    background: linear-gradient(160deg, var(--green-primary) 0%, var(--green-deep) 100%);
    border-right: 5px solid var(--gold-primary);
    border-bottom-right-radius: 90px;
    clip-path: path('M 0,0 L 85,0 C 85,130 28,170 28,290 C 28,365 55,410 0,440 Z');
    box-shadow: 6px 8px 20px rgba(0, 0, 0, 0.12);
}

.side-ornament-right {
    right: 0;
    background: linear-gradient(200deg, var(--green-primary) 0%, var(--green-deep) 100%);
    border-left: 5px solid var(--gold-primary);
    border-bottom-left-radius: 90px;
    clip-path: path('M 85,0 L 0,0 C 0,130 57,170 57,290 C 57,365 30,410 85,440 Z');
    box-shadow: -6px 8px 20px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   HEADER & NAVIGASI UTAMA
   ========================================================================== */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    gap: 16px;
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

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

.brand-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.78rem;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.3px;
    padding: 8px 2px;
    position: relative;
    white-space: nowrap;
}

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

.nav-link.active {
    color: var(--green-deep);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3.5px;
    background: linear-gradient(90deg, var(--green-primary) 65%, var(--gold-primary) 65%);
    border-radius: 4px;
}

.btn-portal-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-primary);
    color: var(--bg-white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 11px 20px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(17, 86, 48, 0.22);
    white-space: nowrap;
}

.btn-portal-login:hover {
    background: var(--green-deep);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--green-deep);
    border-radius: 2px;
}

/* ==========================================================================
   HERO BANNER & KARTU LAYANAN MENGAMBANG (Sesuai Gambar Referensi)
   ========================================================================== */
.hero-wrapper {
    padding-top: 22px;
    padding-bottom: 36px;
}

.hero-banner {
    background: linear-gradient(115deg, #0b3c20 0%, #12562f 52%, #1b6d3e 100%);
    border-radius: var(--radius-lg);
    min-height: 410px;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 18px 42px rgba(12, 68, 36, 0.18);
    padding-bottom: 48px;
}

.hero-content {
    padding: 48px 24px 48px 54px;
    color: var(--bg-white);
    z-index: 2;
}

.hero-heading {
    font-size: clamp(1.65rem, 2.7vw, 2.3rem);
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-subtext {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    line-height: 1.55;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-cta-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-primary);
    color: #1a241d;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

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

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    border: 1.5px solid rgba(255, 255, 255, 0.78);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
}

.btn-cta-outline:hover {
    background: var(--bg-white);
    color: var(--green-deep);
}

.hero-visual {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-right: 20px;
}

.hero-image {
    width: 100%;
    max-width: 540px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* 4 Kartu Layanan Cepat Mengambang */
.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 980px;
    margin: -58px auto 0;
    position: relative;
    z-index: 5;
    padding: 0 16px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 26px 18px 22px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(17, 86, 48, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-primary);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ==========================================================================
   BERITA TERKINI & ACARA
   ========================================================================== */
.news-section {
    padding: 28px 0 54px;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 980px;
    margin: 0 auto 20px;
}

.section-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.link-see-all {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--green-primary);
}

.link-see-all:hover {
    color: var(--gold-hover);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.news-thumb-wrap {
    position: relative;
    padding: 12px 12px 0;
}

.news-thumb {
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 8px;
}

.news-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    background: var(--green-primary);
    color: var(--bg-white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.news-body {
    padding: 14px 16px 20px;
}

.news-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-excerpt {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--green-medium);
}

/* ==========================================================================
   SEKILAS PROFIL & HALAMAN DALAM
   ========================================================================== */
.highlight-section {
    padding: 10px 0 64px;
}

.highlight-banner {
    max-width: 980px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 38px 42px;
    box-shadow: var(--shadow-card);
    border-left: 6px solid var(--green-primary);
}

.badge-pill {
    display: inline-block;
    background: var(--gold-soft);
    color: var(--green-deep);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.highlight-text h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 24px 0;
}

.stat-box {
    background: var(--bg-page);
    padding: 14px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.stat-box strong {
    display: block;
    font-size: 1.3rem;
    color: var(--green-primary);
}

.stat-box span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.highlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green-primary);
    color: var(--bg-white);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
}

.btn-primary-green:hover {
    background: var(--green-deep);
}

.btn-outline-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--green-primary);
    border: 1.5px solid var(--green-primary);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 11px 24px;
    border-radius: var(--radius-pill);
}

.btn-outline-green:hover {
    background: var(--green-primary);
    color: var(--bg-white);
}

.btn-block {
    width: 100%;
}

/* Page Banner untuk Halaman Menu */
.page-banner {
    background: linear-gradient(120deg, var(--green-deep) 0%, var(--green-primary) 100%);
    color: var(--bg-white);
    padding: 46px 0;
    text-align: center;
    margin-bottom: 36px;
}

.page-kicker {
    display: inline-block;
    background: rgba(223, 185, 76, 0.22);
    color: var(--gold-primary);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
    letter-spacing: 0.8px;
}

.page-banner h1 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.96rem;
}

.page-content {
    padding-bottom: 64px;
}

.content-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.card-panel {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--green-deep);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-soft);
}

.card-panel p {
    margin-bottom: 14px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.info-table th,
.info-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    font-size: 0.9rem;
}

.info-table th {
    width: 36%;
    color: var(--green-deep);
    font-weight: 700;
    background: var(--bg-page);
}

.vision-box {
    background: var(--gold-soft);
    border-left: 4px solid var(--gold-primary);
    padding: 18px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.vision-box h3 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--green-deep);
    margin-bottom: 6px;
}

.sub-heading {
    font-size: 1rem;
    font-weight: 800;
    color: var(--green-deep);
    margin-bottom: 10px;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.92rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green-primary);
    font-weight: 800;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 12px;
}

.facility-item {
    background: var(--bg-page);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.facility-item h4 {
    color: var(--green-deep);
    font-size: 0.96rem;
    margin-bottom: 6px;
}

.facility-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Guru & Tendik Cards */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    justify-content: center;
}

.filter-tab {
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-body);
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--green-primary);
    color: var(--bg-white);
    border-color: var(--green-primary);
}

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

.teacher-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px 18px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

.teacher-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.teacher-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--bg-page);
    color: var(--green-primary);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 8px;
}

.teacher-name {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.teacher-role {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--gold-hover);
    margin-bottom: 12px;
}

.teacher-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Galeri */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}

.gallery-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

.gallery-img-wrap img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.gallery-caption {
    padding: 14px;
}

.gallery-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--green-primary);
    text-transform: uppercase;
}

.gallery-caption h4 {
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-top: 4px;
}

/* Formulir Pendaftaran & Kontak */
.form-madrasah {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1px solid #cbd8cf;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--bg-page);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(17, 86, 48, 0.12);
}

.password-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrap input {
    width: 100%;
    padding-right: 112px;
}

.btn-toggle-password {
    position: absolute;
    right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(17, 86, 48, 0.08);
    color: var(--green-primary);
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-toggle-password:hover {
    background: var(--green-primary);
    color: var(--bg-white);
}

.alert-box {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.92rem;
}

.alert-success {
    background: #e6f6ec;
    border: 1px solid #86d4a3;
    color: #0d4b26;
}

.alert-error {
    background: #fdecec;
    border: 1px solid #f5a3a3;
    color: #7d1a1a;
}

/* Halaman Portal Login */
.login-section {
    padding: 56px 0 72px;
}

.login-card {
    max-width: 460px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border-top: 5px solid var(--green-primary);
}

.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-logo {
    width: 68px;
    height: 68px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.login-header h1 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--green-deep);
}

.login-header p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.login-footer-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Dashboard */
.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-white);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.status-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    margin-left: 8px;
}

.status-online {
    background: #e6f6ec;
    color: #0d5e2e;
}

.status-offline {
    background: var(--gold-soft);
    color: #705300;
}

.table-responsive {
    overflow-x: auto;
}

.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ==========================================================================
   TOMBOL FLOATING WHATSAPP "Hubungi Kami" (Sesuai Pojok Kanan Bawah Gambar)
   ========================================================================== */
.floating-contact-btn {
    position: fixed;
    right: 24px;
    bottom: 22px;
    z-index: 99;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--green-whatsapp);
    color: var(--bg-white);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 24px rgba(47, 163, 87, 0.36);
}

.floating-contact-btn:hover {
    background: var(--green-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--green-deep);
    color: rgba(255, 255, 255, 0.86);
    padding-top: 52px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: var(--bg-white);
    border-radius: 50%;
    padding: 4px;
}

.footer-brand h3 {
    color: var(--bg-white);
    font-size: 1.05rem;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--gold-primary);
}

.footer-desc {
    font-size: 0.86rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.footer-col h4 {
    color: var(--gold-primary);
    font-size: 0.96rem;
    margin-bottom: 14px;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .side-ornament {
        display: none;
    }
    .hero-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        padding: 36px 24px 16px;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .quick-services-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -32px;
    }
    .news-grid,
    .teacher-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .content-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 86px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px 24px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        border-bottom: 2px solid var(--green-primary);
    }
    .main-nav.nav-open {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .form-row-2,
    .news-grid,
    .quick-services-grid,
    .teacher-grid,
    .gallery-grid,
    .footer-grid,
    .facility-grid {
        grid-template-columns: 1fr;
    }
}
