/* Modern CSS */
:root {
    --primary-color: #2A5C82;
    --secondary-color: #3A86FF;
    --accent-color: #FFBE0B;
    --dark-color: #1A1A1A;
    --light-color: #f0ece2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Ensures vertical centering */
}

/* Header Styles */
.header {
    background: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.logo i {
    font-size: 2rem;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Push items to the right */
    gap: 1rem;
}


.menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.menu a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.student-login {
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.student-login:hover {
    background: var(--accent-color);
    color: white;
}


.menu a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section - Updated */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    transition: background-image 1.5s ease-in-out;
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;

    /* Zoom-out animation */
    animation: zoomOutHero 15s ease-in-out infinite alternate;
}

/* Zoom out keyframes */
@keyframes zoomOutHero {
    0% {
        transform: scale(1.1); /* Start zoomed in */
    }
    100% {
        transform: scale(1);   /* End at normal size */
    }
}


.slideshow-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slideshow-indicators span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slideshow-indicators span.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    width: 90%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #e6ac00;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border-color: white;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: var(--light-color);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-form button {
    background: var(--secondary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

/* Footer Styles */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}


.location-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}
        
.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
        
.location-header {
    text-align: center;
    margin-bottom: 2rem;
}
        
.location-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
        
.location-header p {
    color: var(--dark-color);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}
        
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 500px;
}
        
.map-frame {
    width: 100%;
    height: 100%;
    border: none;
}
        
.location-details {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}
        
.detail-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}
        
.detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
        
/* Responsive adjustments */
@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }
            
    .location-header h2 {
        font-size: 2rem;
        }
}
        
@media (max-width: 480px) {
    .map-container {
        height: 300px;
    }
            
    .location-header h2 {
        font-size: 1.8rem;
    }
            
    .location-header p {
        font-size: 1rem;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .menu {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--primary-color);
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        padding: 1rem;
        transition: 0.3s;
    }

    .menu.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .slideshow-indicators {
        bottom: 20px;
    }
    
    .slideshow-indicators span {
        width: 12px;
        height: 12px;
    }
}

html {
    scroll-behavior: smooth;
}