:root {
    --primary: #A28EC3;
    --primary-light: rgba(162, 142, 195, 0.15);
    --primary-dark: #8a76ab;
    --primary-light-white: #F6F4F9;
    --green: #DBEDC5;
    --green-dark: #c5e0a5;
    --black: #333333;
    --white: #ffffff;
    --white-transparent: rgba(255, 255, 255, 0.1);
    --red-custom: #E3724D;
    --gray-custom: #EBEBEB;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --orange: #FF8C42;
    --gradient-start: #A38EC2;
    --gradient-mid: #76C5E4;
    --gradient-end: #7ECBB1;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    color: var(--black);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    font-family: 'Inter', sans-serif !important;
}

/* Prevent horizontal scroll on wrapper */
#kt_app_root,
.d-flex.flex-column.flex-root {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    font-family: 'Roboto', sans-serif !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Sticky header fallback for front pages */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #ffffff;
}


.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--black);
    font-family: 'Roboto', sans-serif !important;
}

.navbar-nav {
    gap: 8px;
}

.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.navbar-actions .btn {
    font-size: 14px;
}

.hero-section {
    padding: 60px 0 0;
    position: relative;
    border-radius: 0 0 50px 50px;
    overflow: visible;
}

.hero-content {
    padding-right: 40px;
    padding-bottom: 80px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.7;
}

#kt_landing_menu .menu-link {
    position: relative;
}

#kt_landing_menu .menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

#kt_landing_menu .menu-link.active::after {
    width: 100%;
}

#kt_landing_menu .menu-link:hover::after {
    width: 100%;
}

/* When hovering the menu container, hide the active line unless it's the one being hovered */
#kt_landing_menu:hover .menu-link.active:not(:hover)::after {
    width: 0;
}

.btn-hero-cta {
    background: var(--white);
    color: var(--primary);
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow);
}

.btn-hero-cta:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-hero-cta i {
    font-size: 18px;
}

.hero-features {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 50px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--white-transparent);
    font-size: 24px;
    border-radius: 50%;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text .feature-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.feature-text .feature-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.feature-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-main-image {
    width: 400px;
    height: 480px;
    object-fit: contain;
}

.floating-card {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 8px 18px 8px 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.floating-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.floating-card-icon.green {
    background: var(--green);
}

.floating-card-content {
    display: flex;
    flex-direction: column;
}

.floating-card .card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
}

.floating-card .card-subtitle {
    font-size: 11px;
    color: var(--gray-500);
}

.web-dev-card {
    top: 120px;
    left: 60px;
}

.uiux-card {
    top: 150px;
    right: 40px;
    animation-delay: 1s;
}

.marketing-card {
    bottom: 40px;
    left: 30px;
    animation-delay: 2s;
}

@keyframes float {

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

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

.about-section {
    padding: 80px 0;
}

.about-content {
    padding-right: 40px;
}

.about-text {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.8;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--bs-neutral-50);
    padding: 24px;
    transition: all 0.4s ease;
    height: 100%;
}

.feature-card:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.feature-card:hover .feature-icon {
    color: var(--bs-purple-600);
}

.feature-card:hover .feature-card-title,
.feature-card:hover .feature-card-text {
    color: var(--white);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 16px;
    transition: all 0.4s ease;
}

.feature-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    transition: all 0.4s ease;
}

.feature-card-text {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 0;
    transition: all 0.4s ease;
}

.courses-section {
    padding: 80px 0;
}

/* Category Tabs Swiper Wrapper */
.category-tabs-wrapper {
    /* padding: 0 50px; */
}

