:root {
    --navy: #0a1f2e;
    --teal: #0e6b87;
    --sky: #1fa3c7;
    --gold: #e8b84b;
    --cream: #faf6f0;
    --mist: #edf4f8;
    --text: #1a2e3b;
    --muted: #5a7585;
    --white: #ffffff;
    --radius: 20px;
    --shadow: 0 20px 60px rgba(10, 31, 46, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}


/* ── TOP BAR ── */

.topbar {
    background: var(--navy);
    color: #8ab8cc;
    padding: 0.55rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.topbar-left {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.topbar-left span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar-left i {
    color: var(--sky);
}

.topbar-right {
    display: flex;
    gap: 1rem;
}

.topbar-right a {
    color: #8ab8cc;
    font-size: 1rem;
    transition: color 0.2s;
}

.topbar-right a:hover {
    color: var(--gold);
}


/* ── NAVBAR ── */

.navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(10, 31, 46, 0.06);
    box-shadow: 0 4px 20px rgba(10, 31, 46, 0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--teal), var(--sky));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(14, 107, 135, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    transition: all 0.2s;
    cursor: pointer;
}

.nav-links a:hover {
    background: var(--mist);
    color: var(--teal);
}

.nav-links a.active {
    background: var(--navy);
    color: white;
}

.btn-cta {
    background: linear-gradient(135deg, var(--teal), var(--sky)) !important;
    color: white !important;
    padding: 0.55rem 1.4rem !important;
    border-radius: 40px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(14, 107, 135, 0.35);
}

.btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(14, 107, 135, 0.4);
    background: var(--navy) !important;
}


/* ── PAGE SYSTEM ── */

.page {
    display: none;
}

.page.active {
    display: block;
}


/* ── NOTIFICATION TOAST ── */

.notif {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: white;
    border-radius: 12px;
    padding: 0.9rem 1.4rem;
    box-shadow: 0 12px 40px rgba(10, 31, 46, 0.15);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s ease;
    max-width: 320px;
}

.notif.show {
    transform: translateX(0);
}

.notif.success i {
    color: #22c55e;
}

.notif.error i {
    color: #ef4444;
}


/* ════════════════════════
       HOME PAGE
    ════════════════════════ */


/* Hero */

.hero {
    position: relative;
    min-height: 88vh;
    background: linear-gradient(160deg, var(--navy) 0%, #0e3d58 50%, #1a6a8a 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(31, 163, 199, 0.12) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(232, 184, 75, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(232, 184, 75, 0.15);
    border: 1px solid rgba(232, 184, 75, 0.3);
    color: var(--gold);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hero-title span {
    color: var(--gold);
}

.hero-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), #d4a03a);
    color: var(--navy);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(232, 184, 75, 0.35);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(232, 184, 75, 0.45);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
    color: white;
    width: 320px;
}

.hero-main-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.exam-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.exam-item {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.exam-item i {
    color: var(--gold);
    width: 18px;
}

.float-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    box-shadow: var(--shadow);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: floatAnim 3s ease-in-out infinite;
}

.float-card i {
    color: var(--teal);
}

.float-card.card-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.float-card.card-2 {
    bottom: -10px;
    left: -40px;
    animation-delay: 1.5s;
}

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


/* ── CAROUSEL ── */

.carousel-section {
    background: white;
    padding: 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    background: #000;
}

.carousel-inner {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item {
    min-width: 100%;
    position: relative;
    height: 520px;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* bottom caption bar */

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 31, 46, 0.82));
    padding: 2.5rem 3rem 1.4rem;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.carousel-caption i {
    color: var(--gold);
    font-size: 1.1em;
}


/* top label pill */


/* .carousel-top-text {
    position: absolute;
    top: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 31, 46, 0.72);
    backdrop-filter: blur(6px);
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.95rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.5rem 1.8rem;
    border-radius: 40px;
    border: 1px solid rgba(232, 184, 75, 0.35);
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
} */

.carousel-top-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.2rem;
    font-weight: 400;
    text-align: center;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}


/* prev / next buttons */

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1.2rem;
    pointer-events: none;
    z-index: 10;
}

.carousel-ctrl-btn {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.88);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-ctrl-btn:hover {
    background: white;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}


/* dot indicators */

.carousel-dots-row {
    position: absolute;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.c-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.c-dot.active {
    background: var(--gold);
    transform: scale(1.35);
}


/* ── FACILITIES SECTION ── */

.fac-section {
    background: var(--cream);
    padding: 3.5rem 0 4rem;
}

.fac-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}


/* badge label (original style from user's html) */

.home-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(14, 107, 135, 0.1);
    color: var(--teal);
    border: 1.5px solid rgba(14, 107, 135, 0.18);
    padding: 0.4rem 1.1rem;
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}


/* Facilities strip */

.fac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.fac-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.8rem 1rem;
    text-align: center;
    border: 1px solid rgba(10, 31, 46, 0.06);
    transition: all 0.25s;
    cursor: default;
}

.fac-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(14, 107, 135, 0.12);
    border-color: rgba(14, 107, 135, 0.15);
}

.fac-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(14, 107, 135, 0.1), rgba(31, 163, 199, 0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 1.4rem;
    color: var(--teal);
}

.fac-card span {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
}


/* section labels used on inner pages */

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 107, 135, 0.08);
    color: var(--teal);
    padding: 0.35rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.6rem;
    line-height: 1.25;
}

