/* ============================================
   DESIGN SYSTEM / CSS VARIABLES
============================================= */
:root {
    /* Colors */
    --color-primary: #A9C5E7;
    --color-primary-dark: #1B4677;
    --color-primary-light: #6BA3D6;
    --color-accent-red: #BC2933;
    --color-accent-yellow: #FFC107;
    --color-accent-green: #2ECC71;
    --color-accent-purple: #8E44AD;

    /* Section Backgrounds */
    --bg-hero: #C8DEF0;
    --bg-light: #F5F5F5;
    --bg-services: #EAEAEA;
    --bg-footer: #B8D4E8;
    --bg-white: #FFFFFF;
    --bg-card: #E8EEF4;

    /* Trust Card Colors */
    --card-yellow: #F6F1E0;
    --card-yellow-icon: #EAB308;
    --card-purple: #EEE4F6;
    --card-purple-icon: #9333EA;
    --card-green: #E2F3E8;
    --card-green-icon: #22C55E;

    /* Feature Icon Colors */
    --icon-yellow: #EAB308;
    --icon-green: #22C55E;
    --icon-pink: #DB2777;
    --icon-blue: #307BC4;

    /* Text Colors */
    --text-dark: #1B4677;
    --text-body: #324580;
    --text-light: #718096;
    --text-white: #FFFFFF;
    --text-gray: #929292;
    --text-gray-light: #4B5563;

    /* Typography */
    --font-family: 'Beiruti', sans-serif;
    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-21xl: 1.3125rem;
    /* 21px */
    --font-size-22xl: 1.375rem;
    /* 22px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-28xl: 1.75rem;
    /* 28px */
    --font-size-3xl: 1.875rem;
    /* 30px */
    --font-size-4xl: 2.25rem;
    /* 36px */
    --font-size-5xl: 3rem;
    /* 48px */

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-21xl: 2.125rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --header-height: 132px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-pill: 50px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE
============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   UTILITY CLASSES
============================================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section-label {
    display: block;
    font-size: var(--font-size-28xl);
    font-weight: 400;
    color: var(--text-body);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

.section-title--red {
    color: var(--color-accent-red);
    font-weight: 500;
    font-size: var(--font-size-4xl);
}

.section-title--yellow {
    color: var(--color-accent-yellow);
}

/* ============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 29px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 700;
    border: none;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(74, 127, 181, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 127, 181, 0.5);
}

.btn--white {
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    padding: 11px 66px;
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary-dark);
    padding: 10px 67px;
}

html[dir="ltr"] .btn--outline {
    padding: 10px 55px;
}

.btn--outline:hover {
    background: var(--color-primary-dark);
    color: var(--text-white);
}

/* ============================================
   HEADER / NAVIGATION
============================================= */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.navbar__logo-img {
    height: 100px;
    width: 100px;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.navbar__link {
    position: relative;
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: var(--text-body);
    padding: var(--space-sm) 0;
}

/* .navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
} */

.navbar__link:hover {
    color: var(--color-primary);
}

.navbar__link:hover::after,
.navbar__link--active::after {
    width: 100%;
}

.navbar__link--active {
    color: var(--color-primary);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.navbar__lang-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: var(--text-gray);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar__lang-btn:hover {
    background: var(--color-primary-dark);
    color: var(--text-white);
}

.navbar__lang-btn i {
    font-size: var(--font-size-lg);
    color: var(--color-gray);
}

.navbar__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-light);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar__toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Profile Dropdown */
.navbar__profile {
    position: relative;
}

.navbar__profile-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    width: 45px;
    height: 45px;
    border: 2px solid var(--bg-light);
    transition: var(--transition);
}

.navbar__profile-trigger:hover {
    border-color: var(--color-primary);
}

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

.navbar__dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: -75px;
    background: #F9F9F9;
    min-width: 220px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

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

.navbar__dropdown::before {
    /* content: ''; */
    position: absolute;
    top: -8px;
    right: 15px;
    width: 15px;
    height: 15px;
    background: var(--bg-white);
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    transform: rotate(45deg);
}

.navbar__dropdown-list {
    list-style: none;
    /* padding: 10px 0; */
}

.navbar__dropdown-list li {
    border-bottom: 1px solid #DCDDDE;
}

.navbar__dropdown-list li:last-child {
    border-bottom: none;
}

.navbar__dropdown-list li:first-child a:hover {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.navbar__dropdown-list li:last-child a:hover {
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.navbar__dropdown-list li a {
    display: flex;
    align-items: center;
    font-weight: 400;
    gap: var(--space-md);
    padding: 12px 20px;
    color: var(--text-gray);
    font-size: var(--font-size-xl);
    transition: var(--transition);
    text-decoration: none;
}

.navbar__dropdown-list li a i {
    font-size: 18px;
    color: var(--text-light);
    width: 20px;
    text-align: center;
    display: none;
}

.navbar__dropdown-list li a:hover {
    background-color: #DCDDDE;
    color: var(--text-body);
}

.navbar__dropdown-list li a:hover i {
    color: var(--color-primary);
}

.navbar__dropdown-list li.divider {
    height: 1px;
    background: #f1f5f9;
    margin: 8px 0;
    display: none;
}

/* .navbar__dropdown-list li a.logout {
    color: #e11d48;
}

.navbar__dropdown-list li a.logout:hover {
    background-color: #fff1f2;
}

.navbar__dropdown-list li a.logout i {
    color: #e11d48;
} */

/* LTR Fixes for Dropdown */
[dir="ltr"] .navbar__dropdown {
    right: auto;
    left: -75px;
}

[dir="ltr"] .navbar__dropdown::before {
    right: auto;
    left: 15px;
}

/* ============================================
   HERO SECTION
============================================= */
.hero {
    /* background: var(--bg-hero); */
    background-image: url(../images/hero-bkg.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    min-height: 109vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding-bottom: var(--space-4xl);
}

.hero__image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.hero__image-circle {
    width: 548px;
    height: 525px;
    border-radius: 50%;
    /* overflow: hidden; */
    border: 6px solid rgba(255, 255, 255);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    right: -20px;
    border-radius: inherit;
    z-index: -1;
}

/* Decorative Elements */
.hero__decor {
    position: absolute;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.hero__decor--ribbon {
    top: 10%;
    left: 20%;
}

.hero__decor--duck {
    bottom: 10%;
    right: -5%;
    animation-delay: 1s;
}

.hero__decor--star1 {
    top: 15%;
    right: 10%;
    animation-delay: 0.5s;
}

.hero__decor--star2 {
    bottom: 30%;
    left: 5%;
    animation-delay: 1.5s;
}

@keyframes float {

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

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

@keyframes float_two {

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

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

.hero__content {
    text-align: right;
    animation: float_two 4s ease-in-out infinite;
}

html[dir="ltr"] .hero__content {
    text-align: left;
}

.hero__title {
    font-size: var(--font-size-5xl);
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero__title-sub {
    display: block;
    font-size: var(--font-size-5xl);
    font-weight: 700;
}

.hero__description {
    font-size: var(--font-size-28xl);
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: var(--space-2xl);
    max-width: 500px;
    /* margin-right: auto; */
}

/* Hero Wave Divider */
.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}

.hero__wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ============================================
   PAGE HEADER SECTION (ABOUT US)
============================================= */
.page-header {
    padding: var(--space-4xl) 0 var(--space-2xl);
    padding-bottom: 0;
    background: var(--bg-white);
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-gray);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-3xl);
    margin-top: 60px;
}

.breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 400;
    font-size: 20px;
    transition: var(--transition);
}

.breadcrumb span {
    font-weight: 500;
    font-size: 20px;
    color: #BC2933;
}

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

.breadcrumb .fa-chevron-left:before {
    content: "\f054";
}

.page-header__content {
    /* max-width: 800px; */
    margin: 0 auto;
}

.page-header__title {
    font-size: 36px;
    font-weight: 500;
    color: var(--color-accent-red);
    /* margin-bottom: var(--space-xl); */
}

.page-header__list {
    list-style: none;
    padding: 0;
    color: var(--text-gray);
    font-size: 28px;
    line-height: 1.6;
    font-weight: 400;
}

/* ============================================
   VALUES SECTION
============================================= */
.values {
    padding: var(--space-xl) 0 var(--space-4xl);
    background: var(--bg-white);
}

.values__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
}

.value-card {
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.value-card--green {
    background-color: #F9F9F9;
}

.value-card--purple {
    background-color: #F9F9F9;
}

.value-card--yellow {
    background-color: #F9F9F9;
}

.value-card__header {
    display: flex;
    align-items: center;
}

.value-card__title {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-gray-light);
}

.value-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.value-card--green .value-card__icon {
    color: #22C55E;
}

.value-card--purple .value-card__icon {
    color: #B3261E;
}

.value-card--yellow .value-card__icon {
    color: #2563EB;
}

.value-card__list {
    list-style: disc;
    padding-right: var(--space-2xl);
}

html[dir="ltr"] .value-card__list {
    padding-right: 0;
    padding-left: var(--space-2xl);
}

.value-card__list li {
    font-size: 22px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.5;
}

/* .value-card--green .value-card__list li::marker {
    color: #1DC974;
}

.value-card--purple .value-card__list li::marker {
    color: #8A61DF;
}

.value-card--yellow .value-card__list li::marker {
    color: #EEB543;
} */

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-gray);
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .value-card {
        padding: var(--space-xl);
    }

    .page-header__title {
        font-size: 28px;
    }

    .page-header__list,
    .value-card__list li {
        font-size: 18px;
    }
}

/* ============================================
   CHECKOUT PAGE — STEPPER
============================================= */
.checkout {
    padding: var(--space-xl) 0 var(--space-4xl);
    background: var(--bg-white);
}

.checkout__wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Individual Step */
.checkout-step {
    display: flex;
    gap: var(--space-2xl);
    transition: var(--transition);
}

.checkout-step--inactive {
    pointer-events: none;
}

.checkout-step--inactive .checkout-step__content {
    opacity: 0.6;
    border-color: #F1F5F9;
}

.checkout-step--inactive .checkout-step__title {
    color: #94A3B8;
}

.checkout-step--inactive .checkout-step__subtitle {
    color: #CBD5E1;
}

.checkout-step--inactive .checkout-step__number {
    background: #CBD5E1;
    box-shadow: none;
}

.checkout-step--inactive .checkout-step__line {
    background: #E2E8F0;
}

.checkout-step--completed .checkout-step__number {
    background: #27AE60;
}

/* Stepper Indicator (vertical line + number) */
.checkout-step__indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.checkout-step__number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #06B6D4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(43, 196, 195, 0.35);
    transition: var(--transition);
}

.checkout-step__line {
    width: 15px;
    flex: 1;
    background: #06B6D4;
    min-height: 40px;
    transition: var(--transition);
}

/* Step Body */
.checkout-step__body {
    flex: 1;
    padding-bottom: var(--space-3xl);
}

.checkout-step__header {
    flex: 0 0 280px;
    margin-bottom: 0;
}

.checkout-step__title {
    font-size: 28px;
    font-weight: 400;
    color: var(--text-body);
    margin-bottom: var(--space-xs);
}

.checkout-step__subtitle {
    font-size: 36px;
    font-weight: 500;
    color: #BC2933;
    line-height: 1.2;
}

/* Step Content */
.checkout-step__content {
    background: var(--bg-white);
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    gap: var(--space-4xl);
    align-items: flex-start;
}

.checkout-step__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.checkout-step--active .checkout-step__content {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.checkout-step--active .checkout-step__subtitle {
    color: var(--color-accent-red);
}

.checkout-step__next,
.checkout-step__confirm {
    width: fit-content;
    /* margin-top: var(--space-xl); */
    padding: 14px 60px;
    font-size: var(--font-size-lg);
}

/* Order Summary Card */
.order-summary-card {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    background: #F9F9F9;
    border-radius: var(--border-radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.order-summary-card__header {
    display: flex;
    justify-content: space-between;
}

.order-summary-card__image {
    width: 160px;
    height: 166px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
    background: #EDF2F7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-summary-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-summary-card__title {
    font-size: 28px;
    font-weight: 400;
    color: var(--text-body);
    margin-bottom: var(--space-sm);
}

.order-summary-card__description {
    font-size: var(--font-size-22xl);
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: var(--space-md);
}

.order-summary-card__price {
    font-size: 24px;
    font-weight: 600;
    color: #BC2933;
}

.checkout-form {
    padding: 24px;
    border-radius: var(--border-radius-lg);
}

.checkout-step--inactive .checkout-form {
    background-color: #DCDDDE;
}

.checkout-step--inactive .contact-form__group label {
    color: #A7A9AC;
}

.checkout-step--inactive .contact-form__group input,
.checkout-step--inactive .contact-form__group textarea,
.checkout-step--inactive .checkout-step__next,
.checkout-step--inactive .checkout-step__confirm,
.checkout-step--inactive .promo-code__btn {
    background: #929292;
    color: #fff;
}

.checkout-step--inactive .checkout-step__subtitle,
.checkout-step--inactive .checkout-step__title {
    color: #929292;
}

/* Promo Code */
.promo-code__input-group {
    display: flex;
    gap: var(--space-md);
    align-items: flex-end;
}

.promo-code__input-group input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
}

.promo-code__input-group input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(169, 197, 231, 0.3);
}

.promo-code__input-group input::placeholder {
    color: #CBD5E1;
}

.promo-code__btn {
    white-space: nowrap;
    padding: 14px 30px;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.payment-card {
    cursor: pointer;
}

.payment-card input[type="radio"] {
    display: none;
}

.payment-card__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    background: var(--bg-white);
    /* border: 2px solid #E2E8F0; */
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    min-height: 110px;
}

.payment-card__inner i {
    font-size: 40px;
    color: var(--text-gray);
    transition: var(--transition);
}

.payment-card__inner span {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-gray);
    transition: var(--transition);
}

.payment-card:hover .payment-card__inner {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.payment-card input[type="radio"]:checked+.payment-card__inner {
    border-color: var(--color-primary);
    background: rgba(74, 127, 181, 0.05);
    box-shadow: 0 0 0 3px rgba(74, 127, 181, 0.15);
}

.payment-card input[type="radio"]:checked+.payment-card__inner i,
.payment-card input[type="radio"]:checked+.payment-card__inner span {
    color: var(--color-primary);
}

/* Responsive Checkout */
@media (max-width: 992px) {
    .checkout-step__content {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .checkout-step__header {
        flex: none;
        width: 100%;
        margin-bottom: var(--space-xs);
    }
}

@media (max-width: 768px) {
    .checkout-step {
        gap: var(--space-md);
    }

    .checkout-step__title {
        font-size: 22px;
    }

    .checkout-step__subtitle {
        font-size: 18px;
    }

    .order-summary-card {
        flex-direction: column;
        text-align: center;
    }

    .order-summary-card__image {
        width: 100%;
        height: 180px;
    }

    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-code__input-group {
        flex-direction: column;
    }

    .checkout-step__next,
    .checkout-step__confirm {
        width: 100%;
    }
}

/* ============================================
   CONTACT US PAGE
============================================= */
.page-header--contact {
    text-align: right;
}

.page-header__title--dark {
    color: var(--text-dark);
    font-size: var(--font-size-4xl);
    font-weight: 800;
}

.contact {
    padding: 0 0 var(--space-4xl);
    background: var(--bg-white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: flex-start;
}

.contact__info {
    order: 1;
}

.contact__info-title {
    font-size: 28px;
    font-weight: 400;
    color: var(--text-body);
    margin-bottom: var(--space-md);
}

.contact__info-subtitle {
    font-size: 36px;
    font-weight: 500;
    color: var(--color-accent-red);
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
}

.contact__details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact__details li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-weight: 500;
    font-size: var(--font-size-xl);
    color: var(--text-dark);
}

.contact__details li i {
    font-size: 20px;
    color: var(--color-primary-dark);
    margin-top: 4px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.contact__details li a {
    color: var(--text-gray-light);
    transition: var(--transition);
}

.contact__details li a:hover {
    color: var(--color-primary);
}

.contact__details li div {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

/* Contact Form */
.contact__form-wrapper {
    order: 2;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 24px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-form__group {
    margin-bottom: var(--space-lg);
}

.contact-form__group label {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.contact-form__group input,
.contact-form__group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-pill);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
}

.contact-form__group textarea {
    border-radius: var(--border-radius-lg);
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
    color: #CBD5E1;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(169, 197, 231, 0.3);
    background: #DCDDDE;
    color: var(--text-body);
}

.contact-form__group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form__btn {
    padding: 14px 60px;
    font-size: var(--font-size-lg);
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__info {
        order: 1;
    }

    .contact__form-wrapper {
        order: 2;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .contact__info-title {
        font-size: 26px;
    }

    .contact__info-subtitle {
        font-size: 18px;
    }
}

/* ============================================
   SERVICES SECTION
============================================= */
.services.page {
    background: none;
    padding-top: 0;
}

.services.page .service-card {
    background-color: #F9F9F9;
}

/* ============================================
   PRIVACY POLICY SECTION
============================================= */
.privacy-policy {
    padding: var(--space-xl) 0 var(--space-4xl);
    background: var(--bg-white);
}

.policy-text {
    margin-top: var(--space-xl);
}

.policy-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin: var(--space-lg) 0 var(--space-sm);
}

/* ============================================
   ABOUT SECTION
============================================= */
.about {
    padding: var(--space-3xl) 0;
    background: var(--bg-white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about__content {
    order: 1;
}

.about__list {
    list-style: disc;
    padding-right: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.about__list li {
    font-size: var(--font-size-28xl);
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.about__list li::marker {
    color: var(--color-primary);
}

.about__image-wrapper {
    order: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image {
    width: 100%;
    height: 479px;
    object-fit: cover;
    transition: var(--transition);
}

.about__image-wrapper:hover .about__image {
    transform: scale(1.03);
}

.about__content .btn--primary,
.services .btn--primary {
    padding: 10px 67px;
}

/* ============================================
   SERVICES SECTION
============================================= */
.services {
    padding: var(--space-4xl) 0;
    /* background: var(--bg-services); */
    background-image: url(../images/newsletter-bkg.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.services__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card__image {
    height: 166px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: var(--transition);
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__title {
    font-size: var(--font-size-28xl);
    font-weight: 400;
    color: var(--text-body);
    margin-top: 10px;
}

.service-card__description {
    font-size: var(--font-size-21xl);
    color: var(--text-gray);
    line-height: 1.3;
    flex-grow: 1;
    font-weight: 400;
    margin-bottom: 32px;
}

.service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: var(--space-lg) var(--space-xl); */
    gap: var(--space-md);
}

.service-card__footer .btn--outline {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.service-card__price {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-accent-red);
}

/* ============================================
   TRUST CARDS SECTION
============================================= */
.trust-cards {
    padding: var(--space-3xl) 0;
    background-image: url(../images/newsletter-bkg.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.trust-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.trust-card {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: var(--space-21xl) var(--space-xl);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trust-card--yellow {
    background: var(--card-yellow);
}

.trust-card--purple {
    background: var(--card-purple);
}

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

.trust-card__title {
    font-size: var(--font-size-28xl);
    font-weight: 600;
    color: var(--text-gray-light);
    /* margin-bottom: var(--space-sm); */
}

.trust-card__text {
    font-size: var(--font-size-22xl);
    color: var(--text-gray);
    line-height: 1.7;
}

.trust-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: var(--space-lg);
}

html[dir="ltr"] .trust-card__icon {
    margin-left: 0;
    margin-right: var(--space-lg);
}

.trust-card__icon i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.trust-card--yellow .trust-card__icon {
    background: var(--card-yellow-icon);
}

.trust-card--purple .trust-card__icon {
    background: var(--card-purple-icon);
}

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

/* ============================================
   WHY CHOOSE US SECTION
============================================= */
.why-us {
    padding: var(--space-2xl) 0;
    background: var(--bg-white);
}

.why-us__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.why-us__image-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 538px;
}

.why-us__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.why-us__image-wrapper:hover .why-us__image {
    transform: scale(1.03);
}

.why-us__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.feature-block {
    text-align: right;
    /* padding: var(--space-lg); */
}

html[dir="ltr"] .feature-block {
    text-align: left;
}

.feature-block__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 0 auto var(--space-md); */
}

.feature-block__icon i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.feature-block__icon--yellow i {
    color: var(--icon-yellow);
}

.feature-block__icon--green i {
    color: var(--icon-green);
}

.feature-block__icon--pink i {
    color: var(--icon-pink);
}

.feature-block__icon--blue i {
    color: var(--icon-blue);
}

.feature-block__title {
    font-size: var(--font-size-28xl);
    font-weight: 500;
    color: var(--text-gray-light);
    margin-bottom: var(--space-sm);
}

.feature-block__text {
    font-size: var(--font-size-2xl);
    color: var(--text-gray);
    /* line-height: 1; */
}

/* ============================================
   TESTIMONIALS SECTION
============================================= */
.testimonials {
    padding: var(--space-2xl) 0;
    background: var(--bg-white);
    overflow: hidden;
}

.testimonials__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    margin-bottom: var(--space-xl);
}

.testimonials__header-text {
    text-align: right;
}

.testimonials__controls {
    display: flex;
    gap: var(--space-md);
}

html[dir="ltr"] .testimonials__controls {
    flex-direction: row-reverse;
}

.testimonials__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #F5F5F7;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: var(--font-size-md);
}

.testimonials__btn:hover {
    background: #E8EEF4;
    color: var(--text-dark);
}

.testimonials__slider-container {
    margin: 0 calc(var(--space-xl) * -1);
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.testimonials__slider-container::-webkit-scrollbar {
    display: none;
}

.testimonials__slider {
    display: flex;
    gap: var(--space-xl);
    width: max-content;
    padding: var(--space-xl) calc(50% - 285px);
}

.testimonial-card {
    background: #FAFAFA;
    border-radius: 16px;
    padding: var(--space-xl);
    width: 570px;
    flex-shrink: 0;
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    scroll-snap-align: center;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.testimonial-card__header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.testimonial-card__rating {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: var(--space-md);
}

.testimonial-card__score {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    font-weight: 600;
}

.testimonial-card__stars {
    display: flex;
    gap: 4px;
}

.testimonial-card__stars i {
    color: var(--color-accent-yellow);
    font-size: var(--font-size-sm);
}

.testimonial-card__text {
    font-size: 28px;
    color: var(--text-gray-light);
    text-align: right;
    line-height: 1.8;
}

/* ============================================
   EDUCATIONAL CONTENT PAGE
============================================= */
.educational-content {
    /* padding: var(--space-4xl) 0; */
    /* background: #F8FAFC; */
}

/* Actions Bar: Search and Sort */
.content-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3xl);
    gap: var(--space-xl);
}

.content-search {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.content-search input {
    width: 100%;
    padding: 12px 20px 12px 50px;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-lg);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
    background-color: #F9F9F9;
}

.content-search input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(169, 197, 231, 0.2);
}

.search-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: var(--font-size-lg);
}

html[dir="ltr"] .search-btn {
    right: 15px;
    left: auto;
}

/* Sort Dropdown */
.content-sort {
    position: relative;
}

.sort-dropdown-btn {
    padding: 12px 24px;
    background: var(--bg-white);
    border: 0;
    border-radius: var(--border-radius-lg);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition);
}

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

.sort-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 93px;
    background: #F9F9F9;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0;
    z-index: 100;
    display: none;
    flex-direction: column;
}

.sort-dropdown-menu button:first-child {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.sort-dropdown-menu button:last-child {
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

html[dir="ltr"] .sort-dropdown-menu {
    left: auto;
    right: 0;
}

.sort-dropdown-menu.active {
    display: flex;
}

.sort-option {
    padding: 10px 14px;
    background: none;
    border: none;
    text-align: right;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--text-gray);
    cursor: pointer;
    /* border-radius: var(--border-radius); */
    transition: var(--transition);
}

.sort-option:hover {
    background: #DCDDDE;
    color: var(--text-body);
}

.sort-option.active {
    background: #DCDDDE;
    color: var(--text-body);
    font-weight: 400;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.content-card {
    background: #F9F9F9;
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 16px;
    margin-bottom: 30px;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.content-card__image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 16px;
}

.content-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.content-card:hover .content-card__image img {
    transform: scale(1.05);
}

.content-card__play-icon {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    /* background: rgba(255, 255, 255, 0.95); */
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-card[dir="ltr"] .content-card__play-icon i {
    padding-left: 4px;
    /* visually center play icon */
}

html[dir="rtl"] .content-card__play-icon i {
    padding-right: 4px;
}

.content-card:hover .content-card__play-icon {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: var(--text-body);
    transform: translate(-50%, -50%) scale(1.1);
}

.content-card__body {
    /* padding: var(--space-xl); */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.content-card__title {
    font-size: 28px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    margin-top: var(--space-md);
    line-height: 1.4;
}

.content-card__text {
    font-size: var(--font-size-22xl);
    color: var(--text-gray);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8em;
    /* 3 lines * 1.6 line-height */
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-top: 0;
    margin-bottom: 40px;
}

html[dir="ltr"] .pagination {
    flex-direction: row-reverse;
}

.pagination__btn,
.pagination__number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.pagination__btn {
    border: 0;
}

.pagination__numbers {
    display: flex;
    gap: 15px;
}

.pagination__number.active {
    background: var(--color-accent-red);
    border-color: var(--color-accent-red);
    color: var(--text-white);
}

.pagination__number:hover:not(.active),
.pagination__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination__dots {
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .content-search {
        max-width: 100%;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .sort-dropdown-menu {
        right: 70px;
    }

    html[dir="ltr"] .sort-dropdown-menu {
        right: auto;
        left: 70px;
    }
}

/* ============================================
   EDUCATIONAL DETAILS PAGE
============================================= */

/* Details Breadcrumb */
.breadcrumb-section {
    padding: var(--space-xl) 0 0;
    background: #F8FAFC;
}

.breadcrumb--details {
    justify-content: flex-start;
    padding: var(--space-md) 0;
}

.breadcrumb--details a.active,
.breadcrumb--details span.active {
    color: var(--color-accent-red);
    font-weight: 700;
}

/* Video Hero */
.video-hero {
    /* background: #F8FAFC; */
    padding: 15px var(--space-3xl);
}

.video-hero__wrapper {
    position: relative;
    width: 100%;
    max-height: 421px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
    aspect-ratio: 16 / 9;
    /* Allows for responsive height based on width */
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-hero__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Custom Video Controls Overlay (matching Figma) */
.video-hero__controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-2xl) var(--space-xl) var(--space-xl);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.video-hero__progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.video-hero__progress-fill {
    height: 100%;
    background: var(--color-accent-red);
    border-radius: 3px;
}

.video-hero__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-hero__actions-left,
.video-hero__actions-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

html[dir="ltr"] .video-hero__actions {
    flex-direction: row-reverse;
}

.video-btn {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-btn:hover {
    color: var(--color-accent-red);
    transform: scale(1.1);
}

.video-time {
    color: var(--text-white);
    font-size: var(--font-size-sm);
    font-family: var(--font-family);
    margin-left: var(--space-md);
}

/* Article Details Content */
.content-article {
    /* padding: var(--space-3xl) 0 var(--space-4xl); */
    /* background: #F8FAFC; */
}

.content-article__header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: var(--space-xl);
    /* border-bottom: 1px solid #E2E8F0; */
    padding-bottom: var(--space-md);
}

.content-article__date {
    color: var(--color-accent-red);
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.content-article__body {
    /* max-width: 900px; */
    margin: 0 auto;
}

.content-article__heading {
    font-size: var(--font-size-4xl);
    color: var(--color-primary-dark);
    font-weight: 500;
    margin-bottom: var(--space-xl);
}

.content-article__paragraph {
    font-size: 24px;
    font-weight: 400;
    /* Large matching readable text from figma */
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--space-3xl);
    text-align: justify;
    /* Aligns text neatly as typically expected in Arabic articles */
}

/* Utility to ensure article content stays neat on large screens */
.container--narrow {
    max-width: 1000px;
}

.mt-4 {
    margin-top: var(--space-4xl) !important;
}

/* ============================================
   NEWSLETTER SECTION
============================================= */
.newsletter {
    padding: 0 0 var(--space-3xl) 0;
    background-image: url(../images/newsletter-bkg.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter__title {
    font-size: var(--font-size-28xl);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--space-2xl);
}

.newsletter__form {
    display: flex;
    align-items: center;
    max-width: 375px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--border-radius-pill);
    padding: 5px;
    box-shadow: var(--shadow-md);
}

.newsletter__input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-family);
    font-size: var(--font-size-lg);
    padding: 14px var(--space-xl);
    background: transparent;
    color: var(--text-gray);
    text-align: right;
}

html[dir="ltr"] .newsletter__input {
    text-align: left;
}

.newsletter__input::placeholder {
    color: var(--text-light);
}

.newsletter__btn {
    flex-shrink: 0;
    border-radius: var(--border-radius-pill) !important;
    padding: 14px 28px;
}

/* Decorative Kite */
.newsletter__decor-kite {
    position: absolute;
    top: 10%;
    left: 5%;
    opacity: 0.7;
    animation: float 4s ease-in-out infinite;
}

/* ============================================
   FOOTER
============================================= */
.footer {
    background: var(--bg-light);
    background-image: url(../images/footer-bkg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
    /* padding-top: 60px; */
}

.footer__wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
}

.footer__wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

.footer__grid {
    display: grid;
    /* grid-template-columns: 2fr 1fr 1.5fr; */
    grid-template-columns: 4fr 2fr 2.5fr;
    gap: var(--space-3xl);
    padding-top: var(--space-3xl);
    margin-bottom: 15px;
    /* padding-bottom: var(--space-2xl); */
}

.footer__logo {
    height: 100px;
    width: 100px;
    margin-bottom: var(--space-md);
}

.footer__description {
    font-size: var(--font-size-xl);
    color: var(--text-gray-light);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: var(--space-xl);
    max-width: 370px;
}

.footer__social {
    display: flex;
    gap: var(--space-md);
}

.footer__social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    /* background: rgba(74, 127, 181, 0.15); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray-light);
    font-size: var(--font-size-2xl);
    transition: var(--transition);
}

.footer__social-link:hover {
    background: var(--text-gray-light);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer__heading {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-accent-red);
    margin-bottom: var(--space-md);
}

.footer__link-list li {
    margin-bottom: var(--space-md);
}

.footer__link-list a {
    font-size: var(--font-size-xl);
    color: var(--text-gray-light);
    font-weight: 500;
    transition: var(--transition);
}

.footer__link-list a:hover {
    color: var(--text-gray-light);
    padding-right: 8px;
}

.footer__contact-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-xl);
    color: var(--text-gray-light);
    font-weight: 500;
}

.footer__contact-list i {
    color: var(--text-gray-light);
    font-size: var(--font-size-xl);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer__contact-list a {
    color: var(--text-gray-light);
}

.footer__contact-list a:hover {
    color: var(--text-gray-light);
}

.footer__bottom {
    text-align: center;
    padding: var(--space-xl) 0;
    border-top: 1px solid #DCDDDE;
    font-size: var(--font-size-lg);
    color: var(--text-gray-light);
    font-weight: 400;
    /* background-image: url(../images/footer-bkg.svg);
    background-position: bottom;
    background-repeat: no-repeat; */
}

/* Decorative Stars */
.footer__decor-star {
    position: absolute;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

.footer__decor-star--1 {
    bottom: 40%;
    left: 10%;
    animation-delay: 0.5s;
}

.footer__decor-star--2 {
    bottom: 20%;
    left: 30%;
    animation-delay: 1.5s;
}

/* ============================================
   RESPONSIVE DESIGN
============================================= */

/* Navigation Collapse (max-width: 992px) */
@media (max-width: 992px) {
    .navbar__menu {
        position: fixed;
        /* top: var(--header-height); */
        top: 0;
        right: -100%;
        width: 280px;
        /* height: calc(100vh - var(--header-height)); */
        height: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--space-2xl) var(--space-xl);
        gap: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .navbar__menu.active {
        right: 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .navbar__actions {
        display: none;
    }

    .footer {
        background-size: cover;
    }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero__grid {
        gap: var(--space-2xl);
    }

    .hero__image-circle {
        width: 340px;
        height: 340px;
    }

    .hero__title {
        font-size: var(--font-size-4xl);
    }

    .hero__title-sub {
        font-size: var(--font-size-3xl);
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-cards__grid .trust-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer__brand {
        grid-column: span 2;
    }
}

/* Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding: 0 var(--space-lg);
    }

    .header {
        height: 100px;
    }

    .navbar {
        height: inherit;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-2xl));
    }

    .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        text-align: center;
        order: 1;
    }

    .hero__image-wrapper {
        order: 2;
    }

    .hero__image-circle {
        width: 280px;
        height: 280px;
    }

    .hero__title {
        font-size: var(--font-size-3xl);
    }

    .hero__title-sub {
        font-size: var(--font-size-2xl);
    }

    .hero__description {
        margin: 0 auto var(--space-2xl);
        font-size: var(--font-size-base);
    }

    /* About */
    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about__image-wrapper {
        order: 1;
    }

    .about__content {
        order: 2;
    }

    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
    }

    .services__header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Trust Cards */
    .trust-cards__grid {
        grid-template-columns: 1fr;
    }

    .trust-cards__grid .trust-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    /* Why Us */
    .why-us__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .why-us__image-wrapper {
        height: 300px;
    }

    .why-us__features {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    /* Testimonials */
    .testimonial-card {
        width: 85vw;
        padding: var(--space-lg);
    }

    .testimonials__slider {
        padding: var(--space-xl) calc(50% - 42.5vw);
    }

    /* Newsletter */
    .newsletter__form {
        flex-direction: column;
        border-radius: var(--border-radius-lg);
        padding: var(--space-md);
    }

    .newsletter__input {
        width: 100%;
        text-align: center;
    }

    .newsletter__btn {
        width: 100%;
    }

    /* Footer */
    .footer {
        background-size: cover;
    }

    .footer__logo {
        margin: auto;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }

    .footer__heading {
        margin-bottom: var(--shadow-sm);
    }

    .footer__brand {
        grid-column: span 1;
    }

    .footer__description {
        max-width: 100%;
        margin-bottom: var(--space-md);
    }

    .footer__social {
        justify-content: center;
    }

    .footer__contact-list li {
        justify-content: center;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .footer__bottom {
        padding: var(--space-sm);
    }
}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
    .hero__image-circle {
        width: 220px;
        height: 220px;
    }

    .hero__title {
        font-size: var(--font-size-2xl);
    }

    .hero__title-sub {
        font-size: var(--font-size-xl);
    }

    .why-us__features {
        grid-template-columns: 1fr;
    }

    .service-card__footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .service-card__price {
        text-align: center;
    }

    .trust-card {
        flex-direction: column-reverse;
        text-align: center;
        gap: var(--space-lg);
    }

    .trust-card__icon {
        margin: 0;
    }
}

/* ============================================
   PERSONAL PAGE
============================================= */
.personal-page {
    padding: var(--space-xl) 0 var(--space-4xl);
    background-color: var(--bg-white);
}

.profile-header {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-3xl);
}

.profile-header__avatar {
    position: relative;
    width: 150px;
    height: 150px;
}

.profile-header__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.profile-header__edit-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    background-color: var(--color-primary-dark);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.profile-header__edit-btn:hover {
    background-color: var(--color-accent-red);
    transform: scale(1.1);
}

.personal-form__grid,
.child-info__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--text-gray-light);
    padding-right: var(--space-xs);
}

.form-input,
.form-select {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid transparent;
    border-radius: var(--border-radius-pill);
    background-color: #F9F9F9;
    color: var(--text-body);
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary-dark);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-toggle {
    position: absolute;
    left: 15px;
    /* RTL */
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 16px;
}

html[dir="ltr"] .form-input-toggle {
    left: auto;
    right: 15px;
}

.form-icon {
    position: absolute;
    left: 15px;
    /* RTL */
    color: var(--text-gray);
    pointer-events: none;
}

html[dir="ltr"] .form-icon {
    left: auto;
    right: 15px;
}

.child-info {
    /* margin-top: var(--space-4xl); */
    padding-top: var(--space-3xl);
    /* border-top: 1px solid #E2E8F0; */
}

.child-info__title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-2xl);
    text-align: right;
}

html[dir="ltr"] .child-info__title {
    text-align: left;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
}

.btn--save {
    padding: var(--space-md) var(--space-4xl);
    background: linear-gradient(135deg, #4F709C 0%, #213555 100%);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius-pill);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn--save:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.95;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .personal-form__grid,
    .child-info__grid {
        grid-template-columns: 1fr;
    }
}

/* Alt Background Utility */
.bg-light {
    background-color: #F8FAFC !important;
}

.newsletter--alt {
    background-image: none !important;
    background-color: #F8FAFC !important;
    padding-bottom: var(--space-4xl);
}

/* ============================================
   ORDERS PAGE
============================================= */
.orders-section {
    padding: var(--space-xl) 0 var(--space-4xl);
    background-color: var(--bg-white);
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.order-card {
    background-color: #F8FAFC;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    transition: var(--transition);
}

.order-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.order-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: var(--space-md);
}

.order-card__title {
    font-size: var(--font-size-28xl);
    font-weight: 500;
    color: var(--color-primary-dark);
}

.status-badge {
    padding: 8px 36px;
    border-radius: var(--border-radius-pill);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.status-badge--pending {
    background-color: #FDF3DF;
    color: #DD8A2E;
}

.status-badge--progress {
    background-color: #E3E9F6;
    color: #2563EB;
}

.status-badge--completed {
    background-color: #DEF5E5;
    color: #4CAF50;
}

.order-card__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.order-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-lg);
}

.order-card__label {
    color: var(--text-gray);
    font-size: var(--font-size-22xl);
    font-weight: 400;
}

.order-card__value {
    color: var(--text-gray-light);
    font-weight: 400;
}

/* Button styles specific to Order Card */
.btn--gray {
    background-color: #949494;
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius-pill);
    padding: 12px 57px;
    font-size: var(--font-size-xl);
    font-weight: 600;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    cursor: not-allowed;
    opacity: 0.9;
}

.btn--active-plan {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius-pill);
    padding: 7px 57px;
    font-size: var(--font-size-xl);
    font-weight: 600;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn--active-plan:hover {
    background-color: var(--color-primary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 992px) {
    .orders-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ORDER DETAILS PAGE (.order-details-section)
========================================= */
.order-details-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-white);
}

.order-details-card {
    background: #F9F9F9;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.order-details__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    /* border-bottom: 2px solid #E2E8F0; */
    padding-bottom: var(--space-sm);
}

.order-details__title {
    font-size: var(--font-size-2xl);
    color: var(--color-primary-dark);
    font-weight: 700;
}

.order-details__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    /* border-bottom: 1px dotted #CBD5E1; */
    padding-bottom: var(--space-lg);
}

.order-details__row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
}

.order-details__label {
    color: var(--text-gray);
    font-weight: 500;
    font-size: var(--font-size-lg);
    min-width: 150px;
}

.order-details__label--big {
    display: block;
    color: var(--text-gray);
    font-weight: 500;
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.order-details__value {
    color: var(--text-gray-light);
    font-weight: 600;
    font-size: var(--font-size-lg);
}

/* Management Response */
.order-details__response {
    margin-bottom: var(--space-xl);
}

.order-details__response-title {
    font-size: var(--font-size-lg);
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.order-details__response-text {
    font-size: var(--font-size-22xl);
    color: var(--text-gray-light);
    font-weight: 400;
    line-height: 1.8;
}

/* Attached Files */
.order-details__attachments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.attached-file {
    background: #FFFFFF;
    border-radius: var(--border-radius-lg);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    position: relative;
}

.attached-file__icon {
    font-size: var(--font-size-2xl);
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
}

.attached-file__info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.attached-file__name {
    font-size: var(--font-size-md);
    color: var(--text-body);
    font-weight: 500;
    direction: ltr;
    text-align: right;
    /* Ensure Arabic keeps standard flow */
    margin-bottom: 2px;
}

.attached-file__size {
    font-size: var(--font-size-sm);
    color: #94A3B8;
}

.attached-file__remove {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: var(--font-size-lg);
    transition: color var(--transition);
    position: absolute;
    top: 50%;
    left: var(--space-md);
    /* Positioning on the left in RTL */
    transform: translateY(-50%);
}

.attached-file__remove:hover {
    color: #ef4444;
    /* red */
}

/* Override left positioning for LTR mode (English) */
html[dir="ltr"] .attached-file__remove {
    left: auto;
    right: var(--space-md);
}

html[dir="ltr"] .attached-file__name {
    text-align: left;
}

/* Notes Section */
.order-details__notes {
    margin-bottom: var(--space-xl);
}

.form-textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-lg);
    background: #FFFFFF;
    color: var(--text-body);
    resize: vertical;
    outline: none;
    transition: border-color var(--transition);
    font-family: inherit;
}

.form-textarea:focus {
    border-color: var(--color-primary);
}

/* Rating Section */
.order-details__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Align right in LTR */
html[dir="ltr"] .order-details__rating {
    align-items: flex-end;
}

.rating-stars {
    display: flex;
    gap: 8px;
    direction: ltr;
    /* Always LTR so stars fill left-to-right */
}

.rating-stars .fas.fa-star {
    font-size: var(--font-size-2xl);
    color: #E2E8F0;
    /* Default empty color */
    cursor: pointer;
    transition: color var(--transition), transform var(--transition);
}

.rating-stars .fas.fa-star:hover {
    transform: scale(1.1);
}

/* Use Bootstrap's classic warning yellow */
.rating-stars .fas.fa-star.text-warning,
.rating-stars .fas.fa-star.active {
    color: #FFC107;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .order-details-card {
        padding: var(--space-md);
    }

    .order-details__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .order-details__row {
        flex-direction: column;
        gap: 4px;
    }

    .order-details__attachments {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ADVICES PAGE (.advices-section)
========================================= */
.advices-section {
    padding: var(--space-xl) 0 var(--space-4xl);
    background-color: var(--bg-white);
}

.advices-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2xl);
    gap: var(--space-md);
}

.content-sort {
    position: relative;
}

.content-search {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.content-search input {
    width: 100%;
    padding: 12px 16px;
    padding-left: 45px;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-pill);
    background-color: #F8FAFC;
    font-size: var(--font-size-md);
    outline: none;
    transition: var(--transition);
}

[dir="ltr"] .content-search input {
    padding-left: 16px;
    padding-right: 45px;
}

.content-search i {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #94A3B8;
    z-index: 2;
}

[dir="ltr"] .content-search i {
    left: auto;
    right: 20px;
}

/* Layout Grid */
.advices-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-2xl);
}

