/* =========================================
   RSSM Base Styles & Variables
   ========================================= */
:root {
    /* Color Palette */
    --primary-color: #0d2e5a;
    /* Deep Academic Blue */
    --secondary-color: #fca311;
    /* Gold/Accent */
    --accent-color: #e63946;
    /* Red for alerts/highlights */
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --text-color: #333333;
    --text-muted: #666666;
    --white: #ffffff;

    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;

    /* Effects */
    --transition: all 0.3s ease-in-out;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.color-accent {
    color: var(--secondary-color);
}

.bg-light {
    background-color: var(--light-bg);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(252, 163, 17, 0.2);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-header .sub-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header .title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
    border-radius: 5px;
}

/* =========================================
   1. Header & Navigation (nei.org.in style)
   ========================================= */

/* Topbar */
.topbar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar a {
    color: #e0e0e0;
    font-weight: 400;
}

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

.topbar i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-links a {
    font-weight: 500;
}

.btn-admission {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 5px 15px;
    border-radius: 3px;
}

.btn-admission i {
    color: inherit !important;
}

.btn-admission:hover {
    background: var(--white);
    color: var(--primary-color) !important;
}

/* Main Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 15px 0;
}

.logo-area {
    margin-bottom: 15px;
    width: 100%;
}

.logo-area a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

@media (min-width: 992px) {
    .logo-area a {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }
}

.logo-img {
    height: 100px;
    width: auto;
    border-radius: 50%;

    background-color: var(--white);
    padding: 2px;
}

@media (min-width: 992px) {
    .logo-img {
        height: 130px;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 992px) {
    .logo-text {
        align-items: flex-start;
    }
}

.logo-text h1 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

@media (min-width: 992px) {
    .logo-text h1 {
        font-size: 2.2rem;
    }
}

.logo-text .hindi-title {
    font-size: 1.1rem;
    margin: 3px 0 8px;
    color: var(--primary-color);
    font-weight: 600;
}

@media (min-width: 992px) {
    .logo-text .hindi-title {
        font-size: 1.8rem;
    }
}

.logo-text .affiliation-text {
    font-size: 0.85rem;
    margin: 0;
    font-weight: 600;
    display: inline-block;
    background: rgba(252, 163, 17, 0.1);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    border-left: 3px solid var(--secondary-color);
}

@media (min-width: 992px) {
    .logo-text .affiliation-text {
        font-size: 1rem;
    }
}

.logo-text .affiliation-text i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Navbar Wrapper (Full Width) */
.navbar-wrapper {
    background: var(--primary-color);
    width: 100%;
}

/* Navigation Links */
.main-nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 10px 0;
}

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

.nav-links>li {
    position: relative;
    margin: 0;
}

.nav-links>li>a {
    display: block;
    padding: 20px 12px;
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    position: relative;
}

.nav-links>li>a.active,
.nav-links>li>a:hover {
    color: var(--secondary-color);
}

.nav-links .dropdown>a i {
    font-size: 10px;
    margin-left: 5px;
    transition: var(--transition);
}

.nav-links .dropdown:hover>a i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 3px solid var(--secondary-color);
    border-radius: 0 0 5px 5px;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    padding-left: 25px;
    color: var(--secondary-color);
    background: #fdfdfd;
}

/* =========================================
   2. News Ticker
   ========================================= */
.news-ticker {
    display: flex;
    background: #e9ecef;
    /* Slightly darker than light-bg but not primary */
    color: var(--primary-color);
    height: 40px;
    overflow: hidden;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}

.ticker-title {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    white-space: nowrap;
}

.ticker-title::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    border-left: 10px solid var(--secondary-color);
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.ticker-wrap {
    flex-grow: 1;
    padding-left: 20px;
    overflow: hidden;
}

.ticker-move {
    display: flex;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}

