/* Add Poppins font to base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Header styles */
.header {
    background-color: #006400;
    padding: 0.2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.college-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.college-title {
    color: white;
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.college-title:hover {
    color: #90EE90;
}

/* Navigation */
.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #90EE90;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 100;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.menu-toggle i {
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.rotating i {
    animation: spinToggle 0.3s ease-in-out;
}

@keyframes spinToggle {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(90deg) scale(1.1);
    }
    100% {
        transform: rotate(180deg) scale(1);
    }
}

.menu-toggle .fa-xmark {
    display: none;
}

.menu-toggle.active .fa-bars {
    display: none;
}

.menu-toggle.active .fa-xmark {
    display: inline-block;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .header {
        padding: 0.2rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #006400;
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 15px 15px;
        overflow: hidden;
    }

    .nav.active {
        display: flex;
        animation: slideDown 0.4s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav.active a {
        animation: slideInRight 0.4s ease-out forwards;
        opacity: 0;
        transform: translateX(-30px);
    }

    .nav.active a:nth-child(1) { animation-delay: 0.1s; }
    .nav.active a:nth-child(2) { animation-delay: 0.15s; }
    .nav.active a:nth-child(3) { animation-delay: 0.2s; }
    .nav.active a:nth-child(4) { animation-delay: 0.25s; }
    .nav.active a:nth-child(5) { animation-delay: 0.3s; }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        display: block;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        transition: left 0.5s;
    }

    .nav a:hover::before {
        left: 100%;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .nav a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateX(10px);
        padding-left: 2.5rem;
    }

    .logo-title-wrapper {
        gap: 8px;
    }

    .college-logo {
        width: 30px;
        height: 30px;
    }

    .college-title {
        font-size: 0.9rem;
    }
} 

/* Footer Styles */
body .footer {
    background-color: #f8f9fa !important;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.copyright {
    text-align: center;
    width: 100%;
}

.copyright p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .footer-bottom-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 1rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-bottom-links a {
        padding: 0.5rem 0;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .social-link:active {
        background: var(--primary-color);
        transform: scale(0.95);
    }

    .footer-links a:active {
        color: #fff;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
}

/* Add or update container styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Update header container */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Update responsive styles */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 1.5rem;
    }

    .header-container {
        padding: 0.3rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .container, .header-container {
        padding: 0.3rem 1rem;
    }
}

/* Login Page Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #f4f4f4;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #2c3e50, #3498db);
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #333;
    margin: 0;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #2980b9;
}

.error-message {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-box {
        padding: 20px;
        margin: 20px;
    }

    .login-header h2 {
        font-size: 20px;
    }
}

/* Add these styles for the dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle .arrow {
    border: solid #333;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.dropdown-toggle.active .arrow {
    transform: rotate(-135deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a,
.dropdown-menu button.dropdown-item {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-menu a:hover,
.dropdown-menu button.dropdown-item:hover {
    background: #f5f5f5;
}

/* Virtual Experience Section */
.virtual-experience {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.explore-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.explore-content {
    padding-right: 30px;
}

.content-block {
    margin-bottom: 30px;
}

.content-block h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.feature-list {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 24px;
    color: #006400;
    padding: 10px;
    background: rgba(0,100,0,0.1);
    border-radius: 50%;
}

.feature-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.feature-text p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.facilities-gallery {
    position: relative;
}

.gallery-main {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.gallery-item {
    position: relative;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-item.main {
    grid-column: span 3;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .explore-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .explore-content {
        padding-right: 0;
    }

    .content-block h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.main {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .content-block h2 {
        font-size: 1.8rem;
    }

    .feature-item {
        padding: 15px;
    }
}