.navbar-custom {
    background-color: #8888881e;
    padding: 1rem 2rem;
}

.menu-bar {
    background-color: #111;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
}

.nav-link {
    color: #fff !important;
    padding: 0.75rem 1rem;
}

.nav-link:hover,
.dropdown-item:hover {
    color: #9f7aea !important;
}

.dropdown-menu {
    background-color: #111;
    border: none;
    border-radius: 0.5rem;
}

.dropdown-item {
    color: #fff;
}

.get-started-btn {
    background-color: #7f3cec;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    color: #fff;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.get-started-btn:hover {
    background-color: #6a25e3;
}

.logo-img {
    width: 30px;
}

/* @media (max-width: 991.98px) {
      .menu-bar {
        border-radius: 0;
      }
    } */

@media (max-width: 991.98px) {
    .menu-bar {
        border-radius: 0;
        padding: 1rem;
        width: 100%;
        background-color: #111;
    }

    .nav-link {
        padding: 0.75rem 0;
    }

    .get-started-btn {
        display: block;
        margin: 1rem auto 0 auto;
        text-align: center;
    }
}

.blue {
    color: #1a73e8;
}

.green {
    color: #27ae60;
}

.hero-image-wrapper {
    position: relative;
    text-align: center;
    display: inline-block;
}

.hero-image {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    display: block;
    z-index: 0;
    position: relative;
}

/* Decorative glassmorphic box */
.background-box {
    width: 92%;
    height: 30%;
    /* Adjust height as needed */
    border-radius: 12px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;

    /* Glassmorphism style */
    background: rgba(180, 215, 247, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.box-text {
    text-align: center;
    /* Center text horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center children horizontally */
    justify-content: center;
    /* Center children vertically */
    height: 100%;
    /* Take full height of parent */
    color: #ffffff;
    padding: 20px;
}

.text {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.text-details {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    color: #f1f1f1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service {
    margin-top: 20px;
}

.service img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Optional: Adjust vertical spacing */
.service h6 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.service p {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 600;
}

@media (max-width: 767px) {
    .hero-image {
        max-width: 100%;
    }

    .text {
        font-size: 1rem;
    }

    .text-details {
        font-size: 0.85rem;
    }

    .service .col-md-4:last-child {
        border-right: none;
    }
}

.title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 30px;
}

.title span {
    color: #007bff;
}

.title-text {
    font-weight: 600;

}

.slider-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    display: flex;
    gap: 20px;
    scroll-snap-type: x mandatory;
    padding: 20px;
    /* Hides scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.instructor-card {
    flex: 0 0 80%;
    max-width: 80%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
    transition: 0.3s;
    scroll-snap-align: start;
}

.instructor-card:hover {
    transform: translateY(-4px);
}

.instructor-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.instructor-info {
    padding-top: 10px;
    padding-bottom: 15px;
    text-align: center;
}

.instructor-info h5 {
    font-size: 18px;
    font-weight: 600;
}

.instructor-details {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin-top: 10px;
    text-align: center;
    max-width: 100%;
    padding: 0 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.btn-portfolio {
    font-size: 13px;
    border-radius: 6px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    background-color: #f4f4f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.progress-line {
    flex-grow: 1;
    height: 1px;
    background: #ddd;
    position: relative;
}

.progress-line::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 80px;
    background-color: #000;
    left: 0;
    top: -0.5px;
}

.btn-view-all {
    border: 1px solid #000;
    border-radius: 8px;
    padding: 5px 15px;
    font-size: 14px;
    background: transparent;
    color: #000;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: #000;
    color: #fff;
}

@media (min-width: 576px) {
    .instructor-card {
        flex: 0 0 48%;
        max-width: 48%;
    }
}

@media (min-width: 992px) {
    .instructor-card {
        flex: 0 0 24%;
        max-width: 24%;
    }
}

@media (max-width: 768px) {
    .instructor-img {
        height: 200px;
    }

    .progress-line::before {
        width: 50px;
    }

    .instructor-details {
        font-size: 16px;
        padding: 0 30px;
    }
}

.btn-warning {
    background-color: #ffc107;
    border: none;
    color: #000;
}

.btn-warning:hover {
    background-color: #e0a800;
    color: #fff;
}

@media (max-width: 767px) {
    .text-center .col-md-4 {
        text-align: center;
    }
}

.section-title {
    text-transform: uppercase;
    color: #888;
    font-size: 14px;
    letter-spacing: 1px;
}

.main-heading {
    font-size: 36px;
    font-weight: bold;
}

.main-heading .highlight {
    color: #2196f3;
}

.accordion {
    background-color: transparent;
    border-radius: 8px;
    width: 100%;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
    border-radius: 0 !important;
}

.accordion-button {
    font-weight: 500;
    font-size: 16px;
    background: transparent;
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    background-color: #e3f2fd;
    color: #000;
    box-shadow: none;
}

.accordion-body {
    padding-left: 0;
}

.img-section {
    position: relative;
}

.img-section img {
    max-width: 100%;
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 28px;
    }

    .accordion-button {
        font-size: 15px;
    }
}

footer {
    background-color: #f4f6fb;
    padding: 40px 0;
}

.footer-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-subscribe input[type="email"] {
    border-radius: 6px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 300px;
}

.footer-subscribe button {
    background-color: #007bff;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    margin-left: 10px;
}

.contact-icon {
    background-color: #e9f2ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 18px;
    color: #0d6efd;
}

.footer-link {
    color: #000;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

.social-icon {
    font-size: 18px;
    width: 24px;
    display: inline-block;
}

.footer-social-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e1e1e1;
    padding: 10px 0;
}

@media (max-width: 576px) {
    .footer-subscribe {
        flex-direction: column;
        gap: 10px;
    }

    .footer-subscribe button {
        margin-left: 0;
        width: 100%;
    }
}

.contact-box {
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    padding: 30px 20px;
    transition: 0.3s;
}

.contact-box:hover {
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.contact-box h5 {
    font-weight: 600;
    margin-bottom: 10px;
}
.contact-box p {
    margin: 0;
    font-size: 15px;
    color: #555;
}
.contact-form-section {
    background-color: #fff;
    padding: 60px 15px;
}
.contact-form-section h3 {
    font-weight: 600;
    margin-bottom: 30px;
}
.form-control {
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 16px;
}
.btn-submit {
    color: #000;
    font-weight: 500;
    padding: 12px;
    border: none;
    width: 100%;
    transition: 0.3s;
}
.active {
    color: #9d73e2 !important;
}