/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    width: 32px;
    height: 32px;
    color: #1e3a8a;
    margin-right: 8px;
}

.nav-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a8a;
    font-family: 'Roboto Slab', serif;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1e3a8a;
}

.apply-btn {
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
    color: white;
    padding: 8px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.menu-icon, .close-icon {
    width: 24px;
    height: 24px;
    color: #4b5563;
}

.mobile-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-content {
    padding: 16px 8px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-link {
    display: block;
    padding: 12px 16px;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #1e3a8a;
}

.mobile-apply-btn {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
    color: white;
    border: none;
    border-radius: 8px;
    margin-top: 8px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* height: 100vh; */
    height:50vh;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.slide-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(135deg, rgba(30, 58, 138, 0.7), rgba(6, 182, 212, 0.5)); */
}



.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.hero-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px 64px;
    max-width: 800px;
    margin: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    font-family: 'Roboto Slab', serif;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    transform: translateY(-2px) scale(1.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    display: none;
}


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

.dot.active {
    background: white;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #f9fafb;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 24px;
    font-family: 'Roboto Slab', serif;
}

.about-text {
    color: #6b7280;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
}

.about-image {
    position: relative;
}

.image-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
    border-radius: 24px;
    transform: rotate(6deg);
}

.about-image img {
    position: relative;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    height: 400px;
    /* object-fit: cover; */
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}



.section-subtitle {
    font-size: 20px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* .courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
} */

.courses-grid{

 display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, max-content));
  gap: 32px;
  justify-content: center;
}



.course-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.course-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.course-header {
    height: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.course-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 0, 0, 0.2));
}

.course-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.course-name {
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.science { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.commerce { background: linear-gradient(135deg, #10b981, #059669); }
.arts { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.technology { background: linear-gradient(135deg, #f59e0b, #d97706); }
.health { background: linear-gradient(135deg, #ef4444, #dc2626); }
.design { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.course-content {
    padding: 24px;
}

.course-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    visibility: hidden;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
}

.course-description {
    color: #6b7280;
    margin-bottom: 16px;
}

.course-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-btn:hover {
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

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

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.feature-icon {
    color: #1e3a8a;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.feature-icon i {
    width: 48px;
    height: 48px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.feature-description {
    color: #6b7280;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    /* object-fit: cover; */
    transition: transform 0.5s ease;
}
.gallery-item video{
     width: 100%;
    height: 250px;
    /* object-fit: cover; */
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-weight: 600;
}




/* Ratings Section */
.ratings-section {
    padding: 80px 0;
    background: #f9fafb;
}

.ratings-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
}

.rating-overview {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.rating-summary {
    text-align: center;
    margin-bottom: 24px;
}

.overall-rating {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.star {
    width: 16px;
    height: 16px;
    color: #fbbf24;
}

.star.filled {
    fill: currentColor;
}

.review-count {
    color: #6b7280;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    min-width: 40px;
}

.rating-bar {
    flex: 1;
    background: #e5e7eb;
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
}

.rating-fill {
    background: #1e3a8a;
    height: 100%;
    border-radius: 50px;
    transition: width 0.5s ease;
}

.rating-count {
    font-size: 14px;
    color: #6b7280;
    min-width: 30px;
    text-align: right;
}

.campus-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.image-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.campus-img {
    width: 100%;
    /* object-fit: cover; */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.campus-img.tall {
    height: 200px;
}

.campus-img.short {
    height: 120px;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.review-card {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.review-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: #1e3a8a;
    margin-bottom: 16px;
}

.review-text {
    color: #4b5563;
    margin-bottom: 24px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviewer-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 600;
    color: #1f2937;
}

.reviewer-course {
    font-size: 14px;
    color: #6b7280;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

.review-stars .star {
    width: 16px;
    height: 16px;
    color: #fbbf24;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
}

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

.contact-info {
    color: white;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: 'Roboto Slab', serif;
}

.contact-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #22d3ee;
}

.contact-label {
    font-weight: 600;
}

.contact-value {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #22d3ee;
    background: rgba(255, 255, 255, 0.25);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: transparent;
}

.form-label {
    position: absolute;
    left: 16px;
    top: 12px;
    color: #22d3ee;
    font-size: 14px;
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(30, 58, 138, 0.8);
    padding: 0 4px;
    border-radius: 4px;
}

.form-input:not(:placeholder-shown) + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label,
.form-input:focus + .form-label,
.form-textarea:focus + .form-label {
    top: -8px;
    font-size: 12px;
}

.form-input:placeholder-shown + .form-label,
.form-textarea:placeholder-shown + .form-label {
    top: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
}

.form-select {
    color: white;
}

.form-select option {
    color: #1f2937;
    background: white;
}

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

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.3);
    transform: translateY(-2px) scale(1.05);
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 48px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    color: #22d3ee;
    margin-right: 8px;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Roboto Slab', serif;
}

.footer-description {
    color: #9ca3af;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #22d3ee;
}

.footer-contact-info {
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 32px;
    padding-top: 32px;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-glass {
        padding: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .ratings-grid {
        grid-template-columns: 1fr;
    }
    
    .campus-images {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        /* grid-template-columns: 1fr; */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .hero-glass {
        padding: 24px;
    }

    .hero-section {
   
    /* height: 100vh; */
    height:30vh;
   
}
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .prev-btn {
        left: 8px;
    }
    
    .next-btn {
        right: 8px;
    }
}




 .map-wrapper {
            max-width: 800px;
            margin: 40px auto;
            padding: 0 15px;
            text-align: center;
        }

        .map-heading {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1e3a8a;
            margin-bottom: 24px;
            font-family: 'Roboto Slab', serif;
        }

        .map-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%;
            /* 16:9 Ratio */
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .map-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }