*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
body{
    overflow-x: hidden;
}
/* navbar sections */
.navbar {
    background-color: #0b0b38; /* Dark blue */
}
.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #f9a825 !important; /* Golden Yellow */
}
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
}
.navbar-nav .nav-link:hover {
    color: #f9a825 !important; /* Hover effect */
}
.dropdown-menu {
    background-color: #fff; /* White dropdown */
}
.dropdown-menu .dropdown-item {
    color: #0b0b38 !important;
    font-weight: 500;
}
.dropdown-menu .dropdown-item:hover {
    background-color: #f9a825 !important;
    color: #fff !important;
}
/* contact-nav */
.contact-nav {
    background-color: #3c9f74; /* Green background */
    color: white;
    padding: 15px 0;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    animation: fadeIn 1.5s ease-in-out;
}

.contact-nav-btn {
    background-color: #e07c20; /* Orange button */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
    text-decoration: none;
}

.contact-nav-btn:hover {
    background-color: #c96a15; /* Darker orange on hover */
    transform: scale(1.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-nav {
        font-size: 16px;
        padding: 10px;
    }
    .contact-nav-btn{
        font-size: 14px;
        padding: 8px 16px;
    }
}
/* Carousel Image Styling */
.carousel-item {
    height: 100vh; /* Full screen height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay Effect */
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
}

/* Desktop View - Text Box Styling */
.carousel-caption {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 8px;
    animation: fadeInUp 1.5s ease-in-out;
    position: absolute;
    bottom: 20%;
}

/* Button Styling */
.carousel-caption .btn {
    background-color: #f9a825;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    transition: 0.3s;
}

.carousel-caption .btn:hover {
    background-color: #d48800;
    transform: scale(1.05);
}

/* Text Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Text Positioning */
@media (max-width: 768px) {
    .carousel-caption {
        position: static;
        transform: none;
        background: rgba(0, 0, 0, 0.9);
        margin-top: -10px;
        width: 100%;
        padding: 30px;
        text-align: center;
    }
    .carousel-item {
        height: auto;
    }
}

/* Desktop View - Text Position */
@media (min-width: 992px) {
    .text-right {
        right: 10%;
        left: auto;
    }
    .text-left {
        left: 10%;
        right: auto;
    }
}
/* country list */
   /* 🌈 Gradient Background */
   .country-list-hero-section {
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    overflow: hidden;
}

/* ✨ Background Animation */
.country-list-hero-section::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 50%);
    animation: moveBg 8s linear infinite;
}

@keyframes moveBg {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 🎬 Text Animation */
.country-list-hero-text {
    position: relative;
    animation: fadeInUp 1.5s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📌 Country List Styling */
.country-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 16px;
    font-weight: 500;
    padding: 12px;
    background: #f8f9fa;
    text-transform: uppercase;
    animation: slideIn 1.5s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
    .country-list {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 14px;
    }
    .country-list-hero-section {
        height: 200px;
        font-size: 18px;
    }
}
 
        /* Section Styling */
        .course-section {
            padding: 60px 0;
            /* background-color: #f8f9fa; */
            overflow-x: hidden;
        }

        /* Card Styling */
        .course-card {
            border: none;
            overflow: hidden;
            border-radius: 12px;
            position: relative;
            transition: transform 0.3s ease-in-out;
        }

        /* Image Container */
        .course-card-image-container {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
        }

        .course-card-image-container img {
            width: 100%;
            height: auto;
            min-height: 320px; /* Ensures proper height */
            object-fit: cover;
            transition: transform 0.4s ease-in-out;
        }

        /* Responsive Image Fix for Mobile */
        @media (max-width: 768px) {
            .course-card-image-container img {
                min-height: 250px; /* Ensures full image is visible */
                max-height: 300px;
                object-fit: cover;
            }
        }

        /* Overlay Effect */
        .course-card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            color: white;
            padding: 20px;
            opacity: 0;
            transition: opacity 0.5s ease-in-out, transform 0.4s ease-in-out;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            transform: scale(0.9);
        }

        /* Font Awesome Icon */
        .course-icon {
            width: 100px;
            height: 100px;
            background-color: #161649;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            font-size: 50px;
            color: #f9a825;
            transition: transform 0.5s ease-in-out;
        }

        /* Text Styling */
        .course-card-overlay h5 {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 10px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        }

        .course-card-overlay p {
            font-size: 0.95rem;
            margin-bottom: 10px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        }

        /* Hover Effects */
        .course-card-image-container:hover img {
            transform: scale(1.1);
        }

        .course-card-image-container:hover .course-card-overlay {
            opacity: 1;
            transform: scale(1);
        }

        .course-card-image-container:hover .course-icon {
            transform: scale(1.1);
        }

        .course-card-image-container:hover .course-card-overlay h5,
        .course-card-image-container:hover .course-card-overlay p {
            opacity: 1;
            transform: translateY(0);
        }

        /* Button Styling */
        .course-card-overlay .btn {
            background-color: #f9a825;
            border: none;
            font-weight: bold;
            margin-top: 10px;
            padding: 8px 16px;
            font-size: 14px;
            transition: transform 0.3s ease-in-out;
        }

        .course-card-overlay .btn:hover {
            background-color: #d48800;
            transform: scale(1.1);
        }
     /* Section Styling */
