body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}


.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.5s forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar {
    background-image: linear-gradient( 109.6deg,  rgba(45,116,213,1) 11.2%, rgba(121,137,212,1) 91.2% );
    color: #fff;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
    transition: background-color 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);;
}

.navbar-brand {
    display: flex;
    align-items: center; /* Align items vertically */
}

.navbar-brand > h1 {
    font-size: 30px;
}

.navbar-brand img {
    width: 80px; /* Adjust the width of the logo */
    height: 80px; /* Maintain aspect ratio */
    margin-right: 10px; /* Adjust margin as needed */
    margin-left: 10px;
}

.navbar-heading {
    margin: 0;
    font-size: 1.5rem; /* Adjust the font size as needed */
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bolder;
}

.links {
    flex-grow: 1;
    text-align: center;
}

.links ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.links ul li {
    display: inline-block;
    margin-right: 20px;
}

.links ul li:last-child {
    margin-right: 0;
}

.links ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.links ul li a:hover {
    /* background-color: #a8ade4; */
    background-image: linear-gradient( 109.6deg,  rgba(45,116,213,1) 11.2%, rgba(121,137,212,1) 91.2% );
    border-radius: 15%;
}

.hamburger {
    display: none;
}

.logo {
    width: 40px; /* Adjust the size as needed */
    height: auto; /* Maintain aspect ratio */
    margin-right: 10px;
}

.navbar-heading {
    margin: 0;
    font-size: 1.5rem; /* Adjust the font size as needed */
    color: #fff;
    margin-left: 10px; /* Add some margin for spacing */
}

.content {
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    background-attachment: fixed;
}

#about {
    /* background: #98b0db; */
    /* background-image: linear-gradient( 178.7deg,  rgba(126,184,253,1) 5.6%, rgba(2,71,157,1) 95.3% ); */
    background-image: radial-gradient( circle farthest-corner at 48.4% 47.5%,  rgba(122,183,255,1) 0%, rgba(21,83,161,1) 90% );


}

.hero {
    /* background: url('path_to_your_background_image.jpg') no-repeat center center; */
    background-image: radial-gradient( circle farthest-corner at 48.4% 47.5%,  rgba(122,183,255,1) 0%, rgba(21,83,161,1) 90% );
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    /* background-image: url('./hero.jpg'); */
  }
  .hero .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-img {
    max-width: 100%;
    height: auto;
    opacity: 0.5; /* Set the opacity of the image */
    display: block;
    margin: 0 auto 20px; /* Center the image and add bottom margin */
  }

  .hero h1 {
    font-size: 5em;
    margin: 0.5em 0;
  }
  .hero p {
    font-size: 1.5em;
    margin: 0.5em 0;
  }
  .hero .contact-info {
    background: rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  .hero .contact-info p {
    margin: 0.5em 0;
  }

  .animate-text {
    display: inline-block;
    /* animation: fadeIn 3s ease-in-out infinite alternate; */
    animation: fadeIn 3s ease-in-out infinite alternate;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  }

  @keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(-10px); }
  }

.inner-content {
    max-width: 800px; /* Optional: Adjust based on your design */
    width: 100%;
    transition: opacity 0.5s ease-in-out;
}

.inner-content.hidden {
    opacity: 0;
}

.carousel-item {
    height: 100vh; /* Set height to full viewport height */
}

.carousel-item img {
    object-fit: cover; /* Ensure the image covers the entire carousel item */
    width: 100%; /* Make sure the image fills the entire width */
    height: 85%; /* Make sure the image fills the entire height */
}

.carousel-caption {
    height: 250px;
    width: auto;
    font-size: xx-large;
}

.about-content {
    position: relative; /* Position relative to contain absolute positioned elements */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Set height to occupy the full viewport height */
}


.image-container {
    position: absolute; /* Position the image container absolutely */
    left: 0;
    top: 0;
    width: 60%; /* Adjust the width of the image container */
    height: 100%;
    overflow: hidden; /* Hide overflowing content */
}

.image-container img {
    width: 100%; /* Make the image fill the image container */
    height: 100%; /* Make the image fill the image container */
    object-fit: cover; /* Ensure the image covers the entire container */
}

.text-container {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    max-width: 80%; /* Increase the maximum width */
    margin: 0 auto; /* Center align the text container */
    line-height: 1.5; /* Increase line height for better readability */
    white-space: pre-line; /* Preserve line breaks */

    background: rgba(0, 0, 0, 0.3);
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.text-container p {
    margin-bottom: 20px; /* Add margin between paragraphs */
}

#courses {
    background-color: #f8f9fa; /* Set background color */
    padding: 50px 0; /* Add padding to the top and bottom of the section */
}