.section-sub {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 540px;
    line-height: 1.65;
    margin-bottom: 2.5rem;
}


/* exam chips */

.exam-chips-block {
    margin: 2rem 0 2.5rem;
}

.exam-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.exam-chip {
    background: white;
    border: 2px solid rgba(14, 107, 135, 0.2);
    border-radius: 50px;
    padding: 0.55rem 1.4rem;
    font-weight: 600;
    color: var(--teal);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    cursor: default;
}

.exam-chip i {
    font-size: 0.7rem;
    color: var(--gold);
}

.exam-chip:hover {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
}

.exam-chip:hover i {
    color: white;
}


/* platforms */

.platforms-bar {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 1.2rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    align-items: center;
    justify-content: space-around;
}

.platforms-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.platform-tag {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* ════════════════════════
       SHARED INNER SECTIONS
    ════════════════════════ */

.inner-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 5rem 2.5rem;
}


/* ── PACKAGES PAGE ── */

#page-packages {
    background: var(--mist);
}

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

.pkg-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 2px solid transparent;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.pkg-card:hover {
    border-color: var(--sky);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(14, 107, 135, 0.12);
}

.pkg-card.featured {
    background: linear-gradient(145deg, var(--navy), #0e3d58);
    color: white;
    border-color: var(--gold);
}

.pkg-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pkg-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.pkg-features {
    list-style: none;
    margin: 1rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pkg-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.pkg-features li i {
    color: var(--sky);
    font-size: 0.75rem;
}

.featured .pkg-features li i {
    color: var(--gold);
}

.btn-pkg {
    width: 100%;
    padding: 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid var(--teal);
    color: var(--teal);
    background: transparent;
    transition: all 0.2s;
}

.btn-pkg:hover {
    background: var(--teal);
    color: white;
}

.featured .btn-pkg {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.featured .btn-pkg:hover {
    background: #d4a03a;
}


/* ── ABOUT PAGE ── */

#page-about {
    background: var(--mist);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.02rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.highlight {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    border-radius: var(--radius);
    padding: 1.2rem;
    border-left: 4px solid var(--sky);
}

.highlight-icon {
    color: var(--teal);
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.highlight h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.highlight p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

.about-visual {
    background: linear-gradient(145deg, var(--navy), #0e3d58);
    border-radius: 24px;
    padding: 2.5rem;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.about-stat-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stat-box .n {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
}

.about-stat-box .l {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}


/* ── CONTACT PAGE ── */

#page-contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: var(--mist);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--teal), var(--sky));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-detail p,
.contact-detail a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
}

.contact-detail a:hover {
    color: var(--teal);
}

.map-embed {
    border-radius: 24px;
    overflow: hidden;
    height: 370px;
    border: 1px solid rgba(10, 31, 46, 0.08);
    box-shadow: var(--shadow);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.app-download-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.app-btn {
    background: var(--navy);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.app-btn:hover {
    background: var(--teal);
}


/* ── REGISTRATION PAGE ── */

#page-registration {
    background: white;
}

.reg-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.reg-info-card {
    background: linear-gradient(145deg, var(--navy), #0e3d58);
    border-radius: 24px;
    padding: 2.5rem;
    color: white;
    position: sticky;
    top: 90px;
}

.reg-info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.reg-info-card p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.info-icon {
    color: var(--gold);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    width: 20px;
}

.info-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-card {
    background: var(--cream);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(10, 31, 46, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border: 1.5px solid rgba(10, 31, 46, 0.12);
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: white;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 3px rgba(31, 163, 199, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--teal), var(--sky));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 107, 135, 0.3);
}

.form-success {
    display: none;
    background: #d4f7e9;
    border: 1.5px solid #4caf50;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #1a5c34;
    font-weight: 600;
    margin-top: 1rem;
}

.form-error {
    display: none;
    background: #fde8e8;
    border: 1.5px solid #ef4444;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #7f1d1d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}


/* ── GRIEVANCES PAGE ── */

#page-grievances {
    background: var(--mist);
}

.griev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.griev-note {
    background: linear-gradient(135deg, rgba(14, 107, 135, 0.06), rgba(31, 163, 199, 0.04));
    border-radius: 20px;
    padding: 2rem;
    border: 1.5px solid rgba(14, 107, 135, 0.12);
}

.griev-note h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.griev-note p {
    color: var(--muted);
    line-height: 1.7;
}

.policy-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
}

.policy-item i {
    color: var(--teal);
    margin-top: 0.15rem;
}


/* ── FOOTER ── */

footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--teal);
    color: white;
}

.footer-col h4 {
    font-weight: 700;
    color: white;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    transition: color 0.2s;
    cursor: pointer;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}


/* ── RESPONSIVE ── */

@media(max-width:900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-visual {
        display: none;
    }
    .reg-grid,
    .about-grid,
    .contact-grid,
    .griev-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .carousel-item {
        height: 320px;
    }
    .carousel-caption {
        font-size: 1rem;
        padding: 1.5rem 1.5rem 1rem;
    }
}

@media(max-width:600px) {
    .navbar {
        padding: 0.8rem 1.2rem;
    }
    .nav-links a {
        font-size: 0.78rem;
        padding: 0.4rem 0.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .topbar-left {
        gap: 0.8rem;
    }
    .carousel-item {
        height: 240px;
    }
    .carousel-top-text {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
    .carousel-caption {
        font-size: 0.88rem;
    }
}