        :root {
            --primary-color: #007bff; /* Updated primary color for better contrast and accessibility */
            --secondary-color: #0056b3; /* Adjusted secondary color for consistency */
            --dark-bg: #6e6c6c;
            --text-light: #ffffff;
            --text-dark: #000000;
            --transition: all 0.3s ease;
            --container-width: 1400px;
            --header-height: 80px;
            --footer-bg: #141414;
            --footer-text: #ffffff;
            --footer-link: #007bff;
            --footer-hover: #0056b3;
            --header-bg: #808080; /* New variable for header background color */
        }
        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Styles for technologis Pages */
        .year-content { display: none; }
        .grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
        .staff img, .labs img { width: 100%; height: auto; background: gray; }
        table { width: 100%; border-collapse: collapse; }
        th, td { border: 1px solid black; padding: 8px; text-align: center; }
  

        .sidebar {
            position: fixed;
            margin-top: 38px;
            top: 100px;
            right: 0;
            width: 250px;
            background-color: #f4f4f4;
            box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
            padding: 20px;
            z-index: 1000;
            overflow-y: auto;
            height: calc(100% - 10px);
        }

        .sidebar h3 {
            font-size: 20px;
            margin-bottom: 15px;
            color: #004080;
        }

        .sidebar .news-item,
        .sidebar .social-media {
            margin-bottom: 20px;
        }

        .sidebar .news-item p {
            font-size: 14px;
            margin: 5px 0;
        }

        .sidebar .social-media a {
            display: inline-block;
            margin-right: 10px;
            font-size: 20px;
            color: #004080;
            text-decoration: none;
        }

        .sidebar .social-media a:hover {
            color: #3498db;
        }
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }
    
        .preloader .spinner {
            border: 5px solid #f3f3f3;
            border-top: 5px solid #3498db;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
        }
    
        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
    
    body {
        font-family: 'Roboto', sans-serif;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

        body {
            .footer {
                background: linear-gradient(135deg, rgba(0, 0, 48, 0.97), rgba(0, 0, 80, 0.97));
                color: #f0f0f0; /* Improved contrast for better readability */
                position: relative;
            }  display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;  background-color: #f8f9fa; /* Light background for better readability */
            color: #212529; /* Dark text for contrast */  font-family: 'Segoe UI', Arial, sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
        }


        

        /* Fluid Typography */
        html {
            font-size: clamp(14px, 1vw + 10px, 16px);
        }

        /* Container Utilities */
        .container {
            width: min(var(--container-width), 95%);
            margin: 0 auto;
            padding: 0 1rem;
        }
        .unified-header {
            width: 100%;
            z-index: 1000;
            background: rgba(27, 27, 27, 0.95); /* Solid background instead of gradient */
            position: fixed; /* Make header static at top */
            top: 0;
            left: 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        .top-section {
            display:flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
            max-width: var(--container-width);
            margin: 0 auto;
        }

        .college-name h3 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            color: var(--text-light);
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        /* Enhanced Search Bar */
        .search-bar {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .search-bar input {
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 25px;
            width: clamp(150px, 20vw, 300px);
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-light);
            transition: var(--transition);
        }

        .search-bar input:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.2);
            width: clamp(200px, 25vw, 350px);
        }

        .search-bar button {
            padding: 0.5rem 1.5rem;
            border: none;
            border-radius: 25px;
            background: var(--primary-color);
            color: var(--text-light);
            cursor: pointer;
            transition: var(--transition);
        }

        .search-bar button:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
        }

        /* Responsive Navigation */
        .nav-section {
            position: relative;
        }

        .nav-list {
            display: flex;
            justify-content: center;
            list-style: none;
            gap: clamp(1rem, 3vw, 2rem);
            padding: 1rem 0;
        }

        .nav-list li a {
            color: var(--text-light);
            text-decoration: none;
            font-size: clamp(0.9rem, 1.5vw, 1.1rem);
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: var(--transition);
            position: relative;
        }

        /* Stanford-style underline animation */
        .nav-list li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background-color: var(--primary-color);
            transition: all 0.3s ease-in-out;
            transform: translateX(-50%);
        }

        .nav-list li a:hover::after {
            width: 100%;
        }


        /* Enhanced Dropdown */
        .dropdown-content {
            position: absolute;
            background: rgba(27, 27, 27, 0.95);
            min-width: 200px;
            border-radius: 8px;
            padding: 0.5rem 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .nav-list li:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-content li a {
            padding: 0.75rem 1.5rem;
            display: block;
            font-size: 0.9rem;
        }

        /* Hero Section */
        .image-header {
            margin-top:0cm;
            position:relative;
            height: clamp(500px, 60vh, 650px);
            overflow:hidden;
        }

        .image-header img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: var(--transition);
        }

                /* Principal Section Enhancement */
        .principal-section {
            display: grid;
            grid-template-columns: minmax(250px, 400px) 1fr;
            gap: 2rem;
            padding: 4rem 1rem;
            max-width: var(--container-width);
            margin: 0 auto;
            align-items: center; /* Vertically center the content */
        }

        .principal-section img {
            width: 100%;
            height: auto;
            max-width: 500px; /* Ensure image doesn't get too large */
            margin: 0 auto; /* Center the image */
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }
        .main-section {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-top: 100px;
        }
        
        .main-section h1 {
            font-size: 2rem;
            font-weight: bold;
            color: #333;
            text-align: center;
            margin-bottom: 20px;

        }
        
        .main-section p {
            font-size: 1rem;
            color: #555;
            line-height: 1.6;
            text-align: justify;
        }
        
        @media (max-width: 768px) {
            .main-section {
                padding: 15px;
            }
        
            .main-section h1 {
                font-size: 1.5rem;
            }
        }

        .principal-section img:hover {
            transform: translateY(-5px);
        }

        .slideshow-container {
            position: relative;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            overflow: hidden;
        }
        
        .slide {
            display: none;
            width: 100%;
        }
        
        .slide img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
        
        .main-slideshow .slide img {
            height: 500px; /* Fixed height for main slideshow */
        }
        
        .staff-slideshow .slide img {
            height: 400px; /* Fixed height for staff slideshow */
        }
        
        /* Fade animation */
        .fade {
            animation-name: fade;
            animation-duration: 1.5s;
        }
        
        @keyframes fade {
            from {opacity: 0.4}
            to {opacity: 1}
        }
        
        /* Navigation dots */
        .slideshow-dots {
            text-align: center;
            position: absolute;
            bottom: 20px;
            width: 100%;
        }
        
        .dot {
            height: 12px;
            width: 12px;
            margin: 0 5px;
            background-color: #bbb;
            border-radius: 50%;
            display: inline-block;
            cursor: pointer;
            transition: background-color 0.6s ease;
        }
        
        .active-dot {
            background-color: #717171;
        }
        /* Enhanced Info Section */
