/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #1a2a4a;
    --primary-dark: #0f1a2e;
    --secondary-color: #c9a227;
    --accent-color: #e6c84a;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --law-gold: #a68b1f;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== JUSTICE BACKGROUND PATTERN ===== */
.justice-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.justice-background::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%230056b3' d='M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s14.3-32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zM320 96a16 16 0 1 0 0-32 16 16 0 1 0 0 32z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.03;
}

/* ===== HEADER ===== */
.main-header {
    background: linear-gradient(135deg, #e8f4fc 0%, #ffffff 50%, #e8f4fc 100%);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 98;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.logo-section .main-logo {
    height: 110px;
    transition: var(--transition);
}

.logo-section .main-logo:hover {
    transform: scale(1.05);
}

.college-title {
    text-align: center;
    flex: 1;
    padding: 0 30px;
}

.college-title h1 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.college-title .tagline {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.college-title .motto {
    font-size: 1.1rem;
    color: var(--law-gold);
    font-style: normal;
    margin-bottom: 10px;
    font-weight: 600;
}

.college-codes {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 0.85rem;
    color: var(--text-dark);
    flex-wrap: wrap;
}

.college-codes span {
    background: rgba(0, 86, 179, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.anniversary-badge {
    height: 100px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 20px;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-item > a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.nav-item > a i.fa-chevron-down {
    font-size: 10px;
    transition: var(--transition);
}

.nav-item:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}

/* DROPDOWN MENU - FIXED */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
    font-size: 14px;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-menu a:hover {
    background: var(--primary-color);
    color: var(--white);
    padding-left: 25px;
}

.dropdown-menu a i {
    width: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.dropdown-menu a:hover i {
    color: var(--white);
}

/* WIDE DROPDOWN FOR ADMISSION */
.dropdown-menu-wide {
    min-width: 450px;
}

.dropdown-menu-wide a {
    padding: 12px 20px;
    font-size: 13px;
    line-height: 1.4;
}

.dropdown-menu-wide a i {
    width: 22px;
}

.btn-enquiry {
    background: var(--secondary-color);
    color: var(--bg-dark);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-enquiry:hover {
    background: #ffed4a;
    transform: scale(1.05);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--bg-light);
    padding: 30px 0;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.slider-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

/* ===== HERO SLIDER - FIXED IMAGE SIZING ===== */
.hero-slider {
    height: 500px;
    width: 100%;
}

.hero-slider .swiper-wrapper {
    height: 100%;
}

.hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* KEY FIX - Forces all images to fill the container uniformly */
.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 80px 40px 40px;
    color: var(--white);
    z-index: 2;
}

.slide-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    z-index: 3;
}

.slide-badge i {
    font-size: 1.8rem;
    color: var(--bg-dark);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.slide-overlay h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-overlay p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--bg-dark);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--white);
    transform: scale(1.05);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: var(--white) !important;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 10;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 18px;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.7);
}

.hero-slider .swiper-pagination {
    z-index: 10;
}

.hero-slider .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--secondary-color);
    opacity: 1;
}

/* ===== NOTICE SECTION ===== */
.notice-section {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 500px;
}

.notice-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.notice-header i {
    color: var(--secondary-color);
}

.notice-icon {
    font-size: 1.5rem;
    opacity: 0.5;
}

.notice-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

#notice-list {
    position: absolute;
    animation: scrollNotices 35s linear infinite;
    padding: 10px 0;
}

.notice-container:hover #notice-list {
    animation-play-state: paused;
}

#notice-list li {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
}

#notice-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

#notice-list li a i {
    color: #dc3545;
    flex-shrink: 0;
}

#notice-list li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

