/* Department Page Layout */
.department-page {
    padding: 40px 0;
    background: var(--light-bg);
}

.department-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    align-items: start;
}

/* Sidebar Styles */
.department-sidebar {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.sidebar-title {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.department-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.department-menu li {
    border-bottom: 1px solid var(--border-color);
}

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

.dept-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.dept-link:hover {
    background: var(--primary-color);
    color: var(--white);
    padding-left: 25px;
}

.dept-link.active {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.dept-link.active::before {
    content: '▶';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
}

/* Main Content Area */
.department-content {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.department-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 0px 30px;
    text-align: center;
}

.department-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Department Tabs */
.department-tabs {
    display: flex;
    background: var(--light-bg);
    border-bottom: 2px solid var(--primary-color);
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 4px;
    margin-top: 1px;
    border-radius: 10px;
}

.tab-btn:hover {
    background: rgba(136, 14, 79, 0.1);
    color: var(--primary-color);
}

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

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
}

/* Tab Content */
.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Department Profile Styles */
.department-profile h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.department-profile h3 {
    color: var(--primary-dark);
    margin: 25px 0 15px 0;
    font-size: 1.2rem;
}

.department-profile p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.department-profile ul {
    margin: 15px 0;
    padding-left: 20px;
}

.department-profile li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Faculty Grid */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.faculty-card {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.faculty-image {
    width: 180px;
    height: 220px;
    margin: 0 auto 15px;
    background: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

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

.faculty-designation {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.faculty-qualification {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.view-profile-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.view-profile-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-placeholder {
    height: 150px;
    background: var(--light-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.gallery-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.gallery-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

/* Reports Section */
.reports-list {
    margin-top: 20px;
}

.report-item {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.report-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.report-item p {
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.5;
}

.download-btn {
    background: var(--secondary-color);
    color: var(--text-dark);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .department-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .department-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    
    .department-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 50%;
        min-width: 120px;
    }
    
    .faculty-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .department-page {
        padding: 20px 0;
    }
    
    .tab-content {
        padding: 20px 15px;
    }
    
    .tab-btn {
        font-size: 0.8rem;
        padding: 12px 15px;
    }
    
    .department-title {
        font-size: 1.4rem;
    }
}

/* CSS Variables for Color Scheme */
:root {
    --primary-color: #880e4f; /* Main burgundy */
    --primary-dark: #560027; /* Dark burgundy for top bar */
    --primary-light: #ad1457; /* Lighter burgundy for header */
    --secondary-color: #ffd54f; /* Gold for buttons/accents */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(136, 14, 79, 0.1);
    --shadow-hover: 0 5px 20px rgba(136, 14, 79, 0.2);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: rgba(223, 192, 109, 0.932);
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4%;
}

/* Quick Site Cards */
.quick-site-cards {
    padding: 80px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    margin-top: 40px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.quick-site-cards .site-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(136, 14, 79, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.quick-site-cards .site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.quick-site-cards .site-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.quick-site-cards .site-card:nth-child(3)::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.quick-site-cards .site-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(136, 14, 79, 0.2);
    border-color: var(--primary-color);
}

.quick-site-cards .site-card:nth-child(2):hover {
    box-shadow: 0 15px 40px rgba(136, 14, 79, 0.3);
    border-color: var(--primary-color);
}

.quick-site-cards .site-card:nth-child(3):hover {
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.3);
    border-color: #4facfe;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(136, 14, 79, 0.3);
    transition: all 0.3s ease;
}

.quick-site-cards .site-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 5px 15px rgba(136, 14, 79, 0.3);
}

.quick-site-cards .site-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

.quick-site-cards .site-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.quick-site-cards .site-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.quick-site-cards .site-card:nth-child(2) h3 {
    color: #d81b60;
}

.quick-site-cards .site-card:nth-child(3) h3 {
    color: #0288d1;
}

.quick-site-cards .site-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.card-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(136, 14, 79, 0.3);
}

.quick-site-cards .site-card:nth-child(2) .card-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 4px 15px rgba(136, 14, 79, 0.3);
}

.quick-site-cards .site-card:nth-child(3) .card-link {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(136, 14, 79, 0.4);
}

.quick-site-cards .site-card:nth-child(2) .card-link:hover {
    box-shadow: 0 6px 20px rgba(136, 14, 79, 0.4);
}

.quick-site-cards .site-card:nth-child(3) .card-link:hover {
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

/* Responsive for Site Cards */
@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 100%;
    }
    
    .quick-site-cards .site-card {
        padding: 30px 25px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .quick-site-cards .site-card h3 {
        font-size: 1.3rem;
    }
    
    .quick-site-cards .site-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .quick-site-cards {
        padding: 40px 0;
    }
    
    .cards-container {
        gap: 20px;
    }
    
    .quick-site-cards .site-card {
        padding: 25px 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .quick-site-cards .site-card h3 {
        font-size: 1.2rem;
    }
    
    .quick-site-cards .site-card p {
        font-size: 0.85rem;
    }
    
    .card-link {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
}

/* Latest News Feed Section */
.latest-news-feed {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.news-feed-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-column {
    background: var(--white);
    border-radius: 15px;
    padding: 0;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.news-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.news-header i {
    font-size: 1.5rem;
}

.news-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.news-ticker {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: var(--white);
}

.news-content {
    animation: scrollUp 20s linear infinite;
    padding: 20px;
}

.news-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

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

.news-date {
    display: block;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.news-text {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* Pause animation on hover */
.news-ticker:hover .news-content {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-feed-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-ticker {
        height: 250px;
    }
    
    .news-header {
        padding: 15px;
    }
    
    .news-header h3 {
        font-size: 1.1rem;
    }
    
    .news-header i {
        font-size: 1.3rem;
    }
}

/* Educational Sites Section */
.educational-sites {
    padding: 5px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sites-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.site-card {
    background: var(--white);
    border-radius: 50%;
    width: 260px;
    height: 260px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-card:nth-child(1) {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.site-card:nth-child(2) {
    background: linear-gradient(135deg, #d81b60, #ec407a);
}

.site-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}



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

.site-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.site-card:nth-child(1) .site-icon {
    color: var(--primary-color);
}

.site-card:nth-child(2) .site-icon {
    color: #d81b60;
}

.site-card:nth-child(3) .site-icon {
    color: #00f2fe;
}

.site-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
}

.site-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.site-features {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.site-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    position: relative;
    padding-left: 25px;
}

.site-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.site-features li:last-child {
    border-bottom: none;
}

.btn-tertiary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-tertiary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

/* Responsive Design for Educational Sites */
@media (max-width: 768px) {
    .sites-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .site-card {
        padding: 30px 20px;
    }
    
    .site-card .btn {
        display: inline-block !important;
        margin-top: 15px;
        padding: 12px 24px !important;
        font-size: 1rem !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10;
    }
    
    .site-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .site-card h3 {
        font-size: 1.3rem;
    }
}

/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 2px 0;
    font-size: 12px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

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

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.contact-info i {
    color: var(--secondary-color);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

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

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

.social-links a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.2);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    padding: 0px 0;
    box-shadow: none;
    position: relative;
    z-index: 100;
    margin-top:0px;
    border: none;
    border-bottom: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-left,
.logo-right {
    flex: 0 0 auto;
}

.header-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.logo-left .header-logo,
.logo-right .header-logo {
    border-radius: 50% !important;
    overflow: hidden;
}

.header-text {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-top: none;
    border-bottom: none;
    padding: 0;
}

.trust-name {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
    font-weight: 500;
    margin-bottom: -7px;
}

.institute-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.campus-address {
    font-size: 0.95rem;
    color: var(--white);
    margin: 0;
    font-weight: 500;
}

.contact-details {
    font-size: 0.8rem;
    color: var(--white);
    margin: 0;
    font-weight: 500;
}

.affiliation {
    font-size: 0.8rem;
    color: var(--white);
    margin: 0;
    font-weight: 500;
}

.college-code {
    font-size: 0.85rem;
    color:white;
    margin: 0;
    font-weight: 500;
}

/* Responsive Header */
@media (max-width: 992px) {
    .header-content {
        gap: 20px;
    }
    
    .header-logo {
        max-height: 60px;
    }
    
    .institute-name {
        font-size: 1.5rem;
    }
    
    .trust-info {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }
    
    .logo-left,
    .logo-right {
        flex: 0 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .header-logo {
        height: 100px;
        width: 100px;
        max-width: 100px;
        object-fit: cover;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .header-text {
        order: 2;
        text-align: center;
    }
    
    .logo-left {
        order: 1;
    }
    
    .logo-right {
        order: 3;
    }
    
    .institute-name {
        font-size: 1.8rem;
    }
    
    .affiliation {
        font-size: 0.9rem;
    }
    
    .college-code {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 44px 0;
        min-height: 130px;
        padding-bottom: 6px;
    }
    
    .logo-left,
    .logo-right {
        flex: 0 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .header-logo {
        height: 80px;
        width: 80px;
        max-width: 62px;
        object-fit: cover;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .institute-name {
        font-size: 1.5rem;
    }
    
    .affiliation {
        font-size: 0.8rem;
    }
    
    .college-code {
        font-size: 0.7rem;
    }
}

.header .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4%;
}

.institute-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.2;
}

.affiliation {
    font-size: 1.3rem;
    margin-bottom: -4px;
}

.college-code {

    .dropdown-submenu:hover .dropdown-link i {
        transform: rotate(90deg);
    }
    z-index: 1000;
    text-align: center;
}

.navbar {
    height: 44px;
}

.nav-container {
    max-width: 100%;
    margin: -4px auto;
    padding: 0 4%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    border: 1px solid var(--border-color);
    padding: 10px 0;
    margin-top: 10px;
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-link:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding-left: 25px;
}

.dropdown-link::before {
    content: none;
}

/* Nested Dropdown Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-submenu .dropdown-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown-submenu:hover .dropdown-link i {
    transform: rotate(90deg);
}

.submenu {
    position: absolute;
    top: -20px;
    left: 100%;
    background: var(--white);
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid var(--border-color);
    padding: 10px 0;
    margin-left: 0;
    display: none;
}

.dropdown-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    display: block;
}

/* Allow submenu to stay visible when hovering over it */
.dropdown-submenu:hover .submenu,
.submenu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    display: block;
}

/* Hide submenu when not hovering over either the parent or submenu itself */
.dropdown-submenu:not(:hover) .submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    display: none;
}

.submenu .dropdown-link {
    padding: 8px 15px;
    font-size: 0.85rem;
}

.submenu .dropdown-link:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding-left: 30px
}

/* Mobile Navigation Styles */
.mobile-navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: var(--primary-dark);
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.mobile-contact-info span {
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mobile-contact-info i {
    font-size: 10px;
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    margin: 2px 0;
    transition: all 0.3s ease;
}

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

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

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

.mobile-nav-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--white);
}

.mobile-nav-menu.active {
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link,
.mobile-nav-link:link,
.mobile-nav-link:visited {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600; /* Uniform bold weight */
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: rgba(136, 14, 79, 0.04);
    color: var(--primary-color);
    padding-left: 25px;
}

.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle,
.mobile-dropdown-toggle:link,
.mobile-dropdown-toggle:visited {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600; /* Uniform bold weight */
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.mobile-dropdown-toggle:hover,
.mobile-dropdown-toggle:focus {
    background: rgba(136, 14, 79, 0.04);
    color: var(--primary-color);
}

.mobile-dropdown.active .mobile-dropdown-toggle {
    background: rgba(136, 14, 79, 0.02);
    color: var(--primary-color);
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--light-bg);
}

.mobile-dropdown-menu.active {
    max-height: 500px;
    overflow-y: auto;
}

.mobile-dropdown-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-dropdown-link {
    display: block;
    padding: 12px 20px 12px 30px;
    color: var(--text-dark); /* High contrast dark color */
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-dropdown-link:hover {
    background: rgba(136, 14, 79, 0.04);
    color: var(--primary-color);
    padding-left: 35px;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--white);
}

.mobile-submenu.active {
    max-height: 300px;
    overflow-y: auto;
}

.mobile-submenu-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-submenu-link {
    display: block;
    padding: 10px 20px 10px 45px; /* Deeper indent for nested submenu */
    color: #444444; /* High contrast dark grey */
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-submenu-link:hover {
    background: rgba(136, 14, 79, 0.04);
    color: var(--primary-color);
    padding-left: 50px;
}

/* Mobile Navigation Responsive */
@media (max-width: 768px) {
    .mobile-navbar {
        display: block;
    }
    
    .navbar {
        display: none;
    }
    
    .top-bar {
        display: none;
    }
    
}

@media (max-width: 480px) {
    .mobile-nav-header {
        padding: 8px 12px;
    }
    
    .mobile-contact-info span {
        font-size: 10px;
    }
    
    .mobile-contact-info i {
        font-size: 9px;
    }
    
    .mobile-nav-link,
    .mobile-dropdown-toggle {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .mobile-dropdown-link {
        padding: 10px 20px 10px 30px;
        font-size: 13px;
    }
    
    .mobile-submenu-link {
        padding: 8px 20px 8px 45px;
        font-size: 12px;
    }
}

/* Hero Section with Slider */
.hero {
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 1;
    height: calc(100vh - 200px);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transform: none !important;
    overflow: hidden;
    margin-bottom: 0;
    border-bottom: 3px solid var(--secondary-color);
}

.hero * {
    transform: none !important;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0px;
    margin: 0px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

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

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .institute-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .affiliation {
    font-size: 1rem;
    margin-bottom: 8px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero .college-code {
    font-size: 0.9rem;
    margin-bottom: 40px;
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.admissions-banner {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.admissions-banner h2 {
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 100;
    pointer-events: none;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    pointer-events: auto;
    z-index: 101;
}

.slider-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.8);
}

.admissions-banner h2 {
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 160px;
    text-align: center;
}

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

.btn-primary:hover {
    background: #ff9800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 167, 38, 0.3);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

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

/* About Section */
.about {
    padding: 38px 0;
    background: var(--light-bg);
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.about .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
    text-align: justify;
}

.about-text {
    order: 1;
}

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

.highlights {
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.highlight-item {
    padding: 10px 0;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

.highlight-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.highlight-item:hover {
    color: var(--primary-color);
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

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

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.highlight-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.highlight-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 600;
    transition: all 0.3s ease;
}

.highlight-item:hover span {
    color: var(--primary-color);
}

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

.highlight-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 0.9rem;
    color: var(--white);
    line-height: 1.4;
    font-weight: 500;
}

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

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.about-image {
    order: 2;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--white);
}
.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(51, 51, 51, 0.3);
}
/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.subsection-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-dark);
    margin: 60px 0 30px 0;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
}

/* Courses Section */
.courses {
    padding: 0px 0;
}

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

.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.course-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-header h3 {
    font-size: 1.5rem;
}

.course-duration {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.course-content {
    padding: 20px;
}

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

.course-content h5 {
    color: var(--primary-dark);
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.course-content ul {
    list-style: none;
    padding-left: 0;
}

.course-content li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.course-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 12px;
}

/* Principal Section */
.principal {
    padding: 26px 0;
    background: var(--white);
}

.principal-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
}

.principal-image {
    display: flex;
    justify-content: center;
}

.principal-image .image-placeholder {
    max-width: 177px;
    height: 162px;
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 57%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--white);
    box-shadow: var(--shadow-hover);
}

.principal-message h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.principal-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.office-hours {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.office-hours h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.office-hours p {
    color: var(--text-dark);
    margin: 0;
}

.office-hours i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Facilities Section */
.facilities {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.facility-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.facility-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 20px;
    font-size: 30px;
    color: var(--white);
}

.facility-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.facility-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Administration Section */
.administration {
    padding: 0px 0;
    background: var(--light-bg);
}

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

.admin-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.admin-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.admin-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.admin-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.admin-content {
    padding: 25px;
}

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

.admin-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.admin-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-content li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.admin-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 10px;
}

.admin-content i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 14px;
}

/* Quick Links Section */
.quick-links {
    padding: 20px 0;
    background: var(--white);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.link-category {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.link-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.link-category h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-category h3 i {
    color: var(--secondary-color);
    font-size: 18px;
}

.link-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-category li {
    margin-bottom: 10px;
}

.link-category a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.link-category a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.link-category a:hover {
    color: var(--primary-color);
    padding-left: 25px;
}

.link-category a:hover::before {
    transform: translateX(5px);
}

.link-category a[target="_blank"]::after {
    content: '↗';
    font-size: 12px;
    margin-left: 5px;
    opacity: 0.7;
}

/* Placements Section */
.placements {
    padding: 20px 0;
}

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

.placement-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.placement-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.company-logo {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.company-logo i {
    font-size: 40px;
    color: var(--primary-color);
}

.company-logo span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    padding: 20px 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 20px;
    width: 25px;
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 14px 0 20px;
}
#link{
    text-align: right;
}
/* Department Overview Section */
.department-overview {
    padding: 60px 0;
    background: var(--light-bg);
}

/* Department Profile Photo Layout */
.profile-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.profile-content {
    flex: 1;
}

.profile-image {
    flex: 0 0 300px;
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .profile-image {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

.overview-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.history-section,
.department-mission,
.curriculum-focus {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.history-section h3,
.department-mission h3,
.curriculum-focus h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.history-section p,
.department-mission p,
.curriculum-focus p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Key Highlights Section */
.key-highlights {
    padding: 60px 0;
    background: var(--white);
}

.key-highlights h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.highlight-item i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.highlight-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.highlight-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Faculty Section */
.faculty-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.faculty-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.faculty-content {
    max-width: 800px;
    margin: 0 auto;
}

.faculty-content > p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: justify;
}

.faculty-responsibilities {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.faculty-responsibilities h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.faculty-responsibilities ul {
    list-style: none;
    padding: 0;
}

.faculty-responsibilities li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 25px;
}

.faculty-responsibilities li:last-child {
    border-bottom: none;
}

.faculty-responsibilities li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

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

.faculty-photos h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.photo-placeholder {
    background: var(--white);
    padding: 60px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 2px dashed var(--border-color);
}

.photo-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.photo-placeholder p {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Course Page Styles */
.course-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-align: center;
    padding: 7px 0;
    position: relative;
    overflow: hidden;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.course-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.course-hero .course-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.course-hero h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.course-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.course-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.course-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.course-meta i {
    margin-right: 8px;
}

.course-content {
    padding: 45px 0;
    background: var(--light-bg);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 8px;
}

.content-card {
    background: var(--white);
    border-radius: 15px;
    padding: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    min-height: 140px;
}

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

.content-card h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.content-card h2 i {
    font-size: 1.1rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.content-card h3 {
    color: var(--primary-color);
    margin: 20px 0 10px 0;
    font-size: 1rem;
}

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

.content-card li {
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
}

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

.content-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(136, 14, 79, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    min-height: 35px;
}

.skill-item i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
}

.skill-item span {
    font-size: 0.85rem;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.career-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    background: rgba(136, 14, 79, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.career-item:hover {
    background: rgba(136, 14, 79, 0.1);
    transform: translateY(-3px);
}

.career-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.career-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.edu-item {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.edu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(136, 14, 79, 0.3);
}

.edu-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.edu-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.edu-item p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.professional-courses {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 215, 79, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.professional-courses h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.professional-courses ul {
    list-style: none;
    padding: 0;
}

.professional-courses li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.professional-courses li:last-child {
    border-bottom: none;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 6px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive for Course Pages */
@media (max-width: 768px) {
    .course-hero h1 {
        font-size: 1.5rem;
    }
    
    .course-meta {
        gap: 15px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .career-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.4rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.affiliation-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.affiliation-info p {
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.trust-info {
    color: white;
    font-size: 0.85rem;
}

.trust-info p {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .contact-info span {
        font-size: 12px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .institute-name {
        font-size: 1.8rem;
    }
    
    .affiliation {
        font-size: 0.9rem;
    }
    
    .college-code {
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 30px 0;
        height: auto;
        min-height: 50vh;
    }
    
    .hero .institute-name {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .hero .affiliation {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .hero .college-code {
        font-size: 0.8rem;
        margin-bottom: 25px;
    }
    
    .admissions-banner {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .admissions-banner h2 {
        font-size: 1.3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Slider Controls Responsive */
    .slider-controls {
        padding: 0 15px;
    }
    
    .slider-controls button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-indicators {
        bottom: 20px;
        gap: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
        padding: 0 15px;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        text-align: justify;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 20px;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 280px;
        height: 220px;
        border-radius: 10px;
        margin: 0 auto;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .highlights {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
    
    .highlight-item {
        padding: 15px;
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    
    .highlight-item i {
        font-size: 20px;
        width: 30px;
        flex-shrink: 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .subsection-title {
        font-size: 1.5rem;
        margin: 40px 0 20px 0;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .course-header h3 {
        font-size: 1.3rem;
    }
    
    .principal-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .principal-image {
        order: 1;
    }
    
    .principal-message {
        order: 2;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .companies-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .quick-site-cards {
        height: auto;
        padding: 30px 0;
    }
    
    .circles-container {
        gap: 20px;
    }
    
    .site-circle {
        width: 120px;
        height: 120px;
    }
    
    .circle-content i {
        font-size: 2rem;
    }
    
    .circle-content h3 {
        font-size: 1rem;
    }
    
    .circle-content p {
        font-size: 0.7rem;
    }
    
    .educational-sites {
        padding: 50px 0;
    }
    
    .sites-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .site-card {
        padding: 30px 20px;
    }
    
    .site-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .site-card h3 {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    /* Mobile Menu Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

    .navbar {
        position: relative;
        z-index: 1001;
    }
    
    .nav-container {
        height: 60px;
        padding: 10px 20px;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 280px;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 20px 20px;
        transition: all 0.3s ease;
        z-index: 1000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        max-height: 80vh;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        text-align: left;
    }
    
    .nav-menu.active {
        max-height: 80vh;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-dark);
        font-weight: 500;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 1;
        transform: translateX(0);
        justify-content: flex-start;
    }
    
    .nav-link:hover {
        background: rgba(136, 14, 79, 0.1);
        color: var(--primary-color);
        padding-left: 25px;
        transform: translateX(5px);
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(136, 14, 79, 0.05);
        margin-top: 0;
        padding-left: 20px;
        display: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        text-align: left;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 300px;
    }
    
    .submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(136, 14, 79, 0.02);
        margin-left: 0;
        padding-left: 20px;
        display: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .dropdown-submenu.active .submenu {
        display: block;
        max-height: 200px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-dark);
        font-weight: 500;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .dropdown-toggle:hover {
        background: rgba(136, 14, 79, 0.1);
        color: var(--primary-color);
        padding-left: 25px;
        transform: translateX(5px);
    }
    
    .dropdown-link {
        padding: 12px 20px;
        color: var(--text-dark);
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(136, 14, 79, 0.1);
    }
    
    .dropdown-link:hover {
        background: rgba(136, 14, 79, 0.15);
        color: var(--primary-color);
        padding-left: 25px;
        transform: translateX(5px);
    }
    
    .dropdown-submenu .dropdown-link i {
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }
    
    .dropdown-submenu.active .dropdown-link i {
        transform: rotate(90deg);
    }
    
    .hamburger {
        display: flex;
        position: relative;
        z-index: 2001;
        padding: 10px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .hamburger.active {
        background: var(--primary-color);
    }
    
    .hamburger.active .bar {
        background: var(--white);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Overlay for mobile menu */
    .nav-overlay {
        display: none;
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1999;
    }
    
    .nav-overlay.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 8px;
        font-size: 12px;
    }
    
    .institute-name {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
       min-height: 65vh;
        padding: 1px 0;
    }
    
    .hero-content {
        flex: 1;
        justify-content: center;
    }
    
    .hero .institute-name {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .hero .affiliation {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .hero .college-code {
        font-size: 0.8rem;
        margin-bottom: 25px;
    }
    
    .admissions-banner {
        padding: 25px;
        margin-bottom: 25px;
        max-width: 400px;
    }
    
    .admissions-banner h2 {
        font-size: 1.5rem;
    }
    
    .courses-offered {
        gap: 10px;
    }
    
    .course-badge {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        min-width: 140px;
    }
    
    .site-circle {
        width: 100px;
        height: 100px;
    }
    
    .circle-content i {
        font-size: 1.5rem;
    }
    
    .circle-content h3 {
        font-size: 0.9rem;
    }
    
    .circle-content p {
        font-size: 0.65rem;
    }
    
    .circles-container {
        gap: 15px;
    }
    
    .site-card {
        padding: 25px 15px;
    }
    
    .site-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .about .image-placeholder {
        max-width: 220px;
        height: 160px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .site-card h3 {
        font-size: 1.2rem;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .company-logo {
        padding: 15px;
    }
    
    .company-logo i {
        font-size: 30px;
    }
    
    .company-logo span {
        font-size: 0.8rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
        margin: 0 0.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

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

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 20px 0 20px;
    margin-top: 21px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 3px;
}

.footer-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

.affiliation-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.affiliation-info p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.affiliation-info strong {
    color: var(--secondary-color);
}

.trust-info {
    text-align: center;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 0px;
}

.trust-info p {
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 0px 0 15px;
        margin-top: 60px;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
}

/* B.Com Specific Card Reductions */
.bcom-page .content-grid {
    display: block;
    column-count: 2;
    column-gap: 25px;
}

.bcom-page .content-card {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 25px;
    break-inside: avoid;
    padding: 24px;
    min-height: auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: none;
}

.bcom-page .content-card:hover {
    transform: none;
    box-shadow: var(--shadow);
}

.bcom-page .content-card h2 {
    font-size: 1.35rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.bcom-page .content-card h2 i {
    font-size: 1.15rem;
    color: var(--secondary-color);
}

.bcom-page .content-card ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.bcom-page .content-card li {
    font-size: 0.92rem;
    margin-bottom: 8px;
    line-height: 1.4;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 6px;
    text-align: left;
}

.bcom-page .content-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.bcom-page .content-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.bcom-page .content-card h3 {
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
    color: var(--primary-color);
    text-align: left;
}

.bcom-page .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.bcom-page .skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(136, 14, 79, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    min-height: 45px;
    height: auto;
    box-sizing: border-box;
}

.bcom-page .skill-item i {
    color: var(--primary-color);
    font-size: 1.05rem;
    width: 20px;
    margin-bottom: 0;
}

.bcom-page .skill-item span {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.bcom-page .career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.bcom-page .career-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    background: rgba(136, 14, 79, 0.05);
    border-radius: 10px;
    box-sizing: border-box;
    transition: none;
}

.bcom-page .career-item:hover {
    transform: none;
    background: rgba(136, 14, 79, 0.05);
}

.bcom-page .career-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.bcom-page .career-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
}

.bcom-page .education-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.bcom-page .edu-item {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    transition: none;
}

.bcom-page .edu-item:hover {
    transform: none;
    box-shadow: none;
}

.bcom-page .edu-item i {
    font-size: 1.6rem;
    margin-right: 15px;
    color: var(--secondary-color);
    flex-shrink: 0;
    width: auto;
    text-align: center;
    align-self: center;
}

.bcom-page .edu-item .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.bcom-page .edu-item h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--white);
    text-align: left;
    line-height: 1.2;
    font-weight: 600;
}

.bcom-page .edu-item p {
    font-size: 0.82rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9) !important;
    text-align: left;
    line-height: 1.3;
}

.bcom-page .professional-courses {
    margin-top: 15px;
    padding: 16px;
    background: rgba(136, 14, 79, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    box-sizing: border-box;
}

.bcom-page .professional-courses h3 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: left;
}

.bcom-page .professional-courses ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.bcom-page .professional-courses li {
    font-size: 0.85rem;
    margin-bottom: 6px;
    line-height: 1.4;
    padding-left: 15px;
    position: relative;
    text-align: left;
}

.bcom-page .professional-courses li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.bcom-page .professional-courses li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .bcom-page .content-grid {
        column-count: 1;
    }
}

/* BCA Specific Card Reductions */
.bca-page .content-grid {
    display: block;
    column-count: 2;
    column-gap: 25px;
}

.bca-page .content-card {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 25px;
    break-inside: avoid;
    padding: 24px;
    min-height: auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: none;
}

.bca-page .content-card:hover {
    transform: none;
    box-shadow: var(--shadow);
}

.bca-page .content-card h2 {
    font-size: 1.35rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.bca-page .content-card h2 i {
    font-size: 1.15rem;
    color: var(--secondary-color);
}

.bca-page .content-card ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.bca-page .content-card li {
    font-size: 0.92rem;
    margin-bottom: 8px;
    line-height: 1.4;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 6px;
    text-align: left;
}

.bca-page .content-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.bca-page .content-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.bca-page .content-card h3 {
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
    color: var(--primary-color);
    text-align: left;
}

.bca-page .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.bca-page .skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(136, 14, 79, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    min-height: 45px;
    height: auto;
    box-sizing: border-box;
}

.bca-page .skill-item i {
    color: var(--primary-color);
    font-size: 1.05rem;
    width: 20px;
    margin-bottom: 0;
}

.bca-page .skill-item span {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.bca-page .career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.bca-page .career-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    background: rgba(136, 14, 79, 0.05);
    border-radius: 10px;
    box-sizing: border-box;
    transition: none;
}

.bca-page .career-item:hover {
    transform: none;
    background: rgba(136, 14, 79, 0.05);
}

.bca-page .career-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.bca-page .career-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
}

.bca-page .education-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.bca-page .edu-item {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    transition: none;
}

.bca-page .edu-item:hover {
    transform: none;
    box-shadow: none;
}

.bca-page .edu-item i {
    font-size: 1.6rem;
    margin-right: 15px;
    color: var(--secondary-color);
    flex-shrink: 0;
    width: auto;
    text-align: center;
    align-self: center;
}

.bca-page .edu-item .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.bca-page .edu-item h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--white);
    text-align: left;
    line-height: 1.2;
    font-weight: 600;
}

.bca-page .edu-item p {
    font-size: 0.82rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9) !important;
    text-align: left;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .bca-page .content-grid {
        column-count: 1;
    }
}

/* Facilities Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.facilities-overview {
    padding: 40px 0;
    background: var(--white);
}

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

.overview-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
    color: var(--text-dark);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.facility-category {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.facility-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.facility-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.facility-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.facility-category ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.facility-category ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 25px;
}

.facility-category ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.facility-category ul li:last-child {
    border-bottom: none;
}

.conclusion {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    font-style: italic;
    color: var(--primary-color);
    padding: 20px;
    background: rgba(136, 14, 79, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.detailed-facilities {
    padding: 28px 0;
    background: var(--light-bg);
}

.facility-detail {
    background: var(--white);
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-detail:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.facility-detail-content {
    padding: 40px;
}

.facility-detail-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.facility-detail-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.facility-detail-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: justify;
}

.photo-placeholder {
    text-align: center;
    padding: 40px;
    background: var(--light-bg);
    border-radius: 8px;
    margin-top: 30px;
    border: 2px dashed var(--border-color);
}

.photo-placeholder i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.photo-placeholder p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design for Facilities */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .facility-category {
        padding: 20px;
    }
    
    .facility-detail-content {
        padding: 25px;
    }
    
    .facility-detail-content h2 {
        font-size: 1.5rem;
    }
    
    .overview-content > p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }
    
    .facilities-overview,
    .detailed-facilities {
        padding: 60px 0;
    }
    
    .facility-detail-content {
        padding: 20px;
    }
    
    .facility-detail-content h2 {
        font-size: 1.3rem;
    }
}

/* Announcements Ticker */
.ticker-container {
    display: flex;
    align-items: center;
    background: #111;
    height: 40px;
    overflow: hidden;
    position: relative;
    z-index: 99;
    border-bottom: 2px solid var(--secondary-color);
}

.ticker-title {
    background: var(--primary-color);
    color: var(--white);
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
}

.ticker-content {
    flex-grow: 1;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.ticker-marquee {
    white-space: nowrap;
    display: inline-block;
    animation: marquee 30s linear infinite;
    padding-left: 10px;
}

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

.ticker-marquee a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 60px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.ticker-marquee a:hover {
    color: var(--secondary-color);
}

.ticker-marquee .new-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
}

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

/* Home Grid and Slider Column Overrides */
.hero-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4%;
    display: grid;
    grid-template-columns: 6.5fr 3.5fr;
    gap: 35px;
    align-items: stretch;
    width: 100%;
}

.hero {
    height: auto !important;
    min-height: auto !important;
    padding: 30px 0 !important;
    background: var(--white) !important;
    display: block !important;
}

.hero-slider-column {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.hero-slider-column .hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-notifications-column {
    height: 450px;
}

/* Notifications Card */
.notifications-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-align: left;
}

.notifications-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.notifications-body {
    padding: 15px;
    overflow-y: auto;
    flex-grow: 1;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

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

.notification-date {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    min-width: 85px;
}

.notification-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.notification-text a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.notification-text a:hover {
    color: var(--primary-color);
}

.notification-new-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 0.65rem;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: bold;
    margin-left: 5px;
    text-transform: uppercase;
}

/* Home Grid Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hero-slider-column {
        height: 350px;
    }
    
    .hero-notifications-column {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-slider-column {
        height: 250px;
    }
    
    .hero-notifications-column {
        height: 300px;
    }
    
    .ticker-title {
        padding: 0 10px;
        font-size: 0.75rem;
    }
}

/* ==========================================
   About Institute & Distinctive Features Styles
   ========================================== */

/* About Institute Section Styles */
.about-institute-section {
    padding: 60px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 45px;
    align-items: center;
}

.about-intro-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.about-intro-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about-intro-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: justify;
}

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-box {
    background: var(--light-bg);
    border-top: 4px solid var(--primary-color);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
}

.about-intro-image {
    position: relative;
}

.about-image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--white);
    aspect-ratio: 4/3;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Tab Styles */
.about-tabs-container {
    margin-top: 30px;
}

.about-tabs-headers {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.about-tab-btn {
    padding: 12px 25px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-tab-btn i {
    font-size: 1.1rem;
}

.about-tab-btn:hover {
    background: rgba(136, 14, 79, 0.05);
    border-color: var(--primary-color);
}

.about-tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(136, 14, 79, 0.25);
}

.about-tab-content {
    margin-top: 20px;
}

.about-tab-pane {
    display: none;
    animation: fadeInTab 0.5s ease forwards;
}

.about-tab-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.tab-pane-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tab-pane-content h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.tab-pane-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: justify;
}

.tab-pane-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.tab-feature-card {
    background: var(--light-bg);
    border-left: 5px solid var(--secondary-color);
    padding: 15px 20px;
    border-radius: 0 10px 10px 0;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.tab-feature-card:hover {
    transform: translateX(5px);
    background: var(--white);
    box-shadow: var(--shadow-hover);
}

.tab-feature-card h4 {
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.tab-feature-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
    margin: 0;
}

/* Distinctive Features Section */
.distinctive-features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid var(--border-color);
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header-center h2 {
    color: var(--primary-color);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-header-center h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-header-center p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.features-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.philosophy-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary-color);
}

.philosophy-image-wrapper {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.philosophy-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.philosophy-image-wrapper:hover img {
    transform: scale(1.03);
}

.philosophy-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.philosophy-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: justify;
}

.quote-highlight {
    background: rgba(136, 14, 79, 0.03);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.quote-highlight::before {
    content: '"';
    font-family: Georgia, serif;
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 4rem;
    color: rgba(136, 14, 79, 0.08);
    line-height: 1;
}

.quote-highlight p {
    font-style: italic;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.5;
}

.quote-author {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    text-align: right;
}

.bullet-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.feature-list-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 1px solid rgba(136, 14, 79, 0.05);
}

.feature-list-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.feature-icon-badge {
    background: rgba(255, 213, 79, 0.2);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-list-card:hover .feature-icon-badge {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

.feature-details h4 {
    color: var(--text-dark);
    font-size: 1.02rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* Quote Testimonial Card */
.bank-quote-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(136, 14, 79, 0.25);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.bank-quote-section::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.bank-quote-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.bank-quote-text {
    font-size: 1.25rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 300;
}

.bank-quote-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vidya-vahini-container {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary-color);
    display: flex;
    gap: 20px;
    align-items: center;
}

.vidya-vahini-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.vidya-vahini-text h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.vidya-vahini-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    text-align: justify;
}

/* Principal's Message Section Styles */
.principal-message-section {
    padding: 80px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.principal-grid {
    display: grid;
    grid-template-columns: 0.9fr 2.1fr;
    gap: 50px;
    align-items: start;
}

.principal-profile-card {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary-color);
    position: sticky;
    top: 100px;
}

.principal-image-wrapper {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.principal-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.principal-meta h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.principal-meta .designation {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.principal-meta .college-code {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(136, 14, 79, 0.05);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

.principal-message-content {
    display: flex;
    flex-direction: column;
}

.section-title-left {
    margin-bottom: 25px;
}

.section-title-left h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.title-underline {
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.message-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: justify;
}

.message-text .signature {
    margin-top: 30px;
    border-top: 1px dashed #ddd;
    padding-top: 15px;
}

.signature .principal-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.signature .principal-title {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

/* Mandatory Disclosure Layout Styles */
.disclosure-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 30px;
    align-items: start;
}

.disclosure-sidebar {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
}

.disclosure-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.disclosure-menu li {
    margin-bottom: 10px;
}

.disclosure-menu li:last-child {
    margin-bottom: 0;
}

.disclosure-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.disclosure-link i {
    font-size: 1.1rem;
    color: var(--primary-light);
    transition: color 0.3s ease;
}

.disclosure-link:hover {
    background: rgba(136, 14, 79, 0.05);
    color: var(--primary-color);
}

.disclosure-link.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(136, 14, 79, 0.2);
}

.disclosure-link.active i {
    color: var(--white);
}

.disclosure-content-panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.disclosure-card {
    background: var(--white);
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    scroll-margin-top: 100px;
}

.disclosure-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px dashed rgba(136, 14, 79, 0.1);
    padding-bottom: 12px;
}

.disclosure-card h3 i {
    color: var(--secondary-color);
    background: var(--primary-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.disclosure-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

/* Info Table Styles */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.info-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 12px 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.info-table td.label {
    font-weight: 600;
    color: var(--primary-color);
    width: 30%;
    background: rgba(136, 14, 79, 0.02);
}

.info-table td ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

/* CSS Org Flowchart Styles */
.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: 30px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px dashed rgba(136, 14, 79, 0.2);
}

.flowchart-node {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-dark);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    min-width: 220px;
}

.flowchart-node.highlight {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.flowchart-arrow {
    font-size: 1.2rem;
    color: var(--primary-light);
    animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Principal Detailed Bio Card */
.bio-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    align-items: start;
}

.bio-avatar {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.bio-avatar img {
    width: 100%;
    height: auto;
    display: block;
}

/* Stats Block layout */
.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.infra-card {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.infra-card:hover {
    transform: translateY(-3px);
}

.infra-card h4 {
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.infra-card p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.infra-card .metric {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
    display: block;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .disclosure-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .disclosure-sidebar {
        position: sticky;
        top: 20px;
        z-index: 999;
        background: var(--white);
        padding: 10px 15px;
        margin-bottom: 25px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .disclosure-menu {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 8px;
    }
    .disclosure-menu::-webkit-scrollbar {
        height: 4px;
    }
    .disclosure-menu::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
        border-radius: 2px;
    }
    .disclosure-menu::-webkit-scrollbar-thumb {
        background: var(--primary-light);
        border-radius: 2px;
    }
    .disclosure-menu li {
        flex: 0 0 auto !important;
        margin-bottom: 0;
    }
    .disclosure-link {
        white-space: nowrap !important;
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-stats-row {
        margin-top: 15px;
    }
    
    .features-split-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .principal-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .principal-profile-card {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .disclosure-sidebar {
        top: 60px; /* Aligns below the 60px fixed mobile navbar */
    }

    .download-card {
        padding: 20px 15px !important;
        border-radius: 12px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .tab-pane-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-tab-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .bank-quote-text {
        font-size: 1.1rem;
    }
    
    .vidya-vahini-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .vidya-vahini-icon {
        font-size: 2rem;
    }

    .bio-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    
    .disclosure-card {
        padding: 20px;
    }

    /* Stacking info-table rows for mobile readability */
    .info-table, 
    .info-table tbody, 
    .info-table tr, 
    .info-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .info-table tr {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        padding: 12px 0 !important;
    }
    
    .info-table tr:last-child {
        border-bottom: none !important;
    }
    
    .info-table td {
        padding: 4px 10px !important;
        background: transparent !important;
        text-align: left !important;
    }
    
    .info-table td.label {
        font-weight: 700;
        color: var(--primary-color);
        background: transparent !important;
        padding-top: 5px !important;
        padding-bottom: 2px !important;
    }
}

@media (max-width: 480px) {
    .about-stats-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .about-tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-tabs-headers {
        flex-direction: column;
        align-items: center;
    }

    .flowchart-node {
        min-width: 100%;
        box-sizing: border-box;
    }

    .disclosure-card h3 {
        font-size: 1.15rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Admission Procedure Section */
.admission-section {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.section-title-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-center .title-underline {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.admission-process-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

/* Vertical timeline line connecting steps */
.admission-process-container::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: rgba(136, 14, 79, 0.15);
}

.admission-step {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(136, 14, 79, 0.2);
    border: 3px solid var(--white);
}

.step-content {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    flex-grow: 1;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(136, 14, 79, 0.06);
    border-color: var(--primary-color);
}

.step-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

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

.admission-docs {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.admission-docs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.admission-docs li i {
    color: #2e7d32; /* Green check circle */
    font-size: 1.1rem;
}

/* Responsiveness for timeline */
@media (max-width: 768px) {
    .admission-process-container::before {
        left: 20px;
    }
    
    .admission-step {
        gap: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .admission-docs {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Homepage Notifications Footer */
.notifications-footer {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid #f0f0f0;
    text-align: center;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.view-all-notif-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.view-all-notif-link i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.view-all-notif-link:hover {
    color: var(--primary-light);
}

.view-all-notif-link:hover i {
    transform: translateX(4px);
}

/* Home Page Notification View Button */
.home-notif-view-btn {
    display: inline-block;
    padding: 5px 12px;
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.home-notif-view-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(136, 14, 79, 0.2);
}

/* Facility Page Layout Grid */
.facility-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 10px;
}

.facility-main-content {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.facility-sidebar {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 992px) {
    .facility-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