/* Info section styles */
.info-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

/* Background image */
.info-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../pics/2.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: 1;
}

/* Gradient overlay */
.info-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(220, 180, 122, 0.9),
        rgba(235, 202, 159, 0.7),
        rgba(248, 220, 188, 0.5),
        rgba(224, 200, 196, 0.5),
        rgba(215, 197, 183, 0.5),
        rgba(226, 212, 203, 0.5),
        rgba(221, 183, 124, 0.9)
    );
    z-index: 2;
}

/* Container for cards */
.info-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card styles */
.card {
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.card h3 {
    color: #8B4513;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.card p {
    color: #000;
    font-size: 19px;
    line-height: 1.5;
    margin: 0;
    padding: 0 10px;
    font-family: "Adobe Garamond Pro", Garamond, serif;
    text-align:left;
}

/* Media queries for responsiveness */
@media (max-width: 992px) {
    .info-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .card p {
        font-size: 17px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .info-container {
        grid-template-columns: 1fr;
        padding: 20px;
        max-width: 100%;
    }

    .card img {
        width: 70px;
        height: 70px;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .info-section {
        padding: 20px 0;
    }

    .info-container {
        padding: 10px;
    }

    .card {
        padding: 15px;
    }

    .card img {
        width: 60px;
        height: 60px;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .card p {
        font-size: 15px;
    }
}


body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

.footer {
    background: linear-gradient(135deg, rgba(0, 0, 32, 0.97), rgba(0, 0, 64, 0.97));
    color: #fff;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFA500, #FF4500, #FFA500);
}

.main-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #FFA500;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #FFA500;
    padding-left: 5px;
}

.newsletter-form input {
    padding: 10px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    margin-top: 10px;
}

.map-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-details {
    display: flex;
    gap: 20px;
}

.highlight {
    color: #FFA500;
    margin-right: 5px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #FFA500;
    transform: translateY(-2px);
}

.nav-links {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin: 0 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #FFA500;
}

.bottom-bar {
    background-color: rgba(0, 0, 20, 0.98);
    padding: 12px 0;
    text-align: center;
    font-size: 0.85rem;
    text-underline-offset: none;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-details {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-links a {
        margin: 5px;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-details {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .social-icons {
        margin-top: 20px;
    }
    
    .bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
    
        /* Mobile Menu Enhancement */
        .menu-toggle {
            display: none;
            background: transparent;
            border: none;
            color: var(--text-light);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1000;
        }

        /* Responsive Breakpoints for Principal Section */
        @media (max-width: 1200px) {
            .principal-section {
                grid-template-columns: 1fr;
                text-align: center;
                padding: 2rem 1rem;
            }

            .principal-section img {
                max-width: 400px; /* Slightly reduce max-width on smaller screens */
                margin-bottom: 2rem; /* Add some space between image and text */
            }
        }
        @media (max-width: 768px) {
    .principal-section {
        padding: 1rem;
    }

    .principal-section img {
        max-width: 300px; /* Further reduce on very small screens */
    }

    .principal-section p {
        font-size: 16px; /* Slightly smaller font for mobile */
        line-height: 1.6;
    }
}


@media (max-width: 480px) {
    .principal-section img {
        max-width: 250px; /* Even smaller on very small screens */
    }

    .principal-section p {
        font-size: 14px; /* Reduce font size further */
    }
}

        @media (max-width: 968px) {
            .menu-toggle {
                display: block;
            }

            .nav-list {
                position: fixed;
                top: var(--header-height);
                left: -100%;
                width: 80%;
                max-width: 300px;
                height: calc(100vh - var(--header-height));
                background: rgba(27, 27, 27, 0.98);
                flex-direction: column;
                padding: 2rem;
                transition: var(--transition);
            }

            .nav-list.active {
                left: 0;
            }

            .dropdown-content {
                position: static;
                background: transparent;
                box-shadow: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                padding-left: 1rem;
            }

            .top-section {
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }

            .search-bar {
                width: 100%;
            }

            .search-bar input {
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .card {
                margin: 0 0.5rem;
            }

            .principal-section {
                padding: 2rem 1rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }

        /* Additional Enhancements */
        .scroll-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--primary-color);
            color: var(--text-light);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .scroll-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        /* Loading Animation */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--dark-bg);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .loading.fade-out {
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        /* Add padding to body to account for fixed header */
        body {
            padding-top: var(--header-height);
            font-family: 'Segoe UI', Arial, sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Add styles for Google Map container */
        .map-container {
            width: 100%;
            height: 300px;
            margin: 2rem 0;
            border-radius: 8px;
            overflow: hidden;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* Modify footer to accommodate map */
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-map-section {
            grid-column: 1 / -1;
            margin-top: 2rem;
        }

        @media (max-width: 968px) {
            .nav-list {
                top: var(--header-height); /* Adjust for fixed header */
                position: fixed;
            }
        }
