* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fb;
    color: #0b1a2e;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #0b1a2e;
    color: #b0c7de;
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 2px solid #c52a2a;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar a {
    color: #b0c7de;
    margin: 0 8px;
    transition: 0.2s;
    text-decoration: none;
}

.top-bar a:hover {
    color: #facc15;
}

.top-bar .social a {
    margin: 0 6px;
    font-size: 0.9rem;
}

/* ===== HEADER ===== */
.main-header {
    background: #ffffff;
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(197, 42, 42, 0.15);
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b1a2e;
    letter-spacing: -0.5px;
}

.logo h1 span {
    color: #c52a2a;
}

.logo small {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #5a6f87;
    letter-spacing: 1px;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    gap: 28px;
    font-weight: 600;
    align-items: center;
}

.nav-links a {
    color: #1e2f44;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #c52a2a;
    transition: 0.25s;
}

.nav-links a:hover {
    color: #c52a2a;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #c52a2a;
}

.nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #c52a2a;
    padding: 8px 20px;
    border-radius: 40px;
    color: #c52a2a;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-outline:hover {
    background: #c52a2a;
    color: white;
    box-shadow: 0 6px 14px rgba(197, 42, 42, 0.25);
}

.btn-solid {
    background: #c52a2a;
    border: none;
    padding: 8px 24px;
    border-radius: 40px;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-solid:hover {
    background: #a31f1f;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(197, 42, 42, 0.3);
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, #0b1a2e 0%, #1a3552 100%);
    color: white;
    padding: 60px 0 56px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(197, 42, 42, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.page-hero h1 span {
    color: #facc15;
}

.page-hero p {
    font-size: 1.15rem;
    opacity: 0.8;
    max-width: 600px;
    margin-top: 8px;
    position: relative;
    z-index: 2;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0b1a2e;
    margin-bottom: 8px;
}

.section-title span {
    color: #c52a2a;
}

.title-underline {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #c52a2a, #facc15);
    border-radius: 4px;
    margin: 8px 0 24px 0;
}

.section-sub {
    color: #4a5f78;
    margin-bottom: 28px;
    font-size: 1rem;
}

/* ===== CARDS & GRIDS ===== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    border: 1px solid #edf2f7;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    border-color: #c52a2a30;
}

.card i {
    font-size: 2.2rem;
    color: #c52a2a;
    margin-bottom: 14px;
    background: #fef0ee;
    padding: 10px;
    border-radius: 14px;
}

.card h4 {
    font-weight: 700;
    margin-bottom: 6px;
}

.card p {
    color: #4a5f78;
    font-size: 0.95rem;
}

.service-item {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #edf2f7;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: 0.2s;
}

.service-item:hover {
    border-color: #c52a2a;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.service-item i {
    font-size: 1.8rem;
    color: #c52a2a;
    min-width: 40px;
    margin-top: 4px;
}

/* Grievance Portal */
.grievance-form {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #edf2f7;
}

.grievance-form input,
.grievance-form select,
.grievance-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #dce2ec;
    font-family: inherit;
    font-size: 0.95rem;
    transition: 0.2s;
    background: #fafbfc;
}

.grievance-form input:focus,
.grievance-form select:focus,
.grievance-form textarea:focus {
    outline: none;
    border-color: #c52a2a;
    box-shadow: 0 0 0 3px rgba(197, 42, 42, 0.1);
}

.grievance-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

/* ===== FOOTER ===== */
.footer {
    background: #0b1a2e;
    color: #b0c7de;
    padding: 48px 0 24px;
    margin-top: 48px;
    border-top: 4px solid #c52a2a;
}

.footer a {
    color: #b0c7de;
    text-decoration: none;
    transition: 0.2s;
}

.footer a:hover {
    color: #facc15;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.footer-bottom {
    border-top: 1px solid #1e3550;
    padding-top: 24px;
    margin-top: 32px;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .header-flex {
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}