/* [dir="ltr"] .advices-layout {
    grid-template-columns: 1fr 300px;
} */

/* Sidebar */
.advices-sidebar {
    background-color: #F9F9F9;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    height: fit-content;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.filter-header__title {
    font-size: var(--font-size-xl);
    color: var(--color-primary-dark);
    font-weight: 700;
}

.filter-header__reset {
    font-size: var(--font-size-sm);
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition);
}

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

.filter-group {
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: var(--space-md);
}

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

.filter-group__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: var(--space-sm) 0;
    font-size: var(--font-size-lg);
    color: var(--color-primary-dark);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.filter-group__trigger i {
    font-size: 12px;
    transition: var(--transition);
}

.filter-group__trigger.active i {
    transform: rotate(180deg);
}

.filter-group__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-sm);
}

/* Custom Radio */
.custom-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    padding: 4px 0;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-mark {
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #CBD5E1;
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.custom-radio input:checked~.radio-mark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.radio-mark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.custom-radio input:checked~.radio-mark:after {
    display: block;
}

.radio-label {
    font-size: var(--font-size-md);
    color: #475569;
}

.radio-label .count {
    color: #94A3B8;
    margin-right: 4px;
}

/* Main Content Grid */
.advices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

/* Redefine card for 2 columns */
.advices-content .content-card {
    background-color: #F9F9F9;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.content-card__date {
    font-size: var(--font-size-sm);
    color: var(--color-accent-red);
    font-weight: 600;
    margin-top: var(--space-xs);
}

/* Responsive */
@media (max-width: 992px) {
    .advices-layout {
        grid-template-columns: 1fr;
    }

    .advices-sidebar {
        order: 2;
    }

    .advices-content {
        order: 1;
    }
}

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

    .advices-header {
        flex-direction: column;
        align-items: stretch;
    }

    .content-search {
        width: 100%;
    }
}

