* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*----- header section-----*/

#nav-bar {
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar {
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    padding: 0 !important;
}

.navbar-brand img {
    height: 33px;
    padding-left: 20px;
}

.navbar-nav li {
    padding: 0 10px;
}

.navbar-nav li a {
    color: #fff !important;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.navbar-nav li a:hover {
    color: #462AF0 !important;
    transform: scale(1.1);
}

.fa-bars {
    color: #fff;
    font-size: 30px;
}

.navbar-toggler {
    outline: none !important;
    border: none !important;
}

/*------------ Banner -------------*/

.banner {
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    color: #fff;
    padding-top: 5%;
}

.promo-title {
    font-size: 40px;
    font-weight: 600;
}

.banner .btn-primary {
    border-radius: 20px !important;
    width: 86% !important;
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.banner .btn-primary:hover {
    transform: translateY(-3px);
    background-color: #462AF0;
    background-image: none;
}

.banner-img img {
    width: 76%;
    height: 84%;
}

.bottom-img {
    width: 100%;
}

/*------ services ------*/

#services {
    padding: 45px 0;
}

.section {
    padding: 45px 0;
}

.service-image {
    width: 160px;
    margin-top: 20px;
    transition: transform 0.3s ease-in-out;
}

.service-image:hover {
    transform: scale(1.1);
}

.services {
    padding: 20px;
}

.services h4 {
    padding: 5px;
    margin-top: 15px;
}

.title {
    color: #462AF0;
    opacity: 0;
    animation: slideIn 1.5s ease-out forwards;
}

@keyframes slideIn {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.title::before {
    content: '';
    background: #9EEFE1;
    height: 5px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transform: translateY(63px);
    border-radius: 10px;
}

.title::after {
    content: '';
    background: #9EEFE1;
    height: 10px;
    width: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    display: block;
    transform: translateY(8px);
    border-radius: 10px;
}

.pst-button {
    box-shadow: none;
    padding: 8px 25px;
    border: none;
    border-radius: 25px;
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    transition: background-color 0.3s ease;
    color: #fff;
    margin: 40px;
}

.pst-button:hover {
    background-color: #462AF0;
    background-image: none;
}

/*---------footer---------*/

#footer {
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    color: #fff;
}

.footer-img {
    width: 100%;
    transform: scaleY(-1);
}

.footer-box {
    padding: 20px;
    color: black;
    animation: floatUp 1.5s ease-in-out infinite alternate;
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.footer-box .footer-title {
    font-size: 20px;
    font-weight: 600;
}

.footer-logo-img {
    width: 170px;
    margin-bottom: 20px;
}

.footer-box .contact-us i {
    margin-right: 8px;
    font-size: 25px;
    height: 40px;
    width: 40px;
    text-align: center;
    padding-top: 7px;
    border-radius: 2px;
    background-image: linear-gradient(to right, #9EEFE1, #462AF0);
    color: #fff;
}

.social-buttons {
    display: flex;
}

.social-buttons img {
    width: 30px;
    height: 30px;
    margin: 10px;
}

.footer-box .links li a {
    text-decoration: none;
    color: black;
}

.footer-box .links li {
    list-style-type: none;
    padding: 9px;
}

.footer-box .quick-links {
    display: flex;
}

hr {
    background-color: #fff;
}

.copyright {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 0;
}

/*----------- team -----------*/

#team .card {
    width: 17rem;
    margin-top: 10vmin;
    box-shadow: 0px 0px 10px 0px rgba(80, 60, 40, 0.5);
}

#team .card .card-text {
    padding: 0.5em;
}

#team .card .card-body>a {
    font-size: 1.5em;
}

.border-radius {
    border-radius: 340px;
    width: 60%;
}

/*------ gallery section ------*/
#gallery {
    background-color: #f4f4f9;
}

#gallery .title {
    animation: slideIn 1.5s ease-out forwards;
}

#gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

#gallery .gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#gallery .gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

#gallery .gallery-item:hover img {
    transform: scale(1.1);
}

#gallery .gallery-item .caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 5px;
    display: none;
}

#gallery .gallery-item:hover .caption {
    display: block;
}

#gallery .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#gallery .col-md-4 {
    padding: 10px;
}

/* courses */
.course-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    img {
        height: 200px;
    }
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.card-title {
    color: #007bff;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    text-align: center;
    background-color: #f8f9fa;
}

/* ----- tutorials section ----- */
/* #tutorials {
    background-color: #f4f4f9;
} */

#tutorials .title {
    animation: slideIn 1.5s ease-out forwards;
}

#tutorials .tutorial-item {
    margin-bottom: 30px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

#tutorials .tutorial-item:hover {
    transform: scale(1.05);
}

#tutorials iframe {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#tutorials .tutorial-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 15px;
    color: #462AF0;
}

/* Responsiveness for small screens */
@media (max-width: 768px) {
    #tutorials .row {
        flex-direction: column;
        align-items: center;
    }

    #tutorials .col-md-4 {
        width: 100%;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    #tutorials iframe {
        width: 100%;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}





.stylish-dropdown {
    background: linear-gradient(to right, #343a40, #1d2124);
    /* Dark modern gradient */
    border-radius: 6px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    padding: 5px 0;
}

.stylish-dropdown .dropdown-item {
    color: #fff;
    padding: 10px 15px;
    font-weight: 500;
    transition: background 0.3s ease-in-out;
}

.stylish-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    /* Subtle hover effect */
    color: #f0ad4e;
    /* Gold accent */
}