:root {
    --primary: #1e3a8a;
    --secondary: #2563eb;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
}

/* ================= HERO ================= */
/* ================= ADMIN HERO ================= */
.admin-hero {
    height:15vh; /* similar to notice header */
    background: radial-gradient(circle at top, #1e3a8a, #020617);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.admin-hero .hero-content h1 {
    font-size: 1.5rem;
    margin: 0;
}

.admin-hero .hero-content p {
    /* margin-top:0px;
    font-size: 1.2rem; */
    color: #f3f4f6;
}

.header-accent {
    width: 100px;
    height: 4px;
    background: #facc15;
    margin: 10px auto;
    border-radius: 2px;
}


/* ================= CONTAINER ================= */
.admin-container {
    max-width: 1200px;
    margin: auto;
    padding: 10px 5px;
}

/* ================= SECTION HEADER ================= */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    padding-bottom: 5px;
}

.section-header .underline {
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 5px;
    margin-top: 2px;
}

/* ================= GRID ================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

/* ================= PROFILE CARD ================= */
.profile-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* IMAGE */
.profile-image {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--secondary);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SMALL IMAGE */
.profile-image.small {
    width: 110px;
    height: 110px;
}

/* INFO */
.profile-info h3,
.profile-info h4 {
    margin-bottom: 6px;
    color: var(--text);
}

.designation {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
}

.subject {
    display: block;
    color: var(--secondary);
    font-size: 13px;
    margin-bottom: 5px;
}

.description {
    font-size: 14px;
    color: var(--muted);
    margin: 10px 0;
}

.contact {
    font-size: 13px;
    color: var(--muted);
}

/* ================= POLICY BUTTONS ================= */
.policy-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.policy-btn {
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.policy-btn.primary {
    background: var(--primary);
    color: var(--white);
}

.policy-btn.secondary {
    background: var(--secondary);
    color: var(--white);
}

.policy-btn:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}

/* ================= CONDUCT ================= */
.conduct-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.conduct-card h3 {
    text-align: center;
    margin-bottom: 25px;
}

.conduct-card ul {
    list-style: none;
    padding: 0;
}

.conduct-card li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.conduct-card li:last-child {
    border-bottom: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }

    .profile-card {
        padding: 20px 15px;
    }

    .profile-image {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 576px) {
    .card-grid {
        grid-template-columns: 1fr; /* single column on small screens */
        gap: 15px;
    }

    .profile-card {
        padding: 15px 10px;
    }

    .profile-image {
        width: 110px;
        height: 110px;
    }

    .profile-info h3,
    .profile-info h4 {
        font-size: 16px;
    }

    .description {
        font-size: 13px;
    }

    .admin-hero h1 {
        font-size: 26px;
    }

    .admin-hero p {
        font-size: 14px;
    }
}