/* =========================================
   AUTH PAGES (.auth-page)
========================================= */
.auth-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hero-child.png') center/cover no-repeat;
    padding: var(--space-xl);
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 66, 113, 0.4);
    /* Semi-transparent blue */
    /* backdrop-filter: blur(8px); */
    z-index: 1;
}

.auth-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 463px;
}

.auth-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: var(--space-3xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-card__logo {
    margin-bottom: var(--space-xl);
}

.auth-card__logo img {
    height: 130px;
    width: 130px;
    margin: 0 auto;
}

.auth-card__header {
    margin-bottom: var(--space-21xl);
}

.auth-card__title {
    color: var(--color-accent-red);
    font-size: var(--font-size-4xl);
    font-weight: 600;
    /* margin-bottom: var(--space-xs); */
}

.auth-card__subtitle {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-gray-light);
}

.auth-form {
    text-align: right;
}

.auth-form .form-group {
    margin-bottom: var(--space-sm);
}

.auth-form label {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--text-gray-light);
    margin-bottom: var(--space-xs);
}

html[dir="ltr"] .auth-form label {
    text-align: left;
}

.auth-form .input-wrapper {
    position: relative;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--border-radius-pill);
    border: 1px solid #E2E8F0;
    background-color: #F9F9F9;
    color: var(--text-gray);
    font-size: var(--font-size-lg);
    outline: none;
    transition: var(--transition);
    font-family: var(--font-family);
}