.ticker-move:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% {
        transform: translate3d(100%, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.ticker-item {
    margin-right: 50px;
    font-size: 14px;
    font-weight: 400;
}

.ticker-item i {
    margin-right: 8px;
}

/* =========================================
   3. Hero Slider
   ========================================= */
.hero-slider {
    position: relative;
    height: calc(100vh - 120px);
    /* Adjust based on header height */
    min-height: 500px;
    overflow: hidden;
    background: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s linear infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--white);
    z-index: 10;
    max-width: 600px;
}

.slide-content h2 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-content h2 {
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-content p {
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.slide-content .btn {
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-content .btn {
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 30px;
    pointer-events: none;
}

.slider-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-controls button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* =========================================
   4. Leadership Section
   ========================================= */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.leader-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #f0f0f0;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.leader-img {
    height: 280px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #e9ecef;
}

.leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-img img {
    transform: scale(1.05);
}

.user-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #2c5282);
    color: var(--white);
    font-size: 5rem;
}

.leader-info {
    padding: 25px 20px;
}

.leader-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.leader-info .designation {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leader-info .short-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* =========================================
   News + Leadership Two-Column Layout
   ========================================= */

/* Outer wrapper: left + right side by side */
.nl-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}

/* LEFT COLUMN */
.nl-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* News box */
.nl-news-box {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nl-news-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nl-news-header i {
    color: var(--secondary-color);
}

/* Scrollable news list — same height as one .leader-img (280px) */
.nl-news-scroll {
    height: 280px;
    overflow-y: auto;
    padding: 10px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #eee;
}

.nl-news-scroll::-webkit-scrollbar {
    width: 5px;
}

.nl-news-scroll::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

.nl-news-scroll ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nl-news-item {
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.nl-news-item:last-child {
    border-bottom: none;
}

.nl-news-date {
    display: block;
    font-size: 0.78rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.nl-news-date i {
    margin-right: 4px;
}

.nl-news-title {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.nl-news-title:hover {
    color: var(--secondary-color);
}

.nl-new-badge {
    display: inline-block;
    background: #e63946;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 4px;
    font-weight: 700;
    animation: blink-anim 1.2s step-start infinite;
}

@keyframes blink-anim {
    50% {
        opacity: 0;
    }
}

.nl-news-footer {
    padding: 14px 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.nl-news-footer .btn-primary {
    padding: 8px 22px;
    font-size: 0.88rem;
    border-radius: 5px;
    display: inline-block;
}

/* Single leader card below news (inherits .leader-card) */
.nl-single-leader {
    flex-shrink: 0;
}

/* RIGHT COLUMN */
.nl-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nl-section-title {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.nl-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 5px;
}

/* 2×2 grid for 4 leader cards */
.nl-leaders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Shrink leader-img inside the 2×2 grid so cards are compact */
.nl-leaders-grid .leader-img {
    height: 283px;
}

.nl-leaders-grid .leader-info {
    padding: 16px 14px;
}

.nl-leaders-grid .leader-info h3 {
    font-size: 1.1rem;
}

.nl-leaders-grid .leader-info .short-bio {
    font-size: 0.85rem;
}

/* Ensure images don't cut off heads on mobile */
.leadership-grid .leader-img img,
.nl-left .leader-img img,
.nl-right .leader-img img {
    object-position: center 0% !important; /* Force top alignment */
}

/* Specific fix for Chancellor if top is still too tight */
.nl-left .leader-img img[alt*="Chancellor"] {
    object-position: center 5% !important; /* Slight shift to handle tight framing */
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .nl-wrapper {
        grid-template-columns: 1fr !important;
    }

    .nl-leaders-grid {
        grid-template-columns: 1fr !important; 
    }

    /* Slightly shorter height on mobile works better for landscape-oriented college photos */
    .nl-wrapper .leader-img,
    .leader-card .leader-img {
        height: 300px !important;
    }
}

@media (max-width: 600px) {
    .nl-wrapper .leader-img,
    .leader-card .leader-img {
        height: 280px !important;
    }
}

/* =========================================
   5. Courses Section
   ========================================= */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.course-card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

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

.course-card:hover::before {
    width: 100%;
    opacity: 0.03;
}

.course-icon {
    width: 70px;
    height: 70px;
    background: rgba(252, 163, 17, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.course-card:hover .course-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.course-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.course-details .duration {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.course-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.subjects h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.subjects ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.subjects li {
    font-size: 0.95rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.subjects li i {
    color: var(--secondary-color);
    margin-right: 8px;
    font-size: 0.8rem;
}

/* =========================================
   6. Gallery Section
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 46, 90, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: scale(1);
}

/* =========================================
   7. Footer
   ========================================= */
.site-footer {
    background: var(--dark-bg);
    color: #cccccc;
}

.footer-top {
    padding: 70px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;

    padding: 10px;
    border-radius: 5px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-col.links ul li {
    margin-bottom: 12px;
}

.footer-col.links ul a {
    color: #cccccc;
}

.footer-col.links ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    margin-bottom: 20px;
}

.contact-list .icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-list.text,
.contact-list a {
    color: #cccccc;
}

.contact-list a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    background: #111111;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   About Us Section
   ========================================= */
.about-section {
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.about-container {
    display: flex;
    align-items: stretch;
    gap: 60px;
}

.about-content {
    flex: 1.2;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}



.about-image-wrapper {
    flex: 0.8;
}

.image-box {
    position: relative;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-hover);
    height: 100%;
}

.main-about-img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 4px solid var(--secondary-color);
}

.experience-badge .number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--heading-font);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   8. Responsive Design
   ========================================= */
@media (max-width: 1200px) {
    .about-container {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .section-header .line {
        margin: 0 auto !important;
    }

    .about-features {
        justify-content: center;
    }

    .about-btn-group {
        justify-content: center;
    }

    .about-image-wrapper {
        margin-top: 50px;
        width: 100%;
        max-width: 500px;
    }

    .experience-badge {
        left: 20px;
    }

    .image-box {
        height: 350px;
    }
}

@media (max-width: 1200px) {
    .nav-links>li>a {
        padding: 20px 6px;
        font-size: 11px;
    }
}

@media (max-width: 991px) {
    .hide-mobile {
        display: none !important;
    }

    .topbar-contact,
    .topbar-links {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }

    .topbar-links {
        margin-bottom: 0;
    }

    .topbar-inner {
        flex-direction: column;
    }

    .header-inner {
        padding: 10px 15px;
    }

    .logo-area {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
    }

    .logo-area a {
        flex-direction: column;
        text-align: center;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text .hindi-title {
        font-size: 0.9rem;
    }

    .logo-text .affiliation-text {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .navbar-wrapper {
        padding: 5px 15px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        width: 100%;
        border-top: none;
        justify-content: flex-end;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 15px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links>li {
        width: 100%;
    }

    .nav-links>li>a {
        padding: 12px 20px;
        color: var(--primary-color);
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links>li>a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: #f9f9f9;
        border-top: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding-left: 40px;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .course-grid,
    .gallery-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-area a {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .logo-text .hindi-title {
        font-size: 1rem;
    }

    .logo-text .affiliation-text {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .logo-img {
        max-width: 70px;
        height: auto;
    }

    .subjects ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .topbar-inner {
        flex-direction: column;
        gap: 12px;
        padding: 10px 5px;
    }

    .topbar-contact,
    .topbar-links {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .topbar-links a {
        font-size: 12px;
    }

    .btn-admission {
        width: 100%;
        text-align: center;
    }

    .logo-area a {
        flex-direction: column;
        text-align: center;
    }

    .logo-img {
        margin-bottom: 5px;
    }
}

/* =========================================
   9. Page Banner (Internal Pages)
   ========================================= */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a8a 50%, var(--primary-color) 100%);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-banner h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--secondary-color);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   10. Content Cards
   ========================================= */
.content-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary-color);
    position: relative;
}

.content-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card h3 i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.content-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
}

/* =========================================
   11. Data Tables
   ========================================= */
.table-responsive {
    overflow-x: auto;
    margin-top: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.data-table thead {
    background: var(--primary-color);
}

.data-table th {
    color: var(--white);
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.data-table td {
    padding: 13px 18px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: var(--text-color);
}

.data-table tbody tr:hover {
    background-color: rgba(252, 163, 17, 0.05);
}

.data-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.data-table tbody tr:nth-child(even):hover {
    background-color: rgba(252, 163, 17, 0.08);
}

.data-table a {
    color: var(--primary-color);
    font-weight: 500;
}

.data-table a:hover {
    color: var(--secondary-color);
}

/* Fee Table */
.fee-table {
    max-width: 500px;
}

.fee-table tfoot td {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
}

.fee-table tfoot td strong {
    color: var(--white);
}

/* =========================================
   12. Staff Cards & Grid
   ========================================= */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.staff-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.staff-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #2c5282);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
}

.staff-card h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.staff-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.staff-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.staff-contact a {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.staff-contact a:hover {
    color: var(--secondary-color);
}

.staff-contact a i {
    color: var(--secondary-color);
    width: 16px;
}

/* Staff Highlight (for TPC, RTI, Health) */
.staff-highlight {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, rgba(13, 46, 90, 0.03), rgba(252, 163, 17, 0.05));
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin: 25px 0;
}

.staff-highlight.emergency {
    border-left: 4px solid var(--accent-color);
}

.staff-highlight .staff-avatar {
    margin: 0;
    flex-shrink: 0;
}

.staff-highlight .staff-info h4 {
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.staff-highlight .staff-info .name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--heading-font);
    margin-bottom: 10px;
}

.staff-highlight .staff-info p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

/* =========================================
   13. Message Layout (Founder/Manager/Principal)
   ========================================= */
.message-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.message-photo {
    flex-shrink: 0;
    width: 250px;
    text-align: center;
}

.message-photo img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    margin-bottom: 15px;
}

.message-photo h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.designation-tag {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-tag {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.contact-tag i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.user-avatar-placeholder-page {
    width: 200px;
    height: 220px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #2c5282);
    color: var(--white);
    font-size: 5rem;
    margin: 0 auto 15px;
    box-shadow: var(--shadow-hover);
}

.message-text h3 {
    margin-bottom: 25px;
}

.message-text h3 i {
    color: var(--secondary-color);
    opacity: 0.5;
}

.message-text p {
    margin-bottom: 18px;
    line-height: 1.9;
}

.signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    font-style: italic;
    color: var(--primary-color) !important;
}

/* =========================================
   14. Info Boxes
   ========================================= */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-box {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =========================================
   15. Notice Box, Styled List, Contact Mini
   ========================================= */
.notice-box {
    background: rgba(252, 163, 17, 0.08);
    border-left: 4px solid var(--secondary-color);
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 25px;
}

.notice-box.warning {
    background: rgba(230, 57, 70, 0.08);
    border-left-color: var(--accent-color);
}

.notice-box.warning i {
    color: var(--accent-color);
}

.notice-box i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.notice-box p {
    margin: 0;
    font-size: 0.95rem;
}

.styled-list {
    margin-top: 20px;
}

.styled-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.styled-list li i {
    color: var(--secondary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-mini {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    border: 1px solid #eee;
}

.contact-mini h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.contact-mini p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-mini p i {
    color: var(--secondary-color);
    margin-right: 8px;
    width: 18px;
}

/* =========================================
   16. About Page Layout
   ========================================= */
.about-page-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-page-text {
    flex: 1.5;
}

.about-page-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-page-text h4 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-page-image {
    flex: 1;
}

.about-page-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-item h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

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

/* =========================================
   17. Vision & Mission
   ========================================= */
.vm-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vm-box {
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: var(--light-bg);
    transition: var(--transition);
}

.vm-box:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.vm-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.vm-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.vm-box p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.vm-box ul {
    margin-top: 15px;
}

.vm-box ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.vm-box ul li i {
    color: var(--secondary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

/* =========================================
   18. Contact Page
   ========================================= */
.contact-page-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--secondary-color);
    transition: var(--transition);
}

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

.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #2c5282);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 15px;
}

.contact-card h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

.contact-form-card {
    max-width: 100%;
}

/* =========================================
   19. Forms
   ========================================= */
.contact-form {
    margin-top: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--light-bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.15);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
}

/* =========================================
   20. Notice List (Notices Page)
   ========================================= */
.notice-list {
    margin-top: 25px;
}

.notice-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: var(--light-bg);
    border-radius: 10px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.notice-item:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.notice-date {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.notice-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.notice-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notice-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.notice-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* =========================================
   21. Gallery Page Grid
   ========================================= */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.gallery-page-grid.full {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-page-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.gallery-page-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-page-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-page-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 30px 20px 15px;
    font-weight: 500;
    font-size: 0.95rem;
}

/* =========================================
   22. Responsive - Internal Pages
   ========================================= */
@media (max-width: 991px) {
    .page-banner h2 {
        font-size: 2rem;
    }

    .content-card {
        padding: 30px 20px;
    }

    .message-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .message-photo {
        width: 200px;
    }

    .message-text h3 {
        justify-content: center;
    }

    .about-page-grid {
        flex-direction: column;
    }

    .about-page-image {
        order: -1;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .vm-section {
        grid-template-columns: 1fr;
    }

    .contact-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .staff-highlight {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 40px 0 35px;
    }

    .page-banner h2 {
        font-size: 1.6rem;
    }

    .page-banner p {
        font-size: 0.9rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    .content-card {
        padding: 25px 15px;
    }

    .content-card h3 {
        font-size: 1.3rem;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

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

    .gallery-page-grid {
        grid-template-columns: 1fr;
    }

    .notice-item {
        flex-direction: column;
        text-align: center;
    }

    .notice-date {
        margin: 0 auto;
    }

    .data-table {
        min-width: 500px;
    }

    .fee-table {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .page-banner h2 {
        font-size: 1.4rem;
    }

    .content-card h3 {
        font-size: 1.15rem;
        flex-direction: column;
        gap: 5px;
    }

    .message-photo {
        width: 180px;
    }

    .user-avatar-placeholder-page {
        width: 160px;
        height: 180px;
        font-size: 3.5rem;
    }
}

/* =========================================
   23. Utility - Text Danger
   ========================================= */
.text-danger {
    color: var(--accent-color);
}

/* =========================================
   24. Complaint Steps (Committee Pages)
   ========================================= */
.complaint-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.complaint-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 25px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.complaint-step:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow);
    background: #fff;
}

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--heading-font);
    box-shadow: 0 4px 12px rgba(13, 46, 90, 0.3);
}

.step-content h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 576px) {
    .complaint-step {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }
}