.courses-bg {
    background-color: rgba(255, 255, 255, 0.3); /* Adjust opacity and color */
    padding: 20px;
    border-radius: 10px;
    width: 60%; /* Adjust the width as needed */
    height: 600px;
    margin: 0 auto; /* Center the div horizontally */
}


.card-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Align cards in the center */
    gap: 20px; /* Add gap between cards */
    margin: 0 auto; /* Center the cards horizontally */
    max-width: 800px; /* Limit the maximum width of the cards */
}

.card {
    width: calc(50% - 20px); /* Set width for each card */
    height: 500px;
    /* Adjust as needed based on the number of cards and desired spacing */
    background-color: #fff; /* Set card background color */
    border: 1px solid #dee2e6; /* Add border */
    border-radius: 10px; /* Add border radius for rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add box shadow for depth */
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for smooth animation */
}

.card:hover {
    transform: translateY(-5px); /* Lift card slightly on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Increase box shadow on hover */
}

.card img {
    border-top-left-radius: 10px; /* Round top left corner of image */
    border-top-right-radius: 10px; /* Round top right corner of image */
    height: 300px;
}

.card-body {
    padding: 20px; /* Add padding inside card body */
}

.card-title {
    font-size: 1.25rem; /* Set font size for card title */
    margin-bottom: 10px; /* Add margin below card title */
}

.card-text {
    color: #6c757d; /* Set text color for card description */
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .card {
        width: calc(100% - 20px); /* Set full width for cards on smaller screens */
    }
}

/* Ensures the content class takes the full viewport height */
#fees > .content {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#fees {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    /* background-color: #535aff; */
    background-image: radial-gradient( circle farthest-corner at 48.4% 47.5%,  rgba(122,183,255,1) 0%, rgba(21,83,161,1) 90% );
}

#fees .fees-bg {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#fees .fees-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}




#contact {
    background-color: #f8f9fa;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    gap: 20px;
    overflow-x: hidden;
}

.contact-info {
    margin-bottom: 30px;
    flex: 1;
    overflow-x: hidden;
}

.contact-item {
    margin-top: 50px;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    word-wrap: break-word;
    font-weight: bolder;
    overflow-x: hidden;
}

.contact-item i {
    font-size: 24px;
    margin-right: 10px;
    color: #ffffff; /* Adjust icon color */
}

.contact-item a {
    font-size: 24px;
    margin-right: 10px;
    color: #ffffff; /* Adjust icon color */
    text-decoration: none;
}

.contact-item span {
    font-size: 16px;
    color: #f3f5f7; /* Adjust text color */
}

.contact-bg {
    background-color: rgba(255, 255, 255, 0.3); /* Adjust opacity and color */
    padding: 20px;
    border-radius: 10px;
    overflow-x: hidden;
}

.phone-number {
    margin-right: 10px; /* Adjust the margin as needed */
}


.map-container {
    flex: 1;
    width: 100%;
    height: 500px; /* Adjust the height as needed */
    overflow-x: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow-x: hidden;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .map-container {
        height: 400px; /* Adjust the height for smaller screens if necessary */
    }
}


.section-heading {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* background-color: #fff; Adjust background color as needed */
    padding: 0 20px; /* Adjust padding as needed */
    margin-bottom: 20px; /* Add margin between heading and section content */
    margin-top: 90px;
    font-size: 50px;
    z-index: 99;
}


.section-heading h2 {
    display: inline-block;
    position: relative;
    font-size: 2.5rem; /* Adjust font size as needed */
    color: #ffffff; /* Adjust text color as needed */
}

.section-heading h2::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Adjust distance from text as needed */
    left: 50%;
    transform: translateX(-50%);
    width: 50px; /* Adjust width of underline as needed */
    height: 2px; /* Adjust height of underline as needed */
    background-color: #007bff; /* Adjust color of underline as needed */
}



#home {
    /* background-color: #494845; */
    /* background-image: url('./hero.jpg'); */
    background-blend-mode: soft-light,screen;
    background-size: cover;
    background-repeat: no-repeat;
}

#courses {
    background-color: rgba(73, 72, 69, 5.9); /* Adjust the opacity (0.6 in this case) */
    backdrop-filter: blur(280px); /* Apply a blur effect */
    background-image: url('./courses.jpg');
    background-blend-mode: soft-light,screen;
    background-size: cover;
    background-repeat: no-repeat;
}