.category-tabs-wrapper .swiper-button-prev,
.category-tabs-wrapper .swiper-button-next {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.category-tabs-wrapper .swiper-button-prev::after,
.category-tabs-wrapper .swiper-button-next::after {
    font-size: 14px;
    font-weight: bold;
    color: var(--gray-500);
}

.category-tabs-wrapper .swiper-button-prev:hover,
.category-tabs-wrapper .swiper-button-next:hover {
    background: var(--bs-blue-600);
    border-color: var(--bs-blue-600);
}

.category-tabs-wrapper .swiper-button-prev:hover::after,
.category-tabs-wrapper .swiper-button-next:hover::after {
    color: var(--white);
}

.category-tabs-wrapper .swiper-button-prev {
    left: 0;
}

.category-tabs-wrapper .swiper-button-next {
    right: 0;
}

.homeCategorySwiper {
    overflow: hidden;
}

.homeCategorySwiper .swiper-slide {
    width: auto;
}

.btn-tab {
    background: transparent !important;
    border: 1px solid var(--bs-blue-600) !important;
    color: var(--bs-blue-600) !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    white-space: nowrap;
}

.btn-tab:hover,
.btn-tab.active {
    background: var(--bs-blue-600) !important;
    border-color: var(--bs-blue-600) !important;
    color: var(--white) !important;
}


.courses-carousel-wrapper {
    position: relative;
    padding: 0 60px;
    overflow: clip; /* Use clip instead of hidden to prevent scroll but allow shadows */
}

.coursesSwiper {
    /* padding: 20px 10px; */
    overflow: visible; /* Keep visible for slides to show */
}

.coursesSwiper .swiper-slide {
    width: 300px;
}

.course-card {
    background: var(--white);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--bs-neutral-50);
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    position: relative;
    padding: 12px;
}

.course-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
}

.course-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--white);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
}

.course-content {
    padding: 0 16px 20px;
}

.course-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--bs-neutral-400);
    margin-bottom: 12px;
    line-height: 1.4;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--bs-neutral-400);
}

.meta-item i {
    font-size: 16px;
    color: var(--bs-neutral-400);
}

.course-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.course-rating .stars {
    display: flex;
    gap: 2px;
}

.course-rating .stars i {
    color: #FFB800;
    font-size: 14px;
}

.course-rating .level {
    font-size: 12px;
    color: var(--bs-purple-600);
    padding: 4px 10px;
    border: 1px solid var(--bs-purple-50);
}

.course-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-old {
    font-size: 13px;
    color: var(--bs-neutral-500) !important;
    text-decoration: line-through;
}

.price-current {
    font-size: 17px;
    font-weight: 700;
    color: var(--bs-orange-500);
}

.swiper-button-prev,
.swiper-button-next {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    color: #231F20;
    border: 1px solid var(--bs-purple-100);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--primary);
    color: var(--white);
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next {
    right: 20px;
}

.brand-section {
    padding: 80px 0;
    overflow: visible; /* Changed to visible to allow marquee to show */
}

.brand-marquee {
    overflow: hidden;
    width: 100%;
    min-height: 150px; /* Ensure minimum height */
}

.marquee-row {
    display: flex;
    width: max-content;
    margin-bottom: 20px;
}

.marquee-content {
    display: flex;
    gap: 24px;
    padding-right: 24px;
}

.marquee-left {
    animation: scroll-left 25s linear infinite;
}

.marquee-right {
    animation: scroll-right 25s linear infinite;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-item img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
}

.brand-desc {
    font-size: 12px;
    color: var(--gray-500);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.gradient-cta-section {
    padding: 60px 0;
}

.gradient-cta-card {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.gradient-cta-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transform: rotate(45deg);
}

.gradient-cta-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 100px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transform: rotate(30deg);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: var(--white);
    padding: 14px 28px;
    font-weight: 600;
}

.btn-cta-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-cta-outline {
    background: var(--white);
    border: 2px solid var(--white);
    color: var(--primary);
    padding: 14px 28px;
    font-weight: 600;
}

