/* 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;
}

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: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 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: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.site-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.site-card .btn {
    display: inline-block !important;
    margin-top: 0px;
    position: relative;
    z-index: 10;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.site-card:first-child .btn {
    margin-top: -20px;
}

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

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

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

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

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

.site-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    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: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.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.8rem;
    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: 80px;
        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: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.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;
}

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

.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.80rem;
    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: 200px;
    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: 1000;
    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: 0;
    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: 20px;
}

/* 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 {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    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: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.mobile-dropdown-toggle:hover {
    background: var(--light-bg);
    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-light);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-dropdown-link:hover {
    background: var(--white);
    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 40px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.mobile-submenu-link:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 45px;
}

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

@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 15px 10px 25px;
        font-size: 13px;
    }
    
    .mobile-submenu-link {
        padding: 8px 15px 8px 35px;
        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: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.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;
}

/* Department Overview Section */
.department-overview {
    padding: 60px 0;
    background: var(--light-bg);
}

.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: 2rem;
    }
    
    .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.8rem;
    }
}

.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: 40px;
}

.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: 40px 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-card:nth-child(4),
.bcom-page .content-card:nth-child(5) {
    min-height: 70px;
    padding: 8px;
}

.bcom-page .career-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.bcom-page .career-item {
    padding: 5px 10px;
    min-height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
}

.bcom-page .career-item i {
    font-size: 1.2rem;
    margin-right: 8px;
    margin-bottom: 0;
    color: var(--secondary-color);
    flex-shrink: 0;
    width: 25px;
    text-align: center;
}

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

.bcom-page .education-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
    justify-content: center;
}

.bcom-page .edu-item {
    flex: 1 1 220px;
    padding: 8px 12px;
    min-height: 55px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
}

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

.bcom-page .edu-item .text-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    padding-top: 2px;
}

.bcom-page .edu-item h3 {
    font-size: 0.9rem;
    margin-bottom: 2px;
    color: white;
    text-align: left;
    line-height: 1.1;
}

.bcom-page .edu-item p {
    font-size: 0.7rem;
    margin: 0;
    color: var(--text-dark);
    text-align: left;
    line-height: 1.1;
}

.bcom-page .professional-courses {
    margin-top: 10px;
    padding: 6px;
    background: rgba(136, 14, 79, 0.05);
    border-radius: 8px;
}

.bcom-page .professional-courses h3 {
    font-size: 0.8rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.bcom-page .professional-courses ul {
    margin: 0;
    padding-left: 10px;
}

.bcom-page .professional-courses li {
    font-size: 0.65rem;
    margin-bottom: 2px;
}

/* BCA Specific Card Reductions */
.bca-page .content-card {
    min-height: 50px;
    padding: 6px;
}

.bca-page .content-card h2 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.bca-page .content-card h2 i {
    font-size: 1rem;
    margin-right: 6px;
}

.bca-page .content-card ul {
    margin: 0;
    padding-left: 10px;
}

.bca-page .content-card li {
    font-size: 0.65rem;
    margin-bottom: 1px;
    line-height: 1.1;
}

.bca-page .content-card h3 {
    font-size: 0.75rem;
    margin-bottom: 3px;
    color: var(--primary-color);
}

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

.bca-page .skill-item {
    padding: 4px 6px;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bca-page .skill-item i {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.bca-page .skill-item span {
    font-size: 0.65rem;
}

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

.bca-page .career-item {
    padding: 4px 8px;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bca-page .career-item i {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.bca-page .career-item span {
    font-size: 0.65rem;
}

.bca-page .education-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
    justify-content: center;
}

.bca-page .edu-item {
    flex: 1 1 200px;
    padding: 8px 12px;
    min-height: 50px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
}

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

.bca-page .edu-item .text-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    padding-top: 2px;
}

.bca-page .edu-item h3 {
    font-size: 0.85rem;
    margin-bottom: 2px;
    color: white;
    text-align: left;
    line-height: 1.1;
}

.bca-page .edu-item p {
    font-size: 0.65rem;
    margin: 0;
    color: var(--text-dark);
    text-align: left;
    line-height: 1.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;
    }
}
