/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap");

:root {
    /* Colors - HSL Format */
    --background: hsl(28, 28%, 94%);
    --background-body: #ece8dd;
    --background-section: #cec8bc;
    --background-hero: #0e0e0e;
    --foreground: hsl(20, 14.3%, 4.1%);
    --primary: hsl(18, 86%, 58%);
    --primary-light: hsl(0, 100%, 99%);
    --text: hsl(28, 13%, 41%);

    --primary-foreground: hsl(0, 0%, 98%);
    --secondary: hsl(28, 28%, 90%);
    --muted: hsl(28, 28%, 88%);
    --muted-foreground: hsl(25, 5.3%, 44.7%);
    --border: hsl(28, 28%, 85%);
    --text-dark: #170f0f;

    /* Gradients */
    --gradient-primary: linear-gradient(
        135deg,
        hsl(18, 86%, 58%),
        hsl(18, 86%, 65%)
    );
    --gradient-hero: linear-gradient(
        180deg,
        rgba(239, 237, 241, 1) 0%,
        rgba(226, 224, 227, 1) 100%
    );

    /* Shadows */
    --shadow-card: 0 4px 6px -1px hsl(18, 86%, 58%, 0.1),
        0 2px 4px -1px hsl(18, 86%, 58%, 0.06);
    --shadow-button: 0 10px 15px -3px hsl(18, 86%, 58%, 0.1),
        0 4px 6px -2px hsl(18, 86%, 58%, 0.05);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fonts */
    --font-montserrat: "Montserrat", sans-serif;
    --font-playfair: "Playfair Display", serif;
    --font-zain: "Noto Kufi Arabic", sans-serif;

    /* Makeup course color palette */
    --course-primary: 15 86% 58%;
    --course-primary-light: 15 86% 65%;
    --course-bg-primary: 42 33% 93%;
    --course-bg-secondary: 0 0% 100%;
    --course-text-dark: 0 0% 20%;
    --course-text-light: 0 0% 50%;
    --course-accent: 15 86% 58%;
}

ol,
ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}
a {
    text-decoration: none;
    color: inherit;
}

img {
    font-size: 0rem;
}

body {
    /* font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
    font-family: var(--font-montserrat);
    background-color: var(--background-body);
    color: var(--foreground);
    line-height: 1.6;
    font-size: clamp(12px, 14px, 16px);
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    section {
        padding: 5rem 0;
    }
}

@media (min-width: 992px) {
    section {
        padding: 7rem 0;
    }
}

/* Header Styles */
.header {
    background-color: var(--background-body);
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 0;
    position: sticky;
    top: -5px;
    z-index: 1000;
}

.nav-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
    /* width: 30%; */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5rem;
    align-items: center;
}

.nav-menu-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0 1rem;
    padding: 0;
    margin: 0;
    width: 100%;
}
.nav-language-currency,
.nav-login-register {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-language-currency li a,
.nav-language-currency li button,
.nav-login-register li a,
.nav-login-register li button {
    font-size: 0.875rem;
}
@media (min-width: 768px) {
    /* .nav-menu {
    width: 70%;
  } */
    .nav-menu-list {
        flex-direction: row;
        gap: 0 0.25rem;
    }
    .nav-language-currency,
    .nav-login-register {
        gap: 0;
    }
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    padding: 0.75rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-weight: 400;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-trigger:hover {
    background-color: #f8f9fa;
    color: var(--primary);
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 0.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.75rem 1rem;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 0.8rem;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
}

.dropdown-item:last-child {
    border-bottom: none;
    margin-bottom: 0rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary);
}

.dropdown-item.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

.register-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* Categories Dropdown Styles */
.categories-dropdown .dropdown-trigger {
    position: relative;
}

.categories-menu {
    min-width: 280px;
    left: 0;
    right: auto;
    padding: 1.25rem;
}

.category-item {
    position: relative;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 0 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    border-radius: 1rem;
}

.category-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.category-icon {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.submenu-item img,
.category-icon img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    display: block;
}

.submenu-arrow {
    margin-left: auto;
    font-size: 10px;
    transition: transform 0.3s ease;
    color: #6c757d;
}
.submenu-arrow img {
    transform: rotate(-90deg);
}

.category-item:hover .submenu-arrow {
    transform: translateX(3px);
}

.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 1.25rem;
}

.category-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-radius: 0.65rem;
}

.submenu-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        height: 65px;
    }

    .nav-menu {
        gap: 25px;
    }

    .nav-right {
        gap: 15px;
    }

    .dropdown-trigger {
        padding: 8px 12px;
        font-size: 15px;
    }

    .register-link {
        font-size: 15px;
    }
} /* Desktop only visibility */
.desktop-only {
    display: flex;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .nav-container {
        height: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 25px 20px;
        transition: left 0.3s ease;
        border-top: 1px solid #e9ecef;
        gap: 25px;
        overflow-y: auto;
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f8f9fa;
        padding-bottom: 10px;
    }

    .nav-link {
        font-size: 18px;
        padding: 15px 0;
        display: block;
        width: 100%;
        min-height: 44px;
    }

    .nav-right {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        width: 100%;
        margin-top: 25px;
        padding: 25px 0 0 0;
        border-top: 2px solid #e9ecef;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border-radius: 12px;
        padding: 20px;
        margin: 20px 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .mobile-menu-toggle {
        display: block;
        padding: 10px;
        min-height: 44px;
        min-width: 44px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #f8f9fa;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        display: none;
    }
    .dropdown.active > .dropdown-menu {
        display: block;
    }
    .categories-menu {
        min-width: 100%;
        left: 0;
        position: static;
        background: #f8f9fa;
        border: none;
        box-shadow: none;
        margin-top: 10px;
        display: none;
    }
    .categories-dropdown.active > .categories-menu {
        display: block;
    }
    .submenu {
        display: none;
    }
    .category-item.active .submenu {
        display: block;
    }

    .category-item {
        border-bottom: 1px solid #e9ecef;
    }

    .category-link {
        padding: 15px 16px;
        font-size: 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .submenu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #e9ecef;
        margin-left: 0;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    .category-item.active .submenu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .category-item:hover .submenu {
        transform: none;
        display: block;
    }

    .submenu-item {
        padding: 12px 24px;
        font-size: 15px;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-left: none;
        border-bottom: 1px solid #dee2e6;
    }

    .submenu-item:hover {
        padding-left: 24px;
        border-left: none;
        background-color: #dee2e6;
    }

    .dropdown-trigger {
        font-size: 16px;
        padding: 15px 20px;
        min-height: 50px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 2px solid #e9ecef;
        border-radius: 8px;
        font-weight: 600;
        color: #495057;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .dropdown-trigger:hover {
        border-color: #007bff;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
    }

    .dropdown-item {
        padding: 16px 20px;
        font-size: 15px;
        min-height: 48px;
        display: flex;
        align-items: center;
        transition: all 0.2s ease;
    }

    .dropdown-item:hover {
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
        transform: translateX(4px);
    }

    .register-link {
        font-size: 16px;
        font-weight: 600;
        padding: 16px 20px;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--primary-light);
        color: var(--primary);
        border-radius: 0.5rem;
        text-decoration: none;
        transition: var(--transition-smooth);
        text-align: center;
        border: 1px solid var(--primary);
    }

    .register-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 123, 255, 0.35);
        background-color: var(--primary);
        color: white;
    }

    .logo {
        font-size: 20px;
    }

    /* Touch-friendly interactions */
    .category-link {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }

    .submenu-arrow {
        transition: transform 0.3s ease;
    }

    .category-item.active .submenu-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0px;
    }

    .nav-container {
        height: 55px;
    }

    .logo {
        font-size: 18px;
    }
}
/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    /* border-radius: 0.5rem; */
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px -3px hsl(18, 86%, 58%, 0.15);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-large {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    align-items: center;
    padding: 2rem 0;
}

.hero-content {
    display: flex;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    flex-direction: column;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-family: var(--font-playfair);
    color: var(--primary);
}

.hero-highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-dark);
    max-width: 32rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: grid;
    flex-direction: column;
    gap: 1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.hero-buttons button {
    border-radius: calc(infinity * 1px);
    padding: 0.75rem 1rem;
}

.image-container {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 10;
}

.image-backdrop {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: 0.2;
    border-radius: 1rem;
    z-index: 5;
}

.rotating-type {
    position: relative;
    transform: rotate(-5deg);
    background-color: var(--primary);
    height: 4rem;
}
.rotating-type::after,
.rotating-type::before {
    content: "";
    position: absolute;
    width: 5%;
    height: 6rem;
    background-color: var(--primary);
    left: 0;
    z-index: 1;
    top: 0;
    bottom: 0;
}
.rotating-type::after {
    right: -1%;
}
.rotating-type::before {
    left: -1%;
}
.first-type {
    position: absolute;
    top: 1rem;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.first-type {
    z-index: 2;
}
.second-type {
    z-index: 1;
}
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 3rem 1rem;
    background: transparent;
    background-color: var(--primary);
}
.marquee-track {
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    will-change: transform;
}
.marquee-text {
    display: flex;
    gap: 0 2rem;
    white-space: nowrap;
    font-size: 1.5em;
    font-weight: 600;
    padding-right: 2rem;
    color: white;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .hero {
        background: url("./media/hero-bg.jpg") no-repeat center center/cover;
    }
    .hero-content {
        flex-direction: row;
        text-align: left;
    }
    .first-type,
    .second-type {
        /* top: 10rem; */
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-description {
    font-size: 1rem;
    color: var(--primary);
    max-width: 40rem;
    margin: 0 auto;
}

/* Courses Section */
.courses {
    background: var(--background-body);
}

.all-courses {
    padding-bottom: 4rem;
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
}

.course-card:hover {
    transform: translateY(-4px);
}

.course-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 20;
}

.course-badge-new {
    background: hsl(120, 100%, 40%);
}

.course-image {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    border-radius: 0.35rem;
    border: 1px solid #aaa;
}

.course-content {
    padding-top: 1.2rem;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.course-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.course-categories {
    display: block;
    color: var(--muted-foreground);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 1rem;
    text-decoration: line-through;
    color: var(--muted-foreground);
}

.course-btn {
    width: 100%;
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

/* Reviews Section */
.reviews {
    background: var(--background-section);
}

.review-card {
    background: var(--primary-light);
    height: 380px;
    padding: 1.5rem;
    border-radius: 0.4rem;
    display: flex;
    flex-direction: column;
    position: relative;
}
.review-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    content: "";
    background-color: var(--background-section);
    width: 2rem;
    height: 2rem;
    z-index: 1;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: var(--muted);
    font-size: 2.25rem;
}
.star.rated {
    color: var(--primary);
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text);
    flex: 1 1 auto;
}

.reviewer {
    /* text-align: center; */
}

.reviewer-avatar {
    width: 4rem;
    height: 4rem;
    background-color: var(--background-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0.5rem;
    z-index: 2;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.reviewer-title {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Process Section */
.process {
    background: var(--background-body);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 3rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--muted-foreground);
    background-color: var(--primary-light);
    flex-direction: column;
}
.process-step:nth-child(even) {
    background-color: var(--primary);
    border: 1px solid var(--primary);
}
.step-img {
    width: 6rem;
    height: 6rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    padding: 1.3rem;
}
.process-step:nth-child(even) .step-img {
    background-color: var(--primary-foreground);
}

.step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.step-description {
    color: var(--text);
}

.process-step:nth-child(even) .step-title,
.process-step:nth-child(even) .step-description {
    color: var(--primary-foreground);
}

@media (min-width: 768px) {
    .process-step {
        flex-direction: row;
        align-items: center;
        padding: 2rem;
    }
}
/* Blog Section */
.blog {
    background: var(--background-section);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    background: #fefaf9;
    overflow: hidden;
    transition: var(--transition-smooth);
    border-radius: 0.5rem;
}

.blog-card:hover {
    transform: translateY(-4px);
}
.blog-link-image {
    display: block;
    position: relative;
    overflow: hidden;
}
.blog-image {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.blog-link-image:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}
.blog-info {
    display: flex;
    align-items: center;
    gap: 0 0.5rem;
    margin: 1rem 0;
    color: #606060;
    font-weight: 600;
    font-size: 0.875rem;
}
.blog-info :not(.separator) {
    letter-spacing: 0.04rem;
}

.blog-date {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.blog-excerpt {
    color: var(--text);
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.blog-link:hover {
    text-decoration: underline;
}

.blog_banner {
    background: url("./media/m-post-card-overlay.png") no-repeat center
        center/cover;
    position: relative;
    padding: 2rem;
    height: 250px;
    display: flex;
    justify-content: flex-start;
    align-items: end;
    border-radius: 1rem;
}
.blog_banner::after {
    position: absolute;
    content: "";
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    z-index: 1;
}
.blog_banner_content {
    position: relative;
    z-index: 2;
}
.blog_banner_content .blog-badge {
    padding: 0.25rem 0.75rem;
    color: white;
    background: var(--primary);
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.blog_banner_content .blog_banner_title {
    color: white;
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.blog_banner_content .short-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 100;
}
.blog_banner_content .short-info .blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .blog_banner {
        height: 450px;
    }
    .blog_banner_content {
        max-width: 55%;
    }
    .blog_banner_content .blog_banner_title {
        font-size: 2.5rem;
    }
}
/* FAQ Section */
.faq {
    position: relative;
    background: var(--background-body);
}
.faq::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("./media/faq-shape.svg") no-repeat left center;
    z-index: 0;
}
.faq-container {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    border-radius: 0.25rem;
    background-color: var(--primary-light);
    padding: 0 2rem;
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1b1139;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1rem;
    font-weight: 300;
    transition: var(--transition-smooth);

    background-color: var(--primary);
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    border-radius: 50%;
    color: white;
    font-weight: 600;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--muted-foreground);
}

/* Footer */
footer {
    position: relative;
}
.newsletter {
    height: 6rem;
    margin: 0rem auto 0;
    width: 100%;
    max-width: 700px;
    padding: 0 2rem;
    display: flex;
    position: absolute;
    margin: -3rem auto 0;
    left: 0;
    right: 0;
    z-index: 2;
}
.input_group {
    display: flex;
    width: 100%;
    gap: 0rem;
    height: 6rem;
    align-items: center;
}
.input_group .input {
    flex: 1;
    padding: 0 2rem;
    border: 1px solid var(--border);
    border-radius: 0rem;
    background-color: #efefef;
    color: #1e1e1e;
    font-size: 1rem;
    display: block;
    height: 100%;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    outline: none;
}
.input_group .input:focus,
.input_group .input:active,
.input_group .input:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(18, 18, 18, 0.1);
    outline: none;
}
.input_group .input::placeholder {
    color: #1e1e1e;
    opacity: 0.6;
}
.input_group button {
    width: 30%;
    height: 100%;
    text-align: center;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 0rem;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: 1px solid var(--primary);
}
.footer {
    background-color: var(--text);
    color: var(--primary-foreground);
    padding: 8rem 0 1rem;
    position: relative;
}
.footer::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url("./media/footer_bg_logo.png") no-repeat right bottom/contain;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--primary-foreground);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
    line-height: 1.8rem;
}

.footer-links li a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links li a:hover {
    color: var(--primary);
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    height: 3.5rem;
}

.newsletter-input {
    padding: 0.75rem;
    border: none;
    border-radius: 0rem;
    background: transparent;
    color: var(--primary-foreground);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--primary-light);
    flex: 1;
    transition: var(--transition-smooth);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.newsletter-input:focus,
.newsletter-input:active,
.newsletter-input:hover {
    border: none;
    box-shadow: none;
    outline: none;
    outline: 0;
    border-bottom: 1px solid var(--primary);
}

.newsletter-btn {
    padding: 0.75rem 1rem;
    color: var(--primary-light);
    border: 1px solid var(--primary-light);
    box-shadow: none;
    transition: var(--transition-smooth);
    width: 30%;
}
.check-terms {
    display: block;
    min-height: 1.5rem;
    padding-left: 2.25rem;
    margin-bottom: 0.125rem;
    margin-top: 2rem;
}
.check-terms input.terms-checkbox {
    width: 1rem;
    height: 1rem;
    margin-top: 0.5rem;
    vertical-align: top;
    appearance: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
    border: 1px solid #dbdfe9;
    border-radius: 0.2rem;
    float: left;
    margin-left: -1.5rem;
    transition: var(--transition-smooth);
}
.check-terms input.terms-checkbox:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 11' width='13' height='11' fill='none'%3e%3cpath d='M11.0426 1.02893C11.3258 0.695792 11.8254 0.655283 12.1585 0.938451C12.4917 1.22162 12.5322 1.72124 12.249 2.05437L5.51985 9.97104C5.23224 10.3094 4.72261 10.3451 4.3907 10.05L0.828197 6.88335C0.50141 6.59288 0.471975 6.09249 0.762452 5.7657C1.05293 5.43891 1.55332 5.40948 1.88011 5.69995L4.83765 8.32889L11.0426 1.02893Z' fill='%23ffffff'/%3e%3c/svg%3e");
    background-color: var(--primary);
    border-color: var(--primary);
}
.check-terms label {
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 400;
}
.footer-middle {
    background-color: #1c1c1c;
    padding: 1.5rem 0;
}
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}
.contact-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    position: relative;
    color: var(--primary-light);
}
.contact-links li {
    list-style: none;
    border-right: 1px solid var(--primary);
    padding-right: 1rem;
}
.contact-links li:last-child {
    border-right: none;
}
.contact-links li a {
    display: flex;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    color: var(--primary-light);
}
.contact-links li a:hover {
    color: var(--primary);
}
.footer-bottom {
    color: #cbcbcb;
    background-color: #3c342e;
    padding: 1rem 0;
}
.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.footer-bottom-links a {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}
.footer-bottom-links a:hover {
    color: var(--primary);
}
/* Responsive Design */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .desktop-only {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr) 2fr;
    }

    .newsletter-form {
        flex-direction: row;
    }
    .footer-contacts {
        flex-direction: row;
        justify-content: space-between;
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .process-steps {
        flex-direction: row;
        justify-content: space-between;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        flex: 1;
    }

    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Courses Swiper Styles */
.swiper-horizontal {
    padding-bottom: 4rem;
}
.swiper-pagination-bullet {
    background: var(--background-hero);
    opacity: 0.6;
}
.swiper-pagination-bullet-active {
    background: var(--primary);
    border-radius: 0.5rem;
    width: 1.5rem;
    opacity: 1;
}

/*|||||||||||||||||
    About Page
|||||||||||||||||*/

.about-main {
    background: var(--background-body);
    min-height: 100vh;
    width: 100%;
}
.about-hero {
    padding: 0;
    position: relative;
    margin: 0.75rem;
}
.about-hero-bg {
    border-radius: 0.75rem;
}
.about-hero-bg img {
    border-radius: 0.75rem;
}
.about-hero-content {
    max-width: 70%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 0 2rem;
    position: absolute;
    top: 15%;
}
.about-hero-text {
    flex: 1 1 55%;
}
.about-title {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
    animation: fadeInDown 1s;
}
.about-desc {
    color: var(--text);
    font-size: 0.7rem;
    line-height: 1.7;
    text-align: left;
    animation: fadeInDown 1.3s;
}
.about-hero-img {
    flex: 1 1 35%;
    min-width: 220px;
    max-width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-hero-img img {
    width: 100%;
    border-radius: 1.2rem;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.2s;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 0 2rem;
    animation: fadeIn 1.2s;
    margin-bottom: 2.5rem;
}
.about-section-title {
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2.2rem 0;
    text-align: center;
}
.about-section-title img {
    display: block;
    text-align: center;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.about-preparing-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem 2rem;
    align-items: start;
}
.about-role,
.about-value {
    min-width: 220px;
    animation: fadeIn 1.2s;
}
.about-role h4,
.about-value h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.about-role ul,
.about-value ul {
    color: var(--text-dark);
    font-size: 1rem;
    padding-left: 1.2rem;
    margin: 0;
}
.about-role-img,
.about-value-img,
.about-services-img {
    background: url("./media/about_sections_bg.png") no-repeat center center/
        cover;
    padding: 2rem;
    /* width: 300px;
  height: 280px; */
    /* The beige/light gray tone matching the shape */
    /* background-color: #ccc7bc; */
    /* border-radius: 60% 40% 45% 55% / 60% 54% 46% 40%; */
    /* The border-radius with four horizontal and four vertical percentages to create asymmetric smooth blob */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); */
}
.about-role-img img,
.about-value-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-services {
    padding-bottom: 2.5rem;
}
.about-services-content {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.about-services-list {
    flex: 1 1 60%;
    font-size: 1rem;
    animation: fadeIn 1.2s;
}
.about-services-list ul {
    margin: 1rem 0 0 0;
    padding-left: 1.2rem;
    color: var(--text-dark);
}
.about-services-list ul li {
    margin-bottom: 0.5rem;
}
.about-services-img {
    flex: 1 1 30%;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.2s;
}
.about-services-img img {
    object-fit: cover;
}

@media (min-width: 768px) {
    .about-hero {
        margin: 0;
    }
    .about-title {
        font-size: 2.25rem;
    }
    .about-desc {
        font-size: 1.75rem;
    }
    .about-hero-content {
        padding: 0 1rem 0 8rem;
    }
    .about-preparing-content {
        grid-template-columns: 1fr 1fr;
    }
    .about-section-title {
        font-size: 2rem;
    }
}

/* //////////////////////////////////////////////
/////////////////// Auth Pages /////////////// */
.login-wrapper {
    padding: 0 0;
    overflow: hidden;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 3fr;
    min-height: 600px;
}

.image-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.05);
    border-radius: 0 1rem 1rem 0;
    display: block;
}

.form-section {
    padding: 60px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    color: #ff6b4a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.form-subtitle {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 4px;
    color: #ff6b4a;
    font-weight: 500;
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #77685b;
    border-radius: 12px;
    font-size: 16px;
    background: transparent;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #ff6b4a;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.1);
}

.phone-input-wrapper {
    display: flex;
    gap: 12px;
}

.country-select {
    width: 80px;
    padding: 14px 12px;
    border: 1px solid #77685b;
    border-radius: 12px;
    font-size: 16px;
    background: transparent;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.country-select:focus {
    border-color: #ff6b4a;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.1);
}

.phone-input {
    flex: 1;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ff6b4a;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 4px;
    outline: none;
}

.password-toggle:hover {
    color: #e55a42;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 32px 0;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: #ff6b4a;
    cursor: pointer;
    margin-top: 2px;
}

.checkbox-label {
    color: #666;
    cursor: pointer;
}

.checkbox-label a {
    color: #ff6b4a;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* .btn-primary {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #ff6b4a 0%, #e55a42 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3);
} */

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 74, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.divider {
    text-align: center;
    margin: 32px 0;
    position: relative;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}
.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.2rem 0;
}

.divider-line {
    flex: 1;
    border: none;
    border-top: 1px solid var(--border);
}

.divider-text {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

.login-btn {
    margin-top: 0.5rem;
    border-radius: 2rem;
    font-size: 1.1rem;
}
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    background-color: white;
    border: 1px solid #333;
}

.google-btn:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: none;
}

.google-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.login-link {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: #666;
}

.login-link a {
    color: #ff6b4a;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 20px;
    border: 2px solid #ff6b4a;
    border-radius: 8px;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.login-link a:hover {
    background: #ff6b4a;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .login-wrapper {
        grid-template-columns: 1fr;
        max-width: 400px;
        border-radius: 16px;
    }

    .image-section {
        min-height: 200px;
        order: -1;
    }

    .form-section {
        padding: 40px 30px;
    }

    .form-title {
        font-size: 28px;
    }

    .phone-input-wrapper {
        flex-direction: column;
    }

    .country-select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .checkbox-wrapper {
        font-size: 13px;
    }
}

/* Loading states */
.btn-primary:disabled,
.btn-google:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.loading {
    position: relative;
    color: transparent;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Form validation styles */
.form-input.error {
    border-color: #e74c3c;
    background: #fdf2f2;
}

.form-input.error:focus {
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Blog Dtails Page */
.blog-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 32px 16px;
}

.blog-container .hero-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.tag {
    display: inline-block;
    background-color: #ff6b35;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.title {
    font-size: 32px;
    font-weight: bold;
    color: #111;
    margin-bottom: 24px;
    line-height: 1.2;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    font-size: 16px;
    font-weight: 500;
    color: #111;
    margin-bottom: 2px;
}

.author-details p {
    font-size: 14px;
    color: #666;
}

.content {
    max-width: none;
}

.content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.7;
}

.content p.lead {
    font-size: 18px;
    color: #666;
    margin-bottom: 24px;
}

.content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 32px 0 16px 0;
}

.content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.content li {
    color: #555;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    line-height: 1.7;
}

.content li::before {
    content: "•";
    color: #ff6b35;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.content strong {
    color: #111;
    font-weight: 600;
}

.article-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px -1px rgba(0, 0, 0, 0.1);
    margin: 32px 0;
}

.blockquote {
    border-left: 4px solid #ff6b35;
    padding-left: 24px;
    font-style: italic;
    font-size: 18px;
    color: #666;
    margin: 32px 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .blog-container {
        padding: 16px;
    }

    .title {
        font-size: 28px;
    }

    /* .hero-image, */
    .article-image {
        height: 240px;
    }
}

/* Makeup Course Page Styles */

/* Stats Section */
.stats-section {
    /* background: hsl(var(--course-bg-secondary));
  margin: 40px;
  border-radius: 16px; */
    padding: 2rem 0;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    /* max-width: 800px; */
    margin: 0 auto;
    border-radius: 1.5rem;
    background-color: white;
    padding: 2rem 1rem;
}
.stat-item {
    border-right: 1px solid #e7eaeb;
    padding-right: 1.5rem;
}
.stat-item:last-child {
    border-right: none;
    padding-right: 0;
}
.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--course-primary));
    margin-bottom: 10px;
}

.stat-item p {
    color: hsl(var(--course-text-light));
    font-size: 1rem;
}

/* Learning Section */
.learning-section {
    /* text-align: center; */
}

/* .learning-modules {
    display: grid;
    gap: 20px;
    text-align: left;
}

.module {
    background: var(--background-section);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.module:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.module-icon {
    width: 60px;
    height: 60px;
    background: hsl(var(--course-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.module-content {
    flex: 1;
}

.module-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.module-content p {
    color: hsl(var(--course-text-light));
    line-height: 1.5;
}

.module-btn {
    background: hsl(var(--course-primary));
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.module-btn:hover {
    background: hsl(var(--course-primary-light));
} */

/* As An Accordion */
.learning-modules {
    /* overflow: hidden; */
    display: grid;
    gap: 20px;
}
.module {
    background: var(--background-section);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0 .5rem;
    transition: all 0.3s ease;
    border-radius: 1rem;
}
.module:last-child {
    border-bottom: none;
}
.module-header {
    display: flex;
    gap: 0 1rem;
    align-items: center;
    padding: .75rem 1rem;
    cursor: pointer;
    user-select: none;
    /* border: 1px solid var(--border); */
    border-radius: 1rem;
    transition: background-color 0.3s ease;
    position: relative;
    width: 100%;
}
.module-header:hover {
    background: var(--background-hover);
}
.module-icon {
    width: 50px;
    height: 50px;
    background: hsl(var(--course-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.module-icon img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.module-content {
    flex: auto;
}
.module-content h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}
.module-content p {
    margin: 0;
    font-size: 14px;
    color: #475569;
}
.module-btn {
    margin-left: auto;
    background: var(--primary);
    color: white;
    border: none;
    padding: .5rem 1.5rem;
    font-size: 14px;
    border-radius: 9999px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
}
/* Accordion arrow */
.module-btn::after {
    content: "+";
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    right: .5rem;
    color: #64748b;
    transition: transform 0.3s ease;
    user-select: none;
}
.module-header.active .module-btn::after {
    content: "-";
    transform: rotate(0deg);
}
/* Panel */
.panel {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    padding-inline-start: 1rem;
    width: 100%;
}
/* Nested modules inside panel */
.panel .module {
    border: none;
    padding: 10px 0;
}
.panel .module-header {
    background: transparent;
    padding: .75rem 1rem;
    cursor: pointer;
    border: 1px solid var(--border);
}
.panel .module-header:hover {
    background: transparent;
    color: #2563eb;
}
.panel .module-btn {
    
}
/* Nested panel inside nested */
.panel .panel {
    padding-inline-start: 1rem;
}

/* Instructor Section */
.instructor-section {
}

.instructor-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 6rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.instructor-text h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-style: italic;
}
.instructor-text h2 span {
    color: var(--primary);
    font-weight: 700;
    font-size: 3rem;
}

.instructor-text p {
    font-size: 1.1rem;
    color: #77685b;
    line-height: 1.6;
}

.instructor-image img {
    /* width: 100%;
  height: 400px; */
    /* border-radius: 16px; */
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    width: 15rem;
}

/* faq-comments */
.faq-comments {
    position: relative;
}
.faq-comments::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./media/faq-shape.svg) no-repeat left center;
    z-index: 0;
}
.section {
    margin-bottom: 40px;
}

.section-title {
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.requirements-list li::before {
    content: "✓";
    color: #1b1139;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
}

.faq-item-1 {
    margin-bottom: 12px;
}

.faq-question-1 {
    background: var(--background-body);
    border: 1px solid #1b1139;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    font-size: 0.87rem;
    color: #666;
}

.faq-question-1:hover {
    background-color: var(--background-hover);
    border-color: var(--primary);
}

.faq-arrow {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
}

.faq-answer-1 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.faq-answer-1.active {
    max-height: 200px;
    padding: 15px 20px;
}

.faq-item-1.active .faq-arrow {
    transform: rotate(180deg);
}

.companies-container {
    background: transparent;
    border: 1px solid #77685b;
    border-radius: 0.75rem;
    padding: 1.3rem;
}
.companies-container > h3 {
    color: #77685b;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.companies-text {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 15px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.company-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.company-text {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.comments-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    background: transparent;
    margin-bottom: 15px;
}

.comments-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.post-comment-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.post-comment-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.comments-count {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .companies-grid {
        /* grid-template-columns: repeat(2, 1fr);
    gap: 15px; */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-section {
        margin: 20px;
        padding: 40px 30px;
    }

    .stats-container {
        /* grid-template-columns: 1fr;
    gap: 40px; */
    }

    .instructor-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
}

.course_details {
    padding: 3rem 1rem;
    background-color: #cec8bc;
    border-radius: 0.75rem;
    margin: 1rem;
    position: relative;
}
.course_details_intro {
    text-align: center;
    margin-bottom: 4rem;
}
.course_details_intro h1 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.course_details_intro p {
    margin-bottom: 1.5rem;
    color: #77685b;
}
.course_details_intro button {
    padding: 0.75rem 3rem;
    border-radius: calc(infinity * 1px);
    transition: var(--transition-smooth);
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: white;
}
.course_details_intro button:hover {
    background-color: white;
    color: var(--primary);
}

.course_includes {
    margin: 2rem 0;
}
.course_includes h2 {
    margin-bottom: 1.5rem;
}
.course_includes ul {
}
.course_includes ul li {
    position: relative;
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #77685b;
}
.course_includes ul li::before {
    position: absolute;
    content: "";
    left: 0.7rem;
    top: 0.7rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #77685b;
}
.pricing {
    color: #77685b;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #76685b40;
}
.get_started {
    background-color: var(--primary);
    display: block;
    padding: 0.75rem 2rem;
    border-radius: 1rem;
    color: white;
    transition: var(--transition-smooth);
    border: 1px solid var(--primary);
    width: 100%;
    cursor: pointer;
}
.get_started:hover {
    background-color: white;
    color: var(--primary);
}
.students-reviews {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.students-reviews span {
    font-size: 1rem;
}
.students-reviews span b {
    color: var(--primary);
    font-weight: 600;
}
.students-avatars {
    display: flex;
    gap: 0rem;
}
.student-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: -1rem;
}
.student-avatar:last-child {
    margin-right: 0;
}
.student-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.about_course_details {
    padding: 2rem 0;
}
.about_course_discribe {
    padding: 0 1rem;
}
.about_course_title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.about_course_title h2 {
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 600;
    background-color: transparent;
}
.about_course_title span.line {
    flex: 1;
    height: 1px;
    background-color: var(--primary);
}
.about_course_discribes p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #77685b;
}
.video_block {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    justify-content: center;
}
img.cover {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    object-fit: cover;
}
.video_block button {
    position: absolute;
    inset: 0;
    margin: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.video_block button img {
    width: 60px;
}
@media (min-width: 768px) {
    .course_details {
        border: 1px solid #77685b;
        max-width: 650px;
        padding: 3rem 3rem 3rem 7rem;
    }
    .video_block {
        position: absolute;
        right: -11rem;
        width: 430px;
        top: 25%;
    }
    .course_details_intro {
        text-align: left;
    }
}
@media (min-width: 992px) {
    .course_details {
        max-width: 850px;
    }
}

@media (min-width: 1200px) {
    .course_details {
        max-width: 1000px;
    }
}
@media (min-width: 1400px) {
    .course_details {
        max-width: 1200px;
    }
    .course_details_intro,
    .course_includes {
        max-width: 600px;
    }
}

.relative {
    position: relative;
}
.z-1 {
    z-index: 1;
}
.order-1 {
    order: 1;
}
.order-3 {
    order: 3;
}

.mx-2 {
    margin-inline: calc(var(--spacing) * 2);
}
.flex {
    display: flex;
}
.hidden {
    display: none;
}
.w-full {
    width: 100%;
}
.flex-col {
    flex-direction: column;
}
.items-center {
    align-items: center;
}
.justify-between {
    justify-content: space-between;
}
.gap-4 {
    gap: calc(var(--spacing) * 4);
}
.rounded-full {
    border-radius: calc(infinity * 1px);
}
.sm\:flex-row {
    @media (width >= 40rem) {
        flex-direction: row;
    }
}
.md\:order-2 {
    @media (width >= 48rem) {
        order: 2;
    }
}
.md\:order-3 {
    @media (width >= 48rem) {
        order: 3;
    }
}
.md\:block {
    @media (width >= 48rem) {
        display: block;
    }
}
.md\:hidden {
    @media (width >= 48rem) {
        display: none;
    }
}
.max-w-3xl {
    max-width: 48rem;
}
.w-full {
    width: 100%;
}
.relative {
    position: relative;
}

.text-3xl {
    font-size: 1.85rem;
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
}

.user-dropdown .user-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--user-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--foreground);
}

