html {
    overflow-x: clip;
    max-width: 100%;
    height: auto;
    min-height: 100%;
}

body {
    overflow-x: clip;
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #12100e;
}

.page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex !important;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #ffffff;
    overflow: visible !important;
}

main.main {
    flex: 1 0 auto;
    width: 100%;
    overflow: visible !important;
}

.footer {
    position: relative;
    margin-top: auto;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background-color: #12100e;
}

.footer-1 {
    margin-bottom: 0 !important;
    background-color: #12100e;
}

.footer .footer-copyright {
    border-top: 1px solid;
    margin-bottom: 0 !important;
}

.footer .footer-copyright .footer-copyright-wrap {
    margin-bottom: 0 !important;
    padding-bottom: 25px;
}

/* ------------------------------------------------------------------------------
 * 1. Marquee Animation for Header Notice Ticker
 * ------------------------------------------------------------------------------ */
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 28s linear infinite;
    display: inline-flex;
    white-space: nowrap;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.header-top-notice-wrap,
.notice-top-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.header-top-notice-wrap .notice-badge,
.notice-header {
    background-color: #ffffff !important;
    color: var(--primary-color, #ff4d00) !important;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.header-top-notice-wrap .notice-link,
.notice-top-inner .notice-link,
.header-top .notice-link {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.header-top .notice-link .notice-bullet,
.header-top .notice-link .notice-title,
.notice-top-inner .notice-link .notice-bullet,
.notice-top-inner .notice-link .notice-title {
    color: #ffffff !important;
    transition: color 0.2s ease;
}

.header-top-notice-wrap .notice-link:hover,
.notice-top-inner .notice-link:hover,
.notice-top-inner .notice-link:hover .notice-bullet,
.notice-top-inner .notice-link:hover .notice-title,
.header-top .notice-link:hover,
.header-top .notice-link:hover .notice-bullet,
.header-top .notice-link:hover .notice-title {
    color: #ffffff !important;
    text-decoration: underline;
}

.header-1 .header-top {
    background-color: var(--primary-color, #ff4d00) !important;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    z-index: 1;
}

.header-top .header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-top-left {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.header-top-right {
    flex-shrink: 0;
}

.header-social-icon ul {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.header-social-icon ul li {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-social-icon ul li a {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    line-height: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

.header-social-icon ul li a::before {
    display: none !important;
}

.header-social-icon ul li a i {
    color: #ffffff !important;
    display: block !important;
    line-height: 1 !important;
    font-size: 13px !important;
    transition: transform 0.25s ease !important;
    position: relative !important;
    z-index: 2 !important;
}

.header-social-icon ul li a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}

.header-social-icon ul li a.social-instagram:hover {
    background: radial-gradient(
        circle at 30% 107%,
        #fdf497 0%,
        #fdf497 5%,
        #fd5949 45%,
        #d6249f 60%,
        #285aeb 90%
    ) !important;
    border-color: transparent !important;
}

.header-social-icon ul li a.social-facebook:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
}

.header-social-icon ul li a.social-youtube:hover {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
}

.header-social-icon ul li a.social-linkedin:hover {
    background: #0a66c2 !important;
    border-color: #0a66c2 !important;
}

.header-social-icon ul li a:hover i {
    transform: scale(1.15) !important;
    color: #ffffff !important;
}

/* Offcanvas Sidebar Social Icons */
.offcanvas-social-icons ul li a {
    width: 36px !important;
    height: 36px !important;
    background: #122f2a !important;
    border: 1px solid rgba(18, 47, 42, 0.2) !important;
    font-size: 14px !important;
}

.header-1 .header-lower .header-content .logo-box .logo {
    width: 135px;
    padding: 8px 0 0 0;
}

.header-1 .header-top .header-top-content .header-top-left,
.header-1 .header-lower .header-content .header-navigation {
    margin-left: 168px;
}

.header-1
    .header-lower
    .header-content
    .logo-box
    .logo
    a
    figure
    img.header-logo-img {
    width: 108px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Sticky Header Logo Size */
.header-1 .header-lower.sticky .header-content .logo-box .logo {
    width: 105px;
    height: 74px;
}

.header-1
    .header-lower.sticky
    .header-content
    .logo-box
    .logo
    a
    figure
    img.header-logo-img {
    width: 78px;
    height: auto;
    padding: 4px 0 0 0;
}

@media (max-width: 1199px) {
    .header-1 .header-top {
        padding: 6px 0;
    }

    .header-1 .header-top .header-top-content .header-top-left,
    .header-1 .header-lower .header-content .header-navigation {
        margin-left: 0;
    }

    .header-1 .header-lower .header-content .logo-box .logo {
        width: 110px;
        height: 76px;
        padding: 0;
    }

    .header-1
        .header-lower
        .header-content
        .logo-box
        .logo
        a
        figure
        img.header-logo-img {
        border-radius: 8px;
        width: 108px;
        height: auto;
        padding: 0px;
    }
}

@media (max-width: 767px) {
    .header-1 .header-top {
        padding: 5px 0;
    }

    .header-top .header-top-content {
        gap: 8px;
    }

    .header-social-icon ul {
        gap: 5px !important;
    }

    .header-social-icon ul li a {
        width: 28px !important;
        height: 28px !important;
        font-size: 11.5px !important;
    }

    .header-social-icon ul li a i {
        font-size: 11.5px !important;
    }

    .notice-header {
        font-size: 11px !important;
        padding: 3px 8px !important;
    }

    .header-top .notice-link {
        font-size: 12.5px !important;
    }
}

@media (max-width: 420px) {
    .header-social-icon ul li a {
        width: 26px !important;
        height: 26px !important;
        font-size: 10.5px !important;
    }

    .header-social-icon ul li a i {
        font-size: 10.5px !important;
    }
}

.footer-logo-img {
    max-height: 85px;
    width: auto;
    object-fit: contain;
}

.offcanvas-logo img {
    height: 103px;
    width: auto;
    object-fit: contain;
}

/* ------------------------------------------------------------------------------
 * 2. Course Tabs Navigation & Cards (Fully Responsive across all devices)
 * ------------------------------------------------------------------------------ */
.course-tabs-wrapper {
    max-width: 100%;
    width: auto;
}

.course-nav-pills {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 6px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.course-nav-pills .nav-item {
    display: inline-flex;
}

.course-nav-pills .nav-link {
    color: #4b5563;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 24px;
    transition: all 0.25s ease;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.course-nav-pills .nav-link:hover {
    color: var(--primary-color, #ff4d00);
    background-color: rgba(255, 77, 0, 0.06);
}

.course-nav-pills .nav-link.active {
    background-color: var(--primary-color, #ff4d00);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(255, 77, 0, 0.35);
}

.course-nav-pills .nav-link .tab-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px;
    background-color: #f1f5f9;
    color: #475569;
    transition: all 0.25s ease;
}

.course-nav-pills .nav-link.active .tab-badge {
    background-color: #ffffff;
    color: var(--primary-color, #ff4d00);
}

.course-nav-pills .nav-link:hover .tab-badge {
    background-color: rgba(255, 77, 0, 0.15);
    color: var(--primary-color, #ff4d00);
}

.course-nav-pills .nav-link.active:hover .tab-badge {
    background-color: #ffffff;
    color: var(--primary-color, #ff4d00);
}

@media (max-width: 991px) {
    .course-nav-pills .nav-link {
        font-size: 14px;
        padding: 9px 18px;
        gap: 6px;
    }
}

@media (max-width: 767px) {
    .course-tabs-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4px 2px 8px 2px;
        display: flex;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .course-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }

    .course-nav-pills {
        display: inline-flex;
        flex-wrap: nowrap;
        width: max-content;
        margin: 0 auto;
        padding: 4px;
        gap: 4px;
        border-radius: 50px;
    }

    .course-nav-pills .nav-link {
        font-size: 13px;
        padding: 8px 14px;
        gap: 5px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .course-nav-pills .nav-link .tab-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
}

@media (max-width: 480px) {
    .course-tabs-wrapper {
        justify-content: flex-start;
        padding-left: 2px;
        padding-right: 2px;
    }

    .course-nav-pills .nav-link {
        font-size: 12px;
        padding: 7px 11px;
        gap: 4px;
    }

    .course-nav-pills .nav-link i {
        font-size: 11px;
    }

    .course-nav-pills .nav-link .tab-badge {
        font-size: 9px;
        padding: 1px 5px;
    }
}

.course-card-compact {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef0f3;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #f7c9b8;
}

.course-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7em;
    min-height: 2.7em;
}

.course-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.course-card-title a:hover {
    color: var(--primary-color, #ff4d00);
}

.course-card-desc {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
    min-height: 3em;
}

/* Our Courses (Latest Updates Layout Uniformity) */
.blog-section .blog-grid-item-1 .blog-grid-content .blog-title h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3em;
    color: var(--white-color);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-section .blog-grid-item-1 .blog-grid-content .blog-title p {
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
    min-height: 3em;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* All Programs & Courses (Campaigns Item Uniformity) */
.campaigns-item .campaigns-content h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3em;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.campaigns-item .campaigns-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8em;
    min-height: 4.8em;
    margin-bottom: 20px;
}

.course-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 12px;
    color: #555555;
    padding: 10px 0;
    border-top: 1px dashed #e5e7eb;
    border-bottom: 1px dashed #e5e7eb;
    margin-bottom: 14px;
}

.course-meta-pills span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.course-meta-pills i {
    color: var(--primary-color, #ff4d00);
    font-size: 12px;
}

/* ------------------------------------------------------------------------------
 * 3. Faculty Cards
 * ------------------------------------------------------------------------------ */
.faculty-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf0f5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faculty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #fbd6c6;
}

.faculty-avatar-wrap {
    height: auto;
    background: linear-gradient(135deg, #fdfbf7 0%, #faede1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.faculty-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-avatar-fallback {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary-color, #ff4d00);
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(255, 77, 0, 0.25);
}

.faculty-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* ------------------------------------------------------------------------------
 * 4. FAQ Accordions
 * ------------------------------------------------------------------------------ */
.faq-accordion .accordion-item {
    border: 1px solid #eef0f3;
    border-radius: 10px !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.faq-accordion .accordion-item:hover {
    border-color: #f7c9b8;
}

.faq-accordion .accordion-button {
    font-size: 15px;
    font-weight: 600;
    color: #222222;
    padding: 16px 20px;
    background: #ffffff;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color, #ff4d00);
    background-color: #fff9f6;
}

.faq-accordion .accordion-body {
    padding: 16px 20px;
    font-size: 14px;
    color: #555555;
    line-height: 1.65;
    background: #ffffff;
}

/* ------------------------------------------------------------------------------
 * 5. Hero Slider Section (Fully Responsive across Desktop, Tablet & Mobile)
 * ------------------------------------------------------------------------------ */
.hero-section-1 {
    overflow: hidden;
    position: relative;
    background-color: var(--secondary-color, #122f2a);
}

.hero-section-1 .hero-slider {
    position: relative;
    width: 100%;
}

.hero-section-1 .hero-items {
    min-height: 460px !important;
    max-height: 520px !important;
    display: flex !important;
    align-items: stretch !important;
    position: relative !important;
    overflow: hidden;
}

.hero-section-1 .hero-items .hero-content {
    width: 46% !important;
    padding-left: 50px !important;
    padding-right: 40px !important;
    padding-top: 45px !important;
    padding-bottom: 50px !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: var(--secondary-color, #122f2a) !important;
    position: relative;
}

.hero-section-1 .hero-items .hero-content .section-title {
    margin-bottom: 0 !important;
}

.hero-section-1 .hero-items .hero-content .section-title h1 {
    font-size: 34px !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.hero-section-1 .hero-items .hero-content .section-title p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
    color: rgba(255, 255, 255, 0.88) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.hero-section-1 .hero-items .hero-content .hero-button-wappper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.hero-section-1 .hero-items .hero-content .hero-button-wappper .theme-button {
    padding: 10px 22px !important;
    font-size: 14px !important;
    border-radius: 50px !important;
}

.hero-section-1 .hero-items .hero-image {
    width: 54% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2 !important;
}

.hero-section-1 .hero-items .hero-image figure {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden;
}

.hero-section-1 .hero-items .hero-image figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.hero-section-1 .hero-shape-top {
    display: none !important;
}

/* Swiper Navigation Actions & Bullets */
.hero-section-1 .swiper-actions {
    position: absolute !important;
    bottom: 20px !important;
    right: 25px !important;
    z-index: 10 !important;
    display: flex !important;
    gap: 10px !important;
}

.hero-section-1 .swiper-actions .swiper-button-prev,
.hero-section-1 .swiper-actions .swiper-button-next {
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 14px;
}

.hero-section-1 .swiper-actions .swiper-button-prev:hover,
.hero-section-1 .swiper-actions .swiper-button-next:hover {
    background: var(--primary-color, #ff4d00);
    border-color: var(--primary-color, #ff4d00);
    transform: scale(1.08);
}

.hero-section-1 .swiper-pagination {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 6px;
    width: auto !important;
}

.hero-section-1 .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: all 0.25s ease;
}

.hero-section-1 .swiper-pagination-bullet-active {
    background: var(--primary-color, #ff4d00);
    width: 24px;
    border-radius: 10px;
}

/* ==============================================================================
 * Hero Slider Tablet Responsiveness (768px - 1199px)
 * ============================================================================== */
@media (max-width: 1199px) and (min-width: 992px) {
    .hero-section-1 .hero-items {
        min-height: 340px !important;
        max-height: 360px !important;
        display: flex !important;
        flex-direction: row !important;
    }

    .hero-section-1 .hero-items .hero-content {
        width: 50% !important;
        padding: 35px 28px !important;
    }

    .hero-section-1 .hero-items .hero-content .section-title h1 {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    .hero-section-1 .hero-items .hero-content .section-title p {
        font-size: 13.5px !important;
        margin-bottom: 18px !important;
    }

    .hero-section-1 .hero-items .hero-image {
        width: 50% !important;
    }

    .hero-section-1 .swiper-actions {
        bottom: 16px !important;
        right: 20px !important;
    }

    .blog-section .blog-grid-item-2 .blog-grid-image figure img {
        object-fit: contain;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .hero-section-1 .hero-items {
        min-height: auto !important;
        max-height: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }

    .hero-section-1 .hero-items .hero-content {
        width: 100% !important;
        padding: 50px 22px 20px 22px !important;
    }

    .hero-section-1 .hero-items .hero-content .section-title h1 {
        font-size: 23px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    .hero-section-1 .hero-items .hero-content .section-title p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .hero-section-1 .hero-items .hero-content .hero-button-wappper {
        gap: 8px !important;
    }

    .hero-section-1 .hero-items .hero-content .hero-button-wappper .theme-button {
        padding: 8px 15px !important;
        font-size: 12.5px !important;
    }

    .hero-section-1 .hero-items .hero-image {
        width: 100% !important;
        position: relative !important;
        height: auto !important;
    }

    .hero-section-1 .swiper-actions {
        bottom: 12px !important;
        right: 15px !important;
        gap: 6px !important;
    }

    .hero-section-1 .swiper-actions .swiper-button-prev,
    .hero-section-1 .swiper-actions .swiper-button-next {
        width: 34px !important;
        height: 34px !important;
        font-size: 12px !important;
    }
}

/* ==============================================================================
 * Hero Slider Mobile Responsiveness (<768px)
 * ============================================================================== */
@media (max-width: 767px) {
    .hero-section-1 .hero-items {
        display: flex !important;
        flex-direction: column !important;
        min-height: auto !important;
        max-height: none !important;
        position: relative !important;
        background: var(--secondary-color, #122f2a) !important;
    }

    .hero-section-1 .hero-items .hero-image {
        order: 1 !important;
        position: relative !important;
        width: 100% !important;
        height: 230px !important;
        min-height: 230px !important;
        max-height: 260px !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 1 !important;
        overflow: hidden !important;
    }

    .hero-section-1 .hero-items .hero-image figure {
        width: 100% !important;
        height: 100% !important;
    }

    .hero-section-1 .hero-items .hero-image figure img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .hero-section-1 .hero-items .hero-content {
        order: 2 !important;
        width: 100% !important;
        padding: 22px 18px 26px !important;
        background: var(--secondary-color, #122f2a) !important;
        z-index: 2 !important;
    }

    .hero-section-1 .hero-items .hero-content .section-title h1 {
        font-size: 21px !important;
        line-height: 1.28 !important;
        margin-bottom: 8px !important;
    }

    .hero-section-1 .hero-items .hero-content .section-title p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .hero-section-1 .hero-items .hero-content .hero-button-wappper {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .hero-section-1
        .hero-items
        .hero-content
        .hero-button-wappper
        .theme-button {
        padding: 9px 16px !important;
        font-size: 12.5px !important;
        flex: 1 1 auto !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .hero-section-1 .swiper-actions {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        bottom: auto !important;
        margin: 0 !important;
        z-index: 10 !important;
        gap: 6px !important;
    }

    .hero-section-1 .swiper-actions .swiper-button-prev,
    .hero-section-1 .swiper-actions .swiper-button-next {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
        background: rgba(0, 0, 0, 0.65) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }
}

@media (max-width: 420px) {
    .hero-section-1 .hero-items .hero-image {
        height: 200px !important;
        min-height: 200px !important;
    }

    .hero-section-1 .hero-items .hero-content {
        padding: 18px 14px 22px !important;
    }

    .hero-section-1 .hero-items .hero-content .section-title h1 {
        font-size: 19px !important;
    }

    .hero-section-1
        .hero-items
        .hero-content
        .hero-button-wappper
        .theme-button {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}

/* ------------------------------------------------------------------------------
 * Team / Faculty Section Refinements & Sticky Left Sidebar
 * ------------------------------------------------------------------------------ */
.team-section-1 {
    position: relative;
    overflow: visible !important;
}

.team-section-1 .container {
    overflow: visible !important;
}

.team-section-1 .row {
    position: relative;
    align-items: stretch;
    overflow: visible !important;
}

.team-section-1 .col-lg-4 {
    position: relative;
    height: auto;
    overflow: visible !important;
    transform: none !important;
}

.team-section-1 .team-left.sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 130px !important;
    z-index: 10;
    transform: none !important;
}

@media (max-width: 991px) {
    .team-section-1 .team-left.sticky {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 30px;
    }

    .team-section-1 .team-right .team-list .team-item .team-image {
        height: auto;
    }

    .team-section-1 .team-right .team-list .team-item .team-content {
        padding: 20px;
    }
}

/* ------------------------------------------------------------------------------
 * About DIVE Section & Images Box Mobile Responsiveness (No Left Padding)
 * ------------------------------------------------------------------------------ */
@media (max-width: 991px) {
    .about-section-1 .about-images-box,
    .about-images-box {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .about-section-1 .about-images-box figure,
    .about-images-box figure {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .about-section-1 .about-images-box figure img,
    .about-images-box figure img {
        width: 100% !important;
        height: auto !important;
        max-height: 380px !important;
        object-fit: cover !important;
        border-radius: 16px !important;
    }

    .about-section-1 .about-content {
        margin-top: 15px;
    }
}

/* ------------------------------------------------------------------------------
 * Events Section Mobile & Tablet Responsiveness
 * ------------------------------------------------------------------------------ */
@media (max-width: 991px) {
    .blog-left,
    .blog-right {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* ------------------------------------------------------------------------------
 * Course Cards & General Mobile Layout Polish
 * ------------------------------------------------------------------------------ */
@media (max-width: 576px) {
    .course-card-compact .course-card-body {
        padding: 15px 14px;
    }

    .course-card-compact .course-card-title {
        font-size: 0.95rem;
    }

    .course-meta-pills {
        font-size: 11.5px;
        gap: 6px;
    }

    .course-meta-pills span {
        padding: 2px 7px;
    }

    .section-title h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .section-title p {
        font-size: 14px !important;
    }

    .faq-section-1 .accordion-button {
        font-size: 14px !important;
        padding: 14px 16px !important;
    }

    .faq-section-1 .accordion-body {
        padding: 14px 16px !important;
        font-size: 13.5px !important;
    }
}

/* ------------------------------------------------------------------------------
 * The Four Pillars (Services Section) Responsive
 * ------------------------------------------------------------------------------ */
@media (max-width: 991px) {
    .services-section-1 .service-items {
        margin-bottom: 24px;
        padding: 22px 18px;
    }

    .services-section-1 .service-items .service-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }

    .services-section-1 .service-items .service-icon figure img {
        width: 40px;
        height: 40px;
    }

    .services-section-1 .service-items .service-content h2 {
        font-size: 20px;
    }

    .services-section-1 .service-items .service-content p {
        font-size: 13.5px;
        line-height: 1.55;
    }
}

/* ------------------------------------------------------------------------------
 * Faculty / Team Section Responsive Cards
 * ------------------------------------------------------------------------------ */
@media (max-width: 767px) {
    .team-section-1 .team-right .team-list .team-item {
        margin-bottom: 20px;
        border-radius: 16px;
    }

    .team-section-1 .team-right .team-list .team-item .team-image {
        height: auto;
    }

    .team-section-1 .team-right .team-list .team-item .team-content {
        padding: 18px 16px;
    }

    .team-section-1 .team-right .team-list .team-item .team-content h2 {
        font-size: 20px;
    }

    .team-section-1 .team-right .team-list .team-item .team-content p {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* ------------------------------------------------------------------------------
 * Testimonials Section Responsive
 * ------------------------------------------------------------------------------ */
@media (max-width: 767px) {
    .testimonials-section-1 .testimonials-wapper {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .testimonials-section-1
        .testimonials-wapper
        .testimonials-item
        .testimonials-content
        p {
        font-size: 14.5px;
        line-height: 1.55;
    }

    .testimonials-section-1
        .testimonials-wapper
        .testimonials-item
        .testimonials-meta {
        margin-bottom: 16px;
    }

    .testimonials-section-1
        .testimonials-wapper
        .testimonials-item
        .testimonials-meta
        .testimonials-quote {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .testimonials-section-1
        .testimonials-wapper
        .testimonials-item
        .testimonials-author
        .testimonials-author-image {
        width: 55px;
        height: 55px;
    }
}

/* ------------------------------------------------------------------------------
 * Footer Social Icons & Mobile Alignment
 * ------------------------------------------------------------------------------ */
.footer-social-icon ul.social-icon li a {
    transition: all 0.25s ease-in-out;
}

.footer-social-icon ul.social-icon li a:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color, #ff4d00) !important;
    border-color: var(--primary-color, #ff4d00) !important;
}

@media (max-width: 767px) {
    .footer .footer-widget {
        margin-bottom: 24px;
    }

    .footer .footer-copyright .footer-copyright-wrap {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

/* ------------------------------------------------------------------------------
 * Teacher & Mentor Bio Expand / Collapse (Read more / Read less)
 * ------------------------------------------------------------------------------ */
.team-section-1 .teacher-bio-item {
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 20px;
}

.team-section-1 .teacher-bio-toggle {
    display: inline-block;
    color: var(--primary-color, #c83226);
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.team-section-1 .teacher-bio-toggle:hover {
    color: #8c1e27;
    text-decoration: underline;
}

.team-section-1 .team-right .team-list .team-item:hover .teacher-bio-toggle {
    color: #ffd166 !important;
    text-decoration: underline;
}

.team-section-1 .team-right .team-list .team-item:hover .teacher-bio-toggle:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

