/* ============================================
   Department of Management Sciences
   Modern, Minimal, Professional Design
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #0d4f6c;
    --primary-dark: #0a3d52;
    --primary-light: #0f5f7f;
    --secondary-color: #d4af37;
    --accent-color: #f4d03f;
    --text-dark: #000000;
    --text-medium: #1a1a1a;
    --text-light: #6c757d;
    --text-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --bg-gray: #e5e5e5;
    --border-color: #e5e5e5;
    --hero-bg: #0d4f6c;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 16px;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

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

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

.header .navbar {
    margin-top: 0;
}

/* Top Bar - Simplified */
.top-bar {
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-color);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-medium);
    font-size: 0.875rem;
}

.top-bar-right {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.top-bar-link {
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0;
    font-size: 0.875rem;
}

.top-bar-link:hover {
    color: var(--primary-color);
}

.top-bar-button {
    color: var(--text-dark);
    font-weight: 400;
    padding: 0.25rem 0;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
    background-color: transparent;
    border: none;
}

.top-bar-button:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

.navbar {
    padding: 1rem 0;
    background-color: transparent;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 0.85;
}

.logo {
    height: 48px;
    width: auto;
}

.brand-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    font-size: 0.9375rem;
    background-color: transparent;
    border: none;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    display: none;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    margin-top: 110px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    background-color: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s ease-in;
}

/* Fallback: Show hero section even if images haven't loaded yet */
.hero-section.images-loaded {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 70px;
        min-height: 85vh;
    }
}

.hero-background-carousel {
    position: absolute;
    top: -110px;
    left: 0;
    width: 100%;
    height: calc(100% + 110px);
    z-index: 0;
    display: block;
    background: transparent !important;
    background-color: transparent !important;
}

@media (max-width: 768px) {
    .hero-background-carousel {
        top: -70px;
        height: calc(100% + 70px);
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
    min-height: 100vh;
    will-change: opacity;
    filter: blur(3px) brightness(0.7);
    background-color: transparent !important;
    background: transparent;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1 !important;
    z-index: 1;
}

.hero-slide:first-child {
    opacity: 1 !important;
    transition: none;
    visibility: visible !important;
}

.hero-slide:first-child.active {
    opacity: 1 !important;
    transition: none;
    visibility: visible !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

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

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.3);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
    position: relative;
    z-index: 3;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.8), 0 6px 20px rgba(0, 0, 0, 0.7), -1px -1px 0 rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #f4d03f;
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.8), 0 5px 15px rgba(0, 0, 0, 0.7), -1px -1px 0 rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    line-height: 1.8;
    font-weight: 600;
    animation: fadeInUp 0.8s ease 0.4s both;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8), 0 4px 12px rgba(0, 0, 0, 0.7), -1px -1px 0 rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.9);
    border-width: 2px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

/* ===== Section Styles ===== */
section {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

section:nth-child(even) {
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.6;
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--bg-white);
    padding: 5rem 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
    color: var(--text-medium);
}

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

.feature-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-medium);
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===== Programs Section ===== */
.programs-section {
    background-color: #f8f9fa;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    text-align: center;
}

.program-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 600;
}

.program-card > p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-medium);
    font-size: 0.9375rem;
}

.program-details {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.program-details li {
    padding: 0.625rem 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9375rem;
}

.program-details li:last-child {
    border-bottom: none;
}

.program-details li::before {
    content: '✓ ';
    color: var(--secondary-color);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* ===== Achievements Preview Section ===== */
.achievements-preview-section {
    background-color: var(--bg-white);
}

.achievements-preview-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
    text-align: left;
    max-width: 100%;
}

.achievements-preview-section .section-header > div {
    flex: 1;
    min-width: 250px;
}

.view-all-link {
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.625rem 1.5rem;
    border: 2px solid var(--bg-gray);
    background-color: var(--bg-gray);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    white-space: nowrap;
}

.view-all-link:hover {
    background-color: var(--border-color);
    border-color: var(--border-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.achievements-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.achievements-preview-grid > * {
    display: flex;
}

/* Ensure 4 achievements display nicely on larger screens */
@media (min-width: 1200px) {
    .achievements-preview-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .achievements-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.achievement-preview-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.achievement-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.achievement-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.achievement-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.achievement-thumbnail {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bg-gray);
    flex-shrink: 0;
}

.achievement-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.achievement-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.achievement-preview-card:hover .achievement-thumbnail img {
    transform: scale(1.1);
}

.achievement-thumbnail.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 79, 108, 0.08) 0%, rgba(13, 79, 108, 0.15) 100%);
}

