/* ================================================================
   POBA - Palandarians' Old Boys' Association
   Main Stylesheet - poba.css
   Colors: Teal #086666 (deep), #1a7a7a, Orange #e87722, Light bg #f0f7f7
================================================================ */
:root {
    --teal:       #1a7a7a;
    --teal-dark:  #145f5f;
    --teal-deep:  #086666;
    --teal-light: #e8f5f5;
    --orange:     #e87722;
    --orange-dark:#c46010;
    --white:      #ffffff;
    --text-dark:  #2c3e50;
    --text-muted: #6c757d;
    --border:     #dee2e6;
    --bg-light:   #f8fafa;
    --shadow:     0 4px 20px rgba(26,122,122,0.10);
    --radius:     12px;
}

/* Alternating section backgrounds */
main section:not(.hero-custom):not(.page-header) {
    background: #ffffff !important;
}
main section:not(.hero-custom):not(.page-header):nth-of-type(even) {
    background: #e0eff1 !important;
}

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

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }
img { max-width: 100%; }

/* ── Utility ─────────────────────────────────────────────────── */
.text-teal   { color: var(--teal) !important; }
.text-orange { color: var(--orange) !important; }
.bg-teal     { background: var(--teal) !important; }
.bg-orange   { background: var(--orange) !important; }