.user-dropdown .user-button:hover {
    background-color: var(--user-hover);
    border-color: hsla(263, 70%, 50.4%, 0.3);
    box-shadow: var(--shadow-glow);
}

.user-dropdown .user-avatar-container {
    position: relative;
}

.user-dropdown .user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid hsla(263, 70%, 50.4%, 0.2);
    transition: var(--transition-smooth);
    background: var(--gradient-primary);
}
.user-dropdown .user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-dropdown .user-button:hover .user-avatar {
    border-color: hsla(263, 70%, 50.4%, 0.4);
}

.user-dropdown .status-indicator {
    position: absolute;
    bottom: -0.25rem;
    right: -0.25rem;
    width: 1rem;
    height: 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 2px solid var(--user-bg);
}

.user-dropdown .user-info {
    flex: 1;
    text-align: left;
    display: none;
}

@media (min-width: 640px) {
    .user-dropdown .user-info {
        display: block;
    }
}

.user-dropdown .user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.user-dropdown .user-email {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.user-dropdown .chevron-icon {
    color: var(--muted-foreground);
    transition: transform 0.3s ease;
}

.user-dropdown .chevron-icon.rotated {
    transform: rotate(180deg);
}

/* Dropdown Menu Styles */
.user-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    width: 16rem;
    background-color: white;
    border: 1px solid var(--dropdown-border);
    border-radius: 0.75rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* backdrop-filter: blur(8px); */
    z-index: 50;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-dropdown .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.user-dropdown .dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-dropdown .dropdown-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid hsla(263, 70%, 50.4%, 0.3);
    background: var(--gradient-primary);
}

.user-dropdown .dropdown-text {
    flex: 1;
}

.user-dropdown .dropdown-name {
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.user-dropdown .dropdown-email {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Menu Items */
.user-dropdown .menu-items {
    padding: 0.5rem;
}

.user-dropdown .menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    text-align: left;
}

.user-dropdown .menu-item:hover {
    background-color: var(--user-hover);
    color: var(--primary);
    transform: translateY(-1px);
}

.user-dropdown .menu-item svg {
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.user-dropdown .menu-item:hover svg {
    color: var(--primary);
}

.user-dropdown .menu-item.destructive {
    color: var(--destructive);
}

.user-dropdown .menu-item.destructive:hover {
    background-color: hsla(0, 84.2%, 60.2%, 0.1);
    color: var(--destructive);
}

.user-dropdown .menu-item.destructive svg {
    color: var(--destructive);
}

/*================================
---------- RTL Support -----------
================================*/
body.rtl {
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    font-family: "Noto Kufi Arabic", sans-serif;
}

html[lang="ar"] body.rtl .reviewer-avatar,
html[lang="ar"] body.rtl .review-card::after {
    left: 0;
    right: auto;
}
html[lang="ar"] body.rtl .search-btn {
    left: 0.75rem;
    right: auto;
}
html[lang="ar"] body.rtl .stat-item {
    border-left: 1px solid #e7eaeb;
    padding-left: 1.5rem;
    border-right: none;
    padding-right: 0rem;
}
html[lang="ar"] body.rtl .course_includes ul li::before {
    right: 0.7rem;
    left: auto;
}
html[lang="ar"] body.rtl .instructor-content {
    text-align: right;
}
html[lang="ar"] body.rtl .requirements-list li::before {
    margin-left: 10px;
    margin-right: 0;
}
html[lang="ar"] body.rtl .scroll-top-btn {
    left: 2rem !important;
    right: auto !important;
}
html[lang="ar"] body.rtl .check-terms {
    padding-right: 2.25rem;
    padding-left: 0rem;
}
html[lang="ar"] body.rtl .check-terms input.terms-checkbox {
    float: right;
    margin-right: -1.5rem;
    margin-left: 0rem;
}
html[lang="ar"] body.rtl .contact-links li {
    border-left: 1px solid var(--primary);
    padding-left: 1rem;
    border-right: none;
    padding-right: 0rem;
}
html[lang="ar"] body.rtl .contact-links li:last-child {
    border-left: none;
}
html[lang="ar"] body.rtl .submenu {
    right: 100%;
    left: auto;
}
html[lang="ar"] body.rtl .submenu-arrow {
    margin-right: auto;
    margin-left: 0;
    transform: rotate(180deg);
}
html[lang="ar"] body.rtl .learning-modules {
    text-align: right;
}
html[lang="ar"] body.rtl .module-btn {
    margin-right: auto;
    margin-left: 0;
}
html[lang="ar"] body.rtl .password-toggle{
    left: 16px;
    right: auto;
}
html[lang="ar"] body.rtl .hero-image {
    border-radius: 1rem 0 0 1rem;
}
@media (min-width: 768px) {
    html[lang="ar"] body.rtl .hero-content {
        text-align: right;
    }
    html[lang="ar"] body.rtl .video_block {
        left: -11rem;
        right: auto;
    }
    html[lang="ar"] body.rtl .course_details_intro {
        text-align: right;
    }
}