.achievement-thumbnail.placeholder .placeholder-icon {
    font-size: 2rem;
    opacity: 0.4;
    color: var(--text-dark);
}

.achievement-meta-top {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.achievement-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    flex-wrap: wrap;
}

.achievement-date {
    color: var(--text-light);
    font-size: 0.8125rem;
    font-weight: 500;
}

.achievement-category {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievement-title {
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.achievement-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    transition: var(--transition);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.achievement-title a:hover {
    color: var(--primary-color);
}

.achievement-excerpt {
    color: var(--text-medium);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.achievement-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.detail-item {
    font-size: 0.8125rem;
    color: var(--text-medium);
    padding: 0.25rem 0.75rem;
    background: var(--bg-gray);
    border-radius: 6px;
    font-weight: 500;
}

.achievement-student,
.achievement-program {
    color: var(--text-medium);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.achievement-excerpt {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.9375rem;
}

.read-more:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

/* ===== Faculty Section ===== */
.faculty-section {
    background-color: #f8f9fa;
}

/* Incharge Section */
.incharge-section {
    margin-bottom: 4rem;
}

.incharge-title {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.incharge-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.incharge-card .faculty-avatar {
    margin-bottom: 0;
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 50%;
}

.incharge-card .faculty-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.incharge-card .incharge-avatar {
    width: 120px;
    height: 120px;
    background: var(--bg-gray);
    border: 3px solid var(--border-color);
    font-size: 2.5rem;
    color: var(--text-dark);
}

.incharge-info {
    width: 100%;
}

.incharge-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.incharge-card .incharge-designation {
    color: var(--text-medium);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.incharge-card .faculty-expertise,
.incharge-card .faculty-bio {
    color: var(--text-medium);
    text-align: center;
}

.incharge-card .faculty-bio a {
    color: var(--primary-color);
    text-decoration: underline;
}

.incharge-card .faculty-bio a:hover {
    color: var(--primary-dark);
}

.faculty-members-section {
    margin-top: 3rem;
}

.faculty-members-title {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faculty-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    height: 100%;
}

.faculty-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.incharge-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.incharge-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.faculty-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.faculty-card-link:hover .faculty-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.incharge-card-link:hover .incharge-card {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.faculty-avatar {
    margin-bottom: 1.5rem;
    width: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
}

.faculty-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-gray);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 auto;
}

.faculty-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.faculty-designation {
    color: var(--text-medium);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.faculty-expertise {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.faculty-bio {
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
    text-align: left;
    font-size: 0.9375rem;
    flex-shrink: 0;
    margin-top: auto;
}

/* ===== News Section ===== */
.news-section {
    background-color: var(--bg-white);
}

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

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.news-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.news-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
}

.news-card-link:hover .news-card {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    font-weight: 700;
}

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

.date-month {
    font-size: 0.8125rem;
    text-transform: uppercase;
    margin: 0.25rem 0;
    font-weight: 600;
}

.date-year {
    font-size: 0.75rem;
    opacity: 0.9;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9375rem;
    display: inline-block;
}

.news-card-link:hover .news-link {
    color: var(--secondary-color);
    padding-left: 4px;
}

/* ===== Contact Section ===== */
.contact-section {
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.75rem;
    min-width: 50px;
    text-align: center;
    opacity: 0.8;
}

.contact-details h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.8;
    font-size: 0.9375rem;
}

.contact-form-container {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-form-container h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

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

/* ===== Footer ===== */
.footer {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #1a1a1a;
    position: relative;
    color: var(--text-white);
    padding: 3rem 0 0;
    min-height: 400px;
    z-index: 0;
}

.footer-overlay {
    background-color: rgba(26, 26, 26, 0.92);
    padding: 3rem 0 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    position: relative;
}

.footer-about {
    max-width: 100%;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 200px;
    filter: brightness(1.1);
}

.footer-about-text p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 0.875rem;
    margin: 0;
    text-align: left;
}

.footer-heading {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    width: 100%;
}

.footer-section h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.875rem;
}

.footer-contact li:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-white);
}

.social-facebook {
    background-color: #1877f2;
}

.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-linkedin {
    background-color: #0077b5;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

.footer-bottom {
    padding: 1.5rem 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.8125rem;
}

.footer-utilities {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
}

.footer-utilities a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-utilities a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.25rem;
}

.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 12px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    font-weight: 700;
}

.scroll-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
    transform: rotate(180deg);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .carousel-dots {
        bottom: 24px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

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

    .programs-grid,
    .faculty-grid,
    .news-grid,
    .achievements-grid,
    .achievements-preview-grid {
        grid-template-columns: 1fr;
    }

    .incharge-card {
        padding: 2rem 1.5rem;
    }

    .incharge-card h3 {
        font-size: 1.25rem;
    }

    .incharge-card .incharge-avatar {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }

    .incharge-title,
    .faculty-members-title {
        font-size: 1.25rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .scroll-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .achievements-preview-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .logo {
        height: 40px;
    }

    .brand-text {
        font-size: 0.875rem;
    }

    section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

/* ===== News Detail Page ===== */
.news-detail-page {
    padding: 3rem 0 5rem;
    padding-top: 2rem;
    background-color: var(--bg-white);
    margin-top: 110px;
}

.news-detail-header {
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-medium);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

.news-detail-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-main {
    background-color: var(--bg-white);
}

.news-meta-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.meta-label {
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.9375rem;
}

.meta-value {
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.news-detail-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.news-detail-image {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.news-content-body {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.0625rem;
}

.news-content-body p {
    margin-bottom: 1.5rem;
}

/* News Gallery Styles */
.news-gallery-section {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.gallery-title {
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.gallery-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

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

.main-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.news-sidebar {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.news-sidebar h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.recent-news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.recent-news-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.recent-news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-radius: var(--radius);
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-weight: 700;
}

.recent-news-date .date-day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.recent-news-date .date-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
    font-weight: 600;
}

.recent-news-content {
    flex: 1;
}

.recent-news-content h4 {
    margin-bottom: 0.5rem;
}

.recent-news-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    line-height: 1.4;
}

.recent-news-content h4 a:hover {
    color: var(--primary-color);
}

.recent-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.view-all-btn {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9375rem;
}

.view-all-btn:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

@media (max-width: 968px) {
    .news-detail-content {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
    }

    .news-detail-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .news-detail-page {
        margin-top: 70px;
        padding-top: 2rem;
    }
}

/* ===== Achievement Detail Page ===== */
.achievement-detail-page {
    padding: 2rem 0 4rem;
    background: var(--bg-white);
    margin-top: 110px;
}

.achievement-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-medium);
}

.achievement-breadcrumb a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.2s;
}

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

.achievement-breadcrumb span {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.achievement-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-main {
    max-width: 100%;
}

.achievement-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.achievement-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-date {
    font-size: 0.9375rem;
    color: var(--text-medium);
    font-weight: 500;
}

.meta-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(13, 79, 108, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-info {
    font-size: 0.9375rem;
    color: var(--text-medium);
    font-weight: 500;
}

.meta-info strong {
    color: var(--text-dark);
    font-weight: 600;
    margin-right: 0.25rem;
}

.achievement-image {
    margin: 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-gray);
}

.achievement-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    vertical-align: top;
}

.achievement-image-placeholder {
    margin: 2.5rem 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(13, 79, 108, 0.05) 0%, rgba(13, 79, 108, 0.1) 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(13, 79, 108, 0.2);
}

.achievement-image-placeholder .placeholder-icon {
    font-size: 4rem;
    opacity: 0.3;
}

.achievement-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 400;
}

.achievement-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.achievement-content p {
    margin-bottom: 1.25rem;
}

/* Sidebar */
.achievement-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.recent-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.recent-item:hover {
    background: var(--bg-gray);
    border-color: var(--border-color);
    transform: translateX(4px);
}

.recent-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.recent-item:hover .recent-content h4 {
    color: var(--primary-color);
}

.recent-date {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 500;
}

.view-all-link {
    display: inline-block;
    font-size: 0.9375rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.view-all-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 968px) {
    .achievement-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .achievement-sidebar {
        position: static;
        order: -1;
    }

    .achievement-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .achievement-detail-page {
        padding: 1.5rem 0 3rem;
        margin-top: 70px;
    }

    .achievement-title {
        font-size: 1.75rem;
    }

    .achievement-image {
        margin: 1.5rem 0;
    }

    .achievement-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .achievement-description {
        font-size: 1.125rem;
    }

    .achievement-content {
        font-size: 1rem;
    }

    .achievement-meta {
        margin-bottom: 1.5rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .header,
    .footer,
    .navbar-toggle,
    .carousel-nav,
    .carousel-dots,
    .scroll-to-top {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}