.btn-teal {
    background: var(--teal); color: #fff; border: none;
    padding: 10px 28px; border-radius: 30px; cursor: pointer;
    font-size: 14px; font-weight: 600; transition: background .2s; display: inline-block;
}
.btn-teal:hover { background: var(--teal-dark); color: #fff; text-decoration: none; }
.btn-action-row { display:flex; gap:14px; justify-content:center; }
.btn-orange {
    background: var(--orange); color: #fff; border: none;
    padding: 10px 28px; border-radius: 30px; cursor: pointer;
    font-size: 14px; font-weight: 600; transition: background .2s; display: inline-block;
}
.btn-orange:hover { background: var(--orange-dark); color: #fff; text-decoration: none; }

.btn-outline-teal {
    background: transparent; color: var(--teal); border: 2px solid var(--teal);
    padding: 8px 24px; border-radius: 30px; cursor: pointer;
    font-size: 14px; font-weight: 600; display: inline-block; transition: all .2s;
}
.btn-outline-teal:hover { background: var(--teal); color: #fff; text-decoration: none; }

.btn-outline-orange {
    background: transparent; color: var(--orange); border: 2px solid var(--orange);
    padding: 8px 24px; border-radius: 30px; cursor: pointer;
    font-size: 14px; font-weight: 600; display: inline-block;
}
.btn-outline-red {
    background: transparent; color: #dc3545; border: 2px solid #dc3545;
    padding: 8px 24px; border-radius: 30px; cursor: pointer;
    font-size: 14px; font-weight: 600; display: inline-block;
}

/* Capsule variants */
.btn-teal-capsule {
    background: var(--teal-deep); color: #fff; border: none;
    padding: 12px 32px; border-radius: 30px; cursor: pointer;
    font-size: 14px; font-weight: 600; transition: background .2s;
    display: inline-block; text-decoration: none;
    box-shadow: 0 4px 10px rgba(8,102,102,0.3);
}
.btn-teal-capsule:hover { background: #054d4d; color: #fff; text-decoration: none; }

.btn-outline-orange-capsule {
    background: transparent; color: var(--orange); border: 2px solid var(--orange);
    padding: 10px 30px; border-radius: 30px; cursor: pointer;
    font-size: 14px; font-weight: 600; display: inline-block; transition: all .2s;
}
.btn-outline-orange-capsule:hover { background: var(--orange); color: #fff; text-decoration: none; }

.btn-outline-teal-view {
    background: #fff; color: var(--teal-deep); border: 2px solid var(--teal-deep);
    padding: 10px 30px; border-radius: 30px; cursor: pointer;
    font-size: 14px; font-weight: 600; display: inline-block; transition: all .2s;
}
.btn-outline-teal-view:hover { background: var(--teal-deep); color: #fff; text-decoration: none; }

/* Section Titles */
.section-title {
    font-size: 2rem; font-weight: 700; color: var(--teal);
    text-align: center; position: relative; padding-bottom: 12px; margin-bottom: 10px;
}
.section-title::after {
    content: ''; display: block; width: 130px; height: 3px;
    background: var(--orange); margin: 8px auto 0; border-radius: 2px;
}
.section-title-left {
    font-size: 2rem; font-weight: 700; color: var(--teal-deep);
    text-align: left; margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.section-title-left::after {
    content: ''; display: block; width: 130px; height: 3px;
    background: var(--orange); margin: 8px 0 0; border-radius: 2px;
}
.section-title-center {
    font-size: 2.2rem; font-weight: 700; color: var(--teal-deep);
    text-align: center; margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.section-title-center::after {
    content: ''; display: block; width: 130px; height: 3px;
    background: var(--orange); margin: 8px auto 0; border-radius: 2px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 60px 0; }

/* ── Top Banner ──────────────────────────────────────────────── */
.top-banner {
    background: var(--teal); color: #fff; text-align: center;
    font-size: 13px; padding: 6px 0; letter-spacing: 1px; font-weight: 600;
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
    position: sticky; top: 0; z-index: 1000;
}
.navbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 30px;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
}
.navbar-nav {
    display: flex; align-items: center;
    list-style: none; gap: 6px; white-space: nowrap;
}
.nav-left  { justify-content: flex-end; padding-right: 20px; }
.nav-right { justify-content: flex-start; padding-left: 20px; }

.navbar-nav a {
    color: var(--teal-deep) !important;
    font-size: 13px !important; font-weight: 600 !important;
    padding: 8px 8px !important; border-radius: 4px !important;
    white-space: nowrap !important;
    transition: color .2s !important; background: transparent !important;
}
.navbar-nav a:hover, .navbar-nav a.active {
    color: var(--orange) !important;
    text-decoration: underline !important;
    text-underline-offset: 6px !important;
    text-decoration-thickness: 2px !important;
}

/* Centered logo tab */
.navbar-logo-container {
    position: relative; z-index: 1010;
    display: flex; justify-content: center; align-items: center;
}
.navbar-brand-centered {
    background: var(--teal-deep);
    padding: 15px 12px 20px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex; align-items: center; justify-content: center;
    margin-top: -10px; height: 90px; width: 90px;
    transition: transform 0.2s;
}
.navbar-brand-centered:hover { transform: translateY(2px); }
.navbar-brand-centered img { height: 60px; width: auto; }

/* Nav CTA button */
.btn-teal-nav {
    background: var(--teal-deep) !important; color: #fff !important;
    border: none !important; padding: 6px 14px !important;
    border-radius: 20px !important; cursor: pointer;
    font-size: 12px !important; font-weight: 600 !important;
    white-space: nowrap !important; display: inline-block;
    text-decoration: none !important; transition: background .2s;
}
.btn-teal-nav:hover { background: #054d4d !important; color: #fff !important; text-decoration: none !important; }

/* Dropdown */
.navbar-nav .dropdown { position: relative; }
.navbar-nav .dropdown-menu {
    display: none; position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    background: var(--teal-deep) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 4px; min-width: 180px;
    padding: 0; z-index: 1020; overflow: hidden;
}
.navbar-nav .dropdown:hover .dropdown-menu { display: block !important; }
.navbar-nav .dropdown-menu a {
    display: block !important; padding: 12px 20px !important;
    color: #fff !important; font-size: 13px !important; font-weight: 500 !important;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 0 !important; text-align: left !important; text-decoration: none !important;
}
.navbar-nav .dropdown-menu a:last-child { border-bottom: none !important; }
.navbar-nav .dropdown-menu a:hover { background: #054d4d !important; text-decoration: none !important; }

/* Hamburger button */
.navbar-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1020;
    flex-shrink: 0;
}
.navbar-hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--teal-deep); border-radius: 2px; transition: all .3s;
}
.navbar-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-hamburger.open span:nth-child(2) { opacity: 0; }
.navbar-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-hamburger-li { display: none; }

/* ── Navbar Responsive ───────────────────────────────────────── */

/* 1199px: mild zoom */
@media (max-width: 1199px) {
    .navbar-inner { padding: 0 15px; height: 72px; }
    .navbar-nav { gap: 2px; }
    .navbar-nav a { font-size: 12px !important; padding: 6px 5px !important; }
    .btn-teal-nav { padding: 5px 10px !important; font-size: 11px !important; }
    .nav-left { padding-right: 8px; }
    .nav-right { padding-left: 8px; }
}

/* 1023px: heavier zoom, very compact but links still visible */
@media (max-width: 1023px) {
    .navbar-inner { padding: 0 8px; height: 62px; }
    .navbar-nav { gap: 0; }
    .navbar-nav a { font-size: 11px !important; padding: 5px 4px !important; letter-spacing: -0.2px; }
    .btn-teal-nav { padding: 4px 8px !important; font-size: 10px !important; }
    .nav-left { padding-right: 4px; }
    .nav-right { padding-left: 4px; }
    .navbar-brand-centered { height: 74px; width: 74px; }
    .navbar-brand-centered img { height: 48px; }
}

/* 767px and below: mobile hamburger drawer */
@media (max-width: 767px) {
    .navbar-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        height: auto !important;
        min-height: 56px !important;
        padding: 0 14px !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .navbar-logo-container { order: 1; flex-shrink: 0; margin: 6px 0; }
    .navbar-brand-centered {
        height: 52px; width: 52px; padding: 6px;
        border-radius: 8px; margin-top: 0;
    }
    .navbar-brand-centered img { height: 36px; }
    .navbar-hamburger { display: flex !important; order: 2; }
    .nav-hamburger-li { display: flex !important; order: 2; align-items: center; }
    .nav-left,
    .nav-right {
        display: none !important;
        order: 3;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 8px 0 12px !important;
        gap: 2px !important;
        white-space: normal !important;
        background: #fff !important;
        border-top: 1px solid #e8f5f5 !important;
    }
    .nav-left.open,
    .nav-right.open { display: flex !important; }
    .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 0 !important;
        white-space: normal !important;
    }
    .navbar-nav li { width: 100%; }
    .navbar-nav a {
        display: block !important;
        font-size: 14px !important;
        padding: 11px 16px !important;
        border-radius: 8px !important;
        white-space: normal !important;
        border-bottom: 1px solid #f0f7f7 !important;
        text-decoration: none !important;
    }
    .navbar-nav a:hover, .navbar-nav a.active {
        background: var(--teal-light) !important;
        text-decoration: none !important;
        color: var(--teal-deep) !important;
    }
    .btn-teal-nav {
        margin: 8px 16px 4px !important;
        padding: 10px 20px !important;
        font-size: 13px !important;
        display: block !important;
        text-align: center !important;
    }
    .navbar-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding-left: 16px !important;
        background: #f0f7f7 !important;
    }
    .navbar-nav .dropdown:hover .dropdown-menu { display: none !important; }
    .navbar-nav .dropdown.open .dropdown-menu { display: block !important; }
    .navbar-nav .dropdown-menu a {
        color: var(--teal-deep) !important;
        border-bottom: 1px solid rgba(26,122,122,0.1) !important;
        font-size: 13px !important;
    }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
    min-height: 500px;
    background: linear-gradient(rgba(26,122,122,0.7), rgba(20,95,95,0.8)), url('/images/hero-bg.jpg') center/cover;
    display: flex; align-items: center; color: #fff;
}
.hero-content { max-width: 700px; }
.hero-content h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.hero-content .tagline { color: var(--orange); font-size: 1.3rem; font-weight: 600; margin-bottom: 16px; }
.hero-content p { font-size: 1rem; margin-bottom: 28px; opacity: .9; }

/* Custom Hero (homepage) */
.hero-custom {
    min-height: 520px; display: flex; flex-direction: column;
    justify-content: center; color: #fff; padding: 100px 0 40px; position: relative;
}
.hero-content-custom { max-width: 650px; }
.hero-content-custom h1 {
    font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-content-custom .tagline {
    color: var(--orange); font-size: 1.4rem; font-weight: 700; margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.hero-content-custom .desc {
    font-size: 1.05rem; margin-bottom: 30px; opacity: .95;
    line-height: 1.6; text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 50px; width: 100%; }
.hero-dots .dot {
    width: 8px; height: 8px; background: rgba(255,255,255,0.4);
    border-radius: 50%; cursor: pointer; transition: background 0.2s;
}
.hero-dots .dot.active { background: #fff; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(26,122,122,.15); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 18px; }
.card-type { font-size: 11px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; }
.card-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin: 6px 0; line-height: 1.4; }
.card-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.card-date { font-size: 12px; color: var(--orange); font-weight: 600; margin-top: 4px; }

/* News Cards */
.card-news {
    background: #fff; border-radius: 16px;
    box-shadow: 0 4px 15px rgba(8,102,102,0.06);
    border: 1px solid #e2e8f0; overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.card-news:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(8,102,102,0.12); }
.card-news-img-container { width: 100%; height: 180px; overflow: hidden; }
.card-news-img { width: 100%; height: 100%; object-fit: cover; }
.card-news-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.card-news-type {
    font-size: 11px; font-weight: 700; color: var(--teal-deep);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
}
.card-news-title { font-size: 15px; font-weight: 700; color: var(--text-dark); line-height: 1.4; margin-bottom: 10px; }
.card-news-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.btn-teal-news-view {
    background: var(--teal-deep); color: #fff; border: none;
    padding: 10px 28px; border-radius: 30px; cursor: pointer;
    font-size: 14px; font-weight: 600; transition: background .2s;
    display: inline-block; box-shadow: 0 4px 10px rgba(8,102,102,0.25);
}
.btn-teal-news-view:hover { background: #054d4d; color: #fff; text-decoration: none; }

/* ── Alumni Cards ────────────────────────────────────────────── */
.alumni-card {
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 20px; text-align: center; transition: transform .2s;
}
.alumni-card:hover { transform: translateY(-4px); }
.alumni-card img {
    width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
    margin-bottom: 14px; border: 3px solid var(--teal-light);
}
.alumni-card h4 { color: var(--teal); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.alumni-card .position { font-size: 13px; color: var(--text-dark); font-weight: 600; margin-bottom: 4px; }
.alumni-card .desc { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.alumni-card .class-year { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }

/* Custom Alumni Card */
.alumni-card-custom {
    background: #fff; border-radius: 16px;
    box-shadow: 0 4px 15px rgba(8,102,102,0.06);
    border: 1px solid #e2e8f0; overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.alumni-card-custom:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(8,102,102,0.12); }
.alumni-img-container { width: 100%; height: 240px; overflow: hidden; }
.alumni-img-container img { width: 100%; height: 100%; object-fit: cover; }
.alumni-info-custom { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.alumni-info-custom h4 { color: var(--teal-deep); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.alumni-info-custom .position-custom { font-size: 13px; color: var(--text-dark); font-weight: 600; margin-bottom: 8px; }
.alumni-info-custom .desc-custom { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.alumni-info-custom .class-year-custom { font-size: 12px; color: var(--text-muted); font-style: italic; }
.btn-teal-alumni-details {
    background: var(--teal-deep); color: #fff; border: none;
    padding: 8px 24px; border-radius: 30px; cursor: pointer;
    font-size: 12px; font-weight: 600; transition: background .2s; display: inline-block;
}
.btn-teal-alumni-details:hover { background: #054d4d; color: #fff; text-decoration: none; }

/* ── Stats ───────────────────────────────────────────────────── */
.stats-row { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 20px; }
.stat-item { display: flex; align-items: center; gap: 12px; }
.stat-icon { width: 48px; height: 48px; }
.stat-heading { font-weight: 700; font-size: 15px; color: var(--text-dark); }
.stat-subheading { font-size: 12px; color: var(--text-muted); }

/* Custom Stats Grid */
.stats-grid-custom { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 25px; }
.stat-item-custom { display: flex; align-items: center; gap: 15px; }
.stat-icon-custom {
    width: 44px; height: 44px; background: #eaf4f4;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.stat-heading-custom { font-weight: 700; font-size: 15px; color: var(--teal-deep); }
.stat-subheading-custom { font-size: 12px; color: var(--text-muted); }

/* ── Grid ────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px)  { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
    background: var(--teal);
    color: #fff;
    padding: 18px 0 10px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.footer-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.footer-inner {
    display: flex; align-items: flex-start;
    justify-content: space-between; padding-bottom: 12px;
}
.footer-brand { flex-shrink: 0; display: flex; align-items: center; margin-top: 4px; }
.footer-logo-img { width: 80px; height: auto; object-fit: contain; }
.footer-logo-circle {
    width: 60px; height: 60px; border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center;
    padding: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); flex-shrink: 0;
}
.footer-logo-circle img { height: 42px; width: auto; object-fit: contain; }
.footer-links-wrapper {
    display: flex; gap: 90px; justify-content: flex-end; margin-right: 10%;
}
.footer-col { display: flex; flex-direction: column; min-width: 130px; }
footer h5 {
    color: var(--orange); font-size: 13.5px; font-weight: 700;
    margin: 0 0 6px 0; text-transform: capitalize;
}
footer .footer-col a {
    color: rgba(255,255,255,0.9); font-size: 12.5px;
    text-decoration: none; margin-bottom: 4px; transition: color 0.15s ease;
}
footer .footer-col a:hover { color: var(--orange); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    display: flex; justify-content: space-between;
    align-items: center; padding-top: 10px;
}
.footer-socials { display: flex; gap: 8px; align-items: center; }
.footer-socials a {
    width: 22px; height: 22px; background: transparent;
    border: 1px solid rgba(255,255,255,0.4); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; transition: all 0.2s ease;
}
.footer-socials a:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.footer-contact { display: flex; gap: 24px; align-items: center; }
.footer-contact span {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: rgba(255,255,255,0.9); white-space: nowrap;
}
@media (max-width: 768px) {
    /* Footer */
    .footer-inner { flex-direction: column; gap: 20px; }
    .footer-links-wrapper { width: 100%; justify-content: flex-start; margin-right: 0; gap: 40px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    /* Stats */
    .stats-grid-custom { grid-template-columns: 1fr; }
    /* Hero */
    .hero-custom { padding: 60px 0 30px; min-height: auto; }
    .hero-content-custom h1 { font-size: 1.9rem; }
    .hero-content-custom .tagline { font-size: 1.1rem; }
    .hero-content-custom .desc { font-size: 0.95rem; }
    /* Section */
    .section-pad { padding: 40px 0; }
    .container { padding: 0 16px; }
    .section-title, .section-title-center { font-size: 1.6rem; }
    .section-title-left { font-size: 1.5rem; }
    /* Cards */
    .promo-card { flex-direction: column; }
    .promo-card img { width: 100%; height: 180px; }
    .event-card { flex-direction: column; gap: 12px; }
    .event-actions { flex-direction: row; align-items: center; }
    .event-thumb { width: 100%; height: 140px; }
    /* Forms */
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .login-box { padding: 30px 20px; }
    /* Layout */
    .verticals-grid { grid-template-columns: 1fr; }
    /* Page header */
    .page-header h1 { font-size: 1.8rem; }
    .page-header { padding: 36px 0 28px; }
    /* Gallery */
    .gallery-grid { grid-template-columns: repeat(2,1fr); }
    /* Timeline - single column */
    .timeline::before { left: 20px; }
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-right: 0;
        padding-left: 50px;
        justify-content: flex-start;
    }
    .timeline-item::after { left: 20px; }
    .timeline-content { max-width: 100%; }
}

/* ── Timeline ────────────────────────────────────────────────── */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 5px; background: #ffffff; transform: translateX(-50%);
}
.timeline-item {
    display: flex; justify-content: flex-end;
    padding-right: calc(50% + 30px); margin-bottom: 40px; position: relative;
}
.timeline-item:nth-child(even) { justify-content: flex-start; padding-right: 0; padding-left: calc(50% + 30px); }
.timeline-item::after {
    content: ''; width: 16px; height: 16px;
    background: var(--teal); border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--teal); border-radius: 50%;
    position: absolute; left: 50%; top: 22px; transform: translateX(-50%); z-index: 1;
}
.timeline-content {
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 0 0 18px; max-width: 340px; overflow: visible;
}
.timeline-year {
    background: var(--teal); color: #fff; font-weight: 800; font-size: 22px;
    padding: 14px 24px; border-radius: var(--radius) 30px 30px 0;
    display: inline-block; margin-bottom: 16px; position: relative;
}
.timeline-year::after {
    content: ''; position: absolute; left: 0; bottom: -8px;
    width: 0; height: 0;
    border-left: 16px solid var(--teal-dark); border-bottom: 8px solid transparent;
}
.timeline-heading { font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--text-dark); padding: 0 22px; }
.timeline-desc { font-size: 13px; color: var(--text-muted); padding: 0 22px; line-height: 1.6; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-control {
    width: 100%;
    border: none;
    border-radius: 30px;
    padding: 12px 18px;
    font-size: 14px;
    color: var(--text-dark);
    background: #fff;
    transition: border-color .2s;
    outline: none;
}
.form-control:focus {
    border: 1.5px solid var(--teal);
    background: #fff;
}
textarea.form-control {
    border-radius: 12px;
    resize: vertical;
    min-height: 120px;
}
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%231a7a7a'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.form-check input[type=checkbox] { margin-top: 3px; accent-color: var(--teal); width: 16px; height: 16px; }
.form-check label { font-size: 13px; color: var(--text-dark); }
.file-upload {
    border: 2px dashed var(--border); border-radius: 12px;
    padding: 20px; text-align: center; cursor: pointer; background: #f8fafa;
}
.file-upload:hover { border-color: var(--teal); }
.file-upload p { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.form-box {
    background: #E6F3F4;
    border-radius: 20px;
    padding: 36px;
}

/* ── Events ──────────────────────────────────────────────────── */
.event-card {
    background: #f0f7f7; border-radius: var(--radius);
    padding: 20px 24px; display: flex; align-items: flex-start;
    gap: 20px; margin-bottom: 16px;
}
.event-date { min-width: 70px; text-align: center; }
.event-date .day { font-size: 2.2rem; font-weight: 900; color: var(--teal); line-height: 1; }
.event-date .month-year { font-size: 13px; color: var(--text-muted); }
.event-thumb { width: 100px; height: 80px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.event-info { flex: 1; }
.event-info h4 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.event-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 6px; }
.event-meta span { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.event-focal { font-size: 13px; color: var(--text-muted); }
.event-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.event-desc { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(26,122,122,.1); }
.event-desc p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.tab-btns { display: flex; gap: 4px; margin-bottom: 30px; }
.tab-btn {
    padding: 10px 28px; border-radius: 30px; border: 2px solid var(--teal);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all .2s; background: transparent; color: var(--teal);
}
.tab-btn.active { background: var(--teal); color: #fff; }

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-thumb { border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; background: #eee; }
.gallery-thumb img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s; display: block; }
.gallery-thumb:hover img { transform: scale(1.05); }
.gallery-modal {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.85); z-index: 9999;
    align-items: center; justify-content: center;
}
.gallery-modal.open { display: flex; }
.gallery-modal img { max-width: 70vw; max-height: 80vh; border-radius: 8px; }
.gallery-modal .close-btn { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 28px; cursor: pointer; }
.gallery-modal .nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.2); border: none; color: #fff;
    font-size: 2rem; padding: 10px 16px; cursor: pointer; border-radius: 8px;
}
.gallery-modal .prev { left: 20px; }
.gallery-modal .next { right: 20px; }
/* gallery mobile handled in 768px block below */

/* ── Contact ─────────────────────────────────────────────────── */
.contact-info-box { font-size: 14px; }
.contact-info-box .info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-info-box .info-icon { width: 22px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.donate-section { margin-top: 30px; }
.donate-section h4 { color: var(--teal); font-size: 18px; font-weight: 700; border-bottom: 2px solid var(--orange); padding-bottom: 8px; margin-bottom: 16px; }
.bank-details p { font-size: 14px; margin-bottom: 6px; }
.bank-details strong { color: var(--text-dark); }
.bank-details span { color: var(--text-muted); }
.faq-section { margin-top: 50px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-question {
    font-size: 15px; font-weight: 600; color: var(--text-dark);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-answer { display: none; padding-top: 12px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { color: var(--orange); }

/* ── Search Bar ──────────────────────────────────────────────── */
.search-bar { display: flex; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; align-items: center; }
.search-input {
    flex: 1; min-width: 220px; border: 1.5px solid var(--border);
    border-radius: 30px; padding: 10px 18px 10px 42px; font-size: 14px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a7a7a' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 14px center;
    outline: none;
}
.search-input:focus { border-color: var(--teal); }
.filter-select {
    border: 1.5px solid var(--border); border-radius: 30px;
    padding: 10px 36px 10px 16px; font-size: 14px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M0 0l5 7 5-7z' fill='%231a7a7a'/%3E%3C/svg%3E") no-repeat right 14px center;
    cursor: pointer; outline: none; appearance: none;
}

/* ── About page ──────────────────────────────────────────────── */
.verticals-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 30px; }
.vertical-card {
    background: #fff; color: var(--text-dark); border-radius: var(--radius);
    padding: 28px; text-align: center; box-shadow: var(--shadow); border: 1px solid #e2e8f0;
}
.vertical-card h4 { font-size: 18px; font-weight: 700; color: var(--teal); margin-bottom: 12px; }
.vertical-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.member-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.member-tag { border: 1px solid var(--teal); border-radius: 8px; padding: 8px 16px; font-size: 13px; color: var(--teal); }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-link { padding: 8px 14px; border-radius: 8px; border: 1.5px solid var(--border); color: var(--teal); font-size: 14px; }
.pagination .page-item.active .page-link { background: var(--teal); color: #fff; border-color: var(--teal); }
.load-more { display: block; margin: 30px auto 0; }

/* ── Alert ───────────────────────────────────────────────────── */
.alert { padding: 14px 20px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ── Status Badges ───────────────────────────────────────────── */
.badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger  { background: #f8d7da; color: #721c24; }
.badge-info    { background: #d1ecf1; color: #0c5460; }

/* ── Login ───────────────────────────────────────────────────── */
.login-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.login-box {
    background: #eef5f5; border-radius: 20px;
    padding: 48px 44px; width: 100%; max-width: 520px; box-shadow: var(--shadow);
}
.login-box h1 { text-align: center; font-size: 2rem; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.login-box .subtitle { text-align: center; color: var(--orange); font-size: 14px; margin-bottom: 30px; }

/* ── Promotions ──────────────────────────────────────────────── */
.promo-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 0; overflow: hidden; margin-bottom: 24px; }
.promo-card img { width: 280px; height: 180px; object-fit: cover; flex-shrink: 0; }
.promo-body { padding: 24px 28px; }
.promo-body h4 { color: var(--teal); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.promo-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.promo-body a { color: var(--orange); font-size: 14px; word-break: break-all; }

/* ── Page Header ─────────────────────────────────────────────── */
.page-header {
    background: #fff;
    color: var(--text-dark);
    padding: 50px 0 40px;
    margin-bottom: 0;
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--teal);
}
.page-header .underline {
    width: 130px;
    height: 3px;
    background: var(--orange);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ================================================================
   ADMIN DASHBOARD
================================================================ */

/* Full-width sticky top header */
.admin-top-header {
    height: 70px; background: var(--teal-deep);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; color: #fff;
    position: sticky; top: 0; z-index: 1050;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.admin-header-brand { display: flex; align-items: center; gap: 12px; }
.admin-header-brand img { height: 40px; width: auto; object-fit: contain; }
.admin-header-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.admin-header-brand-text .brand-title { font-size: 16px; font-weight: 800; letter-spacing: 0.5px; }
.admin-header-brand-text .brand-sub { font-size: 10px; color: rgba(255,255,255,0.85); font-weight: 500; }
.hamburger-admin {
    background: none; border: none; cursor: pointer; color: #fff;
    display: flex; align-items: center; justify-content: center;
    padding: 8px; margin-left: 20px;
}
.hamburger-admin:hover { background: rgba(255,255,255,0.1); border-radius: 4px; }
.admin-header-spacer { flex-grow: 1; }
.admin-header-user { display: flex; align-items: center; gap: 12px; }
.admin-header-user .user-role { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); }
.admin-header-user img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); object-fit: cover; }

/* Layout */
.admin-wrapper { display: flex; min-height: calc(100vh - 70px); background: #f7fafc; }

/* Sidebar */
.admin-sidebar {
    width: 240px; background: #fff;
    border-right: 1px solid #e2e8f0;
    padding: 24px 14px;
    display: flex; flex-direction: column;
}
.sidebar-brand { padding: 0 0 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.sidebar-brand img { height: 40px; }
.sidebar-brand-text { font-weight: 800; font-size: 14px; color: var(--teal); line-height: 1.3; margin-top: 6px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sidebar-nav .section-label {
    padding: 10px 6px 4px;
    font-size: 11px; font-weight: 700; color: #aaa;
    text-transform: uppercase; letter-spacing: 1px;
}
.sidebar-nav a {
    color: #4a5568 !important; font-size: 14px !important; font-weight: 600 !important;
    padding: 10px 16px !important; border-radius: 24px !important;
    transition: all 0.2s !important; display: flex !important;
    align-items: center !important; gap: 12px !important; background: transparent !important;
    text-decoration: none !important;
}
.sidebar-nav a svg { stroke: currentColor !important; width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-nav a:hover { background: #f7fafc !important; color: #1a202c !important; }
.sidebar-nav a.active {
    background: var(--orange) !important; color: #fff !important;
    box-shadow: 0 4px 10px rgba(232,119,34,0.2) !important;
}
.sidebar-footer {
    border-top: 1px solid #e2e8f0;
    padding: 20px 10px 0; margin-top: auto;
}
.sidebar-footer button, .sidebar-footer a {
    color: #4a5568 !important; font-weight: 600 !important; transition: color 0.2s !important;
    background: none; border: none; cursor: pointer; font-size: 14px;
    display: flex; align-items: center; gap: 10px;
}
.sidebar-footer button:hover, .sidebar-footer a:hover { color: var(--orange) !important; }

/* Role badges */
.role-badge-super { background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.role-badge-admin { background: var(--teal-light); color: var(--teal); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; display: inline-block; }

/* Admin main */
.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-topbar { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 30px; display: flex; align-items: center; justify-content: space-between; }
.admin-topbar h2 { font-size: 22px; font-weight: 700; color: var(--text-dark); }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-user img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.admin-user span { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.hamburger { background: none; border: none; cursor: pointer; display: none; }
.admin-page-title-bar { padding: 24px 30px 10px; background: #f7fafc; }
.admin-page-title-bar h2 { font-size: 2.2rem; font-weight: 800; color: #1a202c; margin: 0; }
.admin-content { flex: 1; padding: 10px 30px 30px; background: #f7fafc; }

/* Admin Table */
.admin-table-wrap {
    background: #fff; border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0; overflow: hidden;
}
.admin-table-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 12px;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    background: #eaf4f4; border-bottom: 1px solid #cbd5e0;
    padding: 13px 16px; font-size: 13px; font-weight: 700;
    color: var(--text-dark); text-align: left; white-space: nowrap;
}
.admin-table th .sort-icon { color: var(--text-muted); font-size: 10px; margin-left: 4px; }
.admin-table td {
    padding: 13px 16px; font-size: 13px; color: var(--text-dark);
    border-bottom: 1px solid #edf2f7; vertical-align: middle;
}
.admin-table tr:hover td { background: #f8fafa; }
.admin-table-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px; border-top: 1px solid var(--border);
    font-size: 13px; color: var(--text-muted); flex-wrap: wrap; gap: 10px;
}

/* Toggle switch */
.toggle { position: relative; display: inline-block; width: 46px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; cursor: pointer; inset: 0;
    background: #cbd5e0; border-radius: 24px; transition: .3s;
}
.toggle-slider::before {
    content: ''; position: absolute; height: 18px; width: 18px;
    left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .3s;
}
.toggle input:checked + .toggle-slider { background: var(--teal-deep); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

/* Action icons */
.action-icons { display: flex; gap: 8px; }
.action-icons a, .action-icons button {
    width: 30px; height: 30px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; transition: background .2s; background: transparent;
}
.action-icons .btn-view   { color: var(--teal); }
.action-icons .btn-edit   { color: var(--orange); }
.action-icons .btn-delete { color: #e74c3c; }
.action-icons a:hover, .action-icons button:hover { background: #f0f0f0; }

/* Admin form */
.admin-form-page { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; max-width: 900px; }
.admin-form-page h2 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 28px; }
.admin-input { width: 100%; border: 1.5px solid var(--border); border-radius: 13px; padding: 11px 16px; font-size: 14px; color: var(--text-dark); outline: none; background: #E6F3F4; }
.admin-input:focus { border-color: var(--teal); background: #fff; }
textarea.admin-input { border-radius: 10px; resize: vertical; min-height: 110px; }
select.admin-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M0 0l5 7 5-7z' fill='%231a7a7a'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-color: #f8fafa;
}
.admin-form-label { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; display: block; }
.admin-form-group { margin-bottom: 20px; }
.admin-form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.admin-upload { border: 2px dashed var(--orange); border-radius: 10px; padding: 22px; text-align: center; cursor: pointer; background: #fff8f0; }
.admin-upload p { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* Admin tabs */
.admin-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 28px; flex-wrap: wrap; }
.admin-tab { padding: 12px 22px; font-size: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.admin-tab.active, .admin-tab:hover { color: var(--teal); border-bottom-color: var(--teal); }
.admin-tab a { color: inherit; text-decoration: none; }

/* Tab buttons (events etc.) */
.tab-btns { display: flex; gap: 12px; margin-bottom: 24px; }
.tab-btn {
    padding: 8px 24px; border-radius: 20px;
    border: 1px solid #cbd5e0; background: #fff;
    color: #4a5568; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; display: inline-block; text-align: center;
}
.tab-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 4px 10px rgba(232,119,34,0.15); }
.tab-btn:hover { color: var(--orange); border-color: var(--orange); text-decoration: none; }
.tab-btn.active:hover { color: #fff; }

/* CMS tabs */
.cms-tabs { display: flex; gap: 2px; margin-bottom: 30px; background: #f5f8fa; border-radius: 10px; padding: 6px; flex-wrap: wrap; }
.cms-tab { padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all .2s; }
.cms-tab.active { background: var(--orange); color: #fff; }
.cms-tab a { color: inherit; text-decoration: none; }
.cms-section-title { font-size: 16px; font-weight: 700; color: var(--teal); border-bottom: 2px solid var(--teal-light); padding-bottom: 10px; margin-bottom: 24px; }

/* CMS Color field */
.cms-color-field {
    display: flex; align-items: center; gap: 10px;
    border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: 6px 10px; background: var(--white); height: 42px; box-sizing: border-box;
}
.cms-color-field input[type="color"] { width: 28px; height: 28px; padding: 0; border: none; border-radius: 6px; cursor: pointer; flex-shrink: 0; }
.cms-color-field input[type="text"] { border: none; outline: none; font-size: 13px; color: var(--text-dark); width: 100%; background: transparent; }

/* Stat icon upload */
.stat-icon-upload {
    background: var(--teal-light); border-radius: 30px;
    padding: 6px 12px; display: flex; align-items: center;
    gap: 8px; cursor: pointer; width: fit-content;
    font-size: 13px; color: var(--teal-dark); font-weight: 600;
}
.stat-icon-plus {
    background: var(--teal); color: #fff; width: 20px; height: 20px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 13px; flex-shrink: 0;
}
.stat-icon-preview { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.stat-row { grid-template-columns: 110px 1fr 1fr !important; align-items: start; column-gap: 14px !important; }
.stat-row-header { display: flex; align-items: center; justify-content: flex-start; gap: 6px; margin-bottom: 8px; }
.remove-stat-btn {
    background: #fdeaea; border: none; color: #e74c3c; cursor: pointer;
    width: 22px; height: 22px; border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background .15s;
}
.remove-stat-btn:hover { background: #f8d7da; }
.remove-stat-btn svg { width: 13px; height: 13px; }

/* Approval buttons */
.btn-approve { background: var(--teal); color: #fff; border: none; border-radius: 30px; padding: 10px 28px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; width: 100%; justify-content: center; margin-bottom: 8px; }
.btn-reject  { background: #e74c3c; color: #fff; border: none; border-radius: 30px; padding: 10px 28px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; width: 100%; justify-content: center; }
.btn-star    { background: transparent; color: var(--teal); border: 2px solid var(--teal); border-radius: 30px; padding: 9px 24px; font-size: 14px; font-weight: 600; cursor: pointer; width: 100%; }

/* Alumni detail sidebar */
.alumni-detail-sidebar { padding: 20px; }
.alumni-detail-sidebar img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.alumni-detail-sidebar h4 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }

/* Modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 5000; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: 16px; padding: 36px; max-width: 560px; width: 90%; box-shadow: 0 10px 40px rgba(0,0,0,.2); position: relative; }
.modal-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text-muted); }

/* RBAC permission cards */
.perm-card { user-select: none; }
.perm-card input[type="checkbox"] { pointer-events: none; }
.perm-tag { background: var(--teal-light); color: var(--teal); font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 600; display: inline-block; margin: 2px 2px 2px 0; }

.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    gap: 0;
}
.phone-ext-select {
    border: none;
    background: transparent;
    padding: 12px 10px 12px 16px;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    font-weight: 600;
}
.phone-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    flex-shrink: 0;
}
.phone-number-input {
    border: none;
    background: transparent;
    padding: 12px 18px 12px 12px;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    flex: 1;
    min-width: 0;
}

/* ── Social icon circles (transparent bg, dark border) ── */
.social-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all .2s;
    flex-shrink: 0;
}
.social-icon-circle:hover {
    border-color: var(--teal);
    color: var(--teal);
    text-decoration: none;
}


.btn-contact-submit {
    background: #E6F3F4;
    color: var(--teal-deep);
    border: none;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: background .2s;
}
.btn-contact-submit:hover {
    background: var(--teal);
    color: #fff;
}
/* Admin responsive */
@media (max-width: 900px) {
    .admin-sidebar { display: none; position: fixed; left: 0; top: 70px; bottom: 0; z-index: 1040; }
    .admin-sidebar.open { display: flex; }
    .hamburger { display: block; }
    .admin-form-row, .admin-form-row-3 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .admin-top-header { padding: 0 16px; }
    .admin-header-brand-text { display: none; }
    .admin-page-title-bar h2 { font-size: 1.8rem !important; }
}

/* ── Extra small phones (≤400px) ────────────────────────────── */
@media (max-width: 400px) {
    .hero-content-custom h1 { font-size: 1.6rem; }
    .section-title, .section-title-center, .section-title-left { font-size: 1.35rem; }
    .btn-teal-capsule, .btn-teal-news-view, .btn-outline-orange-capsule { padding: 10px 20px; font-size: 13px; }
    .card-news-body, .alumni-info-custom { padding: 14px; }
    .footer-links-wrapper { flex-direction: column; gap: 20px; }
    .footer-contact { flex-direction: column; gap: 8px; }
    .admin-content { padding: 10px 14px 20px; }
    .admin-page-title-bar { padding: 16px 14px 8px; }
    .admin-page-title-bar h2 { font-size: 1.5rem !important; }
}