.btn-cta-outline:hover {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-cta-outline i {
    font-size: 18px;
}

.articles-section {
    padding: 80px 0;
}

.articlesSwiper {
    padding: 10px 5px 20px;
}

.articlesSwiper .swiper-slide {
    width: 280px;
}

.article-card {
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-content {
    padding-top: 16px;
    padding-bottom: 16px;
}

.article-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

.article-meta .author {
    color: var(--bs-neutral-300);
}

.article-meta .date {
    color: var(--bs-neutral-300);
}

.footer-section {
    position: relative;
    margin-top: 60px;
}

.footer-curve {
    height: 80px;
    background: var(--primary);
    border-radius: 90% 90% 0 0;
}

.footer-content {
    background: var(--primary);
    padding: 40px 0 0;
}

.footer-brand {
    color: var(--white);
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

.footer-logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
}

.footer-logo-subtext {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.footer-address {
    margin-top: 16px;
}

.footer-address .address-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-address p {
    font-size: 14px;
    color: var(--white);
    margin: 0;
    line-height: 1.6;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact-list li {
    display: flex;
    align-items: center;
}

.footer-contact-list i {
    color: var(--white);
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large tablets and small desktops (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-main-image {
        width: 350px;
        height: 420px;
    }

    .floating-card {
        scale: 0.9;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .hero-section {
        padding: 40px 0 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-content {
        padding-right: 0;
        padding-bottom: 40px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-features {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .feature-divider {
        display: none;
    }

    .hero-image-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-main-image {
        width: 280px;
        height: 340px;
    }

    .floating-card {
        scale: 0.8;
        position: relative;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        margin: 8px auto;
    }

    .navbar-actions {
        margin-top: 20px;
        justify-content: center;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    /* Only target main row, not feature cards row */
    .about-section > .container > .row {
        flex-direction: column;
    }
    
    .about-section > .container > .row > .col-lg-7 .row {
        flex-direction: row;
    }

    .courses-carousel-wrapper {
        padding: 0 20px;
    }

    /* Category tabs responsive */
    .category-tabs-wrapper {
        padding: 0 45px;
    }
    
    .category-tabs-wrapper .swiper-button-prev,
    .category-tabs-wrapper .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .swiper-button-prev {
        left: 5px;
    }

    .swiper-button-next {
        right: 5px;
    }

    .cta-title {
        font-size: 28px;
    }

    .brand-section h2 {
        font-size: 24px;
    }

    /* Footer responsive */
    .footer-title {
        margin-top: 24px;
    }

    /* Testimonial responsive */
    .testimonial-prev,
    .testimonial-next {
        display: none !important;
    }
}

/* Mobile devices (576px - 767px) */
@media (max-width: 767px) {
    .hero-section {
        border-radius: 0 0 30px 30px;
        padding: 30px 0 0;
    }

    .hero-content {
        padding-right: 0;
        padding-bottom: 20px;
        text-align: left; /* Keep left aligned like design */
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    /* CTA Button full-width */
    .hero-content .btn {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    /* Hero Features - 2 column grid layout */
    .hero-features {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto auto;
        gap: 16px 0;
        margin-top: 30px;
        align-items: start;
    }

    .hero-feature-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        background: transparent;
        padding: 0;
        border-radius: 0;
        width: auto;
        max-width: none;
    }

    .hero-feature-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .hero-feature-item:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
        justify-self: start;
    }

    .hero-feature-item:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: start;
    }

    /* Feature divider - show only between first two items */
    .feature-divider {
        display: block;
        width: 1px;
        height: 40px;
        background: rgba(255, 255, 255, 0.3);
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        margin: 0 12px;
    }

    .feature-divider:nth-of-type(2) {
        display: none;
    }

    .feature-icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .feature-text .feature-title {
        font-size: 13px;
    }

    .feature-text .feature-subtitle {
        font-size: 11px;
    }

    /* Hero Image Section */
    .hero-image-wrapper {
        margin-top: 20px;
        position: relative;
        display: flex;
        justify-content: center;
    }

    .hero-main-image {
        width: 280px;
        height: auto;
        max-height: 350px;
        object-fit: contain;
    }

    /* Floating cards - position around image */
    .floating-card {
        position: absolute !important;
        scale: 0.8;
        z-index: 10;
    }

    .floating-card.web-dev-card {
        top: 60px !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
    }

    .floating-card.uiux-card {
        top: auto !important;
        right: 0 !important;
        left: auto !important;
        bottom: 120px !important;
    }

    .floating-card.marketing-card {
        bottom: 30px !important;
        left: 10px !important;
        right: auto !important;
        top: auto !important;
    }

    /* About section mobile */
    .about-section {
        padding: 40px 0;
    }

    .about-section .container {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .about-section h2 {
        font-size: 22px;
    }

    .about-content {
        text-align: left;
        margin-bottom: 30px;
    }

    .about-content .btn {
        display: none;
    }

    /* Feature cards 2 column grid on mobile */
    .feature-card {
        padding: 16px;
        height: 100%;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .feature-card-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .feature-card-text {
        font-size: 11px;
        line-height: 1.5;
    }

    /* Courses section mobile */
    .courses-section {
        padding: 40px 0;
    }

    .courses-section h2 {
        font-size: 22px;
    }

    /* Category tabs mobile */
    .category-tabs-wrapper {
        padding: 0 10px;
    }
    
    .category-tabs-wrapper .swiper-button-prev,
    .category-tabs-wrapper .swiper-button-next {
        display: none;
    }
    
    .homeCategorySwiper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .btn-tab {
        white-space: nowrap;
        padding: 8px 16px !important;
        font-size: 13px !important;
    }

    .courses-carousel-wrapper {
        padding: 0 15px;
    }

    .coursesSwiper .swiper-slide {
        width: 260px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .hero-section.rounded-bottom-5 {
        border-radius: 0 !important;
    }

    /* Brand section mobile */
    .brand-section {
        padding: 40px 0;
        overflow: visible;
    }

    .brand-section h2 {
        font-size: 20px;
        padding: 0 15px;
    }

    .brand-section .container {
        margin-bottom: 30px !important;
    }

    .brand-marquee {
        overflow: hidden;
        min-height: 130px;
    }

    .marquee-row {
        margin-bottom: 16px;
    }

    .brand-item {
        padding: 12px 18px;
    }

    .brand-item img {
        width: 28px;
        height: 28px;
    }

    .brand-name {
        font-size: 13px;
    }

    .brand-desc {
        font-size: 11px;
    }

    /* CTA section mobile */
    .gradient-cta-section {
        padding: 30px 0;
    }

    .gradient-cta-card {
        align-content: center;
        padding: 30px 20px;
        border-radius: 16px !important;
        min-height: 510px;
    }

    .cta-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Testimonial section mobile */
    .testimonial-section {
        padding: 40px 0;
    }

    .testimonial-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .testimonial-section h2 {
        font-size: 22px;
    }

    .testimonial-card {
        padding: 24px !important;
    }

    .testimonialSwiper .swiper-slide {
        width: 280px;
    }

    /* Articles section mobile */
    .articles-section {
        padding: 40px 0;
    }

    .articles-section h2 {
        font-size: 22px;
    }

    .articlesSwiper .swiper-slide {
        width: 240px;
    }

    /* FAQ section mobile */
    .accordion-button {
        font-size: 16px !important;
        padding: 16px;
    }

    /* Footer mobile */
    .landing-curve {
        display: none;
    }

    .footer-curve {
        height: 50px;
        border-radius: 40px 40px 0 0;
    }

    /* Footer grid layout for mobile */
    .bg-primary .container .row.g-4 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 24px 20px;
    }

    /* Brand/Logo column - full width */
    .bg-primary .container .row.g-4 > .col-lg-3.col-md-6:first-child {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-address {
        text-align: left;
        margin-top: 16px;
    }

    .footer-address .address-label {
        justify-content: flex-start;
    }

    /* About column - left side */
    .bg-primary .container .row.g-4 > .col-lg-2.col-md-6:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    /* Resources column - right side */
    .bg-primary .container .row.g-4 > .col-lg-2.col-md-6:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    /* Customer Services - full width */
    .bg-primary .container .row.g-4 > .col-lg-3.col-md-6:nth-child(4) {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    /* Social Media - full width */
    .bg-primary .container .row.g-4 > .col-lg-2.col-md-6:nth-child(5) {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    .footer-title {
        margin-top: 0;
        text-align: left;
        font-size: 14px;
        margin-bottom: 16px;
    }

    .footer-links {
        text-align: left;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-contact-list li {
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .footer-contact-list a {
        font-size: 13px;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon img {
        width: 38px;
        height: 38px;
    }

    /* Footer bottom - horizontal layout */
    .footer-bottom,
    .d-flex.flex-column.flex-md-row.flex-stack {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    .footer-bottom .d-flex.align-items-center {
        justify-content: center;
        margin-bottom: 16px;
    }

    .footer-bottom .mx-5 {
        margin: 0 !important;
        font-size: 12px;
    }

    .footer-bottom ul.menu {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        margin-bottom: 0;
    }

    .footer-bottom .menu-item {
        margin: 0 !important;
    }

    .footer-bottom .menu-link {
        font-size: 13px;
        padding: 0 !important;
    }

    .landing-light-separator {
        margin: 0 !important;
    }
}

/* Small mobile devices (up to 575px) */
@media (max-width: 575px) {
    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-main-image {
        width: 240px;
        max-height: 300px;
    }

    .floating-card {
        scale: 0.7;
    }

    .floating-card.web-dev-card {
        top: 40px !important;
        left: -10px !important;
    }

    .floating-card.uiux-card {
        right: -10px !important;
        bottom: 100px !important;
    }

    .floating-card.marketing-card {
        bottom: 20px !important;
        left: 0 !important;
    }

    /* Features smaller on very small screens */
    .hero-features {
        gap: 12px 0;
    }

    .feature-icon-wrapper {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .feature-text .feature-title {
        font-size: 12px;
    }

    .feature-text .feature-subtitle {
        font-size: 10px;
    }

    .feature-divider {
        height: 35px;
        margin: 0 8px;
    }

    /* About section small mobile */
    .about-section h2 {
        font-size: 20px;
    }

    .about-section h2 br {
        display: none;
    }

    /* Feature cards small mobile - more compact */
    .feature-card {
        padding: 12px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .feature-card-title {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .feature-card-text {
        font-size: 10px;
        line-height: 1.4;
    }

    /* Courses small mobile */
    .courses-section h2 {
        font-size: 20px;
    }

    .coursesSwiper .swiper-slide {
        width: 240px;
    }

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

    .course-title {
        font-size: 14px;
    }

    /* Brand section small mobile */
    .brand-section h2 {
        font-size: 18px;
    }

    .brand-section h2 br {
        display: none;
    }

    /* CTA small mobile */
    .cta-title {
        font-size: 20px;
    }

    .cta-subtitle {
        font-size: 13px;
    }

    /* Testimonial small mobile */
    .testimonial-section h2 {
        font-size: 20px;
    }

    .testimonial-card {
        padding: 20px !important;
    }

    .testimonial-card p {
        font-size: 14px;
    }

    .testimonialSwiper .swiper-slide {
        width: 260px;
    }

    /* Articles small mobile */
    .articles-section h2 {
        font-size: 20px;
    }

    .articlesSwiper .swiper-slide {
        width: 220px;
    }

    .article-image img {
        height: 150px;
    }

    .article-title {
        font-size: 14px;
    }

    /* FAQ small mobile */
    .accordion-button {
        font-size: 14px !important;
        padding: 14px;
    }

    /* Footer small mobile */
    .footer-logo-text {
        font-size: 20px;
    }

    .footer-title {
        font-size: 14px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-address p {
        font-size: 13px;
    }
}

.testimonial-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-section {
    position: relative;
}

.testimonial-prev,
.testimonial-next {
    position: absolute;
    top: 45%;
    /* Adjusted to center on cards, ignoring pagination height approx */
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-purple-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-prev {
    left: -20px;
    /* Pull outside container padding */
}

.testimonial-next {
    right: -20px;
    /* Pull outside container padding */
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--bs-purple-600);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-prev::after,
.testimonial-next::after {
    font-family: "Font Awesome 5 Free";
    /* Or whatever font icon library is used, swiper uses its own usually */
    font-size: 18px;
    font-weight: bold;
}

/* Override default swiper button icons since we are using custom divs but they might inherit swiper styles */
.testimonial-prev::after,
.testimonial-next::after {
    content: none !important;
}

.testimonial-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
    opacity: 0.8;
    transform: scale(0.95);
}

.swiper-slide-active .testimonial-card {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card:hover {
    opacity: 1;
    transform: translateY(-5px) scale(0.98);
}

.swiper-slide-active .testimonial-card:hover {
    transform: scale(1) translateY(-5px);
}

.testimonial-section .swiper-pagination-bullet-active {
    background-color: var(--bs-purple-600);
}

.btn-search:hover,
.btn-search:focus {
    color: #FFFFFF !important;
    background-color: var(--bs-purple-600) !important;
}

/* Course Detail Page */
.course-detail-thumbnail {
    width: 100%;
    height: 350px;
    background: var(--gray-200);
}

.course-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-hero-section {
    padding-top: 20px;
}

/* Tabs Styling */
#courseTab .nav-link {
    position: relative;
    padding-bottom: 12px;
}

#courseTab .nav-link.active {
    color: var(--primary) !important;
}

#courseTab .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

#courseTab .nav-link:hover {
    color: var(--primary) !important;
}

/* Curriculum Accordion */
.course-curriculum-accordion .accordion-button:not(.collapsed) {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: none;
}

.course-curriculum-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--gray-200);
}

.course-curriculum-accordion .accordion-button.custom-accordion-icon::after {
    display: none;
}

/* Custom caret icons */
.course-curriculum-accordion .accordion-button .accordion-icon-up {
    display: block;
}

.course-curriculum-accordion .accordion-button .accordion-icon-down {
    display: none;
}

.course-curriculum-accordion .accordion-button.collapsed .accordion-icon-up {
    display: none;
}

.course-curriculum-accordion .accordion-button.collapsed .accordion-icon-down {
    display: block;
}

.benefits-card .benefit-item {
    background: transparent;
    border-radius: 0;
    padding: 12px 16px;
}


/* Recommendations */
.recommendationsSwiper .swiper-slide {
    width: 300px;
}

/* Checkout Page */
.course-checkout-thumbnail {
    height: 200px;
    overflow: hidden;
}

.course-checkout-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   HEADER RESPONSIVE STYLES
   ======================================== */

/* Header container */
.landing-header .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Tablets */
@media (max-width: 991px) {
    .landing-header .d-flex.align-items-center.justify-content-between {
        padding: 10px 0;
    }
    
    /* Logo scaling */
    .landing-header .logo-default,
    .landing-header .logo-sticky {
        width: 100px;
        height: auto;
    }
    
    /* Auth buttons on tablet */
    .landing-header .btn-outline-primary,
    .landing-header .btn-primary:not(.btn-icon) {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* User profile on tablet */
    .landing-header #kt_header_user_menu_toggle .cursor-pointer {
        padding: 6px 10px 6px 8px !important;
    }
    
    .landing-header #kt_header_user_menu_toggle .symbol-30px {
        width: 28px;
        height: 28px;
    }
    
    .landing-header #kt_header_user_menu_toggle .text-gray-700 {
        font-size: 12px;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    .landing-header {
        padding: 0;
    }
    
    /* Logo scaling mobile */
    .landing-header .logo-default,
    .landing-header .logo-sticky {
        width: 90px;
        height: auto;
    }
    
    /* Search button mobile - keep visible but smaller */
    .landing-header #kt_header_search .btn-icon {
        width: 36px;
        height: 36px;
    }
    
    .landing-header #kt_header_search .btn-icon i {
        font-size: 1rem;
    }
    
    /* Menu toggle button */
    .landing-header #kt_landing_menu_toggle {
        width: 40px;
        height: 40px;
    }
    
    .landing-header #kt_landing_menu_toggle .ph-list {
        font-size: 1.5rem;
    }
}

/* Small mobile */
@media (max-width: 575px) {
    .landing-header .logo-default,
    .landing-header .logo-sticky {
        width: 80px;
        height: auto;
    }
    
    /* Search button smaller */
    .landing-header #kt_header_search .btn-icon {
        width: 32px;
        height: 32px;
    }
    
    /* Menu toggle smaller */
    .landing-header #kt_landing_menu_toggle {
        width: 36px;
        height: 36px;
    }
}

/* Mobile menu drawer improvements */
@media (max-width: 991px) {
    [data-kt-drawer-name="landing-menu"] {
        background: #fff !important;
        box-shadow: 0 0 30px rgba(0,0,0,0.15);
    }
    
    [data-kt-drawer-name="landing-menu"] .menu-link {
        padding: 12px 20px !important;
        font-size: 15px !important;
        color: var(--gray-600) !important;
        border-bottom: 1px solid var(--gray-100);
    }
    
    [data-kt-drawer-name="landing-menu"] .menu-link:hover,
    [data-kt-drawer-name="landing-menu"] .menu-link.active {
        background: var(--primary-light) !important;
        color: var(--primary) !important;
    }
}

/* ========================================
   ADDITIONAL MOBILE FIXES
   ======================================== */

/* Fix container padding on mobile */
@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Alert boxes mobile */
    .alert {
        padding: 15px;
        font-size: 14px;
    }
    
    .alert h4 {
        font-size: 16px;
    }
    
    /* General text adjustments */
    .fs-2x {
        font-size: 1.5rem !important;
    }
    
    .fs-3x {
        font-size: 1.75rem !important;
    }
    
    /* Spacing adjustments */
    .mt-10 {
        margin-top: 2rem !important;
    }
    
    .mb-10 {
        margin-bottom: 2rem !important;
    }
    
    .mt-20 {
        margin-top: 3rem !important;
    }
    
    .mb-20 {
        margin-bottom: 3rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Small mobile spacing */
@media (max-width: 575px) {
    .mt-10 {
        margin-top: 1.5rem !important;
    }
    
    .mb-10 {
        margin-bottom: 1.5rem !important;
    }
    
    .mt-20 {
        margin-top: 2rem !important;
    }
    
    .mb-20 {
        margin-bottom: 2rem !important;
    }
}

/* Landing Header adjustments */
.landing-header .container > .d-flex {
    min-height: 70px;
}

/* Mobile avatar button */
#kt_header_user_menu_toggle_mobile .symbol img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border: 2px solid var(--gray-200);
}

/* Hamburger icon styling */
#kt_landing_menu_toggle .ph-list {
    color: var(--gray-700);
}

/* ========================================
   SIMPLE MOBILE MENU
   ======================================== */

#mobileMenuModal .modal-content {
    background: #fff;
}

#mobileMenuModal .modal-header {
    background: #fff;
}

#mobileMenuModal .btn-light {
    background: var(--gray-100);
    border: none;
}

.mobile-menu-nav-simple {
    display: flex;
    flex-direction: column;
}

.mobile-menu-link-simple {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.mobile-menu-link-simple:first-child {
    border-top: none;
}

.mobile-menu-link-simple:hover,
.mobile-menu-link-simple.active {
    color: var(--primary);
}

.text-hover-primary:hover {
    transition: color .2s ease;
    color: #9481B1 !important
}

.text-hover-primary:hover i{
    transition: color .2s ease;
    color: #9481B1 !important
}

.btn.btn-primary:hover:not(.btn-active) {
    color: var(--bs-primary-inverse) !important;
    border: 1px solid !important;
    border: none !important;
    background-color: #74658a !important;
}

.bg-error-50 {
    background-color: #FFE7E7 !important;
}

.text-error-400 {
    color: #FF4040 !important;
}

.bg-success-50 {
    background-color: #EDF7EE !important;
}

.text-succes-400 {
    color: #70BF73 !important;
}