:root {
    --asyad-purple: #702082;
    --asyad-purple-darker: #221C35;
    --asyad-blue: #138496;
    --yellow: #FFC913;
    --color-primary-dark: #097B8C;
}


body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Sticky footer: on pages shorter than the viewport, the footer sticks
   to the bottom of the browser window instead of leaving a blank gap
   below it. Scoped to .site-body (public pages only) so it never
   touches the admin panel's own separate layout. */
body.site-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.site-body > footer.footer {
    margin-top: auto;
}

.top-header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
}

.logo {
    height: 70px;
    width: 90px;
    margin-right: 10px;
}

.title {
    font-size: 24px;
    color: #FFC913;
    font-weight: bold;
}

.header-contact {
    font-size: 14px;
    color: #444;
}

.page-banner {
    background-color: #097B8C;
    color: #fff;
    padding: 20px 0;
}

    .page-banner .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 20px;
        padding: 0 40px;
    }

    .page-banner h2,
    .page-banner p {
        margin: 0;
        padding: 0;
    }

    .page-banner h2 {
        font-size: 22px;
        font-weight: 400;
        color: #ffffff;
        flex: 0 0 auto;
        text-align: left;
    }

    .page-banner p {
        color: #221C35;
        font-size: 15px;
        flex: 0 0 auto;
        text-align: right;
        white-space: nowrap;
    }

        .page-banner p a {
            color: #221C35;
            text-decoration: none;
        }


/* ========== ABOUT US ========== */

.about-header {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9ff;
    border: 1px solid #e1def5;
    border-radius: 10px;
    color: #000000;
}


.about-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
    max-width: 800px;
    margin: 0 auto;
    color: #000000;
}


.about-header p {
    font-size: 18px;
    color: #000000;
    font-weight: 500;
    max-width: 700px;
    margin: 10px auto 0;
}

.about-description {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
}

    .about-description .about-text {
        max-width: 900px;
        margin: auto;
        line-height: 1.7;
        color: #444;
        font-size: 16px;
    }

/* =========================
   Mission & Vision
   ========================= */

.mission-vision {
    background-color: #f8fafc;
    padding: 60px 20px 70px;
}

.mv-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.mv-card {
    flex: 1 1 320px;
    background: #ffffff;
    border-radius: 10px;
    padding: 26px 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .mv-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top left, rgba(255, 201, 19, 0.12), transparent 60%);
        opacity: 1;
        pointer-events: none;
    }


    .mv-card h2 {
        color: #138496;
        margin-bottom: 10px;
        font-size: 20px;
        position: relative;
        z-index: 1;
    }

    .mv-card p {
        color: #555;
        line-height: 1.6;
        position: relative;
        z-index: 1;
    }

    .mv-card:hover {
        transform: translateY(-4px);
        background-color: #221C35;
        box-shadow: 0 18px 40px rgba(34, 28, 53, 0.65);
    }

        .mv-card:hover h2 {
            color: var(--yellow);
        }

        .mv-card:hover p {
            color: #ffffff;
        }

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

    .section-header h2 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #222;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }


/* ========== CERTIFICATIONS ========== */
.certifications {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
}

.cert-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 35px 20px;
    text-align: center;
    width: 280px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

    .cert-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 145deg, rgba(19, 132, 150, 0.18), rgba(112, 99, 255, 0.08), rgba(112, 99, 255, 0.02) );
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: inherit;
    }

    .cert-card:hover::before {
        opacity: 1;
    }

    .cert-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 36px rgba(19, 132, 150, 0.25);
    }

.cert-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 7px rgba(0,0,0,0.16));
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-icon img {
    transform: scale(1.05);
}

.card-title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
}

.card-body {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}


/* ========== Footer ========== */

.site-footer {
    background-color: #221C35;
    color: white;
    padding-top: 30px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding: 30px 60px;
}

.footer-logo-section {
    flex: 0 0 auto;
}

.footer-logo {
    width: 180px;
    height: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap !important;
    gap: 50px;
    flex: 1;
}

.footer-column {
    flex: 1;
    min-width: 100px;
    white-space: nowrap;
}

.footer-icon {
    font-size: 28px;
    color: #138496;
    margin-bottom: 10px;
}