#contact {
    background-color: rgba(73, 72, 69, 5.9); /* Adjust the opacity (0.6 in this case) */
    backdrop-filter: blur(80px); /* Apply a blur effect */
    background-image: url('./contact.jpg');
    background-blend-mode: soft-light,screen;
    background-size: cover;
    background-repeat: no-repeat;
}

#fee {
    background-color: rgba(73, 72, 69, 5.9); /* Adjust the opacity (0.6 in this case) */
    backdrop-filter: blur(80px); /* Apply a blur effect */
    /* background-image: url('./fees.jpg'); */
    background-blend-mode: soft-light,screen;
    background-size: cover;
    background-repeat: no-repeat;
}

.dropdown-menu {
    /* background-color: #412e2e; Set background color */
    background-image: linear-gradient( 109.6deg,  rgba(45,116,213,1) 11.2%, rgba(121,137,212,1) 91.2% );
    border: 1px solid #ccc; /* Add border */
    border-radius: 5px; /* Add border radius for rounded corners */
    padding: 10px 0; /* Add padding */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add box shadow for depth */
}

/* Style for dropdown items */
.dropdown-item {
    padding: 10px 20px; /* Add padding */
    color: #f7f7f7; /* Set text color */
    text-decoration: none; /* Remove default underline */
    display: block; /* Ensure items are displayed as blocks */
    transition: background-color 0.3s; /* Add transition for smooth hover effect */
}

/* Hover effect for dropdown items */



@media only screen and (max-width: 600px) {
    nav ul {
        display: none;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
    }

    .content {
        padding-top: 60px; /* Adjust according to hamburger menu height */
    }

    nav.active ul {
        display: block;
        background-image: linear-gradient( 178.7deg,  rgba(126,184,253,1) 5.6%, rgba(2,71,157,1) 95.3% );
        position: absolute;
        top: 60px; /* Adjust according to hamburger menu height */
        width: 100%;
        text-align: center;
        border-radius: 15%;
    }

    nav.active ul li {
        display: block;
        margin: 0;
    }

    nav.active ul li a {
        display: block;
        padding: 10px 0;
    }

    .navbar-brand > img {
        display: flex;
        width: 40px; /* Adjust the width of the logo */
        height: 40px; /* Maintain aspect ratio */
        margin-right: 10px; /* Adjust margin as needed */
        margin-left: 10px;
    }

    .navbar-brand > h1 {
        margin: 0;
        font-size: 1.5rem; /* Adjust the font size as needed */
        color: #fff;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: bolder;
    }
}




    /* Home Section Media Query */
    @media screen and (max-width: 767px) {
        #home .container > h1{
            font-size: 35px;
            word-wrap: break-word;
        }
        #home .container > p {
            font-size: 20px;
        }
        
    }

    /* About Section Media Query */
    @media screen and (max-width: 767px) {
        #about .section-heading h2 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            position: relative;
            top: -110px;
        }
        .about-content .text-container > p {
            font-size: 15px;
        }

    }

    /* Courses Section Media Query */
    @media screen and (max-width: 767px) {
        #courses .section-heading h2 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            position: relative;
            top: -90px;
        }
        #courses .card-group {
            display: flex;
            flex-direction: column;
        }
        #courses .card-group .card {
            width: 90%;
            margin: 0 auto 20px;
            height: 200px;
        }
        #courses .card-body > p {
            font-size: 10px;
        }
        #courses .card-body > .card-title
         {
            font-size: 10px;
        }
        #courses .courses-bg {
            height: 500px;
        }
    }

    /* Fees section media query 
    @media screen and (max-width: 767px) {
        #fees > img{
            background-image: url('./fees_smallSize.jpg');
        }
    } */


/* Fees section Media Queries */

/* For large screens */
@media (min-width: 1200px) {
    #fees .fees-bg {
        width: 50%;
    }
}

/* For medium screens */
@media (min-width: 768px) and (max-width: 1199px) {
    #fees .fees-bg {
        width: 75%;
    }
    #fees .fees-bg img {
        object-fit: contain;
    }
}

/* For small screens */
@media (max-width: 767px) {
    #fees .fees-bg {
        width: 100%;
    }

    #fees .fees-bg img {
        object-fit: contain;
    }
}

/* For extra small screens */
@media (max-width: 576px) {
    #fees .fees-bg {
        width: 100%;
    }

    #fees .fees-bg img {
        object-fit: contain;
    }
}

    /* Contact Section Media Query */
    @media screen and (max-width: 767px) {
        #contact .section-heading h2 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            position: relative;
            top: -70px;
        }
        #contact a {
            font-size: 1rem;
        }
    }