@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Condensed", sans-serif;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #003366;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}
.logo img {
    width: 60px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}
/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: #0055aa;
    border-radius: 5px;

}

/* Dropdown */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #004080;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    ;
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul li a {
    padding: 10px 15px;
}

nav .reg a {
    background: #0055aa;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    margin-left: 20px;
}
nav .reg a:hover {
    background: #004080;
    border: 0px solid #1c1d1e;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background: #003366;
        transition: left 0.3s ease;
    }

    nav ul.show {
        left: 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul li ul {
        position: static;
        box-shadow: none;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;


    }

    nav .reg a {
        background: none;
        color: white;
        font-weight: bold;
        border-radius: 0;
        margin-left: 0px;
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;


}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;

}

.slide {
    min-width: 100%;
    box-sizing: border-box;


}

.slide img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;


}

/* Dots */
.dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dots span.active {
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 100%;

    }

    .slide img {
        height: 100%;
        object-fit: cover;
    }
}

.stats-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #f8f8f8;
    padding: 40px 20px;
    text-align: center;
    flex-wrap: wrap;
}

.stat {
    flex: 1;
    min-width: 150px;
    margin: 15px;
}

.stat h2 {
    font-size: 2.5rem;
    color: #003366;
}

.stat p {
    font-size: 1rem;
    color: #555;
}

/*cta section*/
.cta-section {
    background: #f0f4f8;
    padding: 50px 20px;
}

.cta-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

/* Left Info */
.cta-info {
    flex: 1;
    min-width: 300px;
}

.cta-info h2 {
    font-size: 4rem;
    margin-bottom: 10px;
    color: #003366;
    text-transform: uppercase;
}

.cta-info p {
    margin-bottom: 20px;
    color: #555;
}

/* Form */
.cta-form {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
}

.cta-form h3 {
    margin-bottom: 20px;
    color: #003366;
    text-align: center;
}

.cta-form form {
    display: flex;
    flex-direction: column;
}

.cta-form input,
.cta-form select {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.cta-form button {
    background: #0055aa;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.cta-form button:hover {
    background: #003366;
}

/*students*/

.achievers-section {
    background: #f8f8f8;
    padding: 40px 20px;
    text-align: center;
}

.achievers-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #003366;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.achiever {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    flex: 0 0 calc(25% - 20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.achiever img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.achiever h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #0055aa;
}

.achiever p {
    font-size: 0.95rem;
    color: #555;
}

/* Navigation Buttons */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #003366;
    color: white;
    border: none;
    padding: 1px 8px;
    cursor: pointer;
    border-radius: 26%;
    font-size: 1.5rem;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.prev-btn:hover,
.next-btn:hover {
    background: #0055aa;
}

/* Responsive */
@media (max-width: 1024px) {
    .achiever {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .achiever {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .achiever {
        flex: 0 0 100%;
    }
}



/* quote banner*/
.quote-banner {
    width: 100%;
    background-color: #948df8;
    padding: 80px 20px;
    position: relative;
    color: white;
    text-align: center;
}

.quote-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* dark overlay */
}

.quote-content {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.quote {
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 15px;
}

.author {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .quote {
        font-size: 1.4rem;
    }

    .author {
        font-size: 1rem;
    }
}

/* Courses Section */
.courses-section {
    background-image: linear-gradient(black, rgba(0, 0, 0, 0.125)), url(https://home.iitd.ac.in/images/gallery/gallery-lg1.jpg);
    padding: 40px 20px;
    text-align: center;
    background-size: cover
}

.courses-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.courses-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;

}

.course {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 350px;
    max-height: 400px;

    background-color: rgba(255, 255, 255, 0.15);
    /* Semi-transparent white or desired color */
    backdrop-filter: blur(10px);
    /* Adjust blur value for desired intensity */
    border-radius: 15px;
    /* Optional, for rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Optional, for a subtle light edge */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    padding: 20px;
    flex: 0 0 calc(33.333% - 20px);

    text-align: center;
    transition: transform 0.3s ease;

}

.course:hover {
    transform: translateY(-5px);
}

.course img {
    width: 20%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    filter: invert(0.9);
}

.course h3 {
    font-size: 1.3rem;
    color: #f9fafb;
    margin-bottom: 10px;
}

.course p {
    font-size: 0.95rem;
    color: #e4e0e0;
}

@media (max-width: 1024px) {
    .course {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .course {
        flex: 0 0 100%;
    }
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 10%;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
    background: #46435624;
    flex-wrap: wrap;
}

/* Left Content */
.about-content {
    flex: 1 1 400px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Right Image */
.about-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    animation: floatImage 3s ease-in-out infinite;
}

/* Animation */
@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-content,
    .about-image {
        flex: 1 1 100%;
    }
}

/*faculty section*/
.faculty-section {
    padding: 50px 10%;
    background: #fff;
    text-align: center;
}

.faculty-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

/* Faculty Card */
.faculty-section {
    padding: 50px 5%;
    background: #fff;
    text-align: center;
}

.faculty-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

/* Faculty Card */
.faculty-card {
    background: #fafafa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-5px);
}

.faculty-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.faculty-card h3 {
    font-size: 1.2rem;
    margin: 10px 0 5px;
    color: #222;
}

.faculty-card p {
    font-size: 0.95rem;
    color: #555;
    margin: 3px 0;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .faculty-section h2 {
        font-size: 1.5rem;
    }
}

.footer {
    background-color: #001f54;
    /* Navy Blue */
    color: white;
    padding-top: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    gap: 20px;
}

.footer-col {
    flex: 1 1 250px;
}

.footer-logo {
    max-width: 150px;

}


.footer-col h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 8px 0;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #f4d03f;
    /* Gold hover */
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    color: white;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #f4d03f;
}
.social-links p{
    color: white;
    font-size: 0.9rem;
    margin: 0 0 10px 0;
}
/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 15px 10px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}
.footer-bottom a{
    color: white;
}
.footer-col{
    position: relative;
}
.footer-col h1 {
    position: absolute;
    top:120px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fefefc;
    /* Gold */
}
/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        flex: 1 1 100%;
    }
}