/*Main Styling File */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

a {
    text-decoration: none;
    color: #0d6efd;
}

a:hover {
    text-decoration: underline;
}

.bg-primary {
    background-color: #0d6efd;
    color: white;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: #0d6efd;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #0d6efd;
    transition: width 0.3s ease-in-out;
    -webkit-transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    background: #0d6efd;
}

.nav-item.active .nav-link {
    color: #0d6efd;
    font-weight: bold;
}

.nav-item.active .nav-link::after {
    width: 100%;
    left: 0;
    background: #0d6efd;
}

.hero {
    /*background: linear-gradient(to bottom right, #0d6efd, #6610f2);*/

    background-size: 400% 400%;
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero h2 {
    font-size: 2.5rem;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    animation: fadeInUp 1s ease-out;
}

.carousel-item {
    min-height: 400px; /* Adjust the height according to your design */
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; 
    border: #0d6efd;
}
 
.btn {
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 1.2rem;
    animation: fadeInUp 1s ease-out;
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #0d6efd;
    position: relative;
}

.section-title::after {
    content: '';
    width: 50px;
    height: 3px;
    background: #0d6efd;
    display: block;
    margin: 10px auto 0;
}

.section .choose-us .i {
    padding: 60px 0;
    height: 50px;
}

.course-logo {
    margin: 1rem;
    padding: 1rem;
    width: 40% !important;
    height: 40% !important;
    /*border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    transition: transform 0.3s;
    align-self: anchor-center;

}

.testimonial {
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    animation: fadeIn 1.2s ease-out;
}

footer {
    background: #343a40;
    color: white;
    padding: 40px 0;
}

footer .social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: #0d6efd;
}

footer .footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-links a:hover {
    color: white;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.feature-block {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-block:hover {
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.5rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

.feature-block p {
    font-size: 1rem;
    color: #333;
}

.img-fluid {
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(20px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-20px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    color: #343a40;
    padding: 3rem 0;
    border-top: .5px solid rgb(225, 226, 226);
    scroll-behavior: smooth;
    scroll-margin: 10px;
}

footer-logo {

    margin-bottom: 1rem;

}

.footer h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer ul {
    padding-left: 30px;
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #343a40;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer ul li a:hover {
    text-decoration: underline;
    color: #007bff;
}

.footer .list-inline-item {
    margin-right: 0.5rem;
}

.footer .list-inline-item a {
    color: #343a40;
    font-size: 1.25rem;
    transition: color 0.3s ease-in-out;
}

.footer .list-inline-item a:hover {
    color: #007bff;
}

.footer .btn-outline-dark {
    border-color: #343a40;
    color: #343a40;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.footer .btn-outline-dark:hover {
    background-color: #343a40;
    color: #fff;
}

.footer .border-top {
    border-top: 2px solid #6c757d;
    padding-top: 1rem;
}

.footer .text-secondary {
    color: #6c757d !important;
}

.footer .text-dark {
    color: #343a40 !important;
    transition: color 0.3s ease-in-out;
}

.footer .text-dark:hover {
    color: #007bff !important;
}



.marquee {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-content span {
    display: inline-block;
    padding: 0 10px;
}

.marquee-content span:first-child {
    margin-left: 100%;
}

.marquee-content span:last-child {
    margin-right: 100%;
}

.marquee-content span:not(:last-child) {
    margin-right: 10px;
}

.marquee-content span:not(:first-child) {
    margin-left: 10px;
}

.marquee-content span:not(:first-child):not(:last-child) {
    margin-right: 10px;
    margin-left: 10px;
}

.marquee-content span:not(:first-child):not(:last-child):not(:nth-child(2)) {
    margin-right: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .marquee-content {
        animation: marquee 5s linear infinite;
    }
}

@media (max-width: 576px) {
    .marquee-content {
        animation: marquee 3s linear infinite;
    }
}

@media (max-width: 480px) {
    .marquee-content {
        animation: marquee 2s linear infinite;
    }
}

@media (max-width: 320px) {
    .marquee-content {
        animation: marquee 1s linear infinite;
    }
}

@media (max-width: 240px) {
    .marquee-content {
        animation: marquee 0.5s linear infinite;
    }
}

@media (max-width: 160px) {
    .marquee-content {
        animation: marquee 0.25s linear infinite;
    }
}

@media (max-width: 80px) {
    .marquee-content {
        animation: marquee 0.1s linear infinite;
    }
}

@media (max-width: 40px) {
    .marquee-content {
        animation: marquee 0.05s linear infinite;
    }
}

@media (max-width: 20px) {
    .marquee-content {
        animation: marquee 0.025s linear infinite;
    }
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-content:hover span {
    animation-play-state: paused;
}

.marquee-content:hover span:first-child {
    margin-left: 0;
}

.marquee-content:hover span:last-child {
    margin-right: 0;
}

.marquee-content:hover span:not(:first-child) {
    margin-right: 0;
}

.marquee-content:hover span:not(:last-child) {
    margin-left: 0;
}

.marquee-content:hover span:not(:first-child):not(:last-child) {
    margin-right: 0;
    margin-left: 0;
}

.marquee-content:hover span:not(:first-child):not(:last-child):not(:nth-child(2)) {
    margin-right: 0;
    margin-left: 0;
    margin-right: 0;
    margin-left: 0;
    margin-right: 0;
    margin-left: 0;
    margin-right: 0;
    margin-left: 0;
}

.marquee-content span {
    display: inline-block;
    padding: 0 10px;
}

.marquee-content span:first-child {
    margin-left: 100%;
}

.marquee-content span:last-child {
    margin-right: 100%;
}

.marquee-content span:not(:last-child) {
    margin-right: 10px;
}

.marquee-content span:not(:first-child) {
    margin-left: 10px;
}

.marquee-content span:not(:first-child):not(:last-child) {
    margin-right: 10px;
    margin-left: 10px;
}

.marquee-content span:not(:first-child):not(:last-child):not(:nth-child(2)) {
    margin-right: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .marquee-content {
        animation: marquee 5s linear infinite;
    }
}

@media (max-width: 576px) {
    .marquee-content {
        animation: marquee 3s linear infinite;
    }
}

@media (max-width: 480px) {
    .marquee-content {
        animation: marquee 2s linear infinite;
    }
}

@media (max-width: 320px) {
    .marquee-content {
        animation: marquee 1s linear infinite;
    }
}

@media (max-width: 240px) {
    .marquee-content {
        animation: marquee 0.5s linear infinite;
    }
}

@media (max-width: 160px) {
    .marquee-content {
        animation: marquee 0.25s linear infinite;
    }
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-item h2 {
        font-size: 1.5rem;
    }

    .carousel-item p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-item h2 {
        font-size: 1.2rem;
    }

    .carousel-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .carousel-item h2 {
        font-size: 1rem;
    }

    .carousel-item p {
        font-size: 0.7rem;
    }
}

@media (max-width: 320px) {
    .carousel-item h2 {
        font-size: 0.8rem;
    }

    .carousel-item p {
        font-size: 0.6rem;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    height: 100%;
    top: 0;
    bottom: 0;
    background-color: rgba(65, 62, 62, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-color: #333;
    border-radius: 50%;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #555;
}

.carousel-control-prev-icon:focus,
.carousel-control-next-icon:focus {
    outline: none;
}


.carousel-indicators {
    bottom: 5px;
    color: rgba(248, 4, 4, 0.93);
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 1px #000;

}
.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
}
.carousel-item img {
    height: 100vh;
    min-height: 300px;
    object-fit: cover;
    width: 100%;
}

.overlay-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 40%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.overlay-text.right {
    right: 10%;
    text-align: left;
}

.overlay-text.left {
    left: 10%;
    text-align: left;
}

.overlay-text h2 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.overlay-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .overlay-text {
        max-width: 50%;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 70vh;
    }

    .overlay-text {
        max-width: 70%;
        padding: 1.25rem;
    }

    .overlay-text.right,
    .overlay-text.left {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .carousel-item img {
        height: 60vh;
    }

    .overlay-text {
        max-width: 85%;
        padding: 1rem;
    }

    .overlay-text h2 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .overlay-text p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .overlay-text .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

#imageGalleryCarousel .carousel-item img {
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease-in-out;
}
#imageGalleryCarousel .carousel-item.active img {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#imageGalleryCarousel .carousel-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#imageGalleryCarousel .carousel-item.active img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}
#imageGalleryCarousel .carousel-control-prev-icon, #imageGalleryCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}
#imageGalleryCarousel .carousel-control-prev-icon:hover, #imageGalleryCarousel .carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
#imageGalleryCarousel .carousel-control-prev-icon, #imageGalleryCarousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}
#imageGalleryCarousel .carousel-control-prev-icon::before, #imageGalleryCarousel .carousel-control-next-icon::before {
    font-size: 30px;
    color: white;
}
#imageGalleryCarousel .carousel-control-prev, #imageGalleryCarousel .carousel-control-next {
    width: 5%;
}
#imageGalleryCarousel .carousel-control-prev {
    left: 0;
}
#imageGalleryCarousel .carousel-control-next {
    right: 0;
}
#imageGalleryCarousel .carousel-indicators {
    bottom: -50px;
}
#imageGalleryCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}
#imageGalleryCarousel .carousel-indicators button.active {
    background-color: rgba(0, 0, 0, 0.8);
}
#imageGalleryCarousel .carousel-indicators button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
#imageGalleryCarousel .carousel-indicators button:not(:last-child) {
    margin-right: 5px;
}
#imageGalleryCarousel .carousel-indicators button:last-child {
    margin-right: 0;
}
#imageGalleryCarousel .carousel-indicators button:hover {
    cursor: pointer;
}
#imageGalleryCarousel .carousel-indicators button.active {
    cursor: default;
}
#imageGalleryCarousel .carousel-control-prev, #imageGalleryCarousel .carousel-control-next {
    background-color: rgba(0, 0, 0, 0.5);
}
#imageGalleryCarousel .carousel-control-prev, #imageGalleryCarousel .carousel-control-next {
    width: 5%;
}
#imageGalleryCarousel .carousel-control-prev {
    left: 0;
}
#imageGalleryCarousel .carousel-control-next {
    right: 0;
}
#imageGalleryCarousel .carousel-control-prev-icon, #imageGalleryCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}
#imageGalleryCarousel .carousel-control-prev-icon:hover, #imageGalleryCarousel .carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
#imageGalleryCarousel .carousel-control-prev-icon, #imageGalleryCarousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

 /* Navbar Hover Effects */
 .nav-link {
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}
.nav-link:hover {
    transform: scale(1.1);
    color: #007bff !important; /* Highlight on hover */
}
/* Active link bounce effect */
.nav-item .active a {
    animation: bounce 1s;
    color: #007bff !important;
    font-weight: bold;
}
/* Navbar Toggler Animation */
.navbar-toggler:hover {
    animation: jello 0.5s;
}
/* Marquee smooth scrolling */
marquee {
    font-size: 16px;
    font-weight: bold;
}

/* Navbar Animation */
.nav-item {
    opacity: 0; /* Initially hide nav items */
}