
:root {
    --primary: #004aad;
    --secondary: #f8c300;
    --light: #f8f9fa;
    --dark: #343a40;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    line-height: 1.6;
}

.navbar {
    background-color: #ec1f26;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand, .nav-link {
    color: #fff !important;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--secondary) !important;
}

.hero {
    background: url('images/2122.jpg') center/cover no-repeat;
    height: 90vh;
    margin-top:90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--secondary);
    border: none;
    color: var(--dark);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e6b400;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--primary);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
}

.about-section {
    padding: 100px 0;
    background-color: var(--light);
}

.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.courses-section {
    padding: 100px 0;
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 230px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    color: var(--primary);
    font-weight: 600;
}

.facilities-section {
    background-color: var(--light);
    padding: 100px 0;
}

.facility-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.facility-item:hover {
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.facility-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 74, 173, 0.9), rgba(0, 74, 173, 0.9)),
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: white;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    margin: 15px;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
}

.news-section {
    padding: 100px 0;
}

.news-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.news-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.news-title {
    color: var(--primary);
    font-weight: 600;
    margin: 10px 0;
}

.cta-section {
    background: linear-gradient(rgba(0, 74, 173, 0.9), rgba(0, 74, 173, 0.9)),
                url('https://images.unsplash.com/photo-1498243691581-b145c3f54a5a?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.admissions-section {
    padding: 100px 0;
    background-color: var(--light);
}

.process-step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.gallery-section {
    padding: 100px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 25px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 74, 173, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        height: 22vh;
        margin-top: 76px;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .about-img {
        height: 300px;
        margin-bottom: 30px;
    }
    
    .navbar {
        padding: 0px 0;
    }
    
    .about-section {
        padding: 45px 0;
    }
}