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

:root {
    --primary-color: #5624d0;
    --secondary-color: #a435f0;
    --text-dark: #1c1d1f;
    --text-light: #6a6f73;
    --bg-light: #f7f9fa;
    --white: #ffffff;
    --border-color: #d1d7dc;
    --hover-bg: #f3f4f6;
    --rating-color: #f3ca8c;
    --price-color: #1e6055;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    overflow: visible;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
    position: relative;
    overflow: visible;
}

.logo {
    position: relative;
    z-index: 10;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 50px;
    padding: 4px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-light-rgba-1) 0%, transparent 100%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.logo-img {
    height: 42px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-link:hover .logo-wrapper {
    background: var(--primary-light-rgba-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 36, 208, 0.15);
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(86, 36, 208, 0.2));
}

.logo-link:hover .logo-overlay {
    opacity: 1;
}

.logo-link:active .logo-wrapper {
    transform: translateY(0);
}

.search-bar {
    flex: 1;
    max-width: 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar i {
    position: absolute;
    left: 16px;
    color: var(--text-light);
}

.search-bar input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(86, 36, 208, 0.1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: var(--hover-bg);
}

/* Categories Dropdown */
.categories-dropdown {
    position: relative;
}

.categories-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.categories-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.categories-dropdown:hover .categories-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    width: auto;
    min-width: 900px;
    max-width: calc(100vw - 48px);
    padding: 24px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.categories-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
}

.dropdown-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-column ul {
    list-style: none;
}

.dropdown-column ul li {
    margin-bottom: 12px;
}

.dropdown-column ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s, padding-left 0.2s;
    display: block;
    padding: 4px 0;
}

.dropdown-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.nav-link.cart {
    font-size: 18px;
    padding: 8px;
}

.btn-login,
.btn-signup {
    padding: 10px 16px;
    border: 1px solid var(--text-dark);
    background: transparent;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-signup {
    background-color: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
}

.btn-login:hover {
    background-color: var(--hover-bg);
}

.btn-signup:hover {
    background-color: #3e3e3e;
}

/* Language Dropdown - Bootstrap */
.btn-group.language-dropdown {
    position: relative;
    display: inline-block;
}

.btn-group.language-dropdown .btn-language {
    padding: 8px 12px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-group.language-dropdown .btn-language:focus {
    outline: none;
    box-shadow: none;
}

/* Button active state when dropdown is open */
.btn-group.language-dropdown.active .btn-language {
    background-color: var(--hover-bg);
    color: var(--primary-light-color);
}

.btn-group.language-dropdown .btn-language i {
    color: var(--primary-light-color);
}

.btn-group.language-dropdown .dropdown-menu {
    min-width: 180px;
    padding: 8px 0;
    margin-top: 4px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 1001;
    background: white;
    pointer-events: none;
}

/* Show dropdown on click (active state) - only click, no hover */
.btn-group.language-dropdown.active .dropdown-menu {
    list-style: none;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.btn-group.language-dropdown .dropdown-item {
    padding: 0 10px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.btn-group.language-dropdown .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-light-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.btn-group.language-dropdown .dropdown-item:hover::before,
.btn-group.language-dropdown .dropdown-item.active::before {
    transform: scaleY(1);
}

.lang-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    flex: 1;
    transition: all 0.3s ease;
}

.lang-flag-wrapper {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border-color);
}

.lang-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lang-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.lang-check {
    font-size: 14px;
    color: var(--primary-light-color);
    padding: 12px 16px 12px 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-group.language-dropdown .dropdown-item:hover,
.btn-group.language-dropdown .dropdown-item:focus {
    background-color: var(--primary-light-rgba-1);
}

.btn-group.language-dropdown .dropdown-item:hover .lang-name,
.btn-group.language-dropdown .dropdown-item:focus .lang-name {
    color: var(--primary-light-color);
}

.btn-group.language-dropdown .dropdown-item:hover .lang-flag-wrapper,
.btn-group.language-dropdown .dropdown-item:focus .lang-flag-wrapper {
    box-shadow: 0 4px 8px rgba(86, 36, 208, 0.2);
    transform: scale(1.05);
}

.btn-group.language-dropdown .dropdown-item.active {
    background-color: var(--primary-light-rgba-1);
}

.btn-group.language-dropdown .dropdown-item.active .lang-name {
    color: var(--primary-light-color);
    font-weight: 600;
}

.btn-group.language-dropdown .dropdown-item.active .lang-flag-wrapper {
    box-shadow: 0 4px 8px rgba(86, 36, 208, 0.3);
    border-color: var(--primary-light-color);
}

.btn-group.language-dropdown .dropdown-item.active .lang-check {
    transform: scale(1.2);
}

/* RTL Support for Language Dropdown */
html[dir="rtl"] .btn-group.language-dropdown .dropdown-menu {
    right: 0 !important;
    left: auto !important;
}

html[dir="rtl"] .btn-group.language-dropdown .dropdown-item {
    flex-direction: row-reverse;
}

html[dir="rtl"] .btn-group.language-dropdown .dropdown-item::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .lang-item-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .lang-check {
    padding: 12px 8px 12px 16px;
}

/* User Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.user-menu.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.user-dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-light);
}

.user-dropdown-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.user-dropdown-info p {
    font-size: 14px;
    color: var(--text-light);
}

.user-dropdown-links {
    padding: 8px 0;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.dropdown-link:hover {
    background-color: var(--hover-bg);
}

.dropdown-link i {
    width: 20px;
    text-align: center;
    color: var(--text-light);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-light-color);
    padding: 8px;
    transition: all 0.3s ease;
}

/* Mobile Search Bar - Hidden on Desktop */
.mobile-search-wrapper {
    display: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.mobile-search {
    display: none;
}

.mobile-search:focus-within {
    border-color: var(--primary-light-color);
    box-shadow: 0 0 0 4px var(--primary-light-rgba-1);
    transform: translateY(-2px);
}

.search-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--text-light);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-search:focus-within .search-icon-wrapper {
    color: var(--primary-light-color);
    transform: scale(1.1);
}

.mobile-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 12px 14px 0;
    font-size: 15px;
    color: var(--text-dark);
    background: transparent;
    transition: all 0.3s ease;
}

.mobile-search-input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.mobile-search-input:focus::placeholder {
    opacity: 0.5;
}

.search-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 8px;
    opacity: 0;
    visibility: hidden;
}

.search-clear-btn:hover {
    background: var(--hover-bg);
    color: var(--text-dark);
    transform: scale(1.1);
}

.search-clear-btn.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-toggle:hover {
    color: var(--primary-light-color);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background: transparent;
    color: var(--white);
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    min-height: 800px;
    width: 100%;
    display: block;
}

/* Slideshow Styles */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 800px;
    margin: 0;
    padding: 0;
    display: block;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 800px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out, transform 1s ease-in-out;
    z-index: 1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transform: scale(1);
}

.hero-slide.active .hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-slide.active .hero-badge {
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.hero-slide.active .hero-title {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-slide.active .hero-description {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-slide.active .hero-buttons {
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section (Home Post) */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: transform 0.3s ease;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--primary-light-rgba-1) 0%,
        transparent 50%,
        var(--primary-light-rgba-1) 100%
    );
    opacity: 0.5;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.hero-section .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
}

.hero-section .hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-section .hero-description {
    font-size: 24px;
    margin-bottom: 48px;
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.7;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-section .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-large:hover::before {
    width: 400px;
    height: 400px;
}

.btn-large span,
.btn-large {
    position: relative;
    z-index: 1;
}

.btn-white {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--white);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
    color: var(--text-dark);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* More transparent overlay */
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.slide-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Very transparent website color gradient */
    background: linear-gradient(
        135deg,
        var(--primary-light-rgba-1) 0%,
        transparent 50%,
        var(--primary-light-rgba-1) 100%
    );
    z-index: 1;
    opacity: 0.6;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 0 24px;
    max-width: 1340px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 40px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Hero Buttons - Professional Styles */
.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    text-align: center;
    border: none;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-buttons .btn span {
    position: relative;
    z-index: 1;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--text-dark) 0%, #2a2a2a 100%);
    color: var(--white);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, var(--text-dark) 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-light-color);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-btn-secondary:hover {
    background: var(--white);
    color: var(--primary-light-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
    border-color: var(--white);
}

/* General button classes (for other uses) */
.btn-primary {
    background-color: var(--text-dark);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #3e3e3e;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--hover-bg);
    transform: translateY(-2px);
}

.hero-content {
    position: relative;
    width: 100%;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.hero-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-icon:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Slideshow Navigation */
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 18px;
    backdrop-filter: blur(10px);
}

.slideshow-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
    left: 24px;
}

.slideshow-next {
    right: 24px;
}

/* Slideshow Dots */
.slideshow-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.slideshow-dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.slideshow-dot.active {
    background-color: var(--white);
    border-color: var(--white);
    width: 32px;
    border-radius: 6px;
}

/* Essential Skills Section */
.essential-skills {
    padding: 80px 0;
    background-color: var(--white);
}

.essential-skills-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: center;
}

.essential-skills-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.essential-skills-text p {
    font-size: 18px;
    color: var(--text-light);
}

.essential-skills-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.skill-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.skill-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-card-image img {
    transform: scale(1.1);
}

.skill-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.skill-count {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.skill-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.skill-card-content i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 18px;
}

/* Transform Skills Section */
.transform-skills {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.transform-header {
    text-align: center;
    margin-bottom: 48px;
}

.transform-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.transform-header p {
    font-size: 18px;
    color: var(--text-light);
}

.category-tabs-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.scroll-btn {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scroll-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(86, 36, 208, 0.3);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-btn i {
    font-size: 14px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.scroll-btn:hover i {
    color: var(--white);
}

.scroll-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    flex: 1;
    padding: 8px 0;
    margin: 0;
}

.category-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    color: var(--text-dark);
}

.tab-btn.active {
    color: var(--text-dark);
    border-bottom-color: var(--primary-color);
}

.tab-courses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 32px;
}

.show-all-link {
    text-align: center;
}

.show-all-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.show-all-link a:hover {
    gap: 12px;
}

/* AI Career Section */
.ai-career {
    padding: 80px 0;
    background-color: #1c1d1f;
    color: var(--white);
}

.ai-career-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ai-career-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.ai-career-content .highlight {
    color: #a8d8ff;
}

.ai-career-content > p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
}

.ai-feature-icon.purple {
    background-color: #a435f0;
}

.ai-feature-icon.yellow {
    background-color: #f3ca8c;
}

.ai-feature-icon.green {
    background-color: #1e6055;
}

.ai-feature-icon.blue {
    background-color: #4facfe;
}

.ai-feature span {
    font-size: 16px;
    font-weight: 600;
}

.ai-career-content .pricing-text {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

.ai-career-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Business Plans Section */
.business-plans {
    padding: 80px 0;
    background-color: var(--white);
}

.business-plans-header {
    text-align: center;
    margin-bottom: 64px;
}

.business-plans-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.business-plans-header p {
    font-size: 18px;
    color: var(--text-light);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.plan-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    transition: all 0.3s ease;
}

.plan-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.plan-card.featured {
    border-top: 4px solid var(--primary-color);
}

.plan-header {
    margin-bottom: 24px;
}

.plan-audience {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.plan-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.plan-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.btn-plan {
    width: 100%;
    padding: 12px 24px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-plan.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-plan.primary:hover {
    background-color: #4a1fb8;
}

.plan-price {
    margin-bottom: 16px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
}

.price-period {
    font-size: 14px;
    color: var(--text-light);
}

.plan-billing {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-dark);
}

.plan-features li i {
    color: #1e6055;
    margin-top: 4px;
    flex-shrink: 0;
}

.ai-fluency {
    display: flex;
    flex-direction: column;
}

.ai-collections {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.ai-collection h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.collection-audience {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.collection-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Categories Section */
.categories {
    padding: 64px 0;
    background-color: var(--white);
}

.categories h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

/* Categories Wrapper - Horizontal Scroll */
.categories-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0 30px;
    margin: 0 -20px 40px;
    padding-left: 20px;
    padding-right: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light-rgba-1) transparent;
}

.categories-wrapper::-webkit-scrollbar {
    height: 6px;
}

.categories-wrapper::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.categories-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-light-rgba-1);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.categories-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light-color);
}

.category-card {
    background: var(--white);
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: fit-content;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-light-color), var(--primary-dark-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.category-card span,
.category-card {
    position: relative;
    z-index: 1;
}

.category-card:hover {
    color: var(--primary-light-color);
    border-color: var(--primary-light-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-light-rgba-2);
}

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

/* Active Category Tab */
.category-card.active {
    color: var(--primary-light-color);
    background: linear-gradient(135deg, var(--primary-light-color), var(--primary-dark-color));
    border-color: var(--primary-light-color);
    box-shadow: 0 4px 12px var(--primary-light-rgba-2);
    transform: translateY(-2px);
}

.category-card.active::before {
    opacity: 0;
}

.category-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.category-icon-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.category-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    transform: rotate(0deg);
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(86, 36, 208, 0.1) 0%, rgba(164, 53, 240, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(86, 36, 208, 0.25);
}

.category-card:hover .category-icon img {
    transform: scale(1.15);
}

.category-card:hover .category-icon-overlay {
    opacity: 1;
}

.category-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.category-card:hover .category-title {
    color: var(--primary-light-color);
}


/* Courses Section */
.courses {
    padding: 64px 0;
    background-color: var(--bg-light);
}

.courses h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Modern Course Card Design */
.course-card-modern {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.course-card-modern:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-8px);
    border-color: var(--primary-light-color);
}

.course-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card-modern:hover .course-thumbnail img {
    transform: scale(1.15);
}

.course-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.course-card-modern:hover .course-thumbnail-overlay {
    opacity: 1;
}

.course-preview-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light-color);
    font-size: 24px;
    text-decoration: none;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.course-card-modern:hover .course-preview-btn {
    transform: scale(1);
}

.course-preview-btn:hover {
    background: var(--primary-light-color);
    color: var(--white);
    transform: scale(1.1);
}

.course-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e74c3c;
    color: var(--white);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    line-height: 1;
}

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

.course-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light-color);
    background: rgba(86, 36, 208, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-bottom: 4px;
}

.course-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 57px;
    transition: color 0.3s ease;
}

.course-card-modern:hover .course-name {
    color: var(--primary-light-color);
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.course-pricing {
    flex: 1;
}

.price-wrapper {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.price-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-light-color);
    line-height: 1.2;
}

.price-old {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
    opacity: 0.8;
}

.course-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--primary-light-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(86, 36, 208, 0.2);
    min-width: 120px;
}

.course-action-btn:hover {
    background: var(--primary-dark-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 36, 208, 0.3);
}

/* Keep old course-card styles for backward compatibility */
.course-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.course-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.course-title a:hover {
    color: var(--primary-color);
}

.course-instructor {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.rating-stars {
    color: var(--rating-color);
    font-size: 14px;
}

.rating-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.rating-count {
    font-size: 12px;
    color: var(--text-light);
}

.course-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.price-original {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-badge {
    font-size: 12px;
    background-color: var(--price-color);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* Modern Footer */
.modern-footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light-color), transparent);
    opacity: 0.3;
}

.footer-main {
    padding: 80px 0 60px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    align-items: start;
}

@media (min-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
        gap: 48px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 40px;
    }
}

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

.footer-column-brand {
    max-width: 320px;
}

.footer-logo-wrapper {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-logo-wrapper::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-light-color), transparent);
}

.footer-logo-link {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.footer-logo-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 16px rgba(86, 36, 208, 0.2);
}

.footer-logo-img {
    justify-self: center;
    max-width: 150px;
    width: 50%;
    height: 50%;
    /* filter: brightness(0) invert(1); */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    object-fit: contain;
}

.footer-logo-link:hover .footer-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 0 12px var(--primary-light-rgba-1));
    transform: scale(1.02);
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light-color), transparent);
    border-radius: 2px;
}

.footer-title-icon {
    font-size: 16px;
    color: var(--primary-light-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 0;
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -12px;
    width: 0;
    height: 2px;
    background: var(--primary-light-color);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
    padding-left: 8px;
    transform: translateX(4px);
}

.footer-link:hover::before {
    width: 4px;
}

.footer-link-icon {
    font-size: 10px;
    color: var(--primary-light-color);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.footer-link:hover .footer-link-icon {
    opacity: 1;
    transform: translateX(2px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-contact-icon-wrapper {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon-wrapper {
    background: var(--primary-light-rgba-1);
    transform: scale(1.1);
}

.footer-contact-icon-wrapper i {
    color: var(--primary-light-color);
    font-size: 14px;
}

.footer-contact-link,
.footer-contact-text {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
    flex: 1;
}

.footer-contact-link:hover {
    color: var(--white);
}

.footer-social {
    margin-top: 8px;
}

.social-title {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px 0;
}

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

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-light-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: 0;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.social-icon i {
    position: relative;
    z-index: 1;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(86, 36, 208, 0.3);
}

.social-icon:hover i {
    transform: scale(1.15);
}

.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.twitter:hover {
    background: #1da1f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.linkedin:hover {
    background: #0077b5;
}

.social-icon.youtube:hover {
    background: #ff0000;
}

.social-icon.tiktok:hover {
    background: #000000;
}

.social-icon.telegram:hover {
    background: #0088cc;
}

.social-icon.whatsapp:hover {
    background: #25d366;
}

.footer-column-newsletter {
    max-width: 100%;
}

.newsletter-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-group {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: var(--primary-light-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px var(--primary-light-rgba-1);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 14px;
    padding: 12px 16px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-light-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--primary-dark-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 36, 208, 0.4);
}

.newsletter-btn:active {
    transform: translateY(0);
}

.newsletter-btn i {
    font-size: 14px;
}

.newsletter-btn-text {
    display: inline;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.copyright-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.copyright-separator {
    color: rgba(255, 255, 255, 0.3);
}

.developer-link {
    color: var(--primary-light-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

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

.developer-link:hover {
    color: var(--white);
}

.developer-link:hover::after {
    width: 100%;
}

/* Course Detail Page Styles */
.course-detail-page {
    padding: 32px 0 80px;
    background-color: var(--white);
}

.course-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

/* Course Details Section - Redesigned */
.course-details-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.course-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.course-details-image-wrapper {
    position: relative;
    width: 100%;
}

.course-image-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-image-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.course-details-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-image-container:hover .course-details-image {
    transform: scale(1.05);
}

.course-discount-badge-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-light-color), var(--primary-dark-color));
    color: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(86, 36, 208, 0.4);
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
}

.course-discount-badge-large .discount-percent {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.course-discount-badge-large .discount-text {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-details-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.course-details-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.course-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-light-rgba-1);
    color: var(--primary-light-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
    transition: all 0.3s ease;
}

.course-category-badge:hover {
    background: var(--primary-light-rgba-2);
    transform: translateY(-2px);
}

.course-category-badge i {
    font-size: 12px;
}

.course-details-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
}

.course-details-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.course-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.course-pricing-section {
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.course-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-light-color);
    line-height: 1;
}

.price-original {
    font-size: 24px;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
    opacity: 0.7;
}

.price-savings {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-light-rgba-1);
    color: var(--primary-light-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
}

.price-savings i {
    font-size: 12px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.course-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    line-height: 1.3;
}

.course-subtitle {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.course-badge.bestseller {
    background-color: #eceb98;
    color: #3d3c0a;
}

.course-rating-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-students {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-instructor-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
}

.instructor-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-name {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.instructor-name a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.instructor-name a:hover {
    text-decoration: underline;
}

.instructor-title {
    font-size: 13px;
    color: var(--text-light);
}

.course-content-section {
    margin-bottom: 48px;
}

.course-content-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.learning-objectives {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dark);
}

.objective-item i {
    color: #1e6055;
    margin-top: 4px;
    flex-shrink: 0;
}

.course-curriculum {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.curriculum-section {
    border-bottom: 1px solid var(--border-color);
}

.curriculum-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: var(--bg-light);
    cursor: pointer;
}

.section-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-header span {
    font-size: 14px;
    color: var(--text-light);
}

.section-items {
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.section-item.expanded .section-items {
    max-height: 2000px;
}

.curriculum-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-dark);
    transition: background-color 0.2s;
}

.curriculum-item:hover {
    background-color: var(--bg-light);
}

.curriculum-item i {
    color: var(--text-light);
}

.curriculum-item .duration {
    margin-left: auto;
    color: var(--text-light);
    font-size: 13px;
}

.requirements-list {
    list-style: none;
    padding-left: 0;
}

.requirements-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: var(--text-dark);
}

.requirements-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-color);
    font-weight: bold;
}

.course-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
}

.course-description p {
    margin-bottom: 16px;
}

.reviews-summary {
    margin-bottom: 32px;
}

.rating-breakdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
}

.rating-breakdown-item span:first-child {
    width: 50px;
    color: var(--text-light);
}

.rating-bar {
    flex: 1;
    height: 8px;
    background-color: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background-color: var(--rating-color);
}

.rating-breakdown-item span:last-child {
    width: 40px;
    text-align: right;
    color: var(--text-light);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-item {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.review-rating {
    color: var(--rating-color);
    font-size: 12px;
}

.review-date {
    font-size: 13px;
    color: var(--text-light);
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Course Detail Sidebar */
.course-detail-sidebar {
    position: sticky;
    top: 80px;
}

.course-preview-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.course-preview-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-overlay:hover {
    background-color: rgba(0,0,0,0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay i {
    color: var(--white);
    font-size: 24px;
    margin-left: 4px;
}

.course-pricing {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.price-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.price-container .current-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

.price-container .original-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-container .discount-badge {
    font-size: 12px;
    background-color: var(--price-color);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.price-note {
    font-size: 12px;
    color: var(--text-light);
}

.course-actions {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.btn-enroll {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    background-color: #4a1fb8;
}

.btn-buy-now {
    width: 100%;
    padding: 14px;
    background-color: var(--text-dark);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy-now:hover {
    background-color: #3e3e3e;
}

.btn-wishlist {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-wishlist:hover {
    background-color: var(--hover-bg);
}

.btn-wishlist.active i {
    color: #e91e63;
}

.course-includes {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.course-includes h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.course-includes ul {
    list-style: none;
    padding: 0;
}

.course-includes ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dark);
}

.course-includes ul li i {
    color: var(--text-light);
    width: 20px;
}

.share-course {
    padding: 16px;
}

.share-course h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-buttons button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-buttons button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

@media (max-width: 1024px) {
    .course-detail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .course-detail-sidebar {
        position: static;
    }
    
    .learning-objectives {
        grid-template-columns: 1fr;
    }
    
    /* Course Details Section Responsive */
    .course-details-section {
        padding: 60px 0;
    }
    
    .course-details-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .course-details-title {
        font-size: 36px;
    }
    
    .price-current {
        font-size: 32px;
    }
    
    .price-original {
        font-size: 20px;
    }
}

/* Auth Pages Styles */
.auth-page {
    padding: 80px 0;
    background-color: var(--bg-light);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.auth-container h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.auth-subtitle a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-subtitle a:hover {
    text-decoration: underline;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(86, 36, 208, 0.1);
}

.forgot-password {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    align-self: flex-end;
    margin-top: -4px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.password-requirements {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.password-requirements ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.checkbox-group {
    margin: 8px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-auth-primary {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-auth-primary:hover {
    background-color: #4a1fb8;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 8px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-light);
}

.btn-auth-social {
    width: 100%;
    padding: 12px;
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-auth-social:hover {
    background-color: var(--hover-bg);
    border-color: var(--text-dark);
}

.btn-auth-social i {
    font-size: 18px;
}

.header-spacer {
    flex: 1;
}

/* Dashboard Page Styles */
.dashboard-page {
    padding: 32px 0 80px;
    background-color: var(--bg-light);
}

.dashboard-header {
    margin-bottom: 32px;
}

.dashboard-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.dashboard-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border-color);
}

.dashboard-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.dashboard-tab:hover {
    color: var(--text-dark);
}

.dashboard-tab.active {
    color: var(--text-dark);
    border-bottom-color: var(--primary-color);
}

.learning-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.stat-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-info p {
    font-size: 14px;
    color: var(--text-light);
}

.my-courses h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.enrolled-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.enrolled-course-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.enrolled-course-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.enrolled-course-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.progress-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 16px;
    color: var(--white);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    font-weight: 600;
}

.enrolled-course-content {
    padding: 16px;
}

.enrolled-course-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.enrolled-course-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.enrolled-course-content h3 a:hover {
    color: var(--primary-color);
}

.instructor-name {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.course-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.course-progress-info span {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.continue-btn {
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.continue-btn:hover {
    background-color: #4a1fb8;
}

.user-menu {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cart-count {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-left: 4px;
}

.nav-link.active {
    color: var(--primary-light-color);
    font-weight: 600;
}

/* Cart Page Styles */
.cart-page {
    padding: 32px 0 80px;
    background-color: var(--bg-light);
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 24px;
    display: grid;
    grid-template-columns: 200px 1fr 150px;
    gap: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cart-item-image {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

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

.cart-item-details h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-item-details h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.cart-item-details h3 a:hover {
    color: var(--primary-color);
}

.cart-item-details .instructor {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.cart-item-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.cart-item-rating .rating {
    font-weight: 700;
    color: var(--text-dark);
}

.cart-item-rating .stars {
    color: var(--rating-color);
}

.cart-item-rating .rating-count {
    color: var(--text-light);
}

.cart-item-actions {
    display: flex;
    gap: 16px;
}

.btn-remove,
.btn-wishlist {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.btn-remove:hover,
.btn-wishlist:hover {
    color: #4a1fb8;
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cart-item-price .current-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.cart-item-price .original-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

.cart-summary {
    position: sticky;
    top: 80px;
}

.summary-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.summary-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.total-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.total-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

.total-original {
    font-size: 18px;
    color: var(--text-light);
    text-decoration: line-through;
}

.savings {
    font-size: 14px;
    color: var(--price-color);
    font-weight: 600;
    margin-bottom: 24px;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-checkout:hover {
    background-color: #4a1fb8;
}

.money-back {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 24px;
}

.promo-section {
    display: flex;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.promo-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.promo-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-apply {
    padding: 10px 20px;
    background-color: var(--text-dark);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background-color: #3e3e3e;
}

.continue-shopping {
    margin-top: 32px;
    text-align: center;
}

.continue-shopping a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.continue-shopping a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .cart-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .learning-stats {
        grid-template-columns: 1fr;
    }
    
    .enrolled-courses-grid {
        grid-template-columns: 1fr;
    }
}

/* Search Results Page Styles */
.search-results-page {
    padding: 32px 0 80px;
    background-color: var(--bg-light);
}

.search-results-header {
    margin-bottom: 32px;
}

.search-results-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.results-count {
    font-size: 14px;
    color: var(--text-light);
}

.search-results-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.search-filters {
    background-color: var(--white);
    border-radius: 8px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.search-filters h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.filter-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    cursor: pointer;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-dark);
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

/* Instructor Profile Page Styles */
.instructor-profile-page {
    padding: 32px 0 80px;
    background-color: var(--white);
}

.instructor-header {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.instructor-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-info-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.instructor-title-header {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.instructor-stats {
    display: flex;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.instructor-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.instructor-about h2,
.instructor-courses h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.instructor-about p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* Wishlist Page Styles */
.wishlist-page {
    padding: 32px 0 80px;
    background-color: var(--bg-light);
}

.wishlist-header {
    margin-bottom: 32px;
}

.wishlist-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.wishlist-count {
    font-size: 14px;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .search-results-wrapper {
        grid-template-columns: 1fr;
    }
    
    .search-filters {
        position: static;
    }
    
    .instructor-header {
        flex-direction: column;
        text-align: center;
    }
    
    .instructor-stats {
        justify-content: center;
    }
}

/* Checkout Page Styles */
.checkout-page {
    padding: 32px 0 80px;
    background-color: var(--bg-light);
}

.checkout-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.progress-step.active .step-number {
    background-color: var(--primary-color);
    color: var(--white);
}

.step-label {
    font-size: 12px;
    color: var(--text-light);
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line {
    width: 60px;
    height: 2px;
    background-color: var(--border-color);
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
}

.payment-section,
.billing-section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.payment-section h2,
.billing-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method.active {
    border-color: var(--primary-color);
    background-color: rgba(86, 36, 208, 0.05);
}

.payment-method input {
    display: none;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.payment-option i {
    font-size: 24px;
    color: var(--primary-color);
}

.card-form {
    margin-top: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.security-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: var(--bg-light);
    border-radius: 8px;
    margin-top: 24px;
}

.security-section i {
    color: var(--primary-color);
    font-size: 20px;
}

.security-section p {
    font-size: 14px;
    color: var(--text-light);
}

.order-summary {
    background-color: var(--white);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 80px;
}

.order-summary h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.order-item {
    display: flex;
    gap: 12px;
}

.order-item-image {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.order-item-details {
    flex: 1;
}

.order-item-details h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.order-item-details p {
    font-size: 12px;
    color: var(--text-light);
}

.order-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.order-totals {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-dark);
}

.total-row.total {
    font-size: 20px;
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.total-row .discount {
    color: var(--price-color);
}

.btn-complete-order {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.btn-complete-order:hover {
    background-color: #4a1fb8;
}

.money-back-guarantee {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Course Player Page Styles */
.course-player-page {
    padding: 0;
    background-color: #000;
    min-height: calc(100vh - 80px);
}

.course-title-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.course-player-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    height: calc(100vh - 80px);
}

.video-section {
    background-color: #000;
    display: flex;
    flex-direction: column;
}

.video-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    text-align: center;
    color: var(--white);
}

.video-placeholder i {
    font-size: 80px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.video-placeholder p {
    font-size: 18px;
    margin-bottom: 8px;
}

.video-title {
    font-size: 24px;
    font-weight: 700;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: rgba(0,0,0,0.8);
    color: var(--white);
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: opacity 0.2s;
}

.control-btn:hover {
    opacity: 0.7;
}

.progress-bar-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar .progress-fill {
    height: 100%;
    background-color: var(--primary-color);
}

.time-display {
    font-size: 14px;
    color: var(--white);
    min-width: 80px;
}

.video-info {
    padding: 24px;
    background-color: var(--white);
}

.video-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.video-actions {
    display: flex;
    gap: 16px;
}

.action-btn {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: var(--hover-bg);
}

.course-content-sidebar {
    background-color: var(--white);
    overflow-y: auto;
    border-left: 1px solid var(--border-color);
}

.course-progress-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-progress-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.progress-percentage {
    font-size: 14px;
    color: var(--text-light);
}

.course-sections {
    padding: 8px 0;
}

.section-item {
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.section-header:hover {
    background-color: var(--bg-light);
}

.section-header h5 {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.section-header span {
    font-size: 12px;
    color: var(--text-light);
}

.section-lectures {
    padding: 8px 0;
    background-color: var(--bg-light);
}

.lecture-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 48px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background-color 0.2s;
}

.lecture-item:hover {
    background-color: rgba(86, 36, 208, 0.05);
}

.lecture-item.active {
    background-color: rgba(86, 36, 208, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.lecture-item.completed i {
    color: var(--price-color);
}

.lecture-item.active i {
    color: var(--primary-color);
}

.lecture-item .duration {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-light);
}

.course-resources {
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.course-resources h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.resource-item:hover {
    background-color: var(--bg-light);
}

.resource-item i {
    color: var(--text-light);
}

.resource-item span {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
}

.download-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 4px 8px;
}

/* Settings Page Styles */
.settings-page {
    padding: 32px 0 80px;
    background-color: var(--bg-light);
}

.settings-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.settings-sidebar {
    background-color: var(--white);
    border-radius: 8px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.settings-sidebar h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    transition: all 0.2s;
}

.settings-nav-item:hover {
    background-color: var(--bg-light);
}

.settings-nav-item.active {
    background-color: rgba(86, 36, 208, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.settings-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 32px;
}

.settings-section {
    display: none;
}

.settings-section.active {
    display: block;
}

.settings-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.section-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.profile-picture-section {
    margin-bottom: 32px;
}

.profile-picture {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.profile-picture img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.change-picture-btn {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-picture-btn:hover {
    background-color: var(--hover-bg);
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-form textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.settings-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(86, 36, 208, 0.1);
}

.btn-verify {
    margin-top: 8px;
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-verify:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-save {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-save:hover {
    background-color: #4a1fb8;
}

.security-options {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.security-options h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
}

.option-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.option-item p {
    font-size: 14px;
    color: var(--text-light);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .slider {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(24px);
}

.btn-enable {
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enable:hover {
    background-color: #4a1fb8;
}

.notification-options,
.privacy-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-methods-list {
    margin-bottom: 32px;
}

.payment-methods-list h3,
.billing-history h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.payment-method-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
}

.payment-method-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-method-info i {
    font-size: 24px;
    color: var(--primary-color);
}

.payment-method-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.payment-method-info p {
    font-size: 14px;
    color: var(--text-light);
}

.btn-remove {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background-color: #f3f4f6;
    border-color: #dc2626;
    color: #dc2626;
}

.btn-add-payment {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    border: 2px dashed var(--border-color);
    color: var(--text-dark);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-payment:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.billing-history {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.billing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
}

.billing-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.billing-item p {
    font-size: 14px;
    color: var(--text-light);
}

.billing-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-download-invoice {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-download-invoice:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Notifications Page Styles */
.notifications-page {
    padding: 32px 0 80px;
    background-color: var(--bg-light);
}

.notifications-header {
    margin-bottom: 32px;
}

.notifications-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.notification-filters {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notification-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.notification-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.notification-item.unread {
    border-left: 4px solid var(--primary-color);
}

.notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.notification-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

.notification-time {
    font-size: 12px;
    color: var(--text-light);
}

.mark-read-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
    align-self: flex-start;
}

.mark-read-btn:hover {
    color: var(--primary-color);
}

.notification-badge {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-left: 4px;
}

/* Help Page Styles */
.help-page {
    padding: 32px 0 80px;
    background-color: var(--bg-light);
}

.help-header {
    text-align: center;
    margin-bottom: 48px;
}

.help-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.help-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.help-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.help-search input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.help-category-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.help-category-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.help-category-card .category-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 28px;
}

.help-category-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.help-category-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.category-link:hover {
    gap: 12px;
}

.faq-section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 48px;
    margin-bottom: 48px;
}

.faq-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
}

.contact-support {
    text-align: center;
    background-color: var(--white);
    border-radius: 8px;
    padding: 48px;
}

.contact-support h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-support p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.support-options {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.support-btn {
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.support-btn:hover {
    background-color: #4a1fb8;
    transform: translateY(-2px);
}

/* About Page Styles */
.about-page {
    padding: 32px 0 80px;
    background-color: var(--white);
}

.about-hero {
    text-align: center;
    margin-bottom: 64px;
    padding: 64px 0;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
    line-height: 1.2;
}

.about-hero p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 64px;
    padding: 60px 0;
}

.stat-box {
    text-align: center;
    padding: 40px 32px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-light-color), var(--primary-dark-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--primary-light-color);
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 12px var(--primary-light-rgba-4);
    transition: all 0.3s ease;
}

.stat-box:hover .achievement-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px var(--primary-light-rgba-3);
}

.achievement-icon i {
    color: white;
    font-size: 36px;
}

.achievement-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-light-color);
    line-height: 1.2;
    transition: all 0.3s ease;
}

.stat-box:hover .achievement-number {
    color: var(--primary-dark-color);
    transform: scale(1.05);
}

.achievement-name {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.about-content {
    margin: 0 auto;
}

.about-section {
    margin-bottom: 64px;
}

.about-section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Order classes for responsive layout */
.order-1 {
    order: 1 !important;
}

.order-2 {
    order: 2 !important;
}

/* Medium screens and up (1024px+) */
@media (min-width: 1024px) {
    .order-md-1 {
        order: 1 !important;
    }
    
    .order-md-2 {
        order: 2 !important;
    }
}

.about-section-text {
    flex: 1;
}

.about-section-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.about-section-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-section-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    height: 400px;
}

.about-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.about-section-image:hover img {
    transform: scale(1.05);
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}

.feature-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* Contact Page Styles */
.contact-page {
    padding: 32px 0 80px;
    background-color: var(--bg-light);
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-header p {
    font-size: 18px;
    color: var(--text-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-method {
    background-color: var(--white);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 16px;
}

.contact-method h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-method p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #4a1fb8;
}

.contact-form-section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-form-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.contact-form select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(86, 36, 208, 0.1);
}

.btn-submit {
    padding: 14px 32px;
    background-color: var(--primary-light-color);
    color: var(--white);
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(86, 36, 208, 0.2);
}

.btn-submit:hover {
    background-color: var(--white);
    color: var(--primary-light-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 36, 208, 0.3);
    border: 2px solid var(--primary-light-color);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(86, 36, 208, 0.2);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Certificate Page Styles */
.certificate-page {
    padding: 32px 0 80px;
    background-color: var(--bg-light);
}

.certificate-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    border: 8px solid #d4af37;
    border-radius: 16px;
    padding: 64px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    text-align: center;
}

.certificate-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1c1d1f;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.certificate-header p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.student-name {
    font-size: 48px;
    font-weight: 700;
    margin: 32px 0;
    color: var(--text-dark);
}

.certificate-text {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.course-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

.instructor-name {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 48px;
}

.certificate-details {
    display: flex;
    justify-content: space-around;
    margin: 48px 0;
    padding: 32px 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.detail-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.certificate-signatures {
    display: flex;
    justify-content: space-around;
    margin: 48px 0;
}

.signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.signature-line {
    width: 200px;
    height: 2px;
    background-color: var(--text-dark);
    margin-bottom: 8px;
}

.signature p {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.signature-title {
    font-size: 14px;
    color: var(--text-light);
    font-weight: normal;
}

.certificate-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
}

.btn-download-certificate,
.btn-share-certificate,
.btn-verify-certificate {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-download-certificate:hover,
.btn-share-certificate:hover,
.btn-verify-certificate:hover {
    background-color: #4a1fb8;
}

.certificate-note {
    margin-top: 32px;
    padding: 16px;
    background-color: var(--bg-light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Teaching Page Styles */
.teaching-page {
    padding: 32px 0 80px;
    background-color: var(--white);
}

.teaching-hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    margin-bottom: 64px;
}

.teaching-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.teaching-hero p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.btn-get-started {
    padding: 16px 32px;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-get-started:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.teaching-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 80px;
}

.stat-item {
    text-align: center;
}

.stat-item h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 600;
}

.teaching-benefits {
    margin-bottom: 80px;
}

.teaching-benefits h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.benefit-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.benefit-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.benefit-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.how-it-works {
    margin-bottom: 80px;
}

.how-it-works h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-item p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.instructor-application {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 48px;
    text-align: center;
}

.instructor-application h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.instructor-application > p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.application-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.btn-submit-application {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-application:hover {
    background-color: #4a1fb8;
}

/* Legal Pages Styles */
.legal-page {
    padding: 32px 0 80px;
    background-color: var(--white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.last-updated {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
    }
    
    .course-player-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .course-content-sidebar {
        border-left: none;
        border-top: 1px solid var(--border-color);
        max-height: 400px;
    }
    
    .settings-wrapper {
        grid-template-columns: 1fr;
    }
    
    .settings-sidebar {
        position: static;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-hero {
        padding: 48px 0;
        margin-bottom: 48px;
    }
    
    .about-hero h1 {
        font-size: 36px;
    }
    
    .about-hero p {
        font-size: 18px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 48px;
        padding: 40px 0;
    }
    
    .stat-box {
        padding: 32px 24px;
    }
    
    .achievement-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .achievement-icon i {
        font-size: 32px;
    }
    
    .achievement-number {
        font-size: 36px;
    }
    
    .achievement-name {
        font-size: 14px;
    }
    
    .about-section {
        margin-bottom: 48px;
    }
    
    .about-section-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Order classes work in single column layout on mobile */
    .order-1 {
        order: 1 !important;
    }
    
    .order-2 {
        order: 2 !important;
    }
    
    .about-section-image {
        height: 350px;
    }
    
    .about-section-text h2 {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .teaching-stats {
        flex-direction: column;
        gap: 32px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .certificate-details,
    .certificate-signatures {
        flex-direction: column;
        gap: 24px;
    }
    
    .certificate-actions {
        flex-direction: column;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Nav links styles moved to main responsive section below */
    
    .btn-login,
    .btn-signup {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-section .hero-title {
        font-size: 48px;
    }
    
    .hero-description {
        font-size: 20px;
        margin-bottom: 32px;
    }
    
    .hero-section .hero-description {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    .hero-bg-image,
    .hero-bg-video {
        background-attachment: scroll;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .hero-badge {
        font-size: 13px;
        padding: 6px 16px;
        margin-bottom: 20px;
    }
    
    .hero-buttons .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        display: block;
    }
    
    .hero-slideshow {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        display: block;
    }
    
    .hero-slide {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        padding: 0;
        margin: 0;
        display: flex;
    }
    
    .hero-slide .container {
        padding: 0 24px;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-wrapper {
        max-width: 700px;
        padding: 0;
        margin: 0 auto;
        width: 100%;
        height: 100%;
    }
    
    .slideshow-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .slideshow-prev {
        left: 12px;
    }
    
    .slideshow-next {
        right: 12px;
    }
    
    .slideshow-dots {
        bottom: 20px;
    }
    
    .essential-skills-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .essential-skills-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-career-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .search-bar {
        display: none;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: calc(100% + 1px);
        left: -24px;
        right: -24px;
        background: var(--white);
        padding: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 1001;
        border-top: 1px solid var(--border-color);
        margin-top: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        list-style: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }
    
    .nav-links.active > * {
        display: block !important;
        width: 100% !important;
        flex: none !important;
    }

    .nav-links .nav-link {
        width: 100% !important;
        padding: 14px 24px;
        border-bottom: 1px solid var(--border-color);
        display: block !important;
        text-align: left;
        box-sizing: border-box;
        line-height: 1.5;
        margin: 0 !important;
        font-size: 15px;
        color: var(--text-dark);
        text-decoration: none;
        flex: none !important;
        align-self: stretch !important;
    }

    .nav-links .nav-link:hover {
        background-color: var(--hover-bg);
        color: var(--primary-light-color);
    }
    
    .nav-links .nav-link.active {
        color: var(--primary-light-color);
        font-weight: 600;
        background-color: var(--primary-light-rgba-1);
    }

    .nav-links .nav-link:last-child {
        border-bottom: none;
    }
    
    /* RTL override for nav links in responsive menu */
    html[dir="rtl"] .nav-links .nav-link {
        text-align: right !important;
    }
    
    .nav-links > * {
        display: block !important;
        width: 100% !important;
        flex: none !important;
        align-self: stretch !important;
    }
    
    .nav-links .mobile-search-wrapper {
        display: block !important;
        width: 100% !important;
        flex: none !important;
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links .btn-group.language-dropdown {
        display: block !important;
        width: 100% !important;
        flex: none !important;
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links .btn-group.language-dropdown .btn-language {
        width: 100%;
        justify-content: space-between;
        padding: 14px 24px;
        border: none;
        border-bottom: 1px solid var(--border-color);
        background: var(--white);
        border-radius: 0;
        text-align: left;
        box-sizing: border-box;
    }
    
    .nav-links .btn-group.language-dropdown.active .btn-language {
        background-color: var(--hover-bg);
    }
    
    html[dir="rtl"] .nav-links .btn-group.language-dropdown .btn-language {
        text-align: right !important;
    }

    .nav-links .btn-group.language-dropdown .dropdown-menu {
        position: relative !important;
        width: 100%;
        margin-top: 0 !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        box-shadow: none;
        border: 1px solid var(--border-color);
        border-top: none;
        border-radius: 0;
        transform: none !important;
        display: none;
        opacity: 1;
        visibility: visible;
    }
    
    /* Show dropdown on click for mobile */
    .nav-links .btn-group.language-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-links .mobile-search-wrapper {
        padding: 16px 24px;
        background: var(--bg-light);
    }

    .nav-links .mobile-search {
        position: relative;
        display: flex !important;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        background: var(--white);
        border-radius: 12px;
        border: 2px solid var(--border-color);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .nav-links .mobile-search:focus-within {
        border-color: var(--primary-light-color);
        box-shadow: 0 0 0 4px var(--primary-light-rgba-1);
        transform: translateY(-2px);
    }
    
    .nav-links .mobile-search .search-icon-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        color: var(--text-light);
        transition: all 0.3s ease;
        flex-shrink: 0;
    }
    
    .nav-links .mobile-search:focus-within .search-icon-wrapper {
        color: var(--primary-light-color);
        transform: scale(1.1);
    }
    
    .nav-links .mobile-search .search-clear-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: none;
        background: transparent;
        color: var(--text-light);
        cursor: pointer;
        border-radius: 50%;
        transition: all 0.3s ease;
        flex-shrink: 0;
        margin-right: 8px;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-links .mobile-search .search-clear-btn:hover {
        background: var(--hover-bg);
        color: var(--text-dark);
        transform: scale(1.1);
    }
    
    .nav-links .mobile-search .search-clear-btn.show {
        opacity: 1;
        visibility: visible;
    }

    .nav-links .mobile-search-input {
        width: 100%;
        padding: 12px 10px 12px 0;
        font-size: 15px;
        border-radius: 0;
    }
    
    .nav-links .search-icon-wrapper {
        width: 44px;
        height: 44px;
    }
    
    .nav-links .search-clear-btn {
        width: 32px;
        height: 32px;
        margin-right: 6px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .dropdown-menu {
        left: 0;
        right: 0;
        transform: translateY(-10px);
        min-width: auto;
        max-width: 100%;
        width: calc(100vw - 32px);
        margin-left: -16px;
        margin-right: -16px;
    }
    
    .categories-dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }
    
    .dropdown-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 18px;
        margin-bottom: 28px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 16px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        display: block;
    }
    
    .hero-slideshow {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        display: block;
    }
    
    .hero-slide {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        padding: 0;
        margin: 0;
        display: flex;
    }
    
    .hero-slide .container {
        padding: 0 16px;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-wrapper {
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
        width: 100%;
        height: 100%;
    }
    
    .hero-icons {
        gap: 16px;
        margin-top: 32px;
    }
    
    .hero-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .slideshow-nav {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .slideshow-prev {
        left: 8px;
    }
    
    .slideshow-next {
        right: 8px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-content-wrapper {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 60px 0;
    }
    
    .hero-section .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .hero-section .hero-description {
        font-size: 16px;
        margin-bottom: 28px;
    }
    
    .hero-section .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-large {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .hero-bg-image {
        background-attachment: scroll;
    }
    
    .essential-skills-wrapper {
        grid-template-columns: 1fr;
    }
    
    .essential-skills-cards {
        grid-template-columns: 1fr;
    }
    
    .about-hero {
        padding: 32px 0;
        margin-bottom: 32px;
    }
    
    .about-hero h1 {
        font-size: 28px;
    }
    
    .about-hero p {
        font-size: 16px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
        padding: 30px 0;
    }
    
    .stat-box {
        padding: 24px 20px;
    }
    
    .achievement-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .achievement-icon i {
        font-size: 28px;
    }
    
    .achievement-number {
        font-size: 32px;
    }
    
    .achievement-name {
        font-size: 14px;
    }
    
    .about-section {
        margin-bottom: 32px;
    }
    
    .about-section-content {
        gap: 20px;
    }
    
    /* Order classes work in single column layout on small mobile */
    .order-1 {
        order: 1 !important;
    }
    
    .order-2 {
        order: 2 !important;
    }
    
    .about-section-image {
        height: 250px;
    }
    
    .about-section-text h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .about-section-text p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .features-grid {
        gap: 16px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .essential-skills-text h2 {
        font-size: 32px;
    }
    
    .transform-header h2 {
        font-size: 32px;
    }
    
    /* Responsive Categories Wrapper */
    .categories-wrapper {
        gap: 10px;
        padding: 16px 0 24px;
        margin: 0 -16px 32px;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .category-card {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .category-tabs-wrapper {
        gap: 8px;
    }
    
    .scroll-btn {
        width: 36px;
        height: 36px;
    }
    
    .scroll-btn i {
        font-size: 12px;
    }
    
    .category-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
    }
    
    .tab-btn {
        white-space: nowrap;
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .ai-career-wrapper {
        grid-template-columns: 1fr;
    }
    
    .ai-career-content h2 {
        font-size: 32px;
    }
    
    .ai-features {
        grid-template-columns: 1fr;
    }
    
    .business-plans-header h2 {
        font-size: 32px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .category-link-wrapper {
        padding: 24px 20px;
        gap: 16px;
    }
    
    .category-icon {
        width: 80px;
        height: 80px;
    }
    
    .category-title {
        font-size: 16px;
    }
    
    .course-grid,
    .tab-courses {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .course-thumbnail {
        height: 180px;
    }
    
    .course-body {
        padding: 16px;
    }
    
    .course-name {
        font-size: 18px;
        min-height: 46px;
    }
    
    .price-main {
        font-size: 22px;
    }
    
    .course-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .course-action-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
    }
    
    .price-wrapper {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }
    
    .course-image-wrapper {
        height: 160px;
    }
    
    .course-content {
        padding: 16px;
        gap: 12px;
    }
    
    .course-title {
        font-size: 16px;
        min-height: 44px;
    }
    
    .course-content .price-current {
        font-size: 22px;
    }
    
    .course-content .course-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .categories-wrapper {
        gap: 8px;
        padding: 12px 0 20px;
        margin: 0 -12px 24px;
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .category-card {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Footer Responsive */
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    html[dir="rtl"] .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-column-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    
    .footer-column-newsletter {
        grid-column: 1 / -1;
    }
    
    .footer-description {
        font-size: 14px;
    }
    
    .footer-title {
        font-size: 17px;
    }
    
    .newsletter-btn-text {
        display: none;
    }
    
    .newsletter-btn {
        padding: 12px 16px;
    }
    
    .copyright-text {
        font-size: 13px;
        gap: 6px;
    }
    
    .copyright-separator {
        display: none;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
    
    html[dir="rtl"] .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-column-brand {
        grid-column: 1 / -1;
    }
    
    .footer-column-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .course-details-section {
        padding: 40px 0;
    }
    
    .course-details-wrapper {
        gap: 32px;
    }
    
    .course-details-title {
        font-size: 28px;
    }
    
    .course-description {
        font-size: 15px;
    }
    
    .price-current {
        font-size: 28px;
    }
    
    .price-original {
        font-size: 18px;
    }
    
    .course-discount-badge-large {
        top: 12px;
        right: 12px;
        padding: 10px 16px;
    }
    
    .course-discount-badge-large .discount-percent {
        font-size: 24px;
    }
    
    .course-discount-badge-large .discount-text {
        font-size: 11px;
    }
    
    .course-pricing-section {
        padding: 20px;
    }
    
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    html[dir="rtl"] .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        text-align: center;
    }
    
    html[dir="rtl"] .footer-column {
        text-align: center;
    }
    
    .footer-column-brand {
        grid-column: 1;
        max-width: 100%;
    }
    
    .footer-logo-wrapper {
        margin-bottom: 24px;
        padding-bottom: 24px;
        text-align: center;
    }
    
    .footer-logo-wrapper::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }
    
    html[dir="rtl"] .footer-logo-wrapper::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .footer-logo-link {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    html[dir="rtl"] .footer-logo-link {
        margin: 0 auto;
    }
    
    .footer-logo-img {
        max-width: 160px;
    }
    
    .footer-description {
        text-align: center;
        font-size: 14px;
        max-width: 100%;
    }
    
    html[dir="rtl"] .footer-description {
        text-align: center;
    }
    
    .footer-column-newsletter {
        grid-column: 1;
    }
    
    .footer-title {
        font-size: 17px;
        margin-bottom: 16px;
        justify-content: center;
    }
    
    html[dir="rtl"] .footer-title {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    html[dir="rtl"] .footer-title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .footer-links {
        align-items: center;
    }
    
    html[dir="rtl"] .footer-links {
        align-items: center;
    }
    
    .footer-link {
        justify-content: center;
    }
    
    html[dir="rtl"] .footer-link {
        justify-content: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    html[dir="rtl"] .footer-contact {
        align-items: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    html[dir="rtl"] .footer-contact-item {
        justify-content: center;
    }
    
    .footer-social {
        text-align: center;
    }
    
    html[dir="rtl"] .footer-social {
        text-align: center;
    }
    
    .social-title {
        text-align: center;
    }
    
    html[dir="rtl"] .social-title {
        text-align: center;
    }
    
    .social-icons {
        gap: 8px;
        justify-content: center;
    }
    
    html[dir="rtl"] .social-icons {
        justify-content: center;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .newsletter-text {
        text-align: center;
    }
    
    html[dir="rtl"] .newsletter-text {
        text-align: center;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 0;
        padding: 0;
        background: transparent;
        border: none;
    }
    
    html[dir="rtl"] .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
    
    html[dir="rtl"] .newsletter-input {
        text-align: center;
    }
    
    .newsletter-input-group:focus-within {
        box-shadow: none;
    }
    
    .newsletter-input-group:focus-within .newsletter-input {
        border-color: var(--primary-light-color);
        box-shadow: 0 0 0 3px var(--primary-light-rgba-1);
    }
    
    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
    
    html[dir="rtl"] .newsletter-btn {
        flex-direction: row;
    }
    
    .newsletter-btn-text {
        display: inline;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .copyright-text {
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
        text-align: center;
    }
    
    html[dir="rtl"] .copyright-text {
        text-align: center;
    }
    
    .copyright-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        gap: 28px;
    }
    
    .footer-logo-img {
        max-width: 140px;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .footer-link,
    .footer-contact-link,
    .footer-contact-text {
        font-size: 14px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .newsletter-input {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .newsletter-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .copyright-text {
        font-size: 11px;
    }
    
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        padding: 0;
        display: block;
    }
    
    .hero-slideshow {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        display: block;
    }
    
    .hero-slide {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        padding: 0;
        margin: 0;
        display: flex;
    }
    
    .hero-slide .container {
        padding: 0 12px;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-wrapper {
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
        width: 100%;
        height: 100%;
    }
    
    .hero-icons {
        gap: 12px;
        margin-top: 24px;
    }
    
    .hero-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .slideshow-nav {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    
    .slideshow-prev {
        left: 8px;
    }
    
    .slideshow-next {
        right: 8px;
    }
    
    .slideshow-dots {
        bottom: 16px;
        gap: 8px;
    }
    
    .slideshow-dot {
        width: 8px;
        height: 8px;
    }
    
    .slideshow-dot.active {
        width: 24px;
    }
    
    .categories,
    .courses {
        padding: 48px 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-wrapper {
        gap: 24px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
}

/* RTL (Right-to-Left) Support */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

/* RTL styles for responsive menu */
@media (max-width: 1024px) {
    html[dir="rtl"] .nav-links {
        flex-direction: column !important;
        text-align: right;
    }
    
    html[dir="rtl"] .nav-links.active {
        flex-direction: column !important;
    }
    
    html[dir="rtl"] .nav-links .nav-link {
        text-align: right !important;
        padding-right: 24px !important;
        padding-left: 24px !important;
    }
    
    html[dir="rtl"] .nav-links .btn-language {
        text-align: right !important;
        padding-right: 24px !important;
        padding-left: 24px !important;
    }
    
    html[dir="rtl"] .nav-links .mobile-search-wrapper {
        direction: rtl !important;
    }
    
    html[dir="rtl"] .nav-links .mobile-search {
        direction: rtl !important;
    }
    
    html[dir="rtl"] .nav-links .mobile-search-input {
        text-align: right !important;
        padding-right: 0 !important;
        padding-left: 10px !important;
    }
    
    html[dir="rtl"] .nav-links .search-icon-wrapper {
        order: 2;
    }
    
    html[dir="rtl"] .nav-links .search-clear-btn {
        order: 0;
        margin-right: 0;
        margin-left: 6px;
    }
    
    html[dir="rtl"] .nav-links .btn-group.language-dropdown .dropdown-menu {
        text-align: right !important;
    }
    
    .nav-links .btn-group.language-dropdown .dropdown-item .lang-item-content {
        padding: 14px 24px;
    }
    
    .nav-links .btn-group.language-dropdown .dropdown-item .lang-check {
        padding: 14px 24px 14px 8px;
    }
    
    html[dir="rtl"] .nav-links .btn-group.language-dropdown .dropdown-item {
        flex-direction: row-reverse !important;
    }
    
    html[dir="rtl"] .nav-links .btn-group.language-dropdown .dropdown-item .lang-item-content {
        flex-direction: row-reverse !important;
    }
    
    html[dir="rtl"] .nav-links .btn-group.language-dropdown .dropdown-item .lang-check {
        padding: 14px 8px 14px 24px;
    }
}

/* RTL Support for Categories Wrapper */
html[dir="rtl"] .categories-wrapper {
    direction: rtl;
}

html[dir="rtl"] .search-bar {
    direction: rtl;
}

html[dir="rtl"] .search-bar input {
    text-align: right;
    padding-right: 48px;
    padding-left: 16px;
}

html[dir="rtl"] .search-bar button {
    right: auto;
    left: 8px;
}

html[dir="rtl"] .categories-dropdown .dropdown-menu {
    left: auto;
    right: 50%;
    transform: translateX(50%) translateY(-10px);
}

html[dir="rtl"] .categories-dropdown:hover .dropdown-menu {
    transform: translateX(50%) translateY(0);
}

html[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
}

/* RTL styles for video elements */
html[dir="rtl"] .video-controls {
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .video-actions {
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .video-info {
    text-align: right !important;
}

html[dir="rtl"] .video-placeholder {
    text-align: center;
}

html[dir="rtl"] .progress-bar-container {
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .time-display {
    text-align: right !important;
}

html[dir="rtl"] .control-btn {
    order: 0;
}

/* RTL styles for responsive video */
@media (max-width: 1024px) {
    html[dir="rtl"] .video-controls {
        flex-direction: row-reverse !important;
        padding: 12px;
    }
    
    html[dir="rtl"] .video-actions {
        flex-direction: row-reverse !important;
        justify-content: flex-start !important;
    }
    
    html[dir="rtl"] .video-info {
        text-align: right !important;
        padding: 16px;
    }
    
    html[dir="rtl"] .video-info h3 {
        text-align: right !important;
    }
    
    html[dir="rtl"] .video-section {
        direction: rtl;
    }
}

html[dir="rtl"] .user-dropdown-menu {
    right: auto;
    left: 0;
}

html[dir="rtl"] .category-tabs-wrapper {
    flex-direction: row-reverse;
}

html[dir="rtl"] .course-card,
html[dir="rtl"] .course-card-modern,
html[dir="rtl"] .category-card,
html[dir="rtl"] .skill-card {
    text-align: right;
}


html[dir="rtl"] .course-discount-badge {
    right: auto;
    left: 12px;
}

html[dir="rtl"] .course-action-btn i {
    transform: rotate(180deg);
}

html[dir="rtl"] .course-action-btn:hover i {
    transform: rotate(180deg) translateX(-4px);
}

html[dir="rtl"] .course-card-info,
html[dir="rtl"] .course-card-footer {
    text-align: right;
}

/* RTL Course Details Section */
html[dir="rtl"] .course-details-wrapper {
    direction: rtl;
}

html[dir="rtl"] .course-details-title {
    text-align: right;
}

html[dir="rtl"] .course-description {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .course-category-badge {
    direction: rtl;
}

html[dir="rtl"] .price-display {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

html[dir="rtl"] .price-savings {
    direction: rtl;
}

html[dir="rtl"] .course-discount-badge-large {
    right: auto;
    left: 20px;
}

@media (max-width: 768px) {
    html[dir="rtl"] .course-discount-badge-large {
        left: 12px;
        right: auto;
    }
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.pagination-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light-color), var(--primary-dark-color), var(--primary-light-color));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.pagination .page-item {
    margin: 0;
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
    border: 2px solid var(--primary-light-rgba-1);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pagination .page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-light-color), var(--primary-dark-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.pagination .page-link span,
.pagination .page-link i {
    position: relative;
    z-index: 1;
}

.pagination .page-link:hover {
    color: var(--primary-light-color);
    border-color: var(--primary-light-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-light-rgba-2);
}

.pagination .page-link:hover::before {
    opacity: 1;
}

.pagination .page-item.active .page-link {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-light-color), var(--primary-dark-color));
    border-color: var(--primary-light-color);
    box-shadow: 0 4px 12px var(--primary-light-rgba-2);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link::before {
    opacity: 0;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

.pagination .page-link i {
    font-size: 12px;
}

/* Laravel Pagination Specific Elements */
/* Ellipsis for skipped pages (Laravel uses span without href) */
.pagination .page-item .page-link:not([href]),
.pagination .page-item span:not(.page-link) {
    background: transparent !important;
    border: none !important;
    color: var(--text-light);
    cursor: default;
    pointer-events: none;
    padding: 0 8px;
    min-width: auto;
    height: auto;
}

.pagination .page-item .page-link:not([href]):hover,
.pagination .page-item span:not(.page-link):hover {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-light);
}

.pagination .page-item .page-link:not([href])::before,
.pagination .page-item span:not(.page-link)::before {
    display: none;
}

/* Previous/Next buttons styling */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    font-weight: 700;
}

/* Active page with aria-current */
.pagination .page-item.active .page-link[aria-current="page"] {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-light-color), var(--primary-dark-color));
    border-color: var(--primary-light-color);
    box-shadow: 0 4px 12px var(--primary-light-rgba-2);
    transform: translateY(-2px);
}

/* Focus states for accessibility */
.pagination .page-link:focus {
    outline: 2px solid var(--primary-light-color);
    outline-offset: 2px;
    z-index: 2;
}

.pagination .page-link:focus-visible {
    outline: 2px solid var(--primary-light-color);
    outline-offset: 2px;
    z-index: 2;
}

/* RTL Support for Pagination */
html[dir="rtl"] .pagination-wrapper {
    direction: rtl;
}

html[dir="rtl"] .pagination {
    direction: rtl;
}

html[dir="rtl"] .pagination .page-link i {
    transform: rotate(180deg);
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination-wrapper {
        margin-top: 40px;
        padding: 30px 16px;
        border-radius: 12px;
    }
    
    .pagination {
        gap: 6px;
    }
    
    .pagination .page-link {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }
    
    .pagination .page-link i {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        padding: 24px 12px;
        border-radius: 10px;
    }
    
    .pagination {
        gap: 4px;
    }
    
    .pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }
    
    /* Hide page numbers on very small screens, show only prev/next */
    .pagination .page-item:not(.disabled):not(.active) .page-link:not([aria-label]) {
        display: none;
    }
}

/* RTL Footer Styles */
html[dir="rtl"] .modern-footer {
    direction: rtl;
}

html[dir="rtl"] .footer-main {
    direction: rtl;
}

html[dir="rtl"] .footer-grid {
    direction: rtl;
}

@media (min-width: 1200px) {
    html[dir="rtl"] .footer-grid {
        grid-template-columns: 1.5fr 1.2fr 1fr 2fr;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    html[dir="rtl"] .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 2fr;
    }
}

html[dir="rtl"] .footer-column {
    text-align: right !important;
    direction: rtl;
}

html[dir="rtl"] .footer-logo-wrapper {
    text-align: right !important;
}

html[dir="rtl"] .footer-logo-wrapper::after {
    left: auto !important;
    right: 0 !important;
    background: linear-gradient(270deg, var(--primary-light-color), transparent) !important;
}

html[dir="rtl"] .footer-logo-link {
    direction: ltr;
    margin-right: 0;
    margin-left: auto;
    display: inline-block;
}

html[dir="rtl"] .footer-description {
    text-align: right !important;
    direction: rtl;
}

html[dir="rtl"] .footer-title {
    justify-content: flex-start;
    text-align: right !important;
}

html[dir="rtl"] .footer-title::after {
    left: auto !important;
    right: 0 !important;
    background: linear-gradient(270deg, var(--primary-light-color), transparent) !important;
}

html[dir="rtl"] .footer-title-icon {
    order: 0 !important;
    margin-left: 0;
    margin-right: 0;
}

html[dir="rtl"] .footer-links {
    align-items: flex-start !important;
    text-align: right !important;
}

html[dir="rtl"] .footer-link {
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: right !important;
    gap: 10px;
}

html[dir="rtl"] .footer-link::before {
    left: -12px !important;
    right: auto !important;
}

html[dir="rtl"] .footer-link:hover {
    padding-left: 8px !important;
    padding-right: 0 !important;
    transform: translateX(4px) !important;
}

html[dir="rtl"] .footer-link:hover::before {
    left: -8px !important;
    right: auto !important;
}

html[dir="rtl"] .footer-link-icon {
    transform: rotate(180deg);
    order: 0 !important;
}

html[dir="rtl"] .footer-link:hover .footer-link-icon {
    transform: translateX(-2px) !important;
}

html[dir="rtl"] .footer-link span {
    order: 1 !important;
    text-align: right !important;
}

html[dir="rtl"] .footer-link span {
    text-align: right !important;
}

html[dir="rtl"] .footer-contact {
    align-items: flex-start !important;
    text-align: right !important;
}

html[dir="rtl"] .footer-contact-item {
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 14px;
}

html[dir="rtl"] .footer-contact-icon-wrapper {
    order: 0 !important;
    flex-shrink: 0;
}

html[dir="rtl"] .footer-contact-link,
html[dir="rtl"] .footer-contact-text {
    text-align: right !important;
    direction: rtl;
}

html[dir="rtl"] .footer-social {
    text-align: right !important;
}

html[dir="rtl"] .social-title {
    text-align: right !important;
}

html[dir="rtl"] .social-icons {
    justify-content: flex-start !important;
    flex-direction: row !important;
}

html[dir="rtl"] .newsletter-text {
    text-align: right !important;
    direction: rtl;
}

html[dir="rtl"] .newsletter-input-group {
    flex-direction: row !important;
}

html[dir="rtl"] .newsletter-input {
    text-align: right !important;
    direction: rtl !important;
    order: 1 !important;
}

html[dir="rtl"] .newsletter-btn {
    flex-direction: row !important;
    order: 2 !important;
}

html[dir="rtl"] .newsletter-btn i {
    order: 0 !important;
    margin-left: 0;
    margin-right: 8px;
}

html[dir="rtl"] .newsletter-btn-text {
    order: 1 !important;
}

html[dir="rtl"] .footer-bottom {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-bottom-content {
    direction: rtl;
}

html[dir="rtl"] .copyright-text {
    direction: rtl;
    text-align: center;
}

@media (max-width: 768px) {
    html[dir="rtl"] .footer-logo-wrapper {
        text-align: center;
    }
    
    html[dir="rtl"] .footer-logo-wrapper::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        background: linear-gradient(90deg, var(--primary-light-color), transparent);
    }
    
    html[dir="rtl"] .footer-logo-link {
        margin: 0 auto;
    }
    
    html[dir="rtl"] .footer-column {
        text-align: right;
    }
    
    html[dir="rtl"] .footer-links {
        align-items: flex-start;
    }
    
    html[dir="rtl"] .footer-contact {
        align-items: flex-start;
    }
    
    html[dir="rtl"] .social-icons {
        justify-content: flex-start;
    }
    
    html[dir="rtl"] .newsletter-input-group {
        flex-direction: column;
    }
    
    html[dir="rtl"] .newsletter-input {
        order: 1;
    }
    
    html[dir="rtl"] .newsletter-btn {
        flex-direction: row;
        order: 2;
    }
    
    html[dir="rtl"] .newsletter-btn i {
        order: 0;
        margin-right: 8px;
    }
}

html[dir="rtl"] .btn-primary,
html[dir="rtl"] .btn-secondary {
    direction: rtl;
}

html[dir="rtl"] .dropdown-column ul li a:hover {
    padding-left: 0;
    padding-right: 8px;
}

html[dir="rtl"] .scroll-btn-left {
    order: 2;
}

html[dir="rtl"] .scroll-btn-right {
    order: 0;
}

html[dir="rtl"] .category-tabs {
    direction: rtl;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .hero-buttons {
    justify-content: center;
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-section .hero-content {
    text-align: center;
}

html[dir="rtl"] .hero-section .hero-buttons {
    flex-direction: row-reverse;
}

html[dir="rtl"] .section-header {
    text-align: right;
}

html[dir="rtl"] .section-title {
    text-align: right;
}

html[dir="rtl"] .auth-container {
    direction: rtl;
}

html[dir="rtl"] .form-group label {
    text-align: right;
}

html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group textarea,
html[dir="rtl"] .form-group select {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .settings-nav {
    border-right: none;
    border-left: 1px solid var(--border-color);
}

html[dir="rtl"] .settings-content {
    padding-right: 0;
    padding-left: 32px;
}

html[dir="rtl"] .notification-item {
    text-align: right;
}

html[dir="rtl"] .notification-time {
    text-align: left;
}

html[dir="rtl"] .course-sidebar {
    text-align: right;
}

html[dir="rtl"] .course-main {
    direction: rtl;
}

html[dir="rtl"] .cart-item {
    flex-direction: row-reverse;
}

html[dir="rtl"] .cart-item-info {
    text-align: right;
}

html[dir="rtl"] .cart-summary {
    text-align: right;
}

html[dir="rtl"] .checkout-form {
    direction: rtl;
}

html[dir="rtl"] .checkout-form label {
    text-align: right;
}

html[dir="rtl"] .checkout-form input,
html[dir="rtl"] .checkout-form select {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .instructor-info {
    text-align: right;
}

html[dir="rtl"] .search-filters {
    text-align: right;
}

html[dir="rtl"] .search-results {
    direction: rtl;
}

html[dir="rtl"] .help-categories {
    text-align: right;
}

html[dir="rtl"] .faq-item {
    text-align: right;
}

html[dir="rtl"] .contact-form {
    direction: rtl;
}

html[dir="rtl"] .contact-form label {
    text-align: right;
}

html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form textarea {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .header {
    direction: ltr;
}

html[dir="rtl"] .lang-item {
    flex-direction: row-reverse;
}

/* Contact Page Styles */
/* Page Hero Styles */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-light-color);
    opacity: 0.7;
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero .page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-hero .page-subtitle {
    font-size: 20px;
    opacity: 0.95;
    color: white;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--primary-light-color);
}

.contact-info-card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px var(--primary-light-rgba-4);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-card-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--primary-light-rgba-3);
}

.contact-info-card-icon i {
    color: white;
    font-size: 28px;
}

.contact-info-card-content {
    flex: 1;
    width: 100%;
}

.contact-info-card-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-info-card-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.contact-info-card-content a {
    color: var(--primary-light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card-content a:hover {
    color: var(--primary-dark-color);
    text-decoration: underline;
}

.map-section .section-header {
    margin-bottom: 48px;
}

.map-section .section-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light-color);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.map-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.map-section .section-description {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.map-container {
    transition: box-shadow 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

/* Modal Styles */
#welcomeModal .modal-content {
    max-width: 500px;
    margin: 0 auto;
}

#welcomeModal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

#welcomeModal .modal-content .btn-primary:hover {
    background: var(--primary-dark-color) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(86, 36, 208, 0.3);
}

#welcomeModal .btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    opacity: 0.6;
    cursor: pointer;
    padding: 0.5rem;
}

#welcomeModal .btn-close:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-link {
        height: 45px;
    }
    
    .logo-img {
        height: 37px;
        max-width: 180px;
    }
    
    .logo-wrapper {
        padding: 3px 6px;
    }
    
    .page-hero {
        min-height: 300px;
        padding: 60px 0;
    }
    
    .page-hero .page-title {
        font-size: 36px;
    }
    
    .page-hero .page-subtitle {
        font-size: 18px;
    }
    
    .map-section {
        padding: 60px 0 !important;
    }
    
    .map-section .section-title {
        font-size: 28px;
    }
    
    .map-container {
        height: 400px !important;
    }
    
    .contact-info-card {
        margin-bottom: 24px;
    }
    
    .contact-info-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-info-card-icon i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .logo-link {
        height: 40px;
    }
    
    .logo-img {
        height: 32px;
        max-width: 140px;
    }
    
    .logo-wrapper {
        padding: 2px 4px;
    }
    
    .page-hero {
        min-height: 250px;
        padding: 40px 0;
    }
    
    .page-hero .page-title {
        font-size: 28px;
    }
    
    .page-hero .page-subtitle {
        font-size: 16px;
    }
    
    .map-section .section-title {
        font-size: 24px;
    }
    
    .map-section .section-description {
        font-size: 14px;
    }
    
    .contact-info-card {
        padding: 24px;
    }
    
    .contact-info-card-content h4 {
        font-size: 16px;
    }
    
    .contact-info-card-content p {
        font-size: 13px;
    }
}