/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
}

    .hero-section video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-text {
    position: absolute;
    top: 60%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    z-index: 10;
    font-family: 'Montserrat', sans-serif;

}

    .hero-text h2 {
        font-size: 2.5rem;
        font-weight: 500;
        white-space: nowrap;
    }

        .hero-text h2 span:first-child {
            font-weight: 300;
            margin-right: 10px;
        }

    .hero-text h6 {
        font-weight: 300;
        font-size: 1.25rem;
        margin-top: 10px;
    }

.learn-more-btn {
    position: absolute;
    top: 75%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 12px 30px;
    border: 1px solid white;
    border-radius: 70px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s ease;
}

    .learn-more-btn:hover {
        background-color: white;
        color: #1D75B3;
    }

.btn-custom-blue {
    background-color: #005AA9;
    color: white;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 60px;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

    .btn-custom-blue:hover {
        background-color: #C8D952;
        color: #005AA9;
    }

.btn-custom-white {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 60px;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

    .btn-custom-white:hover {
        background-color: #005AA9;
        color: white;
    }

.rotating-images {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.rotating-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .rotating-img.active {
        opacity: 1;
        z-index: 10;
    }

.about-subtitle {
    color: #005AA9;
    font-weight: 400;
    font-size: 2.6rem;
}

.about-title {
    color: #005AA9;
    font-weight: 400;
    font-size: 2.8rem;
}

.about-main-title {
    color: #175BA7;
    font-weight: 700;
    font-size: 2.5rem;
    white-space: nowrap;
}

.about-description {
    font-size: 2rem;
    color: #175BA7;
    font-weight: 400;
    text-align: start;
    margin-left: 80px;
}

.course-img {
    height: 600px;
    object-fit: cover;
}

.course-title {
    font-weight: 600;
    color: #005AA9;
}

.story-title {
    color: #005AA9;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
}

.story-text {
    font-size: 1.4rem;
    font-weight: 400;
    color: #6c757d;
    line-height: 1.6;
    text-align: left;
}

.visit-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #005AA9;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 1.2rem;
    z-index: 10;
    display: inline-block;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .visit-btn:hover {
        background-color: #B1C732;
        color: #fff;
    }

@media (max-width: 768px) {
    .hero-text {
        top: 55%;
        left: 5%;
    }

        .hero-text h2 {
            font-size: 1.8rem;
            white-space: normal;
        }

        .hero-text h6 {
            font-size: 1rem;
        }

    .learn-more-btn {
        font-size: 14px;
        padding: 8px 20px;
        top: 80%;
        left: 5%;
    }

    .rotating-images,
    .rotating-img {
        width: 250px;
        height: 250px;
    }

    .about-description {
        font-size: 1.4rem;
        margin-left: 0;
        text-align: center;
    }
    .visit-btn {
        font-size: 1rem;
        padding: 10px 20px;
        max-width: 90vw;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.4rem;
    }

    .hero-text h6 {
        font-size: 0.9rem;
    }

    .learn-more-btn {
        font-size: 12px;
        padding: 6px 16px;
        top: 82%;
    }

    .rotating-images,
    .rotating-img {
        width: 200px;
        height: 200px;
    }
    .visit-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

@media (min-width: 1201px) {
    .container-fluid {
        padding-left: 150px !important;
        padding-right: 60px !important;
    }

    .values-text {
        font-size: 1.6rem;
        line-height: 1.8;
        margin: 80px 90px 0 90px;
    }

    .full-width-container img {
        height: 550px;
    }

    .video-container {
        margin: 30px auto;
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .container-fluid {
        padding-left: 60px !important;
        padding-right: 40px !important;
    }

    .values-text {
        font-size: 1.3rem;
        line-height: 1.6;
        margin: 60px 40px 0 40px;
    }

    .full-width-container img {
        height: 400px;
    }

    .vision-mission-container {
        height: 350px;
    }

    .vision-overlay {
        padding: 25px 30px;
    }

        .vision-overlay h3 {
            font-size: 1.6rem;
            margin-bottom: 12px;
        }

        .vision-overlay p {
            font-size: 1rem;
            line-height: 1.6;
        }

    .video-container {
        margin: 25px auto;
        width: 100%;
    }

        .video-container video {
            width: 100%;
            height: auto;
            border-radius: 8px;
            display: block;
        }
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .navbar-nav .nav-link {
        font-size: 18px !important;
    }

    .values-text {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        margin: 30px 20px 0 20px !important;
    }

    .full-width-container img {
        height: 250px !important;
    }

    .vision-mission-container {
        height: 280px;
    }

    .vision-overlay {
        padding: 15px 15px;
    }

        .vision-overlay h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .vision-overlay p {
            font-size: 0.95rem;
            line-height: 1.6;
        }

    .video-container {
        width: 100% !important;
        margin: 20px auto !important;
        padding: 0 !important;
        display: flex;
        justify-content: center;
    }

        .video-container video {
            width: 100% !important;
            height: auto !important;
            border-radius: 8px;
            display: block;
        }

    .fullwidth-image {
        width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
        margin-top: 30px;
        display: block;
    }
}