.prof-section {
    background-color: #f4f4f4; /* Light background */
    padding: 80px 0;
    display: flex;
    align-items: center;
}

/* Left Side (Image) */
.prof-image-container {
    width: 300px;
    height: 300px;
    background-color: #002147; /* Dark blue */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
}

/* Image Styling */
.prof-animated-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image is fully visible */
    border-radius: 10px;
    transition: transform 0.5s ease-in-out;
}

/* Image Hover Effect */
.prof-animated-img:hover {
    transform: scale(1.05);
}

/* Right Side (Text) */
.prof-animated-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: #002147; /* Dark blue */
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInText 1.5s ease-in-out forwards;
}

/* Animation for Text */
@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .prof-section {
        flex-direction: column;
        text-align: center;
    }

    .prof-animated-text {
        font-size: 2rem;
    }

    .prof-image-container {
        width: 250px;
        height: 250px;
    }

    .prof-animated-img {
        width: 100%;
        height: 100%;
    }
}
/* Contact Form Section */
.contact-section {
    background-color: #cc7700; /* Orange background */
    padding: 60px 0;
    color: white;
}

/* Center the Text */
.contact-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    animation: fadeInUp 1s ease-in-out;
}

.contact-section p {
    font-size: 1.2rem;
    color: #222;
    animation: fadeInUp 1.2s ease-in-out;
}

