/* Base Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #ff6b00;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --text-color: #555;
    --border-color: #e0e0e0;
    --hover-color: #004494;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--hover-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    position: relative;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--hover-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: var(--dark-color);
    padding: 10px 0;
    color: white;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: white;
    margin-right: 20px;
    font-size: 0.9rem;
}

.contact-info a i {
    margin-right: 5px;
}

.social-links a {
    color: white;
    margin-left: 15px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.main-header {
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--text-color);
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--dark-color);
    font-weight: 500;
}

.nav-menu li a.active,
.nav-menu li a:hover {
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: white;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.slider-btn:hover {
    background-color: var(--primary-color);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 1;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: white;
}

/* About Section */
.about-section {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Courses Section */
.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.course-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.course-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.course-card p {
    margin-bottom: 20px;
}

/* Facilities Section */
.facilities-section {
    background-color: var(--light-color);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.facility-item {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
}

.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(0);
    transition: var(--transition);
}

.facility-item:hover img {
    transform: scale(1.1);
}

.facility-item:hover .facility-overlay {
    transform: translateY(-10px);
}

.facility-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

/* Testimonials Section */
.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-image {
    flex: 0 0 120px;
    margin-right: 30px;
}

.testimonial-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light-color);
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-content h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.designation {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.rating i {
    color: #ffc107;
    margin-right: 2px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.testimonial-btn {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.testimonial-dots {
    display: flex;
    margin: 0 15px;
}

/* Events Section */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.event-card {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.event-date {
    flex: 0 0 80px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 700;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-details {
    flex: 1;
    padding: 20px;
}

.event-details h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.event-meta span {
    margin-right: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.event-meta span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.view-all-container {
    text-align: center;
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info-container {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-item .icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-item .icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.contact-item .details h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.social-links-large {
    display: flex;
}

.social-links-large a {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links-large a:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-container {
    height: 450px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.about-widget p {
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.links-widget ul li {
    margin-bottom: 10px;
}

.links-widget ul li a {
    color: #ccc;
    transition: var(--transition);
}

.links-widget ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    margin-bottom: 15px;
}

.contact-list li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    margin-bottom: 10px;
}

.footer-bottom-links a {
    color: #ccc;
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--hover-color);
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    #menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: var(--box-shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 200px;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .slide-content {
        width: 90%;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        flex-direction: column;
        text-align: center;
        height: auto;
    }
    
    .testimonial-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex: 0 0 auto;
        flex-direction: row;
        padding: 10px;
    }
    
    .event-date .day {
        margin-right: 5px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 10px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        height: 350px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
}