@keyframes scrollNotices {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.view-all-notices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.view-all-notices:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.law-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.law-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* ===== ABOUT VIDYAVARDHINI SECTION ===== */
.about-vidyavardhini-section {
    padding: 40px 0;
    background: var(--white);
    position: relative;
    height: 650px;
    margin-bottom: 60px;
    clear: both;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 10px;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-top: 0px;
    margin-bottom: 20px;
    text-align: justify;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.about-badge span {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.about-badge strong {
    font-size: 2rem;
    font-weight: 700;
}

/* ===== VISION MISSION SECTION ===== */
.vision-mission-section {
    background: var(--primary-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    margin-top: 200px;
}

.vision-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%23ffffff' d='M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s14.3-32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 600px;
    opacity: 0.02;
}

.vm-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.vm-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.vm-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.vm-icon-circle i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.vm-card h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.vm-card p {
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.9;
    opacity: 0.9;
}

.vm-decoration {
    position: absolute;
    bottom: 20px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.2;
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%230056b3' d='M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s14.3-32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 400px;
    opacity: 0.02;
    pointer-events: none;
}

.programs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.program-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    max-width: 500px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.program-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.program-icon:hover {
    transform: rotate(360deg);
}

.program-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.program-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.program-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.program-highlights {
    text-align: left;
    margin-bottom: 25px;
}

.program-highlights li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.program-highlights li i {
    color: #28a745;
}

.btn-know-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-know-more:hover {
    background: var(--primary-dark);
    gap: 15px;
}

/* ===== SYLLABUS SECTION ===== */
.syllabus-section {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.syllabus-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.law-icon-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.law-icon-small i {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.section-header-left h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

.syllabus-description {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}

.btn-syllabus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-syllabus:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-syllabus i {
    font-size: 1.3rem;
}

.syllabus-image {
    position: relative;
}

.syllabus-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.syllabus-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
}

.syllabus-overlay i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.syllabus-overlay span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== FACILITIES SECTION ===== */
.facilities-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.facilities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.facilities-section .section-header {
    position: relative;
    z-index: 2;
}

.facilities-section .section-header h2 {
    color: var(--white);
}

.facilities-section .section-header h2::after {
    background: var(--secondary-color);
}

.facilities-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.facilities-section .law-icon {
    background: var(--secondary-color);
}

.facilities-section .law-icon i {
    color: var(--primary-dark);
}

/* Carousel Container */
.facilities-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Navigation Buttons */
.facility-nav-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.facility-nav-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.facility-nav-btn:active {
    transform: scale(0.95);
}

/* Track Wrapper */
.facilities-track-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Track (sliding container) */
.facilities-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual Card */
.facility-card-item {
    flex: 0 0 calc(33.333% - 17px);
    min-width: calc(33.333% - 17px);
}

.facility-card-inner {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    height: 100%;
}

.facility-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Image Box */
.facility-image-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.facility-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card-inner:hover .facility-image-box img {
    transform: scale(1.1);
}

.facility-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Info Box */
.facility-info-box {
    padding: 25px;
}

.facility-info-box h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.facility-info-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
    min-height: 50px;
}

/* Pagination Dots */
.facility-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.facility-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.facility-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.facility-dot.active {
    background: var(--secondary-color);
    width: 35px;
    border-radius: 6px;
}

/* ===== EXAM RESULTS SECTION ===== */
.exam-results-section {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.exam-results-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.er-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.er-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.er-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
}

.exam-pattern-card::before {
    background: var(--primary-color);
}

.results-card::before {
    background: var(--secondary-color);
}

.er-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.results-card .er-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--law-gold));
}

.er-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.er-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.er-list {
    margin-bottom: 20px;
}

.er-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
}

.er-list li:last-child {
    border-bottom: none;
}

.er-list li i {
    color: #28a745;
}

.results-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    transition: var(--transition);
}

.results-list li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.results-list li a i {
    color: #dc3545;
}

.er-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.results-card .btn-view-more {
    background: var(--secondary-color);
    color: var(--primary-dark);
}

.btn-view-more:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--bg-dark);
    color: var(--white);
    padding-top: 60px;
    position: relative;
    overflow: hidden;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    max-width: 100vw !important;
    margin-top: auto;
    flex: 1 0 auto;
}

.footer-justice-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%23ffffff' d='M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s14.3-32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 500px;
    opacity: 0.02;
    pointer-events: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}

.footer-section h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.about-footer .footer-logo {
    height: 80px;
    margin-bottom: 15px;
}

.about-footer p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-social a i {
    color: var(--white);
}

.footer-social a:hover i {
    color: var(--bg-dark);
}

.quick-links-footer ul li {
    padding: 8px 0;
}

.quick-links-footer ul li a {
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.quick-links-footer ul li a:before {
    content: '›';
    color: var(--secondary-color);
}

.quick-links-footer ul li a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.contact-footer p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #aaa;
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-footer p i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.map-footer iframe {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius);
    border: none;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-bottom p i {
    margin-right: 5px;
}

.footer-bottom a {
    color: var(--secondary-color);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-slider {
        height: 450px;
    }
    
    .notice-section {
        max-width: 600px;
        margin: 0 auto;
        height: 400px;
    }
    
    .vm-container {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .syllabus-container {
        grid-template-columns: 1fr;
    }
    
    .syllabus-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .exam-results-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .facility-card-item {
        flex: 0 0 calc(50% - 13px);
        min-width: calc(50% - 13px);
    }
    
    .dropdown-menu-wide {
        min-width: 380px;
    }
}

@media screen and (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .college-codes {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-container {
        flex-direction: column;
        padding: 10px 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-enquiry {
        margin-top: 10px;
    }
    
    .college-title h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .dropdown-menu-wide {
        min-width: 320px;
    }
}

@media screen and (max-width: 768px) {
    .hero-slider {
        height: 350px;
    }
    
    .notice-section {
        height: 350px;
    }
    
    .slide-overlay {
        padding: 60px 30px 30px;
    }
    
    .slide-overlay h2 {
        font-size: 1.5rem;
    }
    
    .slide-overlay p {
        font-size: 1rem;
    }
    
    .slide-badge {
        width: 50px;
        height: 50px;
    }
    
    .slide-badge i {
        font-size: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-footer p {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .vm-card {
        padding: 35px 25px;
    }
    
    .vm-card h3 {
        font-size: 1.5rem;
    }
    
    .er-card {
        padding: 30px 25px;
    }
    
    .facility-card-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .facility-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .facility-image-box {
        height: 180px;
    }
    
    .facility-info-box {
        padding: 20px;
    }
    
    .facility-info-box p {
        min-height: auto;
    }
    
    .dropdown-menu-wide {
        min-width: 280px;
        left: -50px;
    }
}

@media screen and (max-width: 576px) {
    .dropdown-menu,
    .dropdown-menu-wide {
        position: fixed;
        left: 5% !important;
        right: 5%;
        width: 90%;
        min-width: unset;
        max-height: 70vh;
        overflow-y: auto;
        border-radius: 8px;
    }
}

@media screen and (max-width: 480px) {
    .nav-item > a {
        padding: 12px 10px;
        font-size: 13px;
    }
    
    .hero-slider {
        height: 280px;
    }
    
    .slide-overlay {
        padding: 40px 20px 20px;
    }
    
    .slide-overlay h2 {
        font-size: 1.2rem;
    }
    
    .slide-overlay p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .btn-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .slide-badge {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }
    
    .slide-badge i {
        font-size: 1.3rem;
    }
    
    .program-card {
        padding: 25px;
    }
    
    .vm-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .vm-icon-circle i {
        font-size: 1.5rem;
    }
    
    .btn-syllabus {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .facility-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .facilities-track {
        gap: 15px;
    }
    
    .facility-image-box {
        height: 160px;
    }
    
    .facility-info-box h4 {
        font-size: 1.1rem;
    }
    
    .facility-info-box p {
        font-size: 0.9rem;
    }
}
    /* ===== FAQ PAGE STYLES ===== */

/* FAQ Hero Section */
.faq-hero-section {
    background: linear-gradient(rgba(26, 42, 74, 0.9), rgba(15, 26, 46, 0.9)), 
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1200&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    position: relative;
    text-align: center;
}

.faq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.8), rgba(15, 26, 46, 0.9));
}

.faq-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.law-icon-large {
    width: 100px;
    height: 100px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 2s infinite;
}

.law-icon-large i {
    font-size: 3rem;
    color: var(--primary-dark);
}

.faq-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.faq-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.search-box {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.search-box input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-box button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 30px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* FAQ Main Section */
.faq-main-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FAQ Introduction */
.faq-intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.intro-icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.faq-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.faq-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Categories Navigation */
.faq-categories {
    margin-bottom: 40px;
}

.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category-btn {
    padding: 12px 25px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* FAQ Category Titles */
.faq-category-title {
    margin: 40px 0 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.faq-category-title h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-category-title i {
    color: var(--secondary-color);
}

/* FAQ Accordion Items */
.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 86, 179, 0.03);
}

.faq-question h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-toggle i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background: var(--primary-color);
}

.faq-item.active .faq-toggle i {
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 1000px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer ul {
    margin: 15px 0 20px 20px;
}

.faq-answer li {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.faq-answer li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.faq-answer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px dotted var(--primary-color);
    transition: var(--transition);
}

.faq-answer a:hover {
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary-dark);
}

/* Highlight for search results */
.highlight {
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

/* Contact CTA */
.faq-contact-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    margin-top: 60px;
    box-shadow: var(--shadow-hover);
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.cta-icon i {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.faq-contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.faq-contact-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-cta-primary:hover {
    background: #ffed4a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 30px;
    border: 2px solid var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Active state for FAQ menu item */
.nav-item.active > a {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .faq-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .faq-hero-content p {
        font-size: 1.1rem;
    }
    
    .category-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-btn {
        white-space: nowrap;
    }
}

@media screen and (max-width: 768px) {
    .faq-hero-section {
        padding: 70px 0;
    }
    
    .faq-hero-content h1 {
        font-size: 2rem;
    }
    
    .faq-intro h2 {
        font-size: 1.8rem;
    }
    
    .faq-category-title h3 {
        font-size: 1.5rem;
    }
    
    .faq-question h4 {
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .faq-hero-section {
        padding: 50px 0;
    }
    
    .faq-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .law-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .law-icon-large i {
        font-size: 2.5rem;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: var(--border-radius);
    }
    
    .search-box input {
        padding: 15px;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .search-box button {
        padding: 15px;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .faq-intro {
        padding: 25px;
    }
    
    .faq-contact-cta {
        padding: 30px 20px;
    }
}
    /* ===== GRIEVANCE PAGE STYLES ===== */

/* ===== GRIEVANCE PAGE STYLES - ADDED TO FIX MISSING STYLES ===== */

/* Ensure justice background doesn't interfere */
body.grievance-page .justice-background {
    z-index: 1;
}

/* Grievance Hero Section */
.grievance-hero-section {
    background: linear-gradient(rgba(26, 42, 74, 0.95), rgba(15, 26, 46, 0.95)), 
                url('https://images.unsplash.com/photo-1589578228447-e1a4e481c6c8?w=1200&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    text-align: center;
    z-index: 10;
    min-height: 500px;
}

.grievance-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.9), rgba(15, 26, 46, 0.95));
    z-index: 11;
}

.grievance-hero-content {
    position: relative;
    z-index: 12;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.gavel-icon-large {
    width: 120px;
    height: 120px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.3);
}

.gavel-icon-large i {
    font-size: 3.5rem;
    color: var(--primary-dark);
}

.grievance-hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.grievance-hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grievance Main Section */
.grievance-main-section {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
    z-index: 10;
}

/* Container for grievance page */
.grievance-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grievance-section-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Introduction */
.grievance-intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 50px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 5px solid var(--secondary-color);
}

.grievance-intro-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.grievance-intro-icon i {
    font-size: 2.8rem;
    color: var(--secondary-color);
}

.grievance-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.grievance-intro > p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 40px;
}

.commitment-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.commitment-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.commitment-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.commitment-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.commitment-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.commitment-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Grievance Categories */
.grievance-categories {
    margin-bottom: 60px;
    margin-top: 20px;
}

.grievance-categories h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.category-card.active {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
}

.category-card.active::before {
    content: '✓';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.category-card h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.category-card ul {
    text-align: left;
    padding-left: 20px;
}

.category-card li {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Grievance Form */
.grievance-form-section {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 50px;
    margin-bottom: 60px;
    border-top: 5px solid var(--primary-color);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.form-icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.form-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Form Styles */
.grievance-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label.required::after {
    content: ' *';
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 42, 74, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* File Upload */
.file-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    border: darkblue;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
    border: darkblue;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background-color: white;
    color: darkblue;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    border: darkblue;
}

.file-upload-label:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.file-name {
    color: var(--text-light);
    font-size: 0.9rem;
}

.file-info {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.btn-submit {
    background: var(--secondary-color);
    color: var(--primary-dark);
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-submit:hover {
    background: #e6c84a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.btn-reset {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-reset:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.form-note {
    margin-top: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    text-align: center;
    border-left: 4px solid var(--secondary-color);
}

.form-note p {
    color: var(--text-light);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-note i {
    color: var(--secondary-color);
}

/* Status Check Section */
.status-check-section {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: var(--shadow);
}

.status-header {
    text-align: center;
    margin-bottom: 40px;
}

.status-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--law-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.status-icon i {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.status-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.status-check-form {
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.status-check-form .form-group {
    flex: 1;
    margin: 0;
}

.btn-check-status {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    height: 51px;
}

.btn-check-status:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Status Result */
.status-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
}

.status-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.status-header-info h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

.status-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-badge.in-progress {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.status-badge.resolved {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.status-details p {
    margin: 0;
    display: flex;
    gap: 10px;
}

.status-details strong {
    color: var(--primary-color);
    min-width: 120px;
}

/* Timeline */
.status-timeline h5 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -25px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0e0e0;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px #e0e0e0;
}

.timeline-item.completed .timeline-marker {
    background: var(--secondary-color);
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.timeline-item.current .timeline-marker {
    background: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color);
    animation: pulse 2s infinite;
}

.timeline-content h6 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Information */
.contact-section {
    margin-bottom: 60px;
}

.contact-section h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-card .note {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

.contact-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px dotted var(--primary-color);
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary-dark);
}

/* Committee Section */
.committee-section {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.committee-section h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.committee-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.member-card {
    text-align: center;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.member-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
    color: var(--secondary-color);
}

.member-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.member-department {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Active state for grievance menu item */
.nav-item.active > a {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE DESIGN FOR GRIEVANCE PAGE ===== */

@media screen and (max-width: 1200px) {
    .categories-grid,
    .contact-methods,
    .committee-members {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .commitment-points {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .grievance-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .grievance-hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .status-check-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-check-status {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .grievance-hero-section {
        padding: 70px 0 50px;
    }
    
    .grievance-hero-content h1 {
        font-size: 2rem;
    }
    
    .gavel-icon-large {
        width: 100px;
        height: 100px;
    }
    
    .gavel-icon-large i {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .grievance-intro,
    .grievance-form-section,
    .status-check-section,
    .committee-section {
        padding: 30px;
    }
    
    .grievance-intro h2 {
        font-size: 2rem;
    }
    
    .commitment-points {
        grid-template-columns: 1fr;
    }
    
    .categories-grid,
    .contact-methods,
    .committee-members {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-submit,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }
    
    .status-details {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .grievance-hero-section {
        padding: 50px 0 40px;
    }
    
    .grievance-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .grievance-hero-content p {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-item {
        margin-bottom: 15px;
    }
    
    .grievance-intro h2 {
        font-size: 1.6rem;
    }
    
    .form-header h3,
    .status-header h3,
    .contact-section h3,
    .committee-section h3 {
        font-size: 1.6rem;
    }
}

/* ===== ABOUT PAGE STYLES ===== */

/* About Hero Section */
.about-hero-section {
    background: linear-gradient(rgba(26, 42, 74, 0.95), rgba(15, 26, 46, 0.95)), 
                url('https://images.unsplash.com/photo-1562774053-701939374585?w=1200&h=500&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.9), rgba(15, 26, 46, 0.95));
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.university-icon-large {
    width: 120px;
    height: 120px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.3);
}

.university-icon-large i {
    font-size: 3.5rem;
    color: var(--primary-dark);
}

.about-hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Main Section */
.about-main-section {
    padding: 0px 0;
    background: var(--bg-light);
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* College Introduction */
.college-intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.college-intro h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.college-intro .subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.college-intro .course-highlight {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 10px 20px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: var(--border-radius);
    display: inline-block;
}

.intro-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    margin-top: 30px;
    text-align: left;
}

.intro-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.intro-icon i {
    font-size: 2rem;
    color: var(--white);
}

.intro-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.intro-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* About Vidyavardhini Section */
.about-vidyavardhini-section {
    margin-bottom: 60px;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 30px;
    margin-left: 20px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    margin-left: 20px;
    text-align:justify;
}

.objectives-list {
    margin-top: 30px;
    margin-left: 20px;
}

.objective-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.objective-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.objective-item p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    margin-right:20px;
}

.about-image img {
    width: 100%;
    height: 500px;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px;
    color: var(--white);
}

.image-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.image-overlay p {
    margin: 0;
    opacity: 0.9;
}

/* Leadership Section */
.leadership-section {
    margin-bottom: 60px;
    padding: 50px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.leadership-content {
    display:block;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.leadership-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.leadership-text p:last-child {
    margin-bottom: 0;
}

.leadership-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 25px 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.stat-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Colleges Section */
.colleges-section {
    margin-bottom: 60px;
}

.colleges-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.college-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.college-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.college-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.college-icon i {
    font-size: 2rem;
    color: var(--white);
}

.college-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.college-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Responsive Design for About Page */
@media screen and (max-width: 1200px) {
    .colleges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-content {
        grid-template-columns: 1fr;
    }
    
    .colleges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-card {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .about-hero-section {
        padding: 70px 0 50px;
        min-height: 500px;
    }
    
    .about-hero-content h1 {
        font-size: 2rem;
    }
    
    .about-hero-content p {
        font-size: 1.1rem;
    }
    
    .university-icon-large {
        width: 100px;
        height: 100px;
    }
    
    .university-icon-large i {
        font-size: 2.8rem;
    }
    
    .college-intro h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .colleges-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .leadership-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .leadership-section {
        padding: 30px;
    }
}

@media screen and (max-width: 576px) {
    .about-hero-section {
        padding: 50px 0 40px;
        min-height: 400px;
    }
    
    .about-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .leadership-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 30px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}
/* Legacy Section Styles */
.legacy-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #0f1a2e;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #c9a227, #c9a227);
    bottom: -10px;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* Legacy Grid Layout */
.legacy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 50px;
    justify-items: center;
}

/* Person Card */
.person-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    position: relative;
}

.person-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Photo Frame */
.photo-frame {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
}

.person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}

.person-card:hover .person-photo {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Memorial Icon for Departed */
.memorial-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a237e;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Person Info */
.person-info {
    padding: 25px;
    text-align: center;
    background: white;
}

.person-info h3 {
    margin: 0 0 10px 0;
    color: #1a237e;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.designation {
    color: #3949ab;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tenure {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* Section Footer */
.section-footer {
    margin-top: 60px;
    text-align: center;
}

.memorial-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 1rem;
    padding: 15px 30px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.memorial-star {
    color: #FFD700;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .legacy-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 30px 20px;
    }
    
    .section-header h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .legacy-section {
        padding: 60px 0;
    }
    
    .legacy-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 25px 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .person-info {
        padding: 20px;
    }
    
    .person-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .legacy-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .photo-frame {
        height: 320px;
    }
}

/* Animation for loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.person-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.person-card:nth-child(1) { animation-delay: 0.1s; }
.person-card:nth-child(2) { animation-delay: 0.2s; }
.person-card:nth-child(3) { animation-delay: 0.3s; }
.person-card:nth-child(4) { animation-delay: 0.4s; }
.person-card:nth-child(5) { animation-delay: 0.5s; }
.person-card:nth-child(6) { animation-delay: 0.6s; }
.person-card:nth-child(7) { animation-delay: 0.7s; }

/* ============================================
   PRESIDENT'S DESK PAGE STYLES - UPDATED
   ============================================ */

/* President Section */
.president-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 200px);
}

.header-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #1a237e, #3949ab);
    border-radius: 2px;
    margin: 10px auto 20px;
}

/* Current President Card */
.current-president-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #1a237e;
    height: 100%;
    transition: transform 0.3s ease;
    text-align: center;
}

.current-president-card:hover {
    transform: translateY(-5px);
}

.president-photo-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.president-photo {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.president-photo-frame:hover .president-photo {
    transform: scale(1.03);
}

.president-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a237e;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.president-info h3 {
    color: #1a237e;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.designation {
    color: #1a237e;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.trust-name {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.current-president-quote {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
    border-left: 4px solid #1a237e;
}

.quote-icon {
    color: #1a237e;
    font-size: 1.5rem;
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.3;
}

.quote-text {
    font-style: italic;
    color: #333;
    margin: 10px 0 0;
    padding-left: 25px;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Message Content */
.president-message-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.message-intro {
    border-bottom: 2px solid #e8eaf6;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.message-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.message-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #1a237e;
    position: relative;
}

.section-icon {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: #1a237e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ============================================
   FIX LEADERSHIP TIMELINE LAYOUT
   ============================================ */

/* Fix timeline layout */
.leadership-timeline {
    position: relative;
    padding-left: 40px; /* Increased padding */
    margin-left: 0;
}

.leadership-timeline::before {
    content: '';
    position: absolute;
    left: 20px; /* Adjusted position */
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #1a237e, #3949ab);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
    align-items: flex-start; /* Align items to top */
}

.timeline-marker {
    width: 40px; /* Increased size */
    height: 40px;
    background: white;
    border: 3px solid #1a237e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a237e;
    margin-right: 20px; /* Increased margin */
    flex-shrink: 0;
    z-index: 2;
    position: absolute;
    left: -50px; /* Position outside timeline */
    top: 0;
}

.timeline-content {
    flex: 1;
    margin-left: 0; /* Reset margin */
    padding-left: 0;
    width: 100%;
}

.timeline-content h5 {
    color: #1a237e;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline-content p.text-muted {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.timeline-content p.mb-0 {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Alternative: Simpler timeline without vertical line */
/* Uncomment if you want this cleaner look */
/*
.leadership-timeline {
    padding-left: 0;
}

.leadership-timeline::before {
    display: none;
}

.timeline-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1a237e;
}

.timeline-marker {
    position: static;
    width: 40px;
    height: 40px;
    background: #1a237e;
    color: white;
    border: none;
    margin-right: 15px;
    margin-top: 5px;
}

.timeline-content {
    flex: 1;
}
*/
/* Achievement Card */
.achievement-card {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid #1a237e;
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: #1a237e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.achievement-content h5 {
    color: #1a237e;
}

/* Initiative Items */
.initiative-item {
    display: flex;
    align-items: flex-start;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.initiative-item:hover {
    transform: translateX(5px);
    background: #e8eaf6;
}

.initiative-icon {
    width: 40px;
    height: 40px;
    background: #3949ab;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.initiative-item h6 {
    color: #333;
    margin-bottom: 5px;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    border-left: 4px solid #1a237e;
    border-radius: 10px;
    padding: 25px;
    position: relative;
}

.highlight-icon {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: #1a237e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.highlight-box h5 {
    color: #1a237e;
    margin-bottom: 15px;
}

/* Legacy Leader Cards */
.legacy-leader-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid #1a237e;
}

.legacy-leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.leader-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #1a237e;
}

.legacy-leader-card h4 {
    color: #1a237e;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .president-section {
        padding: 60px 0;
    }
    
    .president-photo {
        height: 350px;
    }
    
    .president-message-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .president-section {
        padding: 40px 0;
    }
    
    .president-photo {
        height: 320px;
    }
    
    .current-president-card,
    .president-message-content {
        padding: 25px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-marker {
        margin-bottom: 10px;
    }
    
    .achievement-card {
        flex-direction: column;
        text-align: center;
    }
    
    .achievement-icon {
        margin: 0 auto 15px;
    }
}

@media (max-width: 576px) {
    .president-section h1.display-4 {
        font-size: 2.2rem;
    }
    
    .president-photo {
        height: 280px;
    }
    
    .president-badge {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ============================================
   TEACHING STAFF PAGE STYLES
   ============================================ */

/* Staff Section */
.staff-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Staff Filters */
.staff-filters {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #e8eaf6;
    color: #1a237e;
    border-color: #1a237e;
}

.filter-btn.active {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
    border-color: #1a237e;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

#staffSearch {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#staffSearch:focus {
    outline: none;
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

/* Staff Card */
.staff-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 5px solid #1a237e;
}