.footer-column h4 {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-column p, .footer-column a {
    color: #d4d4d4;
    font-size: 14px;
    text-decoration: none;
}

    .footer-column a:hover {
        color: #138496;
    }

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-column ul li {
        margin: 6px 0;
    }

.footer-bottom {
    border-top: 1px solid #138496;
    text-align: center;
    margin-top: 10px;
    padding: 8px 0 5px;
    font-size: 13px;
    color: #ccc;
    line-height: 1.2;
}


/* ========== CONTACT ========== */
.contact-section {
    text-align: center;
    background-color: #fff;
    padding: 40px 20px;
    margin: 40px auto;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
}

    .contact-section h2 {
        font-size: 28px;
        font-weight: 700;
        color: #222;
        margin-bottom: 10px;
    }


    .contact-section p.subheading {
        color: #777;
        font-size: 16px;
        margin-bottom: 25px;
    }

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.info-box {
    background-color: #f3f3ff;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

    .info-box:hover {
        background-color: #221C35;
        transform: translateY(-5px);
        box-shadow: 0 16px 34px rgba(34, 28, 53, 0.55);
    }

        .info-box:hover p,
        .info-box:hover a,
        .info-box:hover h5 {
            color: #fff;
        }

    .info-box i {
        font-size: 28px;
        color: #138496;
        margin-bottom: 10px;
    }

    .info-box p,
    .info-box a {
        color: #444;
        margin: 0;
        font-size: 15px;
        text-decoration: none;
    }

        .info-box a:hover {
            color: #138496;
        }

.map-container {
    text-align: center;
    margin-top: 30px;
}

iframe {
    border: 0;
    width: 90%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}


@media (max-width: 1024px) {
    .info-box {
        width: 220px;
    }

    .contact-section h2 {
        font-size: 26px;
    }
}


@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .info-box {
        width: 80%;
        margin: 0 auto;
    }

    iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-section h2 {
        font-size: 24px;
    }

    .contact-section p.subheading {
        font-size: 14px;
    }

    .info-box {
        width: 95%;
        padding: 15px;
    }

    iframe {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 360px) {
    .info-box i {
        font-size: 22px;
    }

    .info-box p,
    .info-box a {
        font-size: 13px;
    }
}


/* ========== BROWSE MORE BTN ========== */

.btn2 {
    border: none;
    padding: 10px 18px;
    background-color: #f3f0ff;
    color: #138496;
    border-radius: 999px;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    gap: 6px;
}

    .btn2:hover {
        background-color: #e9e4ff;
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(112, 99, 255, 0.25);
    }

    .btn2 i {
        font-size: 18px;
    }



/* ========== COURSES PAGE ========== */
.results-bar {
    background-color: #f8f9ff;
    border: 1px solid #e1def5;
    border-radius: 10px;
    padding: 10px 15px;
}

.custom-select {
    background-color: #ffffff;
    border: 1px solid #dcd9ef;
    margin-left: 10px;
    border-radius: 8px;
    color: var(--color-deep);
    min-width: 160px;
    padding: 5px 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

    .custom-select:focus {
        border-color: var(--asyad-purple);
        box-shadow: 0 0 0 0.15rem rgba(112, 32, 130, 0.2);
        outline: none;
    }


.btn-primary2 {
    background-color: #138496;
    border: none;
    border-radius: 6px;
    padding: 4px 12px !important;
    font-size: 13px;
    margin-bottom: 11px !important;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

    .btn-primary2:hover {
        background-color: #097B8C;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.results-text {
    color: var(--asyad-purple);
    font-size: 14px;
    margin-top: 15px;
}


.course-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #111827;
    margin-bottom: 24px;
}

    .course-card img {
        width: 100%;
        height: 170px;
        object-fit: cover;
        display: block;
    }

    .course-card .card-body,
    .course-card .course-card-content,
    .course-card > div:last-child {
        background: linear-gradient(135deg, #138496, #0f9bb0, #7198aa);
        padding: 16px 18px 20px;
        color: #f9fafb;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .course-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 36px rgba(15, 23, 42, 0.32);
    }

    .course-card h5,
    .course-card h4 {
        margin: 0 0 6px;
        font-size: 1.02rem;
        font-weight: 600;
        color: #ffffff;
    }

    .course-card p {
        margin: 2px 0;
        font-size: 0.9rem;
        color: #e5f3f6;
    }

        .course-card p span {
            font-weight: 600;
        }


.section-heading {
    text-align: center;
    padding-top: 10px;
}

.section-heading-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
}

.section-heading-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
    background: linear-gradient(135deg, #0f9bb0, #138496, #0f5670);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-heading-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-top: 0;
    margin-bottom: 12px;
}

.section-heading-line {
    display: block;
    margin: 10px auto 0;
    width: 90px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #138496, #0f9bb0);
    opacity: 0.9;
}


.search-box {
    max-width: 200px;
    border: 1px solid #dcd9ef;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 14px;
}

section {
    padding: 80px 0;
    background-color: var(--color-bg-soft);
}

.container1 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.row1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}



.view-instructors-btn {
    background-color: #702082;
    border: none;
    border-radius: 20px;
    padding: 10px 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .view-instructors-btn:hover {
        background-color: #8e3ca5;
    }


.button1 {
    background-color: #221C35;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s;
}

    .button1:hover {
        background-color: #702082;
    }



h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
    margin-left: 10px;
}

.form-row {
    margin-bottom: 30px;
    margin-top: 20px;
    display: flex;
    gap: 20px;
    width: 100%;
    margin-left: 10px;
}


.form-control {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

    .form-control[readonly] {
        background-color: #eee;
        color: #555;
    }

.btn {
    background-color: #138496;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.button-container {
    display: flex;
    margin-right: 10px;
    justify-content: flex-end;
}

.purple-btn:hover {
    background-color: #4a1f80;
}

/* ========== TESTIMONIALS ========== */

.testimonials-grid {
    display: grid;
    gap: 1.4rem;
}

@media (min-width: 800px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.testimonial {
    margin: 0;
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--color-border);
    background: linear-gradient( 135deg, var(--color-primary-dark), #0f9bb0, #0b5f73 );
    color: #fff;
}

    .testimonial blockquote {
        margin: 0 0 0.9rem;
        font-size: 0.95rem;
    }

.testimonial-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-role {
    display: block;
    font-size: 0.8rem;
    color: rgba(241, 245, 249, 0.9);
}

/* ========== FEEDBACK ========== */

.feed-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .feed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .feed-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feed {
    margin: 0;
    border-radius: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #0f9bb0, #0b5f73, #056d87);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

    .feed:hover {
        transform: scale(1.05) rotateX(4deg) rotateY(-4deg);
        box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    }


blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}


.quote-icon {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 0.5rem;
    font-size: 1.5rem;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.testimonial-name {
    font-weight: bold;
}

.testimonial-role {
    font-style: italic;
}

.btn.loadM {
    padding: 0.65rem 1.5rem;
    background-color: #0f9bb0;
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

    .btn.loadM:hover {
        background-color: #056d87;
        transform: scale(1.05);
    }


/* ========== MEMBERSHIP ========== */
.membership-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.section-subtitle {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
}

/* ========== Why Us ========== */

/*.scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 15px;
}

    .scroll-container::-webkit-scrollbar {
        height: 8px;
    }

    .scroll-container::-webkit-scrollbar-thumb {
        background: rgb(59, 49, 88);
        border-radius: 10px;
    }

    .scroll-container::-webkit-scrollbar-track {
        background: #7897A8;
    }

.stepCard {
    flex: 0 0 auto;
    width: 250px;
    background-color: rgb(59, 49, 88);
    color: #fff;
    padding: 16px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .stepCard:hover {
        transform: translateY(-5px);
        background: #221C35;
    }

.stepCard__title {
    color: #fff;
}

.stepCard__text {
    color: #fff;
}*/

.why-diti-section {
    padding: 80px 0;
    background: radial-gradient(circle at top left, #0f9bb0, #097b8c, #052b3f);
    color: #fff;
}

    .why-diti-section .sectionTitle__title,
    .why-diti-section h2 {
        color: #ffffff;
        font-size: 36px;
        font-weight: 700;
    }

.why-diti-scroll-wrapper {
    position: relative;
    margin-top: 32px;
}

/* horizontal card strip */
.scroll-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 24px 8px 32px;
    margin: 0 60px;
    scrollbar-width: none;
}

    .scroll-container::-webkit-scrollbar {
        height: 0;
    }

/* Single card */
.stepCard {
    flex: 0 0 auto;
    width: 280px;
    background-color: rgb(59, 49, 88);
    color: #fff;
    padding: 24px 20px 26px;
    border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.45);
}

    .stepCard:hover {
        transform: translateY(-6px);
        background: var(--color-deep);
        box-shadow: 0 24px 40px rgba(5, 12, 32, 0.8);
    }

.stepCard__title,
.stepCard__text {
    color: #fff;
}

.stepCard__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Scroll arrows */

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 10, 25, 0.7);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
}

.scroll-arrow--left {
    left: 14px;
}

.scroll-arrow--right {
    right: 14px;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-deep);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

/* ========== TRAINERS ========== */

.title2 {
    text-align: center;
    margin-top: 19px;
}

.page-header__text {
    justify-content: center;
    margin-left: 90px;
}

.teamCard {
    border-radius: 10px;
    overflow: hidden;
    background-color: #221C35;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: transform 0.3s;
    text-align: center;
    color: #fff;
}

.teamCard__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

    .teamCard__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

        .teamCard__image img:hover {
            transform: scale(1.05);
        }


.teamCard__content {
    padding: 18px 16px 20px;
}


.teamCard__title {
    font-size: 18px;
    color: #fff;
    margin: 5px 0;
}

.teamCard__subtitle {
    font-size: 14px;
    color: #fff;
}

.teamCard__text {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 10px;
}

.row1 {
    display: flex;
    flex-wrap: wrap;
    row-gap: 40px;
}

.slide-in {
    opacity: 0;
    transform: translateX(100px);
    animation: slideIn 0.8s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    color: #555;
    animation: fadeIn 0.8s ease forwards;
}

.no-results__image {
    width: 250px;
    max-width: 50%;
    margin-bottom: 30px;
    animation: float 2s ease-in-out infinite alternate;
}

.no-results__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.no-results__text {
    font-size: 16px;
    max-width: 400px;
    color: #777;
    margin-bottom: 20px;
}

.no-results__btn {
    background-color: #4f46e5;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

    .no-results__btn:hover {
        background-color: #3730a3;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .no-results__image {
        width: 180px;
    }

    .no-results__title {
        font-size: 20px;
    }

    .no-results__text {
        font-size: 14px;
    }
}


/* ========== Upcoming Courses ========== */

.section-tit {
    font-size: 33px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
    background: linear-gradient(135deg, #0f9bb0, #138496, #0f5670);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}


.course-animate {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.6s ease-out;
}


    .course-animate.show {
        opacity: 1;
        transform: translateX(0);
    }


.course-animate {
    animation: slideRightToLeft 0.6s ease-out forwards;
}

@keyframes slideRightToLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== COURSE REQUEST ========== */

.request-course-section {
    background: linear-gradient(135deg, #0b7a8c, #0f9bb0 40%, #085f73 90%);
    padding: 72px 0 96px;
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: flex-start;
}


.header .sub-title {
    margin-bottom: 8px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(226, 239, 245, 0.9);
    font-weight: 600;
}

.header .title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}


.form-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        font-weight: 600;
        font-size: 14px;
        color: #111827;
        display: block;
        margin-bottom: 6px;
    }

    .form-group input {
        width: 100%;
        border-radius: 12px;
        border: 1px solid #d1d5db;
        padding: 12px 16px;
        font-size: 14px;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        .form-group input:focus {
            border-color: #0f9bb0;
            box-shadow: 0 0 0 3px rgba(15, 155, 176, 0.15);
            outline: none;
        }


.readonly-input {
    background-color: #fff7d0;
    border-color: #f4d66b;
    font-weight: 500;
}

.submit-btn {
    display: flex;
    justify-content: center;
}

    .submit-btn button {
        width: 40%;
        background: linear-gradient(90deg, #ffc913, #ffb800);
        border: none;
        border-radius: 999px;
        padding: 14px 20px;
        font-weight: 600;
        font-size: 16px;
        color: #111827;
        box-shadow: 0 14px 28px rgba(255, 201, 19, 0.35);
        text-transform: uppercase;
        letter-spacing: 0.04em;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .submit-btn button:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 36px rgba(255, 201, 19, 0.45);
        }



/* ========== COURSE DETAILS ========== */

.course-detail-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

.detail-img-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.detail-img-wrapper:hover .detail-img {
    transform: scale(1.05);
}

.course-detail-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #138496;
}

.course-info-box {
    background: #ffffff;
    padding: 22px 20px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

    .course-info-box:hover {
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }


.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    font-size: 16px;
    color: #333;
}

.info-icon {
    font-size: 20px;
    color: #138496;
}

.double-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

    .double-row div {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 6px;
    }

.remaining-seats-box {
    background: #fff3cd;
    border-left: 5px solid #ffce3a;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #856404;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}


.col-md-4 input,
.col-md-4 textarea,
.col-md-4 select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 9px 15px;
    font-size: 14px;
    transition: 0.2s;
    width: 100%;
    margin-bottom: 12px;
    line-height: 1.4;
    box-sizing: border-box;
    height: auto;
}


.col-md-4 select {
    height: 40px;
    background-color: #fff;
    appearance: none;
}

    .col-md-4 input:focus,
    .col-md-4 textarea:focus,
    .col-md-4 select:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0,123,255,0.2);
        outline: none;
    }

/* Submit Button */
.col-md-4 button {
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.2s;
    background-color: #138496;
    border: 1px solid #138496;
    color: #fff;
}

    .col-md-4 button:hover {
        background-color: #0069d9;
        border-color: #0062cc;
        cursor: pointer;
    }

/* Go Back Button */
.course-detail-container .btn-outline-secondary {
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    border: 1px solid #ced4da;
    transition: all 0.2s ease;
    background-color: #f8f9fa;
}

    .course-detail-container .btn-outline-secondary:hover {
        background-color: #e2e6ea;
        border-color: #adb5bd;
        color: #212529;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

.course-detail-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #FFC913;
}

/* =========================
         Pagination 
   ========================= */

.pagination.-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 40px 0 60px;
}

.pagination__button {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #138496, #0f9bb0);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

    .pagination__button i {
        color: #ffffff;
        font-size: 16px;
    }

    .pagination__button:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.35);
        opacity: 0.95;
    }

    .pagination__button:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }


.pagination__count {
    display: flex;
    gap: 14px;
    align-items: center;
}

    .pagination__count a {
        position: relative;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        color: #6b7280;
        padding: 4px 8px;
        border-radius: 999px;
        transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

        .pagination__count a:hover {
            color: #0f172a;
            background-color: rgba(148, 163, 184, 0.12);
            transform: translateY(-1px);
        }


        .pagination__count a.-count-is-active {
            color: #ffffff;
            background: linear-gradient(135deg, #138496, #0f9bb0);
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
            font-weight: 600;
        }

            .pagination__count a.-count-is-active::after {
                content: "";
                position: absolute;
                inset: -3px;
                border-radius: 999px;
                border: 2px solid rgba(255, 255, 255, 0.6);
                pointer-events: none;
            }


.search-box {
    position: relative;
    background: #f1f6fb;
    border: 1px solid #d9e2ec;
    padding: 10px 15px;
    border-radius: 12px;
    width: 300px;
    margin-right: 25px;
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    margin-left: 30px;
    width: 100%;
    font-size: 15px;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #444;
}

.section_T {
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* ========== NEWS & EVENTS ========== */

.sectionTitle {
    padding: 10px;
    text-align: center;
}

.elegant-select {
    background-color: #f8f9fc;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #333;
    padding: 6px 12px;
    transition: all 0.3s ease;
    min-width: 150px;
    margin-left: 10px;
}

    .elegant-select:focus {
        border-color: #6c63ff;
        box-shadow: 0 0 6px rgba(108, 99, 255, 0.3);
        background-color: #fff;
        outline: none;
    }


.resources-wrapper {
    padding: 70px 6%;
    background: #f7f7f9;
}

.resources-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

    .resources-header h2 {
        font-size: 38px;
        font-weight: 800;
        color: #1a1a1a;
        letter-spacing: -0.5px;
    }

    .resources-header p {
        color: #555;
        font-size: 15px;
        margin-top: 6px;
    }


.resources-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.resources-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.resource-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: 0.25s ease;
}

    .resource-card:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 8px 26px rgba(0,0,0,0.08);
    }

    .resource-card img {
        width: 100%;
        height: 190px;
        object-fit: inherit;
    }

.card-content {
    padding: 18px 20px;
}

.card-category {
    color: #7b2cbf;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.card-date {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}



/* RIGHT SIDE LIST */
.resources-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 12px;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: 0.25s ease;
}

    .news-item:hover {
        transform: translateX(4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

.news-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 6px;
}

    .news-text p,
    .news-text h4 {
        margin: 0;
        padding: 0;
    }

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.news-location {
    font-size: 14px;
    color: #7b2cbf;
    margin: 4px 0 2px;
}

.news-date {
    font-size: 13px;
    color: #777;
}

.news-item img {
    margin-top: 10px;
    width: 90px;
    height: 80px;
    object-fit: inherit;
    border-radius: 10px;
}

.fade-slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.6s ease forwards;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ========== TOP CATEGORIES ========== */

.categories-section {
    background-color: #f5f5f7;
    padding: 60px 20px;
    text-align: center;
}

.title-wrapper {
    margin-bottom: 40px;
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    color: #221c35;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #097B8C;
}

/* Carousel */
.categories-carousel {
    display: flex;
    gap: 25px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 5px;
}

.category-box {
    flex: 0 0 auto;
    width: 230px;
    background: radial-gradient(circle at top left, #0f9bb0, #097b8c, #052b3f);
    padding: 25px 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
    position: relative;
}

    .category-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 10;
    }

.icon-wrapper {
    width: 75px;
    height: 75px;
    margin: 0 auto 15px;
}

    .icon-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.category-title {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}



/* ========== NEWS ========== */
.events-container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
    font-family: "Segoe UI", sans-serif;
}

.events-header {
    text-align: center;
    margin-bottom: 40px;
}

    .events-header h1 {
        font-size: 42px;
        font-weight: 700;
        letter-spacing: 4px;
        margin-bottom: 10px;
    }

    .events-header p {
        color: #555;
        font-size: 16px;
        max-width: 600px;
        margin: auto;
    }

.events-subtitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

    .events-subtitle h3 {
        font-size: 20px;
        font-weight: 600;
    }

.view-toggle span {
    margin-left: 20px;
    font-size: 14px;
    color: #888;
    cursor: pointer;
}

.view-toggle .active {
    color: #1a1a1a;
    font-weight: bold;
}

.event-card {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-top: 1px solid #eee;
}

.event-date {
    width: 60px;
    text-align: center;
}

    .event-date .month {
        font-size: 14px;
        color: #777;
        letter-spacing: 2px;
    }

    .event-date .day {
        font-size: 32px;
        font-weight: bold;
    }

.event-image {
    width: 260px;
    height: 150px;
    overflow: hidden;
    border-radius: 5px;
}

    .event-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.event-info {
    flex: 1;
}

    .event-info h2 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 5px;
    }