html[dir="rtl"] .auth-form input {
    text-align: right;
}

.auth-form input:focus {
    border-color: var(--color-secondary);
    background-color: var(--bg-white);
}

.password-toggle {
    position: absolute;
    top: 50%;
    left: 16px;
    /* Position on the left in RTL */
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #94A3B8;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

[dir="ltr"] .password-toggle {
    left: auto;
    right: 16px;
}

.auth-lang {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

[dir="ltr"] .auth-lang {
    right: auto;
    left: 20px;
}

.auth-lang .navbar__lang-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius-pill);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.auth-lang .navbar__lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.auth-form__options {
    margin: var(--space-md) 0 var(--space-xl);
}

.auth-btn {
    width: 64%;
    display: block;
    padding: 14px !important;
    font-size: var(--font-size-lg) !important;
    border-radius: var(--border-radius-pill) !important;
    margin-top: var(--space-md);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* OTP Specific Styles */
.otp-timer {
    color: var(--color-accent-red);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-top: var(--space-sm);
}

.otp-inputs-wrapper {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    direction: ltr;
    /* Ensure boxes flow LTR even in RTL mode */
}

.otp-input {
    width: 60px;
    height: 60px;
    border: 2px solid #E2E8F0;
    border-radius: 12px !important;
    /* Override pill shape for squares */
    background-color: #F8FAFC !important;
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary-dark);
    transition: var(--transition);
}

.otp-input:focus {
    border-color: var(--color-secondary);
    background-color: var(--bg-white) !important;
    box-shadow: 0 0 0 3px rgba(169, 197, 231, 0.2);
}

/* Filled state requested by user */
.otp-input.filled {
    border-color: var(--color-primary);
    background-color: rgba(169, 197, 231, 0.1) !important;
}

.resend-link {
    color: var(--color-secondary) !important;
    font-weight: 600;
}

.auth-card__footer {
    margin-top: 10px;
    color: var(--text-body);
    font-size: var(--font-size-base);
}

.auth-card__footer a {
    color: var(--color-accent-red);
    font-weight: 400;
    text-decoration: none;
}

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

/* Auth Specific Checkbox */
.auth-form .custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Custom Checkbox Design */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-mark {
    height: 22px;
    width: 22px;
    background-color: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.custom-checkbox:hover input~.checkbox-mark {
    background-color: #E2E8F0;
}

.custom-checkbox input:checked~.checkbox-mark {
    background-color: var(--text-body);
    border-color: var(--text-body);
}

.checkbox-mark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7.5px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkbox-mark:after {
    display: block;
}

.checkbox-label {
    font-size: var(--font-size-md);
    color: var(--color-text-light);
    font-weight: 500;
}

/* Mobile Adjustments for Auth */
@media (max-width: 576px) {
    .auth-page {
        padding: var(--space-md);
    }

    .auth-card {
        padding: var(--space-xl);
        border-radius: 20px;
    }

    .auth-card__title {
        font-size: var(--font-size-xl);
    }
}