/* Input Fields */
.animate-input {
    border-radius: 5px;
    padding: 10px;
    border: none;
    outline: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

/* Input Hover & Focus Animation */
.animate-input:hover,
.animate-input:focus {
    transform: scale(1.02);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Submit Button */
.submit-btn {
    background-color: #161649;
    color: white;
    font-size: 1rem;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.submit-btn:hover {
    background-color: #0d0d3a;
    transform: scale(1.05);
}

/* Fade-In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 20px;
    }

    .contact-section h2 {
        font-size: 1.8rem;
    }

    .contact-section p {
        font-size: 1rem;
    }

    .submit-btn {
        width: 100%;
    }
}
/* Blog Section */
.blog-section {
    background-color: #fff;
    padding: 60px 0;
}

/* Blog Card Styling */
.blog-card {
    border: none;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.blog-card:hover {
    transform: scale(1.03);
}

/* Blog Image */
.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Blog Content */
.blog-content {
    padding: 20px;
    text-align: center;
}

/* Button Styling */
.animated-btn {
    background-color: #002147;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

/* Button Hover Effect */
.animated-btn:hover {
    background-color: #f9a825;
    transform: scale(1.1);
}

/* Fade-In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-section {
        padding: 40px 20px;
    }

    .blog-title {
        font-size: 1rem;
    }

    .blog-content {
        padding: 15px;
    }

    .blog-image img {
        height: 220px;
    }

    .animated-btn {
        width: 100%;
        padding: 10px;
    }
}
/* Section Styling */
.advantage-section {
    background: linear-gradient(to right, #002147, #0056b3); /* Top Color Gradient */
    color: white;
    padding: 60px 0;
}

/* Section Title */
.advantage-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f4f4f4;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1.5s ease-in-out;
}

/* Advantage Items */
.advantage-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    color: #002147;
    margin-bottom: 20px;
    margin-right: 10px; /* Added spacing */
    margin-left: 10px; /* Added spacing */
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    opacity: 0;
    animation: fadeInUp 1.5s ease-in-out forwards;
    transform-style: preserve-3d;
}

/* 3D Hover Effect */
.advantage-item:hover {
    transform: scale(1.05) rotateX(10deg) rotateY(10deg);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .advantage-title {
        font-size: 2rem;
    }

    .advantage-item {
        padding: 20px;
        margin: 10px;
    }
}
/* Best Teacher Section */
.best-teacher-container {
    padding: 50px 0;
    overflow-x: hidden;
}

/* Card Layout */
.best-teacher-custom-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    height: 350px; /* Ensures uniform height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Styling */
.best-teacher-custom-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures full coverage inside the container */
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.best-teacher-custom-card:hover img {
    transform: scale(1.1);
}

/* Overlay Text */
.best-teacher-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 15px;
    transition: bottom 0.4s ease-in-out;
    font-size: 18px;
    font-weight: bold;
}

.best-teacher-custom-card:hover .best-teacher-overlay {
    bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .best-teacher-container .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .best-teacher-custom-card {
        height: 400px; /* Adjust height for tablets */
    }
}

@media (max-width: 767px) {
    .best-teacher-container .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .best-teacher-custom-card {
        height: 380px; /* Adjust height for mobile */
    }

    .best-teacher-custom-card img {
        height: 100%;
        object-fit: cover; /* Ensures full image coverage */
    }
}
/* connect-contact-us */
 /* Background styling */
.connect-contact-us-section {
    background: linear-gradient(to right, #2c3e50, #4ca1af); /* Top color effect */
    color: white;
    padding: 50px 0;
    animation: fadeIn 1.5s ease-in-out;
}

/* Make both cards equal height */
.row.equal-height {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* Ensure both cards have the same height */
}

/* Card Styling */
.connect-contact-us-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Makes content evenly distributed */
    height: 100%; /* Ensures equal height */
}

.connect-contact-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Info */
.connect-contact-us-info {
    font-size: 18px;
}

.connect-contact-us-info i {
    font-size: 24px;
    margin-right: 10px;
    color: #ffdd57;
}

/* Form Styling */
.form-control {
    border-radius: 5px;
    border: none;
    padding: 10px;
}

.btn-submit {
    background: #1e3799;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.btn-submit:hover {
    background: #4a69bd;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Fix */
@media (max-width: 991px) {
    .connect-contact-us-card {
        height: auto; /* Allow flexible height on tablets */
    }
}

@media (max-width: 767px) {
    .row.equal-height {
        flex-direction: column; /* Stack cards in mobile */
    }

    .connect-contact-us-card {
        height: auto; /* Allow flexible height */
    }
}
 /* Footer Section Styling */
 .footer-section {
    background: #0b0b38; /* Top color effect */
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Top wave effect */
.footer-top-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('https://www.heropatterns.com/wave.svg') repeat-x;
    background-size: contain;
}

/* Footer Content Layout */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffdd57;
    margin-bottom: 15px;
    position: relative;
}

/* Footer links */
.footer-links a {
    color: white;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.footer-links a:hover {
    color: #ffdd57;
    transform: translateX(5px);
}

/* Footer Icons */
.footer-icons {
    margin-top: 20px;
}

.footer-icons a {
    color: white;
    font-size: 20px;
    margin: 0 10px;
    transition: transform 0.3s ease-in-out;
}

.footer-icons a:hover {
    transform: scale(1.2);
    color: #ffdd57;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive Fix */
@media (max-width: 991px) {
    .footer-container {
        text-align: center;
    }
}