.event-location,
.event-time {
    font-size: 15px;
    color: #666;
    margin-bottom: 3px;
}

.event-description {
    color: #555;
    margin-bottom: 12px;
    font-size: 15px;
}

.event-link {
    background: rgba(255,255,255,0.25);
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 600;
    color: #0077cc;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.25s ease;
}

    .event-link:hover {
        background: rgba(255,255,255,0.25);
        transform: translateY(-3px);
    }


.load-more-container {
    margin-top: 20px;
}

.load-more-link {
    cursor: pointer;
    color: #0077cc;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

    .load-more-link:hover {
        text-decoration: underline;
    }

    .load-more-link i {
        margin-left: 4px;
        transition: transform 0.3s ease;
    }

    .load-more-link:hover i {
        transform: translateY(2px);
    }



/* ========== POP UP ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 10, 15, 0.55);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
    animation: modalOverlayFade 220ms ease;
}

@keyframes modalOverlayFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-box {
    width: 92%;
    max-width: 650px;
    max-height: 88vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255,255,255,0.20);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-radius: 18px;
    padding: 26px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    transform-style: preserve-3d;
    animation: modalPop 520ms cubic-bezier(.2,1.25,.28,1) forwards;
}

@keyframes modalPop {
    0% {
        opacity: 0;
        transform: translateY(40px) rotateX(14deg) scale(.86);
    }

    60% {
        opacity: 1;
        transform: translateY(-8px) rotateX(0deg) scale(1.03);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
    }
}


.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: transform .12s ease, background .12s ease;
    backdrop-filter: blur(6px);
}

    .modal-close:hover {
        transform: scale(1.12);
        background: rgba(255,255,255,0.18);
    }

.modal-image {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}


.modal-title {
    margin: 6px 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-align: left;
}
.modal-title2 {
    margin: 6px 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #FFC913;
    text-align: center;
}

.modal-divider {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 8px 0 14px;
}

.modal-details p {
    margin: 8px 0;
    color: rgba(255,255,255,0.95);
    font-size: 14.5px;
}

.modal-description {
    margin-top: 12px;
    color: rgba(255,255,255,0.88);
    line-height: 1.6;
    font-size: 15px;
}


/* =========================
      RESPONSIVE TWEAKS
   ========================= */

@media (max-width: 1024px) {
    .info-box {
        width: 220px;
    }

    .contact-section h2 {
        font-size: 26px;
    }

    .why-diti-section {
        padding: 60px 0;
    }

    .scroll-container {
        margin: 0 40px;
    }
}

@media (max-width: 768px) {
    .page-banner .container {
        flex-direction: column;
        text-align: center;
        padding: 12px 20px;
        gap: 6px;
    }

    .page-banner p {
        text-align: center;
        white-space: normal;
    }

    .page-banner h2 {
        font-size: 20px;
    }

    .mv-wrapper {
        flex-direction: column;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .info-box {
        width: 80%;
        margin: 0 auto;
    }

    iframe {
        height: 350px;
    }

    .footer-container {
        flex-direction: column;
        gap: 24px;
    }

    .footer-main {
        padding: 20px;
    }

    .pagination.-buttons,
    .title2,
    .t {
        margin-left: 0;
        justify-content: center;
    }

    .scroll-container {
        margin: 0 32px;
    }

    .scroll-arrow--left {
        left: 6px;
    }

    .scroll-arrow--right {
        right: 6px;
    }
}

@media (max-width: 480px) {
    .contact-section h2 {
        font-size: 24px;
    }

    .contact-section p.subheading {
        font-size: 14px;
    }

    .info-box {
        width: 95%;
        padding: 15px;
    }

    iframe {
        width: 100%;
        height: 300px;
    }

    .scroll-container {
        margin: 0 24px;
        gap: 16px;
    }

    .stepCard {
        width: 240px;
    }
}

@media (max-width: 360px) {
    .info-box i {
        font-size: 22px;
    }

    .info-box p,
    .info-box a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .category-box {
        padding: 20px 15px;
    }

    .category-title {
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resources-left {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .modal-box {
        padding: 18px;
        border-radius: 12px;
        max-height: 94vh;
    }

    .modal-image {
        max-height: 180px;
    }

    .modal-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .submit-btn button {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .submit-btn button {
        width: 70%;
    }
}

@media (max-width: 767px) {
    .detail-img-wrapper {
        height: 250px;
    }

    .detail-img {
        object-fit: cover;
        object-position: center;
    }

    .course-detail-title {
        font-size: 24px;
    }

    .course-info-box {
        padding: 18px 15px;
    }
}


/* ========== NEWS PAGE ========== */

@media (max-width: 992px) {

    .events-header h1 {
        font-size: 34px;
    }

    .events-subtitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .event-card {
        gap: 20px;
    }

    .event-image {
        width: 220px;
        height: 140px;
    }

    .event-info h2 {
        font-size: 18px;
    }
}


@media (max-width: 768px) {

    .events-header h1 {
        font-size: 30px;
    }

    .events-subtitle h3 {
        font-size: 18px;
    }

    .view-toggle span {
        font-size: 13px;
    }

    .event-card {
        flex-direction: column;
        padding: 20px 0;
        text-align: left;
    }

    .event-date {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

        .event-date .month {
            font-size: 13px;
        }

        .event-date .day {
            font-size: 28px;
        }

    .event-image {
        width: 100%;
        height: 180px;
    }

    .event-info h2 {
        font-size: 18px;
    }

    .event-description {
        font-size: 14px;
    }

    .event-link {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {

    .events-container {
        padding: 20px 15px;
    }

    .events-header h1 {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .events-header p {
        font-size: 14px;
    }

    .event-card {
        gap: 15px;
    }

    .event-image {
        height: 160px;
    }

    .event-info h2 {
        font-size: 16px;
    }

    .event-description {
        font-size: 13px;
    }

    .load-more-link {
        font-size: 14px;
    }
}


/* ========== COURSES PAGE ========== */

@media (max-width: 992px) {
    .results-bar {
        padding: 12px;
        flex-wrap: wrap;
    }

    .custom-select {
        min-width: 140px;
        font-size: 13px;
        margin-top: 8px;
    }

    .btn-primary2 {
        font-size: 12px;
        padding: 4px 10px !important;
    }

    .search-box {
        margin-left: 10px;
    }

    .results-text {
        font-size: 13px;
        margin-left: 10px;
    }

    .course-card img {
        height: 150px;
    }

    .course-card h4,
    .course-card h5 {
        font-size: 1rem;
    }

    .course-card p {
        font-size: 0.85rem;
    }

    .section-heading-title {
        font-size: 32px;
    }

    .section-heading-subtitle {
        font-size: 15px;
    }
}


@media (max-width: 768px) {
    .results-bar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }

    .custom-select {
        width: 100%;
        min-width: unset;
        font-size: 13px;
        margin-top: 2px;
    }

    .btn-primary2 {
        margin-bottom: 0 !important;
        width: 30%;
        text-align: center;
        padding: 6px 12px !important;
    }

    .search-box {
        max-width: 100%;
        width: 100%;
        font-size: 13px;
        margin-top: 14px;
    }

    .course-card {
        margin-bottom: 20px;
    }

        .course-card img {
            height: 160px;
        }

        .course-card h4,
        .course-card h5 {
            font-size: 0.95rem;
        }

        .course-card p {
            font-size: 0.85rem;
        }

    .section-heading-title {
        font-size: 28px;
    }

    section {
        padding: 50px 0;
    }

    .container1 {
        width: 94%;
    }
}


@media (max-width: 480px) {
    .custom-select {
        font-size: 12px;
        padding: 5px 6px;
    }

    .btn-primary2 {
        font-size: 12px;
        padding: 6px !important;
    }

    .search-box {
        max-width: 100%;
        width: 100%;
        font-size: 13px;
        margin-top: 14px;
    }

    .course-card img {
        height: 140px;
    }

    .course-card h4,
    .course-card h5 {
        font-size: 0.9rem;
    }

    .course-card p {
        font-size: 0.8rem;
    }

    .section-heading-title {
        font-size: 24px;
        letter-spacing: -0.2px;
    }

    .section-heading-subtitle {
        font-size: 14px;
    }

    .section-heading-line {
        width: 70px;
        height: 3px;
    }

    section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {

    .resources-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        text-align: left;
        margin-bottom: 20px;
    }

    .btn2 {
        width: 60%; 
        justify-content: end;
        font-size: 15px;
        margin-left: 100px;
        margin-top: 10px;
    }
   
}


@media (max-width: 480px) {

    .btn2 {
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 50px;
    }

    .resources-header h2 {
        font-size: 26px;
    }
}


@media (max-width: 992px) {
    .view-instructors-btn {
        margin-left: auto;
        margin-top: -5px;
    }
}

@media (max-width: 768px) {
    .view-instructors-btn {
        margin-left: 10px;
        margin-top: -10px; 
    }
}


@media (max-width: 480px) {
    .view-instructors-btn {
        margin-left: 120px;
        margin-top: -14px; 
    }
}


