/* Source: styles.css */
/* ===================================
   Fekr Tany - Ox Bilingual Styles
   Arabic (RTL) & English (LTR) Support
   =================================== */

/* Import Cairo Font */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

/* ============= CSS Variables ============= */
:root {
    /* Colors - Brand Identity from Logo */
    --primary-color: #1B5278;
    --primary-dark: #1B5278;
    --primary-light: #1B5278;
    --secondary-color: #e5893e;
    --accent-gold: #e5893e;
    --text-dark: #1B5278;
    --text-medium: #5A6C7D;
    --text-light: #1B5278;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FB;
    --bg-gradient-start: #1B5278;
    --bg-gradient-end: #1B5278;
    --border-color: #E1E8ED;
    --success-color: #1B5278;
    --error-color: #e5893e;
    --warning-color: #e5893e;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Typography */
    --font-family-en: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-ar: 'Cairo', 'Noto Sans Arabic', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============= Reset & Base Styles ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition-base);
}

/* Arabic Font */
body[dir="rtl"] {
    font-family: 'Cairo', 'Noto Sans Arabic', sans-serif;
}

/* Force Cairo font on text elements only (exclude icons) */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span:not([class*="fa-"]),
a,
button,
div,
label,
input,
textarea,
select {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

img {

    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: var(--transition-fast);
}

/* Preserve Font Awesome icons */
i,
.fa,
.fas,
.far,
.fal,
.fab,
[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
    font-style: normal;
}

input,
textarea,
select {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* ============= Container & Layout ============= */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

/* ============= Typography ============= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============= Buttons ============= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: #1B5278;
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.625rem 1.5rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-light {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--secondary-color);
}

/* ============= Header & Navigation ============= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--spacing-md);
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--text-dark);
}

.lang-switch:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-base);
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.menu-toggle:active {
    transform: scale(0.95);
}

/* ============= Hero Section ============= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4A90E2 0%, #6BA6EC 50%, #E3F2FD 100%);
    opacity: 0.1;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem var(--spacing-md);
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-label {
    display: inline-block;
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.hero-card i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-card h3 {
    font-size: var(--font-size-2xl);
    color: var(--text-dark);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ============= Section Styles ============= */


.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-medium);
}

/* ============= Mission Section ============= */
.mission {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: #1B5278;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-white);
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-medium);
}

/* ============= Membership Plans ============= */
.membership-preview {
    background: var(--bg-white);
}

.pricing {
    background: var(--bg-white);
    padding: var(--spacing-3xl) 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.pricing-card h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.pricing-card .price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: var(--spacing-lg);
}

.pricing-card .currency {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-medium);
}

.pricing-card .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-card .period {
    font-size: var(--font-size-base);
    color: var(--text-medium);
}

.pricing-card .features-list {
    text-align: left;
    margin: var(--spacing-lg) 0;
}

[dir="rtl"] .pricing-card .features-list {
    text-align: right;
}

.pricing-card .features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.pricing-card .features-list i {
    color: var(--success-color);
    font-size: 1.125rem;
}

.pricing-card .btn {
    width: 100%;
    margin-top: var(--spacing-md);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.plan-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.plan-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.plan-badge.special {
    background: linear-gradient(135deg, var(--accent-gold), #F4D03F);
    color: var(--text-dark);
}

.plan-card h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.plan-price {
    margin-bottom: var(--spacing-sm);
}

.plan-price .price {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--primary-color);
}

.plan-price .period {
    font-size: var(--font-size-lg);
    color: var(--text-medium);
}

.plan-save {
    display: inline-block;
    background: rgba(82, 196, 26, 0.1);
    color: var(--success-color);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.plan-features {
    text-align: left;
    margin: var(--spacing-lg) 0;
}

[dir="rtl"] .plan-features {
    text-align: right;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

.plan-features i {
    color: var(--success-color);
    font-size: 1.25rem;
}

/* ============= Testimonials ============= */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-gold);
}

.testimonial-card .stars i {
    font-size: 1.25rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-gold);
}

.testimonial-text {
    font-size: var(--font-size-base);
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1B5278;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-xl);
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-role {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

/* ============= CTA Section ============= */
.cta-section {
    background: #1B5278;
    color: var(--bg-white);
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.cta {
    background: #1B5278;
    color: var(--bg-white);
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.cta h2 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
}

.cta p {
    color: rgba(255, 255, 255, 0.95);
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============= Footer ============= */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-logo i {
    font-size: 1.75rem;
    color: var(--primary-light);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: #e5893e;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: #ffffff;
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--bg-white);
}

/* ============= Animations ============= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Scroll animation class */
.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============= Responsive Design ============= */
@media (max-width: 1024px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --spacing-3xl: 3rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        right: auto;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease-in-out, right 0.3s ease-in-out;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .nav-menu.active {
        left: 0;
    }

    [dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
    }

    [dir="rtl"] .nav-menu.active {
        right: 0;
        left: auto;
    }

    .menu-toggle {
        display: block;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .features-grid,
    .testimonials-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid,
    .pricing-cards,
    .plans-container {
        grid-template-columns: 1fr;
    }

    .plan-card.featured,
    .pricing-card.popular {
        transform: scale(1);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-question h3 {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-card {
        padding: 2rem 1.5rem;
    }

    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* ============= RTL Specific Styles ============= */
[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .plan-features li {
    flex-direction: row-reverse;
}

[dir="rtl"] .testimonial-author {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-contact ul li {
    flex-direction: row-reverse;
}

[dir="rtl"] .social-links {
    flex-direction: row-reverse;
}

/* ============= Page Header ============= */
.page-header {
    text-align: center;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(107, 166, 236, 0.05));
}

.page-header h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: var(--font-size-lg);
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* ============= Membership Plans Detailed ============= */
.membership-plans {
    padding: var(--spacing-3xl) 0;
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-bottom: var(--spacing-3xl);
}

.plan-card-detailed {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    transition: all var(--transition-base);
    position: relative;
}

.plan-card-detailed:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.plan-card-detailed.featured-plan {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.plan-card-detailed.featured-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--bg-gradient-start), var(--bg-gradient-end));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.plan-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-top: var(--spacing-md);
}

.plan-header .plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    z-index: 1;
}

.plan-header .plan-badge.special {
    background: linear-gradient(135deg, var(--accent-gold), #F4D03F);
    color: var(--text-dark);
}

.plan-header h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-xs);
}

.plan-header p {
    color: var(--text-medium);
}

.plan-pricing {
    text-align: center;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-xs);
}

.price-amount .currency {
    font-size: var(--font-size-2xl);
    color: var(--text-medium);
    font-weight: 600;
}

.price-amount .price {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-amount .period {
    font-size: var(--font-size-lg);
    color: var(--text-medium);
}

.price-savings {
    display: inline-block;
    background: rgba(82, 196, 26, 0.1);
    color: var(--success-color);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.billing-info {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin: 0;
}

.plan-features-detailed h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.plan-features-detailed ul {
    margin-bottom: var(--spacing-lg);
}

.plan-features-detailed li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.plan-features-detailed li i {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.plan-features-detailed li .fa-crown {
    color: var(--accent-gold);
}

.plan-features-detailed li div {
    flex: 1;
}

.plan-features-detailed li strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: var(--font-size-base);
}

.plan-features-detailed li span {
    display: block;
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.btn-select-plan {
    width: 100%;
    font-size: var(--font-size-lg);
    padding: 1rem 2rem;
}

/* ============= FAQ Section ============= */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--border-color);
}

.faq-section h2 {
    text-align: center;
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-xl);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.faq-item h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.faq-item p {
    margin: 0;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============= Checkout Page ============= */
.checkout-section {
    padding: 6rem var(--spacing-md) 4rem;
    margin-top: 70px;
    background: var(--bg-light);
    min-height: 100vh;
}

.checkout-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

/* Order Summary */
.order-summary {
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.summary-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.plan-info {
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
}

.plan-info h3 {
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.plan-info p {
    color: var(--text-medium);
    line-height: 1.6;
}

.price-breakdown {
    margin-bottom: var(--spacing-lg);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-medium);
}

.price-row.total {
    border-top: 2px solid var(--border-color);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
}

.total-amount {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    font-weight: 700;
}

.features-list {
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
}

.features-list h4 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-medium);
    font-size: var(--font-size-sm);
}

.features-list i {
    color: var(--success-color);
    font-size: 1rem;
}

/* Checkout Form */
.checkout-form {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.checkout-form h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
    color: var(--text-dark);
}

.form-section {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
    font-weight: 600;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-option {
    position: relative;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.option-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 600;
}

.payment-option input[type="radio"]:checked+.option-content {
    background: rgba(74, 144, 226, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.option-content i {
    font-size: 1.5rem;
}

/* Form Groups */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--text-medium);
    font-size: var(--font-size-sm);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Submit Button */
.btn-block {
    width: 100%;
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
    margin-top: var(--spacing-lg);
}

.btn-block i {
    margin-right: 0.5rem;
}

[dir="rtl"] .btn-block i {
    margin-right: 0;
    margin-left: 0.5rem;
}

.secure-notice {
    text-align: center;
    margin-top: var(--spacing-md);
    padding: 1rem;
    background: rgba(82, 196, 26, 0.1);
    border-radius: var(--radius-md);
    color: var(--success-color);
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.secure-notice i {
    font-size: 1.25rem;
}

/* Alert */
.alert-error {
    background: rgba(255, 77, 79, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-error i {
    font-size: 1.5rem;
}

/* Responsive Checkout */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
        order: 2;
    }

    .checkout-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 5rem 1rem 3rem;
    }

    .checkout-form,
    .summary-card {
        padding: 1.5rem;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-form h2,
    .order-summary h2 {
        font-size: var(--font-size-xl);
    }
}

/* Old checkout styles - keep for backwards compatibility */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.checkout-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.checkout-header h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-xs);
}

.checkout-header p {
    color: var(--text-medium);
}

.checkout-form-wrapper {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-2xl);
    padding: 0 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
    transition: var(--transition-base);
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--primary-color);
    color: var(--bg-white);
}

.step span {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    font-weight: 600;
}

.step.active span {
    color: var(--primary-color);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    position: relative;
    top: -12px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-step h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
}

.form-group input.error {
    border-color: var(--error-color);
}

.error-message {
    display: none;
    color: var(--error-color);
    font-size: var(--font-size-sm);
    margin-top: 0.25rem;
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-medium);
    cursor: pointer;
    font-size: 1.25rem;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.password-strength {
    display: none;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-top: 0.25rem;
}

.password-strength.strength-0,
.password-strength.strength-1 {
    color: var(--error-color);
}

.password-strength.strength-2 {
    color: var(--warning-color);
}

.password-strength.strength-3 {
    color: #52C41A;
}

.password-strength.strength-4,
.password-strength.strength-5 {
    color: var(--success-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
}

.payment-method {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-method:hover {
    border-color: var(--primary-light);
    background: rgba(74, 144, 226, 0.05);
}

.payment-method.active {
    border-color: var(--primary-color);
    background: rgba(74, 144, 226, 0.1);
}

.payment-method label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.payment-method i {
    font-size: 2rem;
    color: var(--primary-color);
}

.payment-method span {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-dark);
}

.payment-form {
    margin-top: var(--spacing-lg);
}

.payment-form.hidden {
    display: none;
}

.card-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.card-icons i {
    font-size: 1.75rem;
    color: var(--text-light);
}

.payment-info {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.payment-info i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.payment-info p {
    color: var(--text-medium);
    margin: 0;
}

.checkout-actions {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-lg);
}

.checkout-actions .btn {
    flex: 1;
}

.review-section {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.review-section h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-item span {
    color: var(--text-medium);
}

.review-item strong {
    color: var(--text-dark);
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-weight: normal;
    font-size: var(--font-size-sm);
    margin: 0;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Order Summary */
.order-summary {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
}

.summary-plan {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.plan-info h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.25rem;
}

.plan-info p {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    margin: 0;
}

.plan-price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.summary-features {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.summary-features h4 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-sm);
}

.summary-features ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.summary-features ul li:last-child {
    margin-bottom: 0;
}

.summary-features ul li i {
    color: var(--success-color);
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: var(--spacing-md) 0;
}

.summary-totals {
    margin-bottom: var(--spacing-md);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: var(--font-size-base);
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    padding-top: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.summary-row.total span:last-child {
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
}

.renewal-info {
    background: rgba(74, 144, 226, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
}

.renewal-info i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.renewal-info p {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    margin: 0;
}

.security-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.security-badges .badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.security-badges .badge i {
    color: var(--success-color);
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-modal.show {
    opacity: 1;
}

.success-modal .modal-content {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 500px;
    animation: fadeInUp 0.5s ease;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-md);
    background: rgba(82, 196, 26, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon i {
    font-size: 4rem;
    color: var(--success-color);
}

.footer-minimal {
    background: var(--text-dark);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links-minimal {
    display: flex;
    gap: 2rem;
}

.footer-links-minimal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
}

.footer-links-minimal a:hover {
    color: var(--bg-white);
}

/* Checkout Responsive */
@media (max-width: 1024px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .checkout-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .checkout-steps {
        padding: 0;
    }

    .step span {
        display: none;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
    }
}

/* ============= Checkout Page ============= */
.checkout-container {
    padding: 8rem var(--spacing-md) 4rem;
    margin-top: 70px;
}

.checkout-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.checkout-form-section {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.checkout-form-section h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
}

.form-section {
    margin-bottom: var(--spacing-xl);
}

.form-section h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-section h3 i {
    color: var(--primary-color);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.payment-method {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.payment-method:hover,
.payment-method.active {
    border-color: var(--primary-color);
    background: rgba(74, 144, 226, 0.05);
}

.payment-method i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.payment-method span {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.order-summary {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
    padding-top: var(--spacing-md);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.summary-item .label {
    color: var(--text-medium);
}

.summary-item .value {
    font-weight: 600;
    color: var(--text-dark);
}

.summary-item:last-child .value {
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
}

.summary-features {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
}

.summary-features h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-sm);
}

.summary-features ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.summary-features ul li i {
    color: var(--success-color);
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.security-badge i {
    color: var(--success-color);
    font-size: 1.25rem;
}

/* ============= Dashboard ============= */
.dashboard-body {
    background: var(--bg-light);
}

.dashboard-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 50px;
}

.dashboard-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--spacing-md);
    max-width: 100%;
}

.sidebar-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
}

.dashboard-layout {
    display: flex;
    padding-top: 70px;
    min-height: 100vh;
    position: relative;
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.dashboard-sidebar {
    width: 280px;
    background: var(--text-dark);
    color: var(--bg-white);
    position: fixed;
    left: 0;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 999;
    transition: transform var(--transition-base);
}

[dir="rtl"] .dashboard-sidebar {
    left: auto;
    right: 0;
}

/* Hide sidebar on mobile by default */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }

    [dir="rtl"] .dashboard-sidebar {
        transform: translateX(100%);
    }
}

.sidebar-nav {
    padding: 2rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    text-decoration: none;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
}

.sidebar-link i {
    font-size: 1.25rem;
    width: 24px;
}

.sidebar-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    width: calc(100% - 280px);
}

[dir="rtl"] .dashboard-main {
    margin-left: 0;
    margin-right: 280px;
}

/* Mobile: Full width main content */
@media (max-width: 1024px) {
    .dashboard-main {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100vw;
    }
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.section-header-dashboard {
    margin-bottom: var(--spacing-xl);
}

.section-header-dashboard h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-xs);
}

.section-header-dashboard p {
    color: var(--text-medium);
}

.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.user-menu-toggle:hover {
    background: var(--secondary-color);
}

.user-menu-toggle .user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #1B5278;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--bg-white);
    overflow: hidden;
}

.user-menu-toggle .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.user-dropdown a:hover {
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-dark);
}

.dashboard-card,
.content-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.card-header h2 {
    font-size: var(--font-size-2xl);
    margin: 0;
}

.card-header a {
    color: var(--primary-color);
    font-weight: 600;
}

.membership-status-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.membership-status-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-lg);
}

.membership-plan {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.status-badge.active {
    background: rgba(82, 196, 26, 0.1);
    color: var(--success-color);
}

.status-badge.paid {
    background: rgba(82, 196, 26, 0.1);
    color: var(--success-color);
}

.status-badge.completed {
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
}

.membership-status-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.status-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item span {
    color: var(--text-medium);
    font-size: var(--font-size-sm);
}

.info-item strong {
    color: var(--text-dark);
    font-size: var(--font-size-base);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .courses-grid {
        gap: 0.875rem;
    }
}

.course-card-small {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.course-card-small:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.course-thumbnail {
    position: relative;
    padding-top: 60%;
    background: var(--bg-light);
    overflow: hidden;
}

.course-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-progress-overlay {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.course-info-small {
    padding: 1.25rem;
}

.course-info-small h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.5rem;
}

.course-info-small p {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    margin-bottom: 0.75rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bg-gradient-start), var(--bg-gradient-end));
    transition: width var(--transition-slow);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.date-day {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
}

.event-info {
    flex: 1;
}

.event-info h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.5rem;
}

.event-info p {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Live Sessions in Dashboard */
.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.session-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(138, 43, 226, 0.05));
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.session-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

[dir="rtl"] .session-item::before {
    left: auto;
    right: 0;
}

.session-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08), rgba(138, 43, 226, 0.08));
}

.session-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.session-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.session-date .month {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    margin-top: 0.25rem;
    opacity: 0.9;
}

.session-info {
    flex: 1;
    min-width: 0;
}

.session-info h3 {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.session-info>p {
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.session-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.session-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.session-meta i {
    color: var(--primary-color);
    font-size: 1rem;
}

.session-item .btn {
    flex-shrink: 0;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.session-item .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Live indicator for sessions starting soon */
.session-item.starting-soon::after {
    content: 'LIVE';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--error-color);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    animation: pulse 2s infinite;
}

[dir="rtl"] .session-item.starting-soon::after {
    right: auto;
    left: 1rem;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Empty state for sessions */
.sessions-list:empty::after {
    content: attr(data-empty-text);
    display: block;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: var(--font-size-lg);
}

.billing-table,
.orders-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: var(--bg-light);
}

table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
}

[dir="rtl"] table th {
    text-align: right;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.download-link {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.courses-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 0.875rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-medium);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.courses-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card-full {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.course-card-full:hover {
    box-shadow: var(--shadow-md);
}

.course-image {
    position: relative;
    padding-top: 62.5%;
    background: var(--bg-light);
}

.course-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 1rem;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 0.75rem;
}

.course-content>p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.profile-avatar-large {
    position: relative;
}

.profile-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profile-header-info h2 {
    margin-bottom: 0.25rem;
}

.profile-header-info p {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.member-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.profile-form,
.password-form {
    max-width: 700px;
}

.membership-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.membership-plan-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.membership-plan-info i {
    font-size: 3rem;
    color: var(--accent-gold);
}

.membership-plan-info>div {
    flex: 1;
}

.membership-plan-info h2 {
    margin-bottom: 0.25rem;
}

.membership-plan-info p {
    color: var(--text-medium);
    margin: 0;
}

.membership-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-card {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.info-value {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.membership-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-outline-danger {
    background: transparent;
    color: var(--error-color);
    border: 2px solid var(--error-color);
}

.btn-outline-danger:hover {
    background: var(--error-color);
    color: var(--bg-white);
}

.btn-outline-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline-secondary:hover {
    background: var(--text-dark);
    color: var(--bg-white);
}

.completed-message,
.saved-message {
    text-align: center;
    padding: 4rem 2rem;
}

.completed-message i,
.saved-message i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.completed-message h3,
.saved-message h3 {
    margin-bottom: 0.5rem;
}

.completed-message p,
.saved-message p {
    color: var(--text-medium);
}

/* Dashboard Responsive */
@media (max-width: 1024px) {
    .dashboard-main {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        padding: 1.5rem;
        max-width: 100vw;
    }

    .dashboard-sidebar {
        position: fixed !important;
        transform: translateX(-100%) !important;
        box-shadow: var(--shadow-xl);
        z-index: 1000;
        width: 280px;
        left: 0;
    }

    [dir="rtl"] .dashboard-sidebar {
        transform: translateX(100%) !important;
        left: auto;
        right: 0;
    }

    .dashboard-sidebar.active {
        transform: translateX(0) !important;
    }

    /* Show overlay when sidebar is open on mobile */
    body.sidebar-open .sidebar-overlay {
        display: block;
        opacity: 1;
    }

    .sidebar-toggle {
        display: block !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .session-item {
        grid-template-columns: 70px 1fr auto;
        gap: 1rem;
    }

    .session-date {
        width: 70px;
        height: 70px;
    }

    .session-date .day {
        font-size: 1.5rem;
    }

    .session-info h3 {
        font-size: var(--font-size-base);
    }

    /* Courses Grid Responsive */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {

    /* Header Adjustments */
    .dashboard-header {
        height: 60px;
        position: fixed;
        width: 100%;
        z-index: 1000;
    }

    .dashboard-header-content {
        padding: 0 1rem;
        gap: 1rem;
        max-width: 100vw;
        justify-content: space-between;
    }

    .logo {
        font-size: 1.125rem;
        order: 2;
    }

    .logo i {
        font-size: 1.25rem;
    }

    .sidebar-toggle {
        order: 1;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        font-size: 1.5rem;
        background: transparent;
        border: none;
        color: var(--text-dark);
        cursor: pointer;
    }

    .header-actions {
        order: 3;
        gap: 0.5rem;
        display: flex;
        align-items: center;
    }

    .user-name {
        display: none !important;
    }

    .lang-switch .lang-text {
        display: none !important;
    }

    .lang-switch {
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .user-menu-toggle {
        padding: 0.25rem;
    }

    .user-menu-toggle .user-avatar {
        width: 35px;
        height: 35px;
    }

    .user-menu-toggle i.fa-chevron-down {
        display: none;
    }

    /* Sidebar Adjustments */
    .dashboard-layout {
        padding-top: 60px;
    }

    .dashboard-sidebar {
        top: 60px;
        height: calc(100vh - 60px);
        width: 260px;
    }

    /* Main Content */
    .dashboard-main {
        padding: 1rem;
        margin: 0;
        width: 100%;
    }

    /* Section Headers */
    .section-header-dashboard {
        margin-bottom: 1.5rem;
    }

    .section-header-dashboard h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .section-header-dashboard p {
        font-size: 0.875rem;
    }

    /* Stats Grid - Single Column */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stat-info h3 {
        font-size: 1.5rem;
    }

    .stat-info p {
        font-size: 0.875rem;
    }

    /* Content Cards */
    .content-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .content-card h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    /* Courses Grid - Single Column */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Course Cards */
    .course-card {
        padding: 0.875rem;
    }

    /* Event Items */
    .event-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    /* Session Items - Stacked Layout */
    .session-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1rem;
        gap: 1rem;
    }

    .session-item::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
    }

    .session-date {
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }

    .session-date .day {
        font-size: 1.5rem;
    }

    .session-date .month {
        font-size: 0.875rem;
        margin-top: 0;
    }

    .session-info {
        text-align: center;
    }

    .session-info h3 {
        font-size: 1rem;
    }

    .session-info>p {
        font-size: 0.875rem;
    }

    .session-meta {
        justify-content: center;
        gap: 0.75rem;
        font-size: 0.8125rem;
    }

    .session-item .btn {
        width: 100%;
        padding: 0.75rem;
    }

    /* Membership Actions */
    .membership-actions {
        flex-direction: column;
    }

    .membership-actions .btn {
        width: 100%;
    }

    /* Membership Card */
    .membership-card {
        padding: 1rem;
    }

    .membership-details .detail-item {
        padding: 0.75rem 0;
    }

    /* Course Tabs */
    .courses-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .courses-tabs::-webkit-scrollbar {
        height: 3px;
    }

    .courses-tabs::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }

    .tab-btn {
        white-space: nowrap;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    /* Tables - Horizontal Scroll */
    .orders-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .orders-table table {
        min-width: 600px;
    }

    table th,
    table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }

    /* Profile Form */
    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    /* User Dropdown */
    .user-dropdown {
        right: 0;
        min-width: 180px;
    }

    [dir="rtl"] .user-dropdown {
        left: 0;
        right: auto;
    }

    .user-dropdown a {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .dashboard-header-content {
        padding: 0 0.75rem;
    }

    .logo span {
        display: none;
    }

    .section-header-dashboard h1 {
        font-size: 1.25rem;
    }

    .stats-grid {
        gap: 0.75rem;
    }

    .stat-card {
        padding: 0.875rem;
    }

    .content-card {
        padding: 0.875rem;
        border-radius: 0.5rem;
    }

    .courses-grid {
        gap: 0.875rem;
    }

    .session-item {
        padding: 0.875rem;
    }

    .dashboard-sidebar {
        width: 240px;
    }

    /* Make all buttons full width on very small screens */
    .btn:not(.user-menu-toggle):not(.sidebar-toggle):not(.lang-switch) {
        width: 100%;
        justify-content: center;
    }
}

/* Additional Mobile Fixes for Dashboard */
@media (max-width: 768px) {

    /* Fix course card layout */
    .course-card>div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    /* Membership card responsive */
    .membership-card .membership-status {
        padding: 1rem;
    }

    .membership-card .membership-details {
        padding: 1rem;
    }

    .detail-item {
        margin-bottom: 0.75rem;
    }

    /* Profile header stacked */
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* Info grid single column */
    .membership-info-grid,
    .status-info,
    .info-card {
        grid-template-columns: 1fr !important;
    }

    /* Orders table scroll */
    .orders-table {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .orders-table table {
        min-width: 550px;
    }

    /* Price breakdown readable on mobile */
    .price-row {
        font-size: 0.875rem;
        padding: 0.625rem 0;
    }

    .price-row .label {
        flex: 1;
    }

    /* Features list compact */
    .features-list li {
        font-size: 0.8125rem;
        padding: 0.375rem 0;
    }

    /* Summary card padding */
    .summary-card {
        padding: 1rem;
    }

    /* Plan info compact */
    .plan-info {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .plan-info h3 {
        font-size: 1.125rem;
    }

    /* Better spacing for nested divs */
    [style*="display: flex"] {
        flex-wrap: wrap !important;
    }

    /* Card headers */
    .card-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .card-header h2 {
        font-size: 1.125rem;
    }

    .card-header a {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {

    /* Even more compact on very small screens */
    .content-card h2 {
        font-size: 1.125rem;
    }

    .stat-info h3 {
        font-size: 1.25rem;
    }

    /* Tighter spacing */
    .session-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Course meta stacked */
    .course-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    /* Better button sizing */
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    /* Compact tables */
    table th,
    table td {
        padding: 0.5rem 0.375rem;
        font-size: 0.8125rem;
    }
}

/* ============= Community Page ============= */
.community-hero {
    background: #1B5278;
    color: var(--bg-white);
    padding: 8rem var(--spacing-md) 4rem;
    text-align: center;
    margin-top: 70px;
}

.community-hero h1 {
    font-size: var(--font-size-4xl);
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.community-hero p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.community-content {
    padding: var(--spacing-3xl) 0;
}

.sessions-section {
    margin-bottom: var(--spacing-3xl);
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.session-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.session-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.session-thumbnail {
    position: relative;
    padding-top: 56.25%;
    background: #1B5278;
}

.session-thumbnail .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.session-info {
    padding: 1.5rem;
}

.session-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    margin-bottom: 0.5rem;
}

.session-date i {
    color: var(--primary-color);
}

.session-info h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.5rem;
}

.session-speaker {
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

.forum-section {
    background: var(--bg-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
}

.forum-post {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-sm);
}

.post-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #1B5278;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.post-author {
    flex: 1;
}

.post-author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.post-time {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.post-content {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
    line-height: 1.7;
}

.post-actions {
    display: flex;
    gap: 1.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.post-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.post-action:hover {
    color: var(--primary-color);
}

/* ============= Form Validation States ============= */
input.invalid,
textarea.invalid,
select.invalid {
    border-color: var(--error-color);
}

input.valid,
textarea.valid,
select.valid {
    border-color: var(--success-color);
}

/* ============= Utility Classes ============= */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.btn-block {
    width: 100%;
    display: block;
}

/* ============= FAQ Section (PHP Version) ============= */
.faq {
    background: var(--bg-light);
    padding: var(--spacing-3xl) 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(74, 144, 226, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 1.5rem 2rem;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease, visibility 0s 0s;
}

.faq-answer p {
    margin: 0;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============= Pricing Cards (Index Page) ============= */
.pricing {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.08) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-gold), #F4D03F);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.pricing-card h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-sm);
    color: var(--text-dark);
}

.pricing-card .price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.pricing-card .currency {
    font-size: var(--font-size-xl);
    color: var(--text-medium);
    font-weight: 600;
}

.pricing-card .amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-card .period {
    font-size: var(--font-size-lg);
    color: var(--text-medium);
}

.pricing-card .plan-description {
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
}

.pricing-card .features-list {
    text-align: left;
    margin: var(--spacing-lg) 0;
    flex: 1;
}

[dir="rtl"] .pricing-card .features-list {
    text-align: right;
}

.pricing-card .features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
    font-size: var(--font-size-base);
}

.pricing-card .features-list i {
    color: var(--success-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
}

/* ============= Benefits Section ============= */
.benefits {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-xl);
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: #1B5278;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.benefit-item h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.7;
}

/* ============= CTA Section ============= */
.cta {
    background: #1B5278;
    padding: var(--spacing-3xl) 0;
    text-align: center;
    color: var(--bg-white);
}

.cta h2 {
    font-size: var(--font-size-4xl);
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
}

.cta p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background: var(--bg-white);
    color: var(--primary-color);
    font-weight: 700;
}

.cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ============= Save Badge ============= */
.save-badge {
    display: inline-block;
    background: rgba(82, 196, 26, 0.1);
    color: var(--success-color);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin: var(--spacing-xs) 0;
}

/* ============= Current Plan Badge ============= */
.current-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(82, 196, 26, 0.1);
    color: var(--success-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-top: var(--spacing-md);
}

.current-plan-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    z-index: 1;
}

.plan-card-detailed.current-plan {
    border-color: var(--success-color);
    background: rgba(82, 196, 26, 0.02);
}

/* ============= Community Page ============= */
.community-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
    min-height: calc(100vh - 400px);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

/* Forum Section */
.forum-section {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.section-header-community {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-color);
}

.section-header-community h2 {
    font-size: var(--font-size-2xl);
    margin: 0;
    color: var(--text-dark);
}

/* Forum Filters */
.forum-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

/* Forum Posts */
.forum-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.forum-post-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-base);
    position: relative;
}

.forum-post-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pinned-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

[dir="rtl"] .pinned-badge {
    right: auto;
    left: 1rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-sm);
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #1B5278;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.author-info h4 {
    margin: 0;
    font-size: var(--font-size-base);
    color: var(--text-dark);
}

.post-time {
    font-size: var(--font-size-xs);
    color: var(--text-light);
}

.forum-post-item h3 {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.forum-post-item>p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-badge {
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: capitalize;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.empty-state p {
    margin-top: var(--spacing-md);
    font-size: var(--font-size-lg);
}

/* Community Sidebar */
.community-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
}

/* Sessions List */
.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.session-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.session-card:hover {
    background: rgba(74, 144, 226, 0.05);
}

.session-date-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    text-align: center;
}

.session-date-small .date {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    line-height: 1;
}

.session-date-small .month {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.session-details {
    flex: 1;
}

.session-details h4 {
    font-size: var(--font-size-base);
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.session-details p {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.session-details i {
    color: var(--primary-color);
    width: 16px;
}

/* Guidelines List */
.guidelines-list {
    list-style: none;
    padding: 0;
}

.guidelines-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.guidelines-list li:last-child {
    border-bottom: none;
}

.guidelines-list i {
    color: var(--success-color);
    font-size: 1rem;
}

/* Tags List */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-xl);
    animation: slideInDown 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    font-size: var(--font-size-2xl);
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-medium);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal form {
    padding: 2rem;
}

/* Alert */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInDown 0.3s ease;
}

.alert-success {
    background: rgba(82, 196, 26, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.alert i {
    font-size: 1.5rem;
}

/* Alert Responsive */
@media (max-width: 768px) {
    .alert {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        gap: 0.75rem;
    }

    .alert i {
        font-size: 1.25rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Membership Required Box */
.membership-required-box {
    background: linear-gradient(135deg, rgba(69, 183, 209, 0.05), rgba(95, 207, 229, 0.05));
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.lock-icon {
    width: 80px;
    height: 80px;
    background: #1B5278;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-lg);
}

.lock-icon i {
    font-size: 2.5rem;
    color: var(--bg-white);
}

.membership-required-box h3 {
    font-size: var(--font-size-2xl);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.membership-required-box>p {
    font-size: var(--font-size-lg);
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.membership-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto;
    text-align: left;
}

[dir="rtl"] .membership-benefits {
    text-align: right;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.benefit-item i {
    color: #ffffff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-item span {
    color: var(--text-dark);
    font-size: var(--font-size-base);
    font-weight: 500;
}

.membership-required-box .btn-lg {
    padding: 1rem 3rem;
    font-size: var(--font-size-lg);
    margin-top: 1rem;
}

/* Community Tabs */
.community-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: var(--bg-white);
    padding: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    min-width: 150px;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.tab-btn:hover {
    background: rgba(69, 183, 209, 0.1);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.tab-btn i {
    font-size: 1.25rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* Books Section */
.books-section {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.book-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.book-cover {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-light);
}

.book-cover-default {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1B5278;
}

.book-cover-default i {
    font-size: 4rem;
    color: var(--bg-white);
    opacity: 0.7;
}

.book-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-info h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.book-author {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.book-description {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.book-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: var(--font-size-xs);
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.book-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Live Sessions Full Section */
.sessions-full-section {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.session-card-full {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.session-card-full:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.session-header-card {
    padding: 1.5rem;
    background: #1B5278;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.session-date-badge {
    background: var(--bg-white);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.date-day {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.session-status {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.session-status.scheduled {
    background: var(--bg-white);
    color: var(--primary-color);
}

.session-body {
    padding: 1.5rem;
}

.session-body h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.session-description {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.session-details-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.session-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.session-detail-item i {
    color: var(--primary-color);
    width: 20px;
}

/* Responsive - Community Page */
@media (max-width: 1024px) {
    .community-grid {
        grid-template-columns: 1fr;
    }

    .community-sidebar {
        position: static;
        order: -1;
    }

    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .sessions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .membership-required-box {
        padding: 3rem 1.5rem;
    }

    .lock-icon {
        width: 60px;
        height: 60px;
    }

    .lock-icon i {
        font-size: 2rem;
    }

    .membership-required-box h3 {
        font-size: var(--font-size-xl);
    }

    .membership-required-box>p {
        font-size: var(--font-size-base);
    }

    .membership-benefits {
        margin: 1.5rem auto;
    }

    .membership-required-box .btn-lg {
        padding: 0.875rem 2rem;
        font-size: var(--font-size-base);
        width: 100%;
    }

    .community-tabs {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .tab-btn {
        min-width: 120px;
        padding: 0.75rem 1rem;
        font-size: var(--font-size-sm);
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .session-details-list {
        grid-template-columns: 1fr;
    }

    .forum-section {
        padding: 1.5rem 1rem;
    }

    .section-header-community {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-header-community .btn {
        width: 100%;
    }

    .forum-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .forum-post-item {
        padding: 1rem;
    }

    .post-meta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .session-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .session-date-small {
        width: 100%;
        padding: 1rem;
    }
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}


/* ============================================================
   ADMIN PANEL STYLES
   ============================================================ */

/* Admin Variables */
:root {
    --admin-sidebar-width: 280px;
    --admin-header-height: 70px;
    --admin-bg: #f8f9fb;
    --admin-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --admin-card-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Admin Header Refined */
.admin-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--admin-header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

.admin-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 100%;
    max-width: 100%;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-logo span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    letter-spacing: -0.025em;
}

.admin-menu-toggle {
    display: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    background: #f1f5f9;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .admin-menu-toggle {
        display: flex;
    }
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Admin Sidebar Modern */
.admin-sidebar {
    width: var(--admin-sidebar-width);
    background: #fff;
    border-right: 1px solid var(--border-color);
    position: fixed;
    left: 0;
    top: var(--admin-header-height);
    bottom: 0;
    z-index: 999;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .admin-sidebar {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 1px solid var(--border-color);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--text-medium);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 600;
    border-radius: 12px;
    font-size: 0.95rem;
}

.admin-nav-link i {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
    opacity: 0.8;
}

.admin-nav-link:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.admin-nav-link.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(27, 82, 120, 0.2);
}

.admin-nav-link.active i {
    opacity: 1;
}

/* Admin Layout & Main Content */
.admin-layout {
    display: flex;
    padding-top: var(--admin-header-height);
    min-height: 100vh;
    background: var(--admin-bg);
}

.admin-main {
    flex: 1;
    margin-left: var(--admin-sidebar-width);
    padding: 2.5rem;
    transition: margin 0.3s ease;
}

[dir="rtl"] .admin-main {
    margin-left: 0;
    margin-right: var(--admin-sidebar-width);
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Modern Page Headers */
.admin-page-header {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}

.admin-page-header-content h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.admin-page-header-content p {
    color: var(--text-medium);
    font-size: 1.05rem;
    margin: 0;
}

/* Modern Stats Grid - Mirroring User Dashboard */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.admin-stat-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: 20px;
    box-shadow: var(--admin-card-shadow);
    border: 1px solid rgba(225, 232, 237, 0.5);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--admin-card-hover);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.admin-stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-icon.bg-primary {
    background: rgba(27, 82, 120, 0.1);
    color: var(--primary-color);
}

.stat-icon.bg-success {
    background: rgba(27, 82, 120, 0.1);
    color: #10B981;
}

.stat-icon.bg-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.stat-icon.bg-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.stat-icon.bg-info {
    background: rgba(6, 182, 212, 0.1);
    color: #06B6D4;
}

.stat-icon.bg-secondary {
    background: rgba(107, 114, 128, 0.1);
    color: #6B7280;
}

.stat-icon.bg-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}

.stat-icon.bg-teal {
    background: rgba(20, 184, 166, 0.1);
    color: #14B8A6;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1;
}

.stat-info p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

/* Premium Admin Cards */
.admin-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--admin-card-shadow);
    border: 1px solid rgba(225, 232, 237, 0.5);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease;
}

.admin-card:hover {
    box-shadow: var(--admin-card-hover);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.admin-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Elegant Admin Tables */
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table thead th {
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #f1f5f9;
    text-align: inherit;
}

.admin-table tbody td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-dark);
    font-size: 0.95rem;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr {
    transition: background 0.2s;
}

.admin-table tbody tr:hover {
    background: #fcfdfe;
}

/* Badge Refinement */
.badge {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-info {
    background: #e0f2fe;
    color: #075985;
}

.badge-primary {
    background: #e0e7ff;
    color: #3730a3;
}

/* Mobile Sidebar Toggle */
.admin-sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    box-shadow: var(--shadow-xl);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: all var(--transition-fast);
}

[dir="rtl"] .admin-sidebar-toggle {
    right: auto;
    left: 2rem;
}

.admin-sidebar-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Responsive Admin */
@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    [dir="rtl"] .admin-sidebar {
        transform: translateX(100%);
    }

    .admin-sidebar.active {
        transform: translateX(0);
        box-shadow: var(--shadow-xl);
    }

    .admin-main {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .admin-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .admin-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-navbar {
        padding: 0 1rem;
    }

    .admin-logo span {
        font-size: var(--font-size-base);
    }

    .admin-main {
        padding: 1rem;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-stat-card {
        padding: 1.25rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stat-info h3 {
        font-size: var(--font-size-2xl);
    }

    .admin-table th,
    .admin-table td {
        padding: 0.75rem 1rem;
        font-size: var(--font-size-xs);
    }

    .admin-actions .btn span {
        display: none;
    }

    .admin-actions .btn i {
        margin: 0;
    }

    .hero-slider {
        margin-top: 65px !important;
        /* إزالة الفراغ العلوي */
        padding-bottom: 0 !important;
    }
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: var(--font-size-sm);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

.btn-info {
    background: #17A2B8;
    color: var(--bg-white);
}

/* Plans Management Styles */
.plan-form {
    max-width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: var(--font-size-xs);
}

.required {
    color: var(--error-color);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Orders Management Styles */
.filters-form {
    width: 100%;
}

.order-details-row {
    background: var(--bg-light);
}

.order-details {
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.details-grid strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.admin-notes {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border-right: 4px solid var(--primary-color);
}

.admin-notes p {
    margin-top: 0.5rem;
    color: var(--text-medium);
}

.note-form {
    margin-top: 1rem;
}

.note-form .form-group {
    margin-bottom: 1rem;
}

.form-control-sm {
    padding: 0.375rem 0.75rem;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
}

select.form-control-sm {
    appearance: auto;
    cursor: pointer;
}

/* Action Buttons in Tables */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.action-buttons form {
    margin: 0;
}

.action-buttons .btn {
    margin: 0;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

/* Badge Clickable Styles */
.badge[style*="cursor: pointer"] {
    transition: all var(--transition-fast);
}

.badge[style*="cursor: pointer"]:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Responsive adjustments for forms */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-wrap: wrap;
    }

    /* Hero Slider Responsive */
    .hero-slider .slider-container {
        height: 28vh !important;
    }

    .hero-slider h1 {
        font-size: 2rem !important;
    }

    .hero-slider p {
        font-size: 1rem !important;
    }

    @media (max-width: 768px) {
        .welcome-section {
            padding: 0 !important;
            /* تقليل الفراغ العمودي */
        }

        /* Welcome Section Responsive */
        .welcome-section>div>div:first-child {
            grid-template-columns: 1fr !important;
        }



        /* Community Benefits Responsive */
        .community-benefits>div>div {
            grid-template-columns: 1fr !important;
            gap: 2rem !important;
        }

        .community-benefits>div>div>div:last-child {
            grid-template-columns: 1fr !important;
        }

        /* Wellness Expert Responsive */
        .wellness-expert>div>div {
            grid-template-columns: 1fr !important;
            gap: 2rem !important;
        }

        .wellness-expert>div>div>div:last-child {
            grid-template-columns: 1fr !important;
        }

        .wellness-expert>div>div>div:last-child>div:last-child {
            margin-top: 0 !important;
        }

        /* Slider controls */
        .slider-container button[onclick*="plusSlides"] {
            display: none !important;
        }
    }

    .btn-info:hover {
        background: #138496;
    }


    /* =========================================
   Admin Panel Responsive Styles
   ========================================= */

    /* Admin Layout Structure */
    .admin-layout {
        display: flex;
        min-height: calc(100vh - 70px);
        /* Adjust based on header height */
        position: relative;
        overflow-x: hidden;
    }

    .admin-sidebar {
        width: 280px;
        background: #fff;
        border-inline-end: 1px solid var(--border-color);
        flex-shrink: 0;
        transition: transform var(--transition-base);
        z-index: 900;
    }

    .admin-main {
        flex: 1;
        padding: 2rem;
        width: 100%;
        overflow-x: hidden;
        /* Prevent horizontal scroll on main content */
    }

    /* Admin Header */
    .admin-header {
        background: #fff;
        border-bottom: 1px solid var(--border-color);
        padding: 0.75rem 1.5rem;
        position: sticky;
        top: 0;
        z-index: 950;
    }

    .admin-navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .admin-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--primary-color);
    }

    .admin-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* Sidebar Navigation */
    .admin-nav {
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
    }

    .admin-nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 0.8rem 1.5rem;
        color: var(--text-medium);
        transition: all 0.2s;
        border-inline-start: 3px solid transparent;
    }

    .admin-nav-link:hover,
    .admin-nav-link.active {
        background: var(--bg-light);
        color: var(--primary-color);
        border-inline-start-color: var(--primary-color);
    }

    /* Mobile Toggle Button */
    .admin-menu-toggle {
        display: none;
        /* Hidden on desktop */
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer;
        margin-inline-end: 10px;
    }

    /* Responsive Styles */
    @media (max-width: 991px) {
        .admin-layout {
            display: block;
            /* Flex causes layout issues on mobile with off-canvas sidebar */
        }

        .admin-sidebar {
            position: fixed;
            top: 60px;
            /* Below header */
            bottom: 0;
            left: 0;
            /* Default LTR */
            width: 250px;
            height: calc(100vh - 60px);
            transform: translateX(-100%);
            box-shadow: var(--shadow-lg);
            background: #fff;
            overflow-y: auto;
        }

        [dir='rtl'] .admin-sidebar {
            left: auto;
            right: 0;
            transform: translateX(100%);
        }

        .admin-sidebar.active {
            transform: translateX(0);
        }

        .admin-menu-toggle {
            display: block;
        }

        .admin-main {
            padding: 1rem;
        }

        /* Adjust header for mobile */
        .admin-logo span {
            display: none;
            /* Show only logo icon/image on small screens if title is long */
        }

        .admin-actions span {
            display: none;
            /* Hide text in buttons on mobile */
        }

        /* Overlay when sidebar is open */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 850;
        }

        .sidebar-overlay.active {
            display: block;
        }

        /* Hide Lang Switch and View Site on Mobile */
        .admin-actions .lang-switch,
        .admin-actions .btn-outline {
            display: none !important;
        }
    }

    /* Responsive Tables */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        margin-bottom: 1rem;
    }

    /* Responsive Cards/Grid */
    @media (max-width: 768px) {
        .stats-grid {
            grid-template-columns: 1fr;
        }

        .filter-bar form {
            flex-direction: column;
        }

        .filter-bar input,
        .filter-bar select,
        .filter-bar button {
            width: 100%;
        }
    }
}

/* Source: header-ox.css */
/* ===================================
   Ox Header Styles - Fekr Tany
   Clean, Active, Responsive Design
   =================================== */

/* ============= Header Ox ============= */
.header-ox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(69, 183, 209, 0.1);
    width: 100%;
}

.header-ox.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
}

/* ============= Navbar Ox ============= */
.navbar-ox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    gap: 2rem;
    position: relative;
}

/* Compact the navbar when sticky on scroll (all viewports) */
.header-ox.scrolled .navbar-ox {
    padding: 0.5rem 0.75rem;
}

/* ============= Logo Ox ============= */
.logo-ox {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 100px;
    height: auto;
    transition: all 0.3s ease;
}

.header-ox.scrolled .logo-img {
    transform: scale(0.95);
}

/* ============= Navigation Menu Ox ============= */
.nav-menu-ox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    /* prevent items from wrapping to new lines on desktop */
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-ox {
    position: relative;
}

.nav-link-ox {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 9px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2C3E50;
    position: relative;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.nav-link-ox i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-link-ox span {
    transition: all 0.3s ease;
    white-space: nowrap;
    /* keep label in one line e.g., About Fekr Tany */
}

/* Hover Effect */
.nav-link-ox:hover {
    color: #1B5278;
    background: rgba(69, 183, 209, 0.08);
    transform: translateY(-2px);
}

.nav-link-ox:hover i {
    transform: scale(1.1);
}

/* Active State */
.nav-link-ox.active {
    color: #1B5278;
    background: linear-gradient(135deg, rgba(69, 183, 209, 0.12), rgba(95, 207, 229, 0.08));

}

.nav-link-ox.active i {
    animation: pulse 2s ease-in-out infinite;
}

/* Active Indicator */
.nav-link-ox.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, #1B5278, #5FCFE5);
    border-radius: 3px 3px 0 0;
    animation: expandWidth 0.3s ease;
}

/* Dropdown Ox */
.dropdown-ox {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.dropdown-ox:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu-ox {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0.75rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    list-style: none;
}

.dropdown-ox:hover .dropdown-menu-ox {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #2C3E50;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    /* keep Arabic/English labels in one line */
}

.dropdown-link i {
    font-size: 1rem;
    color: #1B5278;
    transition: all 0.2s ease;
}

.dropdown-link:hover {
    background: rgba(69, 183, 209, 0.08);
    color: #1B5278;
    transform: translateX(5px);
}

.dropdown-link:hover i {
    transform: scale(1.15);
}

.dropdown-link.active {
    background: rgba(69, 183, 209, 0.12);
    color: #1B5278;
    font-weight: 600;
}

/* ============= Header Actions Ox ============= */
.header-actions-ox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

/* Ox Buttons */
.btn-ox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-dashboard {
    background: #1B5278;
    color: white;

}

.btn-dashboard:hover {
    background: #e5893e;

    transform: translateY(-2px);
}

.btn-login {
    background: linear-gradient(135deg, #e5893e, #e5893e);
    color: white;

}

.btn-login:hover {
    background: #1B5278;
    transform: translateY(-2px);
}

.btn-ox i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-ox:hover i {
    transform: scale(1.1);
}

/* Language Switch Ox */
.lang-switch-ox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: rgba(45, 62, 80, 0.08);
    border: 2px solid rgba(45, 62, 80, 0.1);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2C3E50;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switch-ox i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.lang-switch-ox:hover {
    background: #2C3E50;
    border-color: #2C3E50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.lang-switch-ox:hover i {
    transform: rotate(180deg);
}

.lang-text {
    font-weight: 700;
    font-size: 0.85rem;
}

/* Menu Toggle Ox (Hamburger) */
.menu-toggle-ox {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.menu-toggle-ox:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1B5278, #5FCFE5);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-toggle-ox.active .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.menu-toggle-ox.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle-ox.active .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Hide mobile-only items on desktop */
.mobile-only {
    display: none;
}

/* ============= Animations ============= */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes expandWidth {
    from {
        width: 0%;
    }

    to {
        width: 40%;
    }
}

/* ============= RTL Support ============= */
[dir="rtl"] .nav-link-ox,
[dir="rtl"] .dropdown-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .dropdown-menu-ox {
    left: auto;
    right: 50%;
    transform: translateX(50%) translateY(-10px);
}

[dir="rtl"] .dropdown-ox:hover .dropdown-menu-ox {
    transform: translateX(50%) translateY(0);
}

[dir="rtl"] .dropdown-link:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .dropdown-icon {
    margin-left: 0;
    margin-right: 0.25rem;
}

/* ============= Responsive Design ============= */

/* Tablet */
@media (max-width: 1024px) {
    .navbar-ox {
        padding: 0.75rem 1rem;
    }

    .nav-link-ox {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

    .btn-ox {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .btn-text {
        display: none;
    }

    .btn-ox i {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar-ox {
        padding: 0.6rem 0.75rem;
    }

    .logo-img {
        height: 42px;
        width: auto;
    }

    .header-ox.scrolled .logo-img {
        height: 32px;
        transform: none;
    }

    .nav-menu-ox {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 6rem 1.5rem 2rem;
        gap: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 1000;
    }

    [dir="rtl"] .nav-menu-ox {
        right: auto;
        left: -100%;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu-ox.active {
        right: 0;
    }

    [dir="rtl"] .nav-menu-ox.active {
        left: 0;
    }

    .nav-item-ox {
        width: 100%;
        border-bottom: 1px solid rgba(69, 183, 209, 0.1);
    }

    .nav-link-ox {
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-radius: 0;
        justify-content: flex-start;
    }

    .nav-link-ox i {
        font-size: 1.1rem;
    }

    /* Dropdown in Mobile */
    .dropdown-menu-ox {
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(69, 183, 209, 0.04);
        border-radius: 0;
        padding: 0;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        transition: max-height 0.3s ease;
    }

    .dropdown-ox:hover .dropdown-menu-ox,
    .dropdown-ox.active .dropdown-menu-ox {
        max-height: 300px;
    }

    .dropdown-link {
        padding: 0.875rem 1.25rem 0.875rem 2.5rem;
    }

    [dir="rtl"] .dropdown-link {
        padding: 0.875rem 2.5rem 0.875rem 1.25rem;
    }

    .dropdown-link:hover {
        transform: none;
    }

    /* Show mobile menu toggle */
    .menu-toggle-ox {
        display: flex;
    }

    /* Mobile overlay is only shown when active (handled above) */

    /* Show mobile-only items */
    .mobile-only {
        display: block;
    }

    /* Hide dashboard/login button text on mobile (icons only) */
    .btn-text {
        display: none;
    }

    .header-actions-ox {
        gap: 0.4rem;
        flex-shrink: 0;
    }

    /* Keep buttons visible but compact on mobile */
    .header-actions-ox .btn-ox {
        display: inline-flex;
        padding: 0.5rem;
        min-width: 42px;
        justify-content: center;
    }

    .header-actions-ox .btn-ox i {
        font-size: 1.05rem;
    }

    .lang-switch-ox {
        padding: 0.45rem 0.6rem;
        gap: 0.35rem;
    }

    .lang-text {
        font-size: 0.75rem;
    }
}

/* Desktop compact tweaks */
@media (min-width: 1025px) {
    .navbar-ox {
        padding: 0.65rem 1rem;
    }

    .logo-img {
        width: 90px;
    }

    .nav-link-ox {
        padding: 0 8px;
        font-size: 0.92rem;
    }

    .btn-ox {
        padding: 0.55rem 1.1rem;
        font-size: 0.85rem;
        border-radius: 40px;
    }

    .btn-ox i {
        font-size: 0.95rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar-ox {
        padding: 0.625rem 0.875rem;
    }

    .logo-img {
        height: 40px;
        width: auto;
    }

    .nav-menu-ox {
        width: 90%;
        padding: 5rem 1.25rem 1.5rem;
    }

    .btn-ox {
        padding: 0.55rem;
        min-width: 42px;
    }

    .lang-switch-ox {
        padding: 0.55rem 0.65rem;
    }

    .menu-toggle-ox {
        width: 28px;
        height: 22px;
    }
}

/* ============= Print Styles ============= */
@media print {
    .header-ox {
        position: static;
        box-shadow: none;
        border-bottom: 1px solid #ddd;
    }

    .header-actions-ox,
    .menu-toggle-ox {
        display: none;
    }

    .nav-menu-ox {
        display: flex !important;
        position: static;
        flex-direction: row;
        height: auto;
        width: auto;
        padding: 0;
        box-shadow: none;
    }
}


/* Source: footer-ox.css */
/* ================================================
   Ox Footer Styles - Fekr Tany
   Clean, Professional & Responsive Design
   ================================================ */

/* Footer Main Container */
.footer-ox {
    background: linear-gradient(135deg, #19374B 0%, #2C3E50 50%, #19374B 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

/* Decorative Wave */
.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    z-index: 1;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Footer Background Pattern */
.footer-ox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(95, 207, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(69, 183, 209, 0.05) 0%, transparent 50%);
    z-index: 0;
}

/* Container */
.footer-ox .container {
    position: relative;
    z-index: 2;
}

/* Main Footer Content */
.footer-main {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding: 50px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Section */
.footer-brand {
    padding-right: 20px;
}

[dir="rtl"] .footer-brand {
    padding-right: 0;
    padding-left: 20px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 150px;
    width: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 14px;
}

/* CTA Button in Footer */
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #45B7D1, #5FCFE5);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(69, 183, 209, 0.3);
    margin-bottom: 15px;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(69, 183, 209, 0.4);
    background: linear-gradient(135deg, #5FCFE5, #45B7D1);
}

.footer-cta-btn i {
    font-size: 16px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #e5893e;
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(69, 183, 209, 0.4);
    border-color: transparent;
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.1);
}

/* Footer Titles */
.footer-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2.5px;
    background: #e5893e;
    border-radius: 3px;
}

[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

/* Footer Links */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 3px 0;
}

.footer-menu a i {
    font-size: 10px;
    color: #e5893e;
    transition: transform 0.3s ease;
    order: 1;
}

[dir="rtl"] .footer-menu a i {
    order: 2;
}

.footer-menu a:hover {
    color: #e5893e;
    padding-left: 5px;
}

[dir="rtl"] .footer-menu a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer-menu a:hover i {
    transform: translateX(3px);
}

/* Contact Info */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 6px 0;
}

.footer-contact-list li:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(69, 183, 209, 0.15), rgba(95, 207, 229, 0.15));
    border-radius: 8px;
    color: #5FCFE5;
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(69, 183, 209, 0.2);
}

.contact-text {
    flex: 1;
    padding-top: 2px;
}

.contact-text a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    font-size: 14px;
}

.contact-text a:hover {
    color: #e5893e;
}

.contact-text span {
    color: rgba(255, 255, 255, 0.85);
    display: block;
    font-size: 14px;
}

.contact-text small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    display: block;
    margin-top: 3px;
}

contact-text small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    display: block;
    margin-top: 4px;
}

/* Working Hours */
.footer-hours {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5px;
}

.footer-hours p {
    margin: 0 0 6px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

.footer-hours p:last-child {
    margin-bottom: 0;
}

.footer-hours strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-hours i {
    color: #5FCFE5;
    margin-right: 6px;
}

[dir="rtl"] .footer-hours i {
    margin-right: 0;
    margin-left: 6px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

.footer-copyright strong {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-credits span {
    color: rgba(255, 255, 255, 0.5);
}

.developer-link {
    color: #5FCFE5;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.developer-link:hover {
    color: #45B7D1;
    gap: 8px;
}

.developer-link i {
    font-size: 16px;
}

/* ================================================
   Responsive Design
   ================================================ */

/* Tablet - Large */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        padding: 45px 0 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        max-width: 600px;
    }

    [dir="rtl"] .footer-brand {
        padding-left: 0;
    }
}

/* Tablet - Small */
@media (max-width: 768px) {
    .footer-ox {
        margin-top: 50px;
    }

    .footer-wave {
        top: -35px;
        height: 50px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 30px;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-desc {
        text-align: center;
    }

    .footer-cta-btn {
        display: inline-flex;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    [dir="rtl"] .footer-title::after {
        right: 50%;
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-menu {
        text-align: center;
    }

    .footer-menu a {
        justify-content: center;
    }

    /* Mobile */
    @media (max-width: 480px) {
        .footer-ox {
            margin-top: 40px;
        }

        .footer-wave {
            top: -25px;
            height: 40px;
        }

        .footer-main {
            gap: 25px;
            padding: 35px 0 25px;
        }

        .footer-logo-img {
            height: 40px;
        }

        .footer-desc {
            font-size: 13px;
        }

        .footer-cta-btn {
            width: 100%;
            justify-content: center;
            padding: 10px 20px;
            font-size: 13px;
        }

        .footer-title {
            font-size: 16px;
            text-align: center;
            margin-bottom: 15px;
        }

        .footer-menu a {
            font-size: 13px;
        }

        .footer-menu li {
            margin-bottom: 8px;
        }

        .social-link {
            width: 36px;
            height: 36px;
            font-size: 15px;
        }

        .contact-icon {
            width: 34px;
            height: 34px;
            font-size: 13px;
        }

        .contact-text a,
        .contact-text span {
            font-size: 13px;
        }

        .footer-hours {
            padding: 12px;
            font-size: 12px;
        }

        .footer-bottom {
            padding: 20px 0;
        }

        .footer-copyright,
        .footer-credits {
            font-size: 12px;
        }

        .footer-credits {

            /* Extra Small Devices */
            @media (max-width: 360px) {
                .footer-logo-img {
                    height: 38px;
                }

                .footer-main {
                    gap: 22px;
                    padding: 30px 0 20px;
                }

                .footer-title {
                    font-size: 15px;
                    margin-bottom: 12px;
                }

                .social-link {
                    width: 34px;
                    height: 34px;
                    font-size: 14px;
                }

                .footer-menu li {
                    margin-bottom: 7px;
                }
            }

            height: 40px;
        }

        .footer-main {
            gap: 30px;
            padding: 35px 0 30px;
        }

        .footer-title {
            font-size: 16px;
            margin-bottom: 20px;
            /* ================================================
   RTL Specific Adjustments
   ================================================ */

            /* RTL Menu Alignment */
            [dir="rtl"] .footer-menu {
                text-align: right;
            }

            [dir="rtl"] .footer-menu a {
                flex-direction: row-reverse;
                text-align: right;
            }

            /* RTL Contact List */
            [dir="rtl"] .footer-contact-list {
                direction: rtl;
            }

            [dir="rtl"] .footer-contact-list li {
                flex-direction: row-reverse;
                text-align: right;
            }

            [dir="rtl"] .contact-text {
                text-align: right;
            }

            /* RTL Footer Credits */
            [dir="rtl"] .footer-credits {
                flex-direction: row-reverse;
            }

            [dir="rtl"] .developer-link {
                flex-direction: row-reverse;
            }

            /* RTL CTA Button */
            [dir="rtl"] .footer-cta-btn {
                flex-direction: row-reverse;
            }

            /* RTL Social Links Alignment */
            [dir="rtl"] .footer-social {
                justify-content: flex-start;
            }

            /* RTL Brand Section */
            [dir="rtl"] .footer-brand {
                text-align: right;
            }

            [dir="rtl"] .footer-desc {
                text-align: right;
            }

            /* Mobile RTL Adjustments */
            @media (max-width: 768px) {
                [dir="rtl"] .footer-brand {
                    text-align: center;
                }

                [dir="rtl"] .footer-desc {
                    text-align: center;
                }

                [dir="rtl"] .footer-social {
                    justify-content: center;
                }

                [dir="rtl"] .footer-menu {
                    text-align: center;
                }

                [dir="rtl"] .footer-menu a {
                    text-align: center;
                }

                [dir="rtl"] .contact-text {
                    text-align: center;
                }
            }

            flex-direction: row-reverse;
        }

        [dir="rtl"] .footer-credits {
            flex-direction: row-reverse;
        }

        [dir="rtl"] .developer-link {
            flex-direction: row-reverse;
        }

        /* ================================================
   Print Styles
   ================================================ */
        @media print {
            .footer-ox {
                background: #2C3E50;
                margin-top: 20px;
                page-break-inside: avoid;
            }

            .footer-wave,
            .footer-social,
            .footer-cta-btn {
                display: none;
            }

            .footer-main {
                padding: 30px 0;
            }
        }

        /* ================================================
   Accessibility Improvements
   ================================================ */

        /* Focus Styles */
        .footer-menu a:focus,
        .social-link:focus,
        .footer-cta-btn:focus,
        .contact-text a:focus,
        .developer-link:focus {
            outline: 2px solid #5FCFE5;
            outline-offset: 3px;
            border-radius: 4px;
        }

        /* Reduced Motion */
        @media (prefers-reduced-motion: reduce) {

            .footer-ox *,
            .footer-ox *::before,
            .footer-ox *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* High Contrast Mode */
        @media (prefers-contrast: high) {
            .footer-ox {
                background: #000000;
                border-top: 3px solid #45B7D1;
            }

            .footer-title::after {
                background: #5FCFE5;
            }

            .social-link,
            .contact-icon {
                border: 2px solid #5FCFE5;
            }
        }
    }
}

/* Source: about-page-advanced.css */
/* ===OXTech===== */

body.loading {
    overflow: hidden;
}

body.loading .about-page {
    opacity: 0;
}

body.loaded .about-page {
    animation: pageLoad 0.8s ease-out forwards;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   FLOATING ELEMENTS
   ======================================== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   GRADIENT TEXT
   ======================================== */
.gradient-text {
    background: linear-gradient(135deg, #5FCFE5, #2D5573, #FFD700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ========================================
   BUTTON RIPPLE EFFECT
   ======================================== */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* ========================================
   CARD SHINE EFFECT
   ======================================== */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.card-shine:hover::before {
    transform: translateX(100%);
}

/* ========================================
   TYPEWRITER EFFECT
   ======================================== */
.typewriter {
    overflow: hidden;
    border-right: 3px solid #5FCFE5;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #5FCFE5;
    }
}

/* ========================================
   GLOW EFFECT
   ======================================== */
.glow {
    box-shadow: 0 0 20px rgba(95, 207, 229, 0.5);
    transition: box-shadow 0.3s;
}

.glow:hover {
    box-shadow: 0 0 40px rgba(95, 207, 229, 0.8);
}

/* ========================================
   PARTICLE BACKGROUND
   ======================================== */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(95, 207, 229, 0.3);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* ========================================
   SKELETON LOADING
   ======================================== */
.skeleton {
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ========================================
   TOOLTIP
   ======================================== */
.tooltip {
    position: relative;
    cursor: pointer;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    padding: 8px 12px;
    background: #19374B;
    color: white;
    font-size: 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    border: 6px solid transparent;
    border-top-color: #19374B;
    opacity: 0;
    transition: all 0.3s;
}

.tooltip:hover::before,
.tooltip:hover::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* ========================================
   BADGE
   ======================================== */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #5FCFE5, #2D5573);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(95, 207, 229, 0.3);
}

.badge-new {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.badge-hot {
    background: linear-gradient(135deg, #FF6B6B, #FF4757);
}

/* ========================================
   PROGRESS BAR
   ======================================== */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #5FCFE5, #2D5573);
    border-radius: 2px;
    transition: width 1s ease-out;
}

.progress-bar-animated {
    position: relative;
    overflow: hidden;
}

.progress-bar-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #5FCFE5, #FFD700);
    z-index: 9999;
    transition: width 0.1s;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5FCFE5, #2D5573);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s;
    box-shadow: 0 8px 24px rgba(95, 207, 229, 0.4);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(95, 207, 229, 0.6);
}

[dir="rtl"] .back-to-top {
    right: auto;
    left: 30px;
}

/* ========================================
   SOCIAL SHARE BUTTONS
   ======================================== */
.social-share {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    cursor: pointer;
}

.social-share-btn.facebook {
    background: #3b5998;
}

.social-share-btn.twitter {
    background: #1da1f2;
}

.social-share-btn.whatsapp {
    background: #25d366;
}

.social-share-btn.linkedin {
    background: #0077b5;
}

.social-share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   MEDIA QUERIES
   ======================================== */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    [dir="rtl"] .back-to-top {
        right: auto;
        left: 20px;
    }

    .tooltip::before {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {

    .back-to-top,
    .scroll-indicator,
    .social-share {
        display: none !important;
    }
}

/* ========================================
   DARK MODE SUPPORT (FUTURE)
   ======================================== */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here */
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Source: about-page.css */
/* About Us Page - Ox Clean Design */

.about-page {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Hero Section - Improved Design */
.about-hero {
    background: #ffffff;
    padding: 30px 0 40px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(95, 207, 229, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(45, 85, 115, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(95, 207, 229, 0.3), transparent);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
}

[dir="rtl"] .hero-text {
    text-align: right;
}

.hero-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1b5278;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    padding-left: 60px;
}

.hero-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #1b5278, transparent);
}

[dir="rtl"] .hero-label {
    padding-left: 0;
    padding-right: 60px;
}

[dir="rtl"] .hero-label::before {
    left: auto;
    right: 0;
    background: linear-gradient(90deg, transparent, #1b5278);
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #19374B;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title span {
    background: linear-gradient(135deg, #1b5278, #2D5573);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5A6C7D;
    margin-bottom: 35px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: linear-gradient(135deg, #1b5278, #2D5573);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(95, 207, 229, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(95, 207, 229, 0.5);
    color: white;
}

.hero-btn-secondary {
    background: transparent;
    border: 2px solid #2D5573;
    color: #2D5573;
    box-shadow: none;
}

.hero-btn-secondary:hover {
    background: #2D5573;
    color: white;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    aspect-ratio: 3/2;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.hero-image-badge h4 {
    font-size: 2rem;
    font-weight: 800;
    color: #1b5278;
    margin: 0 0 5px 0;
}

.hero-image-badge p {
    font-size: 0.95rem;
    color: #5A6C7D;
    margin: 0;
}

.hero-breadcrumb {
    margin-top: 25px;
    font-size: 0.95rem;
    color: #5A6C7D;
}

.hero-breadcrumb a {
    color: #2D5573;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.hero-breadcrumb a:hover {
    color: #1b5278;
}

/* Main Content Section */
.main-content-section {
    padding: 50px 0;
    background: white;
    position: relative;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.content-text {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(95, 207, 229, 0.1);
    position: relative;
}

.content-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1b5278, #2D5573);
    border-radius: 24px 0 0 24px;
}

[dir="rtl"] .content-text::before {
    left: auto;
    right: 0;
    border-radius: 0 24px 24px 0;
}

.section-label-small {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1b5278;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    padding-left: 30px;
}

.section-label-small::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: #1b5278;
}

[dir="rtl"] .section-label-small {
    padding-left: 0;
    padding-right: 30px;
}

[dir="rtl"] .section-label-small::before {
    left: auto;
    right: 0;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #19374B;
    margin-bottom: 30px;
    line-height: 1.3;
    position: relative;
}

.section-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #5A6C7D;
    margin-bottom: 25px;
    font-weight: 400;
}

/* Journey Cards */
.journey-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="%235FCFE5" opacity="0.1"/></svg>');
    opacity: 0.5;
}

.journey-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.journey-card {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.journey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1b5278, #2D5573);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

[dir="rtl"] .journey-card::before {
    transform-origin: right;
}

.journey-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(95, 207, 229, 0.2);
    border-color: rgba(95, 207, 229, 0.3);
}

.journey-card:hover::before {
    transform: scaleX(1);
}

.journey-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #19374B;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.journey-card h3::before {
    content: '✦';
    color: #1b5278;
    font-size: 1.2rem;
}

.journey-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5A6C7D;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.image-box {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    padding-bottom: 100%;
    background: linear-gradient(135deg, #E8EEF2, #D1D9E0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
}

.image-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(95, 207, 229, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.image-box:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(95, 207, 229, 0.3);
}

.image-box:hover::after {
    opacity: 1;
}

.image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.image-box:hover img {
    transform: scale(1.1);
}

/* Video & CTA Section */
.video-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.video-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.video-cta-content {
    padding: 20px 0;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0 40px;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #19374B;
}

.cta-benefit i {
    color: #1b5278;
    font-size: 1.3rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.video-cta-video {
    position: relative;
}

/* Video Section */
.video-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1b5278, transparent);
}

.video-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(95, 207, 229, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #1b5278, #2D5573);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=1000') center/cover;
    transition: all 0.4s;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.4s;
}

.video-container:hover .video-placeholder::before {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    position: relative;
    z-index: 2;
    width: 110px;
    height: 110px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.play-button::before {
    content: '';
    position: absolute;
    inset: -15px;
    border: 3px solid white;
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

.play-button:hover {
    transform: scale(1.15);
    box-shadow: 0 20px 60px rgba(95, 207, 229, 0.6);
}

.play-button i {
    font-size: 2.2rem;
    color: #2D5573;
    margin-left: 6px;
}

.video-text-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.video-text-ring text {
    fill: white;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 6px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #2D5573, #19374B);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(95, 207, 229, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1b5278, #e5893e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: block;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Certification Section */
.certification-section {
    padding: 60px 0;
    background: #F8F9FB;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;

}

.cert-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
    position: relative;
    border: 3px solid rgba(95, 207, 229, 0.2);
}

.cert-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(95, 207, 229, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.cert-image:hover::before {
    opacity: 1;
}

.cert-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cert-image:hover img {
    transform: scale(1.05);
}

/* Experience Section */
.experience-section {
    background: white;
}

.exp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.exp-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.exp-img-box {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    height: 260px;
    position: relative;
    border: 2px solid rgba(95, 207, 229, 0.15);
}

.exp-img-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(95, 207, 229, 0.3), rgba(45, 85, 115, 0.3));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.exp-img-box:hover::after {
    opacity: 1;
}

.exp-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.exp-img-box:hover img {
    transform: scale(1.1);
}

.exp-img-box.large {
    grid-row: span 2;
    height: 545px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-list li:hover {
    border-color: rgba(95, 207, 229, 0.3);
    box-shadow: 0 10px 30px rgba(95, 207, 229, 0.15);
    transform: translateX(5px);
}

[dir="rtl"] .feature-list li:hover {
    transform: translateX(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1b5278, #2D5573);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(95, 207, 229, 0.3);
    transition: transform 0.3s;
}

.feature-list li:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

[dir="rtl"] .feature-icon {
    margin-right: 0;
    margin-left: 25px;
}

.feature-icon i {
    font-size: 1.7rem;
    color: white;
}

.feature-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #19374B;
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 1.05rem;
    color: #5A6C7D;
    line-height: 1.7;
    margin: 0;
}

.explore-btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #1b5278, #2D5573);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 40px;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(95, 207, 229, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.explore-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2D5573, #19374B);
    opacity: 0;
    transition: opacity 0.4s;
}

.explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(95, 207, 229, 0.5);
    color: white;
}

.explore-btn:hover::before {
    opacity: 1;
}

.explore-btn span {
    position: relative;
    z-index: 1;
}

/* Testimonial Section */
.testimonial-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.testimonial-section::before {
    content: '"';
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20rem;
    color: rgba(95, 207, 229, 0.05);
    font-family: Georgia, serif;
    z-index: 0;
}

.testimonial-card {
    max-width: 1000px;
    margin: 60px auto 0;
    background: white;
    border-radius: 30px;
    padding: 80px 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(95, 207, 229, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #1b5278, #2D5573);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.testimonial-card:hover::before {
    opacity: 0.1;
}

.quote-icon {
    font-size: 5rem;
    background: linear-gradient(135deg, #1b5278, #2D5573);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    opacity: 0.7;
    display: inline-block;
}

.testimonial-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #19374B;
    margin-bottom: 35px;
    line-height: 1.4;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 2;
    color: #5A6C7D;
    margin-bottom: 50px;
    font-style: italic;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #1b5278;
    box-shadow: 0 5px 20px rgba(95, 207, 229, 0.3);
    transition: transform 0.3s;
}

.author-img:hover {
    transform: scale(1.1);
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #19374B;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.95rem;
    color: #5A6C7D;
    margin: 0;
}

.testimonial-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #D1D9E0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.4s;
}

.dot:hover {
    background: linear-gradient(135deg, #1b5278, #2D5573);
    transform: scale(1.2);
}

.dot:hover::before {
    border-color: rgba(95, 207, 229, 0.3);
}

.dot.active {
    background: linear-gradient(135deg, #1b5278, #2D5573);
    width: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(95, 207, 229, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .cert-grid,
    .exp-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .section-heading {
        font-size: 2.2rem;
    }

    .testimonial-card {
        padding: 60px 40px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    [dir="rtl"] .hero-text {
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-label {
        padding-left: 0;
    }

    .hero-label::before {
        display: none;
    }

    .video-cta-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 50px 0 40px;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-image-badge {
        bottom: 20px;
        left: 20px;
        padding: 20px 25px;
    }

    .hero-image-badge h4 {
        font-size: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .main-content-section,
    .journey-section,
    .video-section,
    .certification-section,
    .experience-section,
    .testimonial-section {
        padding: 80px 0;
    }

    .section-heading {
        font-size: 2rem;
    }

    .content-text {
        padding: 30px 25px;
    }

    .journey-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .journey-card {
        padding: 40px 30px;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }

    .testimonial-card {
        padding: 50px 30px;
    }

    .testimonial-title {
        font-size: 1.6rem;
    }

    .testimonial-text {
        font-size: 1.05rem;
    }

    .exp-images {
        grid-template-columns: 1fr;
    }

    .exp-img-box.large {
        grid-row: span 1;
        height: 300px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
    }

    .feature-icon i {
        font-size: 1.3rem;
    }

    .feature-content h4 {
        font-size: 1.15rem;
    }

    .feature-content p {
        font-size: 1rem;
    }

    .explore-btn {
        padding: 16px 40px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 40px 0 30px;
        margin-top: 65px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-label {
        font-size: 11px;
        padding: 6px 18px;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .content-text {
        padding: 25px 20px;
    }

    .journey-card {
        padding: 30px 25px;
    }

    .journey-card h3 {
        font-size: 1.4rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-item {
        padding: 30px 15px;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .testimonial-card {
        padding: 40px 20px;
    }

    .testimonial-title {
        font-size: 1.4rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .quote-icon {
        font-size: 3.5rem;
    }

    .exp-img-box {
        height: 220px;
    }

    .exp-img-box.large {
        height: 220px;
    }
}

/* Smooth Scrolling Disabled */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journey-card,
.stat-item,
.testimonial-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Improved Typography */
.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Enhanced Shadows */
.journey-card,
.testimonial-card,
.cert-image,
.exp-img-box {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* Button Improvements */
.explore-btn,
.btn {
    cursor: pointer;
    border: none;
    outline: none;
    text-transform: none;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* Hover Effects */
.image-box,
.exp-img-box,
.cert-image {
    cursor: pointer;
}

/* RTL Support */
[dir="rtl"] .play-button i {
    margin-left: 0;
    margin-right: 5px;
}

[dir="rtl"] .hero-breadcrumb {
    direction: rtl;
}

[dir="rtl"] .author-info {
    text-align: right;
}

[dir="rtl"] .explore-btn {
    direction: rtl;
}

[dir="rtl"] .feature-list li {
    flex-direction: row-reverse;
}

/* Accessibility */
.about-page a:focus,
.about-page button:focus {
    outline: 2px solid #1b5278;
    outline-offset: 4px;
}

/* Performance Optimization */
.image-box img,
.exp-img-box img,
.cert-image img {
    will-change: transform;
}

/* Print Styles */
@media print {

    .about-hero,
    .video-section {
        break-inside: avoid;
    }

    .explore-btn,
    .testimonial-dots {
        display: none;
    }
}


/* Source: admin-events-ox.css */
/* ===== Ox Admin Events Styles ===== */
.admin-events-page {
    background: #f8f9fb;
    min-height: 100vh;
}

.events-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.events-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.events-header p {
    opacity: 0.95;
    font-size: 1.1rem;
    margin: 0;
}

.events-header .btn {
    background: white;
    color: #667eea;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.events-header .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2C3E50;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* Filter Bar */
.filter-bar {
    background: white;
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.filter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-input,
.filter-select {
    flex: 1;
    min-width: 200px;
    padding: 0.85rem 1.2rem;
    border: 2px solid #e8ecef;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: #f8f9fb;
}

.filter-input:focus,
.filter-select:focus {
    border-color: #667eea;
    background: white;
    outline: none;
}

/* Table Container */
.table-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.data-table thead th {
    padding: 1.2rem 1rem;
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.data-table tbody tr:hover {
    background: #f8f9fb;
}

.data-table tbody td {
    padding: 1.2rem 1rem;
    color: #2C3E50;
}

/* Event Title Cell */
.event-title-cell strong {
    display: block;
    font-size: 1.05rem;
    color: #2C3E50;
    margin-bottom: 0.4rem;
}

.event-meta-small {
    font-size: 0.85rem;
    color: #95a5a6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-cell {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.date-cell i {
    color: #667eea;
    margin-left: 0.3rem;
}

.date-cell small {
    color: #95a5a6;
    font-size: 0.85rem;
}

.attendees-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.attendees-cell i {
    color: #667eea;
}

.attendees-cell strong {
    color: #2C3E50;
    font-size: 1.1rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.2rem;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-secondary {
    background: #e2e3e5;
    color: #383d41;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-icon-info {
    background: #e3f2fd;
    color: #1976d2;
}

.btn-icon-primary {
    background: #e8eaf6;
    color: #5e35b1;
}

.btn-icon-warning {
    background: #fff3e0;
    color: #f57c00;
}

.btn-icon-success {
    background: #e8f5e9;
    color: #388e3c;
}

.btn-icon-secondary {
    background: #f5f5f5;
    color: #757575;
}

.btn-icon-danger {
    background: #ffebee;
    color: #d32f2f;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid #e8ecef;
    background: white;
    color: #2C3E50;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0 1rem;
}

.pagination-btn:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f8f9fb;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: #7f8c8d;
    margin-bottom: 0.8rem;
}

.empty-state p {
    color: #95a5a6;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .table-container {
        overflow-x: auto;
    }

    .data-table {
        min-width: 900px;
    }
}

@media (max-width: 768px) {
    .events-header h1 {
        font-size: 1.8rem;
    }

    .filter-form {
        flex-direction: column;
    }

    .filter-input,
    .filter-select {
        width: 100%;
        min-width: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        justify-content: center;
    }
}


/* Source: admin-notifications.css */
/* ===OXTech===== */


/* Notification Button */
.notifications-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 10px;
}

.notification-btn {
    background: transparent;
    border: none;
    position: relative;
    cursor: pointer;
    padding: 10px;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.notification-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

.notification-badge.hidden {
    display: none;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 2px 12px rgba(255, 68, 68, 0.6);
    }
}

/* Dropdown Container */
.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 400px;
    max-width: 95vw;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 1px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.notification-dropdown.show {
    display: block;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* RTL Support */
html[dir="rtl"] .notification-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .notification-badge {
    right: auto;
    left: 5px;
}

/* Header */
.notification-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.notification-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.mark-all-read {
    background: transparent;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.mark-all-read:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #0056b3;
}

.mark-all-read i {
    margin-left: 4px;
}

html[dir="rtl"] .mark-all-read i {
    margin-left: 0;
    margin-right: 4px;
}

/* Notification List */
.notification-list {
    max-height: 450px;
    overflow-y: auto;
    background: #fff;
}

.notification-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 123, 255, 0.02) 100%);
    border-right: 3px solid #007bff;
}

html[dir="rtl"] .notification-item.unread {
    border-right: none;
    border-left: 3px solid #007bff;
}

/* Notification Icon */
.notification-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.notification-item:hover .notification-icon {
    transform: scale(1.1);
}

.notification-icon.order {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
}

.notification-icon.user {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #388e3c;
}

.notification-icon.course {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #f57c00;
}

.notification-icon.event {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2;
}

.notification-icon.message {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    color: #c2185b;
}

.notification-icon.consultation {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    color: #00796b;
}

.notification-icon.system {
    background: linear-gradient(135deg, #eceff1 0%, #cfd8dc 100%);
    color: #455a64;
}

/* Notification Content */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.4;
}

.notification-text {
    color: #666;
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-time {
    color: #999;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notification-time i {
    font-size: 10px;
}

/* Footer */
.notification-footer {
    padding: 12px 20px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.notification-footer a {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notification-footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Empty State */
.no-notifications {
    padding: 60px 20px;
    text-align: center;
    color: #999;
}

.no-notifications i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
    color: #ccc;
}

.no-notifications p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Loading State */
.notification-loading {
    padding: 40px 20px;
    text-align: center;
}

.notification-loading .spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Scrollbar */
.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f8f8f8;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .notification-dropdown {
        width: 100vw;
        right: -10px;
        border-radius: 12px 12px 0 0;
        max-height: 80vh;
    }

    html[dir="rtl"] .notification-dropdown {
        left: -10px;
        right: auto;
    }

    .notification-list {
        max-height: calc(80vh - 130px);
    }

    .notification-item {
        padding: 12px 16px;
    }

    .notification-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 16px;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .notification-dropdown {
        background: #2d2d2d;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .notification-header {
        background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
        border-bottom-color: #444;
    }

    .notification-header h4 {
        color: #fff;
    }

    .notification-list {
        background: #2d2d2d;
    }

    .notification-item {
        border-bottom-color: #3a3a3a;
    }

    .notification-item:hover {
        background: #3a3a3a;
    }

    .notification-title {
        color: #fff;
    }

    .notification-text {
        color: #bbb;
    }

    .notification-footer {
        background: #2d2d2d;
        border-top-color: #444;
    }
}

/* Source: auth-pages.css */
/* ===OXTech===== */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .form-group input {
    text-align: right;
}

/* Additional utility classes if needed */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* Source: blog-post-mobile.css */
/* ===================================
   Blog Post Page - Mobile Optimization
   =================================== */

/* ============= Mobile Improvements ============= */
@media (max-width: 768px) {

    /* Post Container */
    .blog-post-page {
        padding: 1rem 0 3rem;
    }

    .post-container {
        padding: 0 0.5rem;
    }

    /* Post Header - Better Mobile Layout */
    .post-header {
        padding: 1.5rem;
        border-radius: 16px 16px 0 0;
    }

    .post-header .post-category-badge {
        margin-bottom: 1rem;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .post-header .post-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    /* Post Meta - Stack on Mobile */
    .post-header .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .post-meta-item {
        gap: 0.4rem;
    }

    .post-author {
        width: 100%;
    }

    .post-author-avatar {
        width: 32px !important;
        height: 32px !important;
    }

    /* Featured Image - Smaller on Mobile */
    .post-featured-image {
        height: 220px;
        border-radius: 0;
    }

    /* Post Body - Better Padding */
    .post-body {
        padding: 1.5rem;
        border-radius: 0 0 16px 16px;
    }

    .post-content-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .post-content-text h2 {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem;
    }

    .post-content-text h3 {
        font-size: 1.25rem;
        margin: 1.25rem 0 0.75rem;
    }

    .post-content-text p {
        margin-bottom: 1rem;
    }

    .post-content-text ul,
    .post-content-text ol {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }

    [dir="rtl"] .post-content-text ul,
    [dir="rtl"] .post-content-text ol {
        padding-left: 0;
        padding-right: 1.5rem;
    }

    .post-content-text blockquote {
        margin: 1.5rem 0;
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .post-content-text img {
        margin: 1.5rem 0;
        border-radius: 8px;
    }

    /* Tags - Better Mobile Layout */
    .post-tags {
        margin-top: 2rem;
        padding-top: 1.5rem;
        gap: 0.5rem;
    }

    .post-tags i {
        font-size: 1rem !important;
    }

    .post-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* Post Actions - Stack on Mobile */
    .post-actions {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .post-like-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .post-like-btn i {
        font-size: 1.1rem;
    }

    .post-share {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }

    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Comments Section - Mobile Optimization */
    .comments-section {
        margin-top: 2rem;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .comments-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        flex-wrap: wrap;
    }

    .comments-header h3 {
        font-size: 1.35rem;
    }

    .comments-count {
        min-width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    /* Comment Form - Mobile Friendly */
    .comment-form {
        margin-bottom: 2rem;
    }

    .comment-form textarea {
        min-height: 100px;
        padding: 0.875rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .btn-submit-comment {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Comments List - Better Mobile Layout */
    .comments-list {
        gap: 1.5rem;
    }

    .comment {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        border-radius: 12px;
    }

    .comment-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .comment-author {
        font-size: 0.95rem;
    }

    .comment-date {
        font-size: 0.8rem;
    }

    .comment-text {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .comment-actions {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .comment-action-btn {
        font-size: 0.8rem;
    }

    /* Nested Replies - Better Mobile Layout */
    .comment-reply {
        margin-left: 1.5rem;
        margin-top: 1rem;
    }

    [dir="rtl"] .comment-reply {
        margin-left: 0;
        margin-right: 1.5rem;
    }

    /* Related Posts - Mobile Grid */
    .related-posts {
        margin: 2rem auto;
        padding: 0 0.5rem;
    }

    .related-posts h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .related-posts .blog-post {
        margin: 0;
    }

    .related-posts .post-image {
        height: 200px;
    }

    .related-posts .post-content {
        padding: 1.25rem;
    }

    .related-posts .post-title {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .related-posts .post-excerpt {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    /* Empty State */
    .empty-state {
        padding: 3rem 1.5rem;
    }

    .empty-state i {
        font-size: 3.5rem;
    }

    .empty-state h3 {
        font-size: 1.25rem;
    }

    .empty-state p {
        font-size: 0.9rem;
    }
}

/* ============= Extra Small Screens (320px - 480px) ============= */
@media (max-width: 480px) {
    .blog-post-page {
        padding: 0.5rem 0 2rem;
    }

    .post-container {
        padding: 0 0.25rem;
    }

    /* Post Header - Very Small Screens */
    .post-header {
        padding: 1rem;
        border-radius: 12px 12px 0 0;
    }

    .post-header .post-category-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.7rem;
        gap: 0.35rem;
    }

    .post-header .post-category-badge i {
        font-size: 0.75rem;
    }

    .post-header .post-title {
        font-size: 1.25rem !important;
        line-height: 1.25;
    }

    .post-header .post-meta {
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .post-author-avatar {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.7rem;
    }

    .post-meta i {
        font-size: 0.85rem;
    }

    /* Featured Image */
    .post-featured-image {
        height: 180px;
    }

    /* Post Body */
    .post-body {
        padding: 1rem;
        border-radius: 0 0 12px 12px;
    }

    .post-content-text {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .post-content-text h2 {
        font-size: 1.35rem;
        margin: 1.25rem 0 0.75rem;
    }

    .post-content-text h3 {
        font-size: 1.15rem;
        margin: 1rem 0 0.5rem;
    }

    .post-content-text ul,
    .post-content-text ol {
        padding-left: 1.25rem;
        font-size: 0.9rem;
    }

    [dir="rtl"] .post-content-text ul,
    [dir="rtl"] .post-content-text ol {
        padding-left: 0;
        padding-right: 1.25rem;
    }

    .post-content-text blockquote {
        margin: 1.25rem 0;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    /* Tags */
    .post-tags {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
        gap: 0.4rem;
    }

    .post-tags i {
        font-size: 0.9rem !important;
    }

    .post-tag {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
        gap: 0.35rem;
    }

    /* Post Actions */
    .post-actions {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }

    .post-like-btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }

    .post-like-btn i {
        font-size: 1rem;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* Comments Section */
    .comments-section {
        margin-top: 1.5rem;
        padding: 1rem;
        border-radius: 12px;
    }

    .comments-header {
        margin-bottom: 1.25rem;
        padding-bottom: 0.875rem;
    }

    .comments-header h3 {
        font-size: 1.2rem;
    }

    .comments-count {
        min-width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    /* Comment Form */
    .comment-form {
        margin-bottom: 1.5rem;
    }

    .comment-form textarea {
        min-height: 90px;
        padding: 0.75rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .btn-submit-comment {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
        border-radius: 40px;
    }

    /* Comments */
    .comments-list {
        gap: 1.25rem;
    }

    .comment {
        gap: 0.875rem;
        padding: 0.875rem;
        border-radius: 10px;
    }

    .comment-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .comment-author {
        font-size: 0.9rem;
    }

    .comment-date {
        font-size: 0.75rem;
    }

    .comment-text {
        font-size: 0.85rem;
    }

    .comment-actions {
        gap: 0.875rem;
    }

    .comment-action-btn {
        font-size: 0.75rem;
    }

    /* Nested Replies */
    .comment-reply {
        margin-left: 1rem;
        margin-top: 0.875rem;
    }

    [dir="rtl"] .comment-reply {
        margin-left: 0;
        margin-right: 1rem;
    }

    /* Related Posts */
    .related-posts {
        margin: 1.5rem auto;
    }

    .related-posts h3 {
        font-size: 1.35rem;
        margin-bottom: 1.25rem;
    }

    .related-posts-grid {
        gap: 1.25rem;
    }

    .related-posts .post-image {
        height: 180px;
    }

    .related-posts .post-content {
        padding: 1rem;
    }

    .related-posts .post-title {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .related-posts .post-excerpt {
        font-size: 0.825rem;
        margin-bottom: 0.875rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .related-posts .read-more-btn {
        font-size: 0.85rem;
    }

    /* Empty State */
    .empty-state {
        padding: 2.5rem 1rem;
    }

    .empty-state i {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .empty-state h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .empty-state p {
        font-size: 0.85rem;
    }
}

/* ============= Landscape Mode (Mobile) ============= */
@media (max-width: 768px) and (orientation: landscape) {
    .post-featured-image {
        height: 280px;
    }

    .post-header .post-title {
        font-size: 1.35rem !important;
    }

    .comments-section {
        margin-top: 1.5rem;
    }
}

/* ============= Text Selection & Touch Improvements ============= */
@media (max-width: 768px) {

    /* Better touch targets */
    .share-btn,
    .post-like-btn,
    .comment-action-btn,
    .btn-submit-comment {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Prevent text selection on buttons */
    button,
    .share-btn,
    .post-like-btn {
        -webkit-user-select: none;
        user-select: none;
    }

    /* Smooth scrolling */
    .comments-section,
    .related-posts {
        scroll-margin-top: 80px;
    }

    /* Fix image overflow */
    .post-content-text img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Fix table overflow */
    .post-content-text table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    /* Better code block display */
    .post-content-text pre,
    .post-content-text code {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.85rem;
    }
}

/* ============= iOS Specific Fixes ============= */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {

        /* Fix iOS input zoom */
        input,
        textarea,
        select {
            font-size: 16px !important;
        }

        /* Fix iOS safe area */
        .blog-post-page {
            padding-bottom: env(safe-area-inset-bottom, 2rem);
        }

        /* Prevent iOS bounce on fixed elements */
        body {
            -webkit-overflow-scrolling: touch;
        }
    }
}

/* ============= Loading States for Mobile ============= */
@media (max-width: 768px) {
    .loading-spinner {
        padding: 3rem 0;
    }

    .spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
}


/* Source: blog.css */
/* ===OXTech===== */

.blog-hero {
    background: linear-gradient(135deg, #1B5278 0%, #2a6a93 50%, #1B5278 100%);
    padding: 8rem 0 6rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.blog-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.blog-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.blog-hero .search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-hero .search-box input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.blog-hero .search-box button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #e5893e;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.blog-hero .search-box button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 16px rgba(255, 149, 0, 0.4);
}

/* ============= Category Filter Bar ============= */
.category-filter {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 70px;
    z-index: 100;
    transition: all 0.3s;
}

.category-filter.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.category-tabs {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 1rem;
    scrollbar-width: thin;
    scrollbar-color: #1b5278 #f0f0f0;
}

.category-tabs::-webkit-scrollbar {
    height: 4px;
}

.category-tabs::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.category-tabs::-webkit-scrollbar-thumb {
    background: #1b5278;
    border-radius: 10px;
}

.category-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8f9fb;
    border: 2px solid transparent;
    border-radius: 50px;
    color: #5A6C7D;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.category-tab:hover {
    background: rgba(69, 183, 209, 0.1);
    border-color: #1b5278;
    color: #1b5278;
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(135deg, #1B5278 0%, #2a6a93 50%, #1B5278 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(69, 183, 209, 0.3);
}

.category-tab i {
    font-size: 1.125rem;
}

.category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
}

.category-tab.active .category-count {
    background: rgba(255, 255, 255, 0.25);
}

/* ============= Blog Posts Grid ============= */
.blog-section {
    padding: 4rem 0;
    background: #f8f9fb;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Featured Post (First post, full width) */
.blog-post.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    max-height: 450px;
}

.blog-post.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.blog-post.featured .post-image {
    height: 450px;
    width: 100%;
}

.blog-post.featured .post-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.blog-post.featured .post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post.featured .post-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Regular Blog Post Card */
.blog-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.post-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #e5893e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
    z-index: 10;
}

[dir="rtl"] .post-badge {
    right: auto;
    left: 1.5rem;
}

.post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f7f8fa;
    flex-shrink: 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-post:hover .post-image img {
    transform: scale(1.08);
}

.post-category-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

[dir="rtl"] .post-category-badge {
    left: auto;
    right: 1.5rem;
}

.post-category-badge i {
    font-size: 0.875rem;
}

.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #8B96A5;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    color: #1b5278;
    font-size: 1rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5A6C7D;
    font-weight: 600;
}

.post-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b5278, #5FCFE5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    overflow: hidden;
}

.post-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-title {
    font-size: 21px;
    margin-bottom: 0.75rem;
    color: #2C3E50;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.8em;
}

.post-excerpt {
    color: #5A6C7D;
    margin-bottom: auto;
    line-height: 1.6;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.8em;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #E1E8ED;
}

.post-stats {
    display: flex;
    gap: 1.5rem;
    color: #8B96A5;
    font-size: 0.875rem;
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-stat i {
    color: #1b5278;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1b5278;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.read-more-btn:hover {
    gap: 1rem;
}

[dir="rtl"] .read-more-btn:hover {
    gap: 0rem;
}

/* ============= Pagination ============= */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 3rem 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 1rem;
    background: white;
    border: 2px solid #E1E8ED;
    border-radius: 12px;
    color: #5A6C7D;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.pagination-btn:hover {
    background: #1b5278;
    border-color: #1b5278;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(69, 183, 209, 0.3);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #1b5278, #5FCFE5);
    border-color: #1b5278;
    color: white;
    box-shadow: 0 4px 16px rgba(69, 183, 209, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn:disabled:hover {
    background: white;
    border-color: #E1E8ED;
    color: #5A6C7D;
    transform: none;
    box-shadow: none;
}

/* ============= Single Blog Post Page ============= */
.blog-post-page {
    padding: 2rem 0 6rem;
    background: #f8f9fb;
    margin-top: 70px;
}

.post-container {
    max-width: 900px;
    margin: 0 auto;
}

.post-header {
    background: white;
    padding: 3rem;
    border-radius: 24px 24px 0 0;
    text-align: center;
}

.post-header .post-category-badge {
    position: static;
    margin-bottom: 1.5rem;
}

.post-header .post-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    -webkit-line-clamp: unset;
    display: block;
}

.post-header .post-meta {
    justify-content: center;
    font-size: 1rem;
}

.post-featured-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 0;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.post-body {
    background: white;
    padding: 3rem;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.post-content-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2C3E50;
}

.post-content-text h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: #2C3E50;
}

.post-content-text h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: #2C3E50;
}

.post-content-text p {
    margin-bottom: 1.5rem;
    color: #5A6C7D;
}

.post-content-text ul,
.post-content-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: #5A6C7D;
}

[dir="rtl"] .post-content-text ul,
[dir="rtl"] .post-content-text ol {
    padding-left: 0;
    padding-right: 2rem;
}

.post-content-text li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.post-content-text blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(69, 183, 209, 0.05);
    border-left: 4px solid #1b5278;
    border-radius: 8px;
    font-style: italic;
    color: #2C3E50;
}

[dir="rtl"] .post-content-text blockquote {
    border-left: none;
    border-right: 4px solid #1b5278;
}

.post-content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #E1E8ED;
}

.post-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(69, 183, 209, 0.1);
    color: #1b5278;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.post-tag:hover {
    background: #1b5278;
    color: white;
    transform: translateY(-2px);
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #E1E8ED;
}

.post-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: rgba(69, 183, 209, 0.1);
    color: #1b5278;
    border: 2px solid #1b5278;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.post-like-btn:hover {
    background: #1b5278;
    color: white;
    transform: scale(1.05);
}

.post-like-btn.liked {
    background: #1b5278;
    color: white;
}

.post-like-btn i {
    font-size: 1.25rem;
}

.post-share {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #E1E8ED;
    border-radius: 50%;
    color: #5A6C7D;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
}

.share-btn:hover {
    background: #1b5278;
    border-color: #1b5278;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(69, 183, 209, 0.3);
}

/* ============= Comments Section ============= */
.comments-section {
    max-width: 900px;
    margin: 3rem auto 0;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.comments-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #E1E8ED;
}

.comments-header h3 {
    font-size: 1.75rem;
    color: #2C3E50;
    margin: 0;
}

.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 0.75rem;
    background: linear-gradient(135deg, #1b5278, #5FCFE5);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
}

.comment-form {
    margin-bottom: 3rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid #E1E8ED;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    resize: vertical;
    transition: all 0.3s;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #1b5278;
    box-shadow: 0 0 0 4px rgba(69, 183, 209, 0.1);
}

.comment-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-submit-comment {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #1b5278, #5FCFE5);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(69, 183, 209, 0.3);
}

.btn-submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 183, 209, 0.4);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comment {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fb;
    border-radius: 16px;
    transition: all 0.3s;
}

.comment:hover {
    background: rgba(69, 183, 209, 0.05);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b5278, #5FCFE5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.comment-author {
    font-weight: 700;
    color: #2C3E50;
    font-size: 1rem;
}

.comment-date {
    color: #8B96A5;
    font-size: 0.875rem;
}

.comment-text {
    color: #5A6C7D;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-actions {
    display: flex;
    gap: 1.5rem;
}

.comment-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #8B96A5;
    font-size: 0.875rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.comment-action-btn:hover {
    color: #1b5278;
}

.comment-action-btn.liked {
    color: #FF9500;
}

/* Nested Reply */
.comment-reply {
    margin-left: 4rem;
    margin-top: 1.5rem;
}

[dir="rtl"] .comment-reply {
    margin-left: 0;
    margin-right: 4rem;
}

/* ============= Related Posts ============= */
.related-posts {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.related-posts h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2C3E50;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ============= Empty State ============= */
.empty-state {
    text-align: center;
    padding: 6rem 2rem;
    color: #8B96A5;
}

.empty-state i {
    font-size: 5rem;
    color: #E1E8ED;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #5A6C7D;
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1rem;
    margin: 0;
}

/* ============= Loading Spinner ============= */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #E1E8ED;
    border-top-color: #1b5278;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============= Responsive Design ============= */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .blog-post.featured {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .blog-post.featured .post-image {
        height: 350px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .category-tabs {
        justify-content: flex-start;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-post.featured .post-content {
        padding: 2rem;
    }

    .blog-post.featured .post-title {
        font-size: 2rem;
    }

    .post-header {
        padding: 2rem;
    }

    .post-header .post-title {
        font-size: 2rem;
    }

    .post-featured-image {
        height: 300px;
    }

    .post-body {
        padding: 2rem;
    }

    .comments-section {
        padding: 2rem;
    }

    .comment-reply {
        margin-left: 2rem;
    }

    [dir="rtl"] .comment-reply {
        margin-right: 2rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 6rem 0 4rem;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .post-header .post-title {
        font-size: 1.75rem;
    }

    .post-content {
        padding: 1.5rem;
    }

    .post-body {
        padding: 1.5rem;
    }

    .post-featured-image {
        height: 250px;
    }

    .pagination-btn {
        min-width: 40px;
        height: 40px;
    }
}

/* Source: checkout-responsive.css */
/* ===OXTech===== */

/* Base Checkout Section */
.checkout-section {
    padding: 6rem 0 4rem 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.02), rgba(107, 166, 236, 0.03));
    min-height: 100vh;
}

.checkout-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Checkout Grid - Two Columns */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: start;
}

/* Order Summary Sidebar */
.order-summary {
    position: sticky;
    top: 100px;
}

.order-summary h2,
.checkout-form h2 {
    font-size: 1.75rem;
    color: #2C3E50;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Summary Card */
.summary-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Plan/Course Info */
.plan-info,
.course-info {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #E2E8F0;
    margin-bottom: 1.5rem;
}

.plan-info h3,
.course-info h3 {
    font-size: 1.5rem;
    color: #2C3E50;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.plan-info p,
.course-info p {
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Price Breakdown */
.price-breakdown {
    margin: 1.5rem 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #475569;
}

.price-row.total {
    border-top: 2px solid #E2E8F0;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2C3E50;
}

.total-amount {
    font-size: 1.75rem;
    color: #4A90E2;
}

/* Features List */
.features-list {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #E2E8F0;
}

.features-list h4 {
    font-size: 1.1rem;
    color: #2C3E50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #475569;
}

.features-list li i {
    color: #10B981;
    font-size: 1rem;
}

/* Checkout Form */
.checkout-form {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section h3 {
    font-size: 1.25rem;
    color: #2C3E50;
    margin-bottom: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3 i {
    color: #4A90E2;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    gap: 1rem;
}

.payment-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
}

.option-content i {
    font-size: 2rem;
    color: #4A90E2;
}

.option-content span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2C3E50;
}

.payment-option input[type="radio"]:checked+.option-content {
    border-color: #4A90E2;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(107, 166, 236, 0.05));
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.payment-option:hover .option-content {
    border-color: #4A90E2;
    transform: translateY(-2px);
}

/* Payment Info Section */
.payment-info-section {
    margin: 1.5rem 0;
}

.payment-info {
    display: none;
    animation: fadeIn 0.3s ease;
}

.payment-info.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card {
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.info-card h4 {
    margin: 1rem 0 0.5rem;
    font-size: 1.5rem;
    color: #2C3E50;
    font-weight: 700;
}

.info-card p {
    color: #64748B;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.payment-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.payment-features li {
    padding: 0.875rem;
    margin: 0.5rem 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.payment-features i {
    color: #10B981;
    font-size: 1.1rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.625rem;
    color: #2C3E50;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: #475569;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-block {
    width: 100%;
    padding: 1.125rem 2rem;
    background: linear-gradient(135deg, #4A90E2 0%, #6BA6EC 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.4);
}

.btn-block:active {
    transform: translateY(0);
}

/* Secure Notice */
.secure-notice {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    text-align: center;
    color: #059669;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.secure-notice i {
    font-size: 1.25rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-error {
    background: linear-gradient(135deg, #FFF5F5, #FEE);
    color: #C53030;
    border-left: 4px solid #F56565;
}

.alert-success {
    background: linear-gradient(135deg, #F0FFF4, #EFE);
    color: #2F855A;
    border-left: 4px solid #48BB78;
}

/* ============================================
   TABLET STYLES (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .checkout-section {
        padding: 5rem 0 3rem 0;
    }

    .checkout-section .container {
        padding: 0 1.5rem;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .order-summary {
        position: static;
        order: 2;
    }

    .checkout-form {
        order: 1;
    }

    .summary-card,
    .checkout-form {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   MOBILE STYLES (max 768px)
   ============================================ */
@media (max-width: 768px) {
    .checkout-section {
        padding: 2rem 0;
    }

    .checkout-section .container {
        padding: 0 1rem;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .order-summary h2,
    .checkout-form h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .summary-card,
    .checkout-form {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .plan-info h3,
    .course-info h3 {
        font-size: 1.25rem;
    }

    .price-row {
        font-size: 0.95rem;
    }

    .price-row.total {
        font-size: 1.1rem;
    }

    .total-amount {
        font-size: 1.5rem;
    }

    .form-section {
        margin-bottom: 2rem;
    }

    .form-section h3 {
        font-size: 1.1rem;
    }

    .payment-methods {
        gap: 0.75rem;
    }

    .option-content {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .option-content i {
        font-size: 1.75rem;
    }

    .option-content span {
        font-size: 1rem;
    }

    .option-content small {
        width: 100%;
        margin-top: 0.5rem;
        font-size: 0.85rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-card h4 {
        font-size: 1.25rem;
    }

    .payment-features li {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .btn-block {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .secure-notice {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   SMALL MOBILE STYLES (max 480px)
   ============================================ */
@media (max-width: 480px) {
    .checkout-section {
        padding: 1.5rem 0;
    }

    .checkout-section .container {
        padding: 0 0.75rem;
    }

    .checkout-grid {
        gap: 1rem;
    }

    .order-summary h2,
    .checkout-form h2 {
        font-size: 1.25rem;
    }

    .summary-card,
    .checkout-form {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .plan-info h3,
    .course-info h3 {
        font-size: 1.1rem;
    }

    .plan-info p,
    .course-info p {
        font-size: 0.9rem;
    }

    .price-row {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .price-row.total {
        font-size: 1rem;
    }

    .total-amount {
        font-size: 1.35rem;
    }

    .features-list h4 {
        font-size: 1rem;
    }

    .features-list li {
        font-size: 0.85rem;
        padding: 0.35rem 0;
    }

    .form-section h3 {
        font-size: 1rem;
    }

    .option-content {
        padding: 0.875rem;
    }

    .option-content i {
        font-size: 1.5rem;
    }

    .option-content span {
        font-size: 0.95rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    .info-card i {
        font-size: 2.5rem !important;
    }

    .info-card h4 {
        font-size: 1.1rem;
    }

    .info-card p {
        font-size: 0.9rem;
    }

    .payment-features li {
        padding: 0.625rem;
        font-size: 0.85rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }

    .btn-block {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 40px;
    }

    .secure-notice {
        padding: 0.75rem;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .secure-notice i {
        font-size: 1.1rem;
    }

    .checkbox-label {
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   BOOKING CONSULTATION SPECIFIC STYLES
   ============================================ */
.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.consultation-summary {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.booking-form {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.625rem;
    color: #2C3E50;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.payment-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
}

.payment-option input[type="radio"]:checked+.payment-label {
    border-color: #4A90E2;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(107, 166, 236, 0.05));
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.payment-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #4A90E2;
}

.price-summary {
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.discount-row {
    color: #10B981 !important;
}

.btn-submit {
    width: 100%;
    padding: 1.125rem 2rem;
    background: linear-gradient(135deg, #4A90E2 0%, #6BA6EC 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
    margin-top: 1.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.4);
}

@media (max-width: 768px) {
    .booking-container {
        padding: 1.5rem 1rem;
    }

    .consultation-summary,
    .booking-form {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .payment-methods {
        gap: 0.75rem;
    }

    .payment-label {
        padding: 1rem;
    }

    .payment-icon {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .booking-container {
        padding: 1rem 0.75rem;
    }

    .consultation-summary,
    .booking-form {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .form-control {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .payment-label {
        padding: 0.875rem;
    }

    .payment-icon {
        font-size: 1.5rem;
    }

    .price-summary {
        padding: 1.25rem;
    }

    .btn-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   FIX OVERFLOW ISSUES
   ============================================ */
* {
    box-sizing: border-box;
}

.checkout-section,
.checkout-section *,
.booking-container,
.booking-container * {
    overflow-x: visible !important;
}

.checkout-grid {
    overflow: visible !important;
    width: 100%;
    max-width: 100%;
}

.summary-card,
.checkout-form,
.consultation-summary,
.booking-form {
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
}

/* Prevent horizontal scroll */
body.checkout-page {
    overflow-x: hidden !important;
}

/* Make sure modals don't cause overflow on mobile */
@media (max-width: 768px) {

    .modal-content,
    .payment-info-section,
    .info-card {
        max-width: 100vw !important;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Source: community-ox.css */
/* ===================================
   Community Page - Facebook Style Design
   Based on Logo Colors: Orange & Blue
   =================================== */

/* ============= Community Ox Section ============= */
.community-ox-section {
    padding: 2rem 0;
    background: #f0f2f5;
    min-height: calc(100vh - 80px);
}

/* ============= Membership Required Ox ============= */
.membership-required-ox {
    background: white;
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 600px;
    margin: 4rem auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.lock-icon-ox {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e5893e, #FFA726);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.lock-icon-ox i {
    font-size: 3rem;
    color: white;
}

.membership-required-ox h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.membership-required-ox p {
    font-size: 1.125rem;
    color: #5A6C7D;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.membership-benefits-ox {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
    text-align: right;
}

[dir="rtl"] .membership-benefits-ox {
    text-align: right;
}

[dir="ltr"] .membership-benefits-ox {
    text-align: left;
}

.benefit-item-ox {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fb;
    border-radius: 12px;
}

.benefit-item-ox i {
    color: #e5893e;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-item-ox span {
    color: #2C3E50;
    font-size: 1rem;
}

/* ============= Community Tabs Ox - Facebook Style ============= */
.community-tabs-ox {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    background: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    border-bottom: 1px solid #e4e6eb;
}

.tab-btn-ox {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #65676b;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn-ox i {
    font-size: 1.25rem;
}

.tab-btn-ox:hover {
    background: #f2f3f5;
}

.tab-btn-ox.active {
    color: #e5893e;
    border-bottom-color: #e5893e;
    background: transparent;
}

/* ============= Forum Section Ox - Facebook Style ============= */
.forum-section-ox {
    background: transparent;
}

.forum-section-ox.facebook-style {
    max-width: 680px;
    margin: 0 auto;
}

/* ============= Create Post Box - Facebook Style ============= */
.create-post-box {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.create-post-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e4e6eb;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder-small {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5893e, #FFA726);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
}

.create-post-input {
    flex: 1;
    padding: 0.625rem 1rem;
    background: #f0f2f5;
    border: none;
    border-radius: 20px;
    text-align: right;
    color: #65676b;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

[dir="ltr"] .create-post-input {
    text-align: left;
}

.create-post-input:hover {
    background: #e4e6eb;
}

.create-post-actions {
    display: flex;
    gap: 0.5rem;
}

.create-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #65676b;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.create-action-btn:hover {
    background: #f0f2f5;
}

.create-action-btn i {
    color: #e5893e;
    font-size: 1.25rem;
}

/* Section header removed - using create post box instead */

/* ============= Forum Posts Ox - 100% Facebook Clone ============= */
.forum-posts-ox {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forum-post-card-ox {
    background: #ffffff;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    border: none;
    overflow: visible;
}

/* No hover effect on post card itself */

.pinned-badge-ox {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: #e5893e;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    z-index: 10;
}

[dir="rtl"] .pinned-badge-ox {
    left: auto;
    right: 0.75rem;
}

/* ============= Post Header - Facebook Style ============= */
.post-header-ox {
    padding: 12px 16px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.post-author-ox {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.author-avatar-ox {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.author-avatar-ox:hover {
    opacity: 0.9;
}

.author-avatar-ox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5893e, #FFA726);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
}

.author-info-ox {
    flex: 1;
    min-width: 0;
}

.author-info-ox h4 {
    font-size: 15px;
    color: #050505;
    margin: 0 0 2px 0;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.3333;
}

.author-info-ox h4:hover {
    text-decoration: underline;
}

.post-time-ox {
    font-size: 13px;
    color: #65676b;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.3333;
}

.post-time-ox i {
    font-size: 12px;
}

/* Post Options Button */
.post-options-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #65676b;
    cursor: pointer;
    transition: background 0.1s ease;
    background: transparent;
    border: none;
    font-size: 20px;
}

.post-options-btn:hover {
    background-color: #f2f3f5;
}

/* ============= Post Content - Facebook Style ============= */
.post-content-ox {
    padding: 0 16px 0;
}

.post-title-ox {
    font-size: 15px;
    color: #050505;
    margin: 12px 0 4px 0;
    line-height: 1.3333;
    font-weight: 600;
}

.post-excerpt-ox {
    font-size: 15px;
    color: #050505;
    line-height: 1.3333;
    word-break: break-word;
    margin: 0;
    padding: 0 0 12px 0;
}

/* ============= Post Engagement Bar - Facebook Style ============= */
.post-engagement {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 20px;
}

.post-reactions-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.reactions-icons {
    display: flex;
    align-items: center;
}

.reaction-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -4px;
    font-size: 10px;
    border: 2px solid white;
}

.reaction-icon:first-child {
    margin-right: 0;
}

.reaction-icon.like {
    background: #0866FF;
    color: white;
}

.reaction-icon.love {
    background: #F33E58;
    color: white;
}

.reaction-icon.haha {
    background: #F7B125;
    color: white;
}

.reactions-count {
    font-size: 15px;
    color: #65676b;
    line-height: 1.3333;
}

.reactions-count:hover {
    text-decoration: underline;
}

.post-stats-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #65676b;
}

.stat-link {
    cursor: pointer;
    line-height: 1.3333;
}

.stat-link:hover {
    text-decoration: underline;
}

/* ============= Post Actions Bar - Facebook Style ============= */
.post-actions-bar {
    border-top: 1px solid #e4e6eb;
    border-bottom: 1px solid #e4e6eb;
    display: flex;
    padding: 4px 4px;
    margin: 0 12px;
}

.post-action-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #65676b;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.1s ease;
    line-height: 1.3333;
}

.post-action-button:hover {
    background-color: #f2f3f5;
}

.post-action-button.active {
    color: #0866FF;
}

.post-action-button.active.love {
    color: #F33E58;
}

.post-action-button i {
    font-size: 18px;
}

/* Sidebar removed - Facebook style single column */

/* ============= Books Section Ox ============= */
.books-section {
    padding: 2rem 40px;
}

.section-header-community {
    margin-bottom: 2rem;
}

.section-header-community h2 {
    font-size: 2rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.section-header-community p {
    color: #5A6C7D;
    font-size: 1rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.book-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.book-cover {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-color: #f8f9fb;
}

.book-cover-default {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1b5278;
}

.book-cover-default i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

.book-info {
    padding: 2rem;
}

.book-info h3 {
    font-size: 1.25rem;
    color: #2C3E50;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.book-author {
    color: #5A6C7D;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.book-author i {
    color: #1b5278;
}

.book-description {
    color: #5A6C7D;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.book-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #E1E8ED;
}

.book-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #5A6C7D;
}

.book-meta i {
    color: #1b5278;
}

/* ============= Live Sessions Section Ox ============= */
.sessions-full-section {
    padding: 2rem 40px;
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.session-card-full {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.session-card-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.session-header-card {
    background: #1b5278;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.session-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    min-width: 80px;
}

.date-day {
    font-size: 2rem;
    font-weight: 700;
    color: #2C3E50;
    line-height: 1;
}

.date-month {
    font-size: 0.875rem;
    color: #5A6C7D;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.session-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.session-status.scheduled {
    background: rgba(69, 183, 209, 0.9);
    color: white;
}

.session-status.live {
    background: rgba(255, 0, 0, 0.9);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.session-status.completed {
    background: rgba(76, 175, 80, 0.9);
    color: white;
}

.session-status.cancelled {
    background: rgba(158, 158, 158, 0.9);
    color: white;
}

.session-body {
    padding: 2rem;
}

.session-body h3 {
    font-size: 1.5rem;
    color: #2C3E50;
    margin-bottom: 1rem;
}

.session-description {
    color: #5A6C7D;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.session-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.session-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #5A6C7D;
    font-size: 0.95rem;
}

.session-detail-item i {
    color: #1b5278;
    width: 20px;
    font-size: 1.125rem;
}

/* ============= Empty State - Facebook Style ============= */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.empty-state i {
    font-size: 3rem;
    color: #ccd0d5;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #65676b;
    font-size: 1rem;
}

/* ============= Button Sizes - Facebook Style ============= */
.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-primary {
    background: #e5893e;
    border: none;
    border-radius: 6px;
}

.btn-primary:hover {
    background: #E68600;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ccd0d5;
    color: #050505;
    border-radius: 6px;
}

.btn-outline:hover {
    background: #f2f3f5;
}

/* ============= Modal Styles ============= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    padding: 2rem;
    overflow-y: auto;
}

.modal[style*="display: block"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    animation: modalSlideIn 0.2s cubic-bezier(0, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    border-bottom: 1px solid #e4e6eb;
}

.modal-header h2 {
    font-size: 1.25rem;
    color: #050505;
    margin: 0;
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e4e6eb;
    color: #65676b;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    border: none;
}

.modal-close:hover {
    background: #d8dadf;
}

.modal form {
    padding: 1rem;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #050505;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccd0d5;
    border-radius: 6px;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease;
    background: #f0f2f5;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #e5893e;
    background: white;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* ============= Alert Messages ============= */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.alert-success {
    background: #e8f8f0;
    color: #0f9960;
    border-left: 4px solid #0f9960;
}

[dir="rtl"] .alert-success {
    border-left: none;
    border-right: 4px solid #0f9960;
}

.alert i {
    font-size: 1.5rem;
}

/* ============= Page Header - Logo Colors ============= */
.page-header {
    padding: 5rem 0 3rem;
    text-align: center;
    color: white;
    margin-top: 80px;
    border-bottom: 4px solid #1b5278;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    font-weight: 700;
}

.page-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* ============= Reactions Picker - Facebook Style ============= */
.reactions-picker-container {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 100;
}

.post-action-button:hover .reactions-picker-container,
.reactions-picker-container:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.reactions-picker {
    background: white;
    border-radius: 50px;
    padding: 4px 8px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 4px;
}

.reaction-emoji {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.1s ease;
}

.reaction-emoji:hover {
    transform: scale(1.3);
}

.reaction-emoji:active {
    transform: scale(1.1);
}

/* ============= Animations - Subtle Facebook Style ============= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.forum-post-card-ox {
    animation: fadeIn 0.3s ease;
}

/* ============= Comments Section - Facebook Style ============= */
.post-comments-section {
    padding: 0 16px 12px;
    animation: fadeIn 0.3s ease;
}

.comment-form {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    padding-top: 8px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-input-wrapper {
    flex: 1;
    position: relative;
}

.comment-input {
    width: 100%;
    padding: 8px 12px;
    background: #f0f2f5;
    border: none;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.3333;
    resize: none;
    min-height: 36px;
    max-height: 120px;
    font-family: inherit;
    transition: background 0.2s ease;
}

.comment-input:focus {
    outline: none;
    background: #e4e6eb;
}

.comment-input::placeholder {
    color: #65676b;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 4px;
}

.comment-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    animation: fadeIn 0.3s ease;
}

.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-bubble {
    background: #f0f2f5;
    padding: 8px 12px;
    border-radius: 18px;
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
}

.comment-author {
    font-size: 13px;
    color: #050505;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.3333;
}

.comment-text {
    font-size: 15px;
    color: #050505;
    line-height: 1.3333;
    word-break: break-word;
    margin: 0;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.comment-action {
    font-size: 12px;
    color: #65676b;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.3333;
    transition: color 0.2s ease;
}

.comment-action:hover {
    text-decoration: underline;
    color: #050505;
}

.comment-time {
    font-size: 12px;
    color: #65676b;
    line-height: 1.3333;
}

.comments-list::-webkit-scrollbar {
    width: 6px;
}

.comments-list::-webkit-scrollbar-track {
    background: transparent;
}

.comments-list::-webkit-scrollbar-thumb {
    background: #ccd0d5;
    border-radius: 3px;
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background: #b8bbbf;
}

/* View More Comments */
.view-more-comments {
    font-size: 15px;
    color: #65676b;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    line-height: 1.3333;
}

.view-more-comments:hover {
    text-decoration: underline;
}

/* ============= Reactions Modal - Facebook Style ============= */
.reactions-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.reactions-modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 70vh;
    overflow: hidden;
    box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.2s cubic-bezier(0, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.reactions-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e4e6eb;
    flex-shrink: 0;
}

.reactions-modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #050505;
    margin: 0;
}

.reactions-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e4e6eb;
    color: #65676b;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    border: none;
}

.reactions-modal-close:hover {
    background: #d8dadf;
}

.reactions-modal-tabs {
    display: flex;
    gap: 4px;
    padding: 8px 16px;
    border-bottom: 1px solid #e4e6eb;
    overflow-x: auto;
    flex-shrink: 0;
}

.reaction-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #65676b;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.reaction-tab:hover {
    background: #f2f3f5;
    border-radius: 8px 8px 0 0;
}

.reaction-tab.active {
    color: #e5893e;
    border-bottom-color: #e5893e;
}

.reaction-tab-emoji {
    font-size: 18px;
}

.reaction-tab-count {
    font-size: 15px;
}

.reactions-modal-body {
    padding: 12px 16px;
    overflow-y: auto;
    flex: 1;
}

.reaction-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.reaction-user-item:hover {
    background: #f2f3f5;
}

.reaction-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e4e6eb;
}

.reaction-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reaction-user-info {
    flex: 1;
    min-width: 0;
}

.reaction-user-name {
    font-size: 15px;
    font-weight: 600;
    color: #050505;
    line-height: 1.3333;
}

.reaction-user-emoji {
    font-size: 24px;
    flex-shrink: 0;
}

.reactions-loading {
    text-align: center;
    padding: 40px 20px;
    color: #65676b;
}

.reactions-empty {
    text-align: center;
    padding: 40px 20px;
    color: #65676b;
    font-size: 15px;
}

.reactions-empty i {
    font-size: 48px;
    color: #ccd0d5;
    margin-bottom: 12px;
}

/* Make reactions count clickable */
.post-reactions-summary {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.post-reactions-summary:hover {
    opacity: 0.8;
}

/* ============= Responsive Design - Facebook Style ============= */
@media (max-width: 1024px) {
    .forum-section-ox.facebook-style {
        max-width: 100%;
    }

    .section-header-ox {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .community-ox-section {
        padding: 1rem 0;
    }

    .membership-required-ox {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
    }

    .lock-icon-ox {
        width: 80px;
        height: 80px;
    }

    .lock-icon-ox i {
        font-size: 2rem;
    }

    .membership-required-ox h3 {
        font-size: 1.5rem;
    }

    .membership-required-ox p {
        font-size: 1rem;
    }

    .community-tabs-ox {
        gap: 0;
    }

    .tab-btn-ox {
        padding: 0.75rem 0.5rem;
        font-size: 0.8125rem;
    }

    .tab-btn-ox span {
        display: none;
    }

    .tab-btn-ox i {
        font-size: 1.25rem;
    }

    .forum-post-card-ox {
        border-radius: 0;
        margin: 0 -1rem;
    }

    .post-title-ox {
        font-size: 0.9375rem;
    }

    .create-post-box {
        border-radius: 0;
        margin: 0 -1rem 1rem;
    }

    .create-post-input {
        font-size: 0.9375rem;
    }

    .books-grid,
    .sessions-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 4rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .forum-post-card-ox {
        padding: 1.25rem;
    }

    .post-author-ox {
        flex-wrap: wrap;
    }

    .author-avatar-ox {
        width: 40px;
        height: 40px;
    }

    .post-stats-ox {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .membership-required-ox {
        padding: 1.5rem 1rem;
    }

    .page-header {
        padding: 4rem 0 2rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

/* ============= Smooth Scrolling Disabled ============= */

/* ============= Focus States ============= */
button:focus,
a:focus {
    outline: 2px solid #1b5278;
    outline-offset: 2px;
}

/* ============= Loading State ============= */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(69, 183, 209, 0.3);
    border-radius: 50%;
    border-top-color: #1b5278;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============= Scrollbar Styling ============= */
.forum-posts-ox::-webkit-scrollbar,
.comments-list::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.forum-posts-ox::-webkit-scrollbar-track,
.comments-list::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
    background: #f8f9fb;
    border-radius: 10px;
}

.forum-posts-ox::-webkit-scrollbar-thumb,
.comments-list::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
    background: #1b5278;
    border-radius: 10px;
}

.forum-posts-ox::-webkit-scrollbar-thumb:hover,
.comments-list::-webkit-scrollbar-thumb:hover,
.modal-content::-webkit-scrollbar-thumb:hover {
    background: #2C3E50;
}

/* Source: course-single.css */
/* ============================================
   Course Single Page - Ox & Clean Design
   Brand Colors: #1B5278 (Primary Blue), #5FCFE5 (Light Blue)
   ============================================ */

:root {
    --primary-color: #1B5278;
    --secondary-color: #5FCFE5;
    --accent-color: #E5893E;
    --success-color: #4CAF50;
    --text-dark: #2C3E50;
    --text-gray: #5A6C7D;
    --bg-light: #F8F9FB;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(27, 82, 120, 0.08);
    --shadow-md: 0 4px 20px rgba(27, 82, 120, 0.12);
    --shadow-lg: 0 8px 30px rgba(27, 82, 120, 0.15);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Hero Section
   ============================================ */
.course-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6a93 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(95, 207, 229, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(229, 137, 62, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.course-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: white;
    font-weight: 500;
}

/* Hero Grid */
.course-hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
}

/* Course Info */
.course-info {
    color: white;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.course-badge.badge-purchased {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid var(--success-color);
    color: #a5d6a7;
}

.course-badge.badge-free {
    background: rgba(229, 137, 62, 0.2);
    border: 2px solid var(--accent-color);
    color: #ffb74d;
}

.course-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.course-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Course Stats */
.course-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border-radius: 12px;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 22px;
    color: var(--primary-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Purchase Card (Sidebar)
   ============================================ */
.course-sidebar {
    position: relative;
}

.purchase-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
    transition: var(--transition);
}

.purchase-card.sticky {
    box-shadow: 0 12px 40px rgba(27, 82, 120, 0.2);
}

.course-image {
    width: 100%;
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-image-placeholder i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.4);
}

.purchase-card-body {
    padding: 32px;
}

/* Price Section */
.price-section {
    text-align: center;
    padding-bottom: 28px;
    border-bottom: 2px solid var(--bg-light);
    margin-bottom: 28px;
}

.price {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.price.price-free {
    font-size: 40px;
    color: var(--success-color);
}

.price-note {
    font-size: 14px;
    color: var(--text-gray);
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 12px;
}

.btn:last-child {
    margin-bottom: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2a6a93);
    color: white;
    box-shadow: 0 4px 15px rgba(27, 82, 120, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 82, 120, 0.4);
}

.btn-large {
    padding: 20px 32px;
    font-size: 18px;
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #00a0d9);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.btn-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #1eb854);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.access-buttons {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--bg-light);
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-gray);
}

.feature-item i {
    color: var(--success-color);
    font-size: 18px;
    min-width: 20px;
}

/* ============================================
   Content Section
   ============================================ */
.course-content-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.course-content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Content Blocks */
.content-block {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.content-block:hover {
    box-shadow: var(--shadow-md);
}

.block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.block-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 14px;
    flex-shrink: 0;
}

.block-icon i {
    font-size: 26px;
    color: white;
}

.block-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.block-content {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
}

.block-content p {
    margin-bottom: 20px;
}

/* Learning Grid */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.learning-item {
    display: flex;
    align-items: start;
    gap: 14px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.learning-item:hover {
    background: rgba(95, 207, 229, 0.1);
    transform: translateX(5px);
}

.learning-item i {
    color: var(--success-color);
    font-size: 22px;
    margin-top: 2px;
    flex-shrink: 0;
}

.learning-item span {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

/* Info Note */
.info-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: rgba(95, 207, 229, 0.1);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    margin-top: 24px;
}

.info-note i {
    color: var(--accent-color);
    font-size: 20px;
}

.info-note span {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-info p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Instructor Block */
.instructor-block {
    background: linear-gradient(135deg, rgba(27, 82, 120, 0.05), rgba(95, 207, 229, 0.05));
    border: 2px solid rgba(27, 82, 120, 0.1);
}

.instructor-content {
    display: flex;
    gap: 32px;
    align-items: start;
}

.instructor-avatar {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: var(--shadow-md);
}

.instructor-details h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.instructor-title {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.instructor-bio {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.instructor-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.badge-item i {
    font-size: 20px;
    color: var(--primary-color);
}

.badge-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   Related Courses
   ============================================ */
.related-courses-section {
    padding: 80px 20px;
    background: white;
}

.related-courses-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.related-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.related-course-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.related-course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.related-course-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

.related-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-course-card:hover .related-course-image img {
    transform: scale(1.1);
}

.related-course-image .course-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-course-image .course-image-placeholder i {
    font-size: 70px;
    color: rgba(255, 255, 255, 0.4);
}

.related-course-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-course-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.related-course-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 2px solid var(--bg-light);
}

.related-course-footer .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.related-course-footer .free {
    color: var(--success-color);
    font-size: 20px;
}

.view-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition);
}

.related-course-card:hover .view-link {
    gap: 10px;
}

/* ============================================
   CTA Section
   ============================================ */
.course-cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6a93 100%);
    position: relative;
    overflow: hidden;
}

.course-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    flex-shrink: 0;
}

.cta-icon i {
    font-size: 50px;
    color: #25D366;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: white;
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    gap: 16px;
}

/* ============================================
   RTL Support
   ============================================ */
[dir="rtl"] .breadcrumb,
[dir="rtl"] .course-stats,
[dir="rtl"] .instructor-badges {
    direction: rtl;
}

[dir="rtl"] .learning-item:hover {
    transform: translateX(-5px);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .course-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .course-sidebar {
        order: -1;
    }

    .purchase-card {
        position: static;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .instructor-content {
        flex-direction: column;
        text-align: center;
    }

    .instructor-avatar {
        margin: 0 auto;
    }

    .instructor-badges {
        justify-content: center;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .course-hero {
        padding: 120px 0 60px;
    }

    .course-title {
        font-size: 32px;
    }

    .course-description {
        font-size: 16px;
    }

    .course-stats {
        grid-template-columns: 1fr 1fr;
    }

    .block-header h2 {
        font-size: 24px;
    }

    .learning-grid {
        grid-template-columns: 1fr;
    }

    .content-block {
        padding: 28px;
    }

    .related-courses-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .course-hero {
        padding: 100px 0 40px;
    }

    .course-title {
        font-size: 26px;
    }

    .course-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 16px;
    }

    .purchase-card-body {
        padding: 24px;
    }

    .price {
        font-size: 40px;
    }

    .content-block {
        padding: 24px;
    }

    .block-header {
        flex-direction: column;
        text-align: center;
    }

    .block-icon {
        margin: 0 auto;
    }

    .instructor-details h3 {
        font-size: 24px;
    }

    .cta-icon {
        width: 80px;
        height: 80px;
    }

    .cta-icon i {
        font-size: 40px;
    }
}


/* Source: courses-ox.css */
/* ===================================
   Ox Courses Page - Fekr Tany
   Clean, Responsive, Professional Design
   =================================== */

/* ============= Page Header ============= */
.courses-page-header {
    position: relative;
    padding: 12rem 0 8rem;
    margin-top: 70px;
    background: linear-gradient(135deg, #1B5278 0%, #2a6a93 50%, #1B5278 100%);
    color: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.courses-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(95, 207, 229, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(229, 137, 62, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.courses-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, #f8f9fb 100%);
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.header-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 0;
}

.header-icon {
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

/* ============= Courses Section ============= */
.courses-section {
    padding: 6rem 0;
    background: #f8f9fb;
    position: relative;
}

.courses-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-weight: 600;
    color: #2C3E50;
    white-space: nowrap;
}

.filter-select {
    padding: 0.75rem 1.25rem;
    border: 2px solid #E1E8ED;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2C3E50;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #1B5278;
    box-shadow: 0 0 0 3px rgba(27, 82, 120, 0.1);
    outline: none;
}

.courses-count {
    color: #5A6C7D;
    font-size: 0.95rem;
}

.courses-count strong {
    color: #1B5278;
    font-weight: 700;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Course Card */
.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Course Image Link */
.course-image-link {
    display: block;
    text-decoration: none;
}

/* Course Image */
.course-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.08);
}

.course-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #1B5278, #2a6a93);
}

.course-image-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: float 3s ease-in-out infinite;
}

/* Badge */
.course-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 2px solid white;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

[dir="rtl"] .course-badge {
    left: auto;
    right: 1rem;
}

.badge-purchased {
    background: rgba(82, 196, 26, 0.95);
    color: white;
}

.badge-free {
    background: rgba(229, 137, 62, 0.95);
    color: white;
}

.badge-new {
    background: rgba(74, 144, 226, 0.95);
    color: white;
}

/* Course Content */
.course-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-header {
    margin-bottom: 1.5rem;
}

.course-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(27, 82, 120, 0.08);
    color: #1B5278;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.course-title a:hover {
    color: #5FCFE5;
}

.course-description {
    font-size: 0.95rem;
    color: #5A6C7D;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Course Meta */
.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid #E1E8ED;
    border-bottom: 1px solid #E1E8ED;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #5A6C7D;
}

.meta-item i {
    color: #1B5278;
    font-size: 1rem;
}

/* Course Footer */
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 1rem;
}

.course-price-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.course-price {
    font-size: 2rem;
    font-weight: 800;
    color: #1B5278;
    line-height: 1;
}

.price-free {
    color: #52C41A;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-label {
    font-size: 0.8rem;
    color: #8B96A5;
    font-weight: 500;
}

/* Course Action Button */
.course-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-primary {
    background: linear-gradient(135deg, #1B5278, #2a6a93);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2a6a93, #1B5278);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 82, 120, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #52C41A, #73D13D);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #73D13D, #52C41A);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 196, 26, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #e5893e, #f39c5c);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #f39c5c, #e5893e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 137, 62, 0.3);
}

.course-btn i {
    font-size: 1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 6rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(27, 82, 120, 0.1), rgba(95, 207, 229, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 4rem;
    color: #1B5278;
}

.empty-state h3 {
    font-size: 1.75rem;
    color: #2C3E50;
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.1rem;
    color: #8B96A5;
    margin-bottom: 0;
}

/* ============= CTA Section ============= */
.courses-cta {
    background: linear-gradient(135deg, #1B5278, #2a6a93);
    color: white;
    text-align: center;
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.courses-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(95, 207, 229, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.courses-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(229, 137, 62, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.courses-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.courses-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: white;
    color: #1B5278;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    background: #e5893e;
    color: white;
}

.cta-btn i {
    font-size: 1.5rem;
}

/* ============= Animations ============= */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ============= Responsive Design ============= */

/* Large Desktop */
@media (min-width: 1400px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .courses-page-header {
        padding: 10rem 0 6rem;
    }

    .header-content h1 {
        font-size: 3rem;
    }

    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 2rem;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-left {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .courses-page-header {
        padding: 8rem 0 4rem;
        margin-top: 60px;
    }

    .header-content h1 {
        font-size: 2.25rem;
    }

    .header-content p {
        font-size: 1.1rem;
    }

    .courses-section {
        padding: 4rem 0;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .filter-bar {
        padding: 1.25rem;
    }

    .course-card {
        border-radius: 16px;
    }

    .course-image {
        height: 200px;
    }

    .course-content {
        padding: 1.5rem;
    }

    .course-title {
        font-size: 1.3rem;
    }

    .course-meta {
        gap: 1rem;
    }

    .course-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .course-price-section {
        align-items: center;
        text-align: center;
    }

    .course-btn {
        width: 100%;
        padding: 1rem;
    }

    .courses-cta {
        padding: 4rem 1.5rem;
    }

    .courses-cta h2 {
        font-size: 2rem;
    }

    .courses-cta p {
        font-size: 1.1rem;
    }

    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .courses-page-header {
        padding: 7rem 0 3rem;
    }

    .header-content h1 {
        font-size: 1.85rem;
    }

    .header-content p {
        font-size: 1rem;
    }

    .header-label {
        font-size: 0.8rem;
        padding: 0.6rem 1.25rem;
    }

    .courses-section {
        padding: 3rem 0;
    }

    .course-image {
        height: 180px;
    }

    .course-content {
        padding: 1.25rem;
    }

    .course-title {
        font-size: 1.2rem;
    }

    .course-description {
        font-size: 0.9rem;
    }

    .course-price {
        font-size: 1.75rem;
    }

    .empty-state {
        padding: 4rem 1.5rem;
    }

    .empty-icon {
        width: 100px;
        height: 100px;
    }

    .empty-icon i {
        font-size: 3rem;
    }
}

/* ============= RTL Support ============= */
[dir="rtl"] .course-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .meta-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .course-footer {
    flex-direction: row-reverse;
}

[dir="rtl"] .course-btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .filter-bar {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    [dir="rtl"] .filter-bar {
        flex-direction: column;
    }
}

/* ============= Print Styles ============= */
@media print {
    .courses-page-header {
        padding: 2rem 0;
        margin-top: 0;
        background: white;
        color: black;
    }

    .filter-bar,
    .courses-cta,
    .course-btn {
        display: none;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .course-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}


/* Source: dashboard-mobile-critical.css */
/* ===================================
   Critical Mobile Fixes - Load First
   =================================== */

/* Force correct layout on mobile */
@media (max-width: 1024px) {

    /* Hide sidebar by default on mobile */
    body .dashboard-sidebar {
        display: none !important;
        position: fixed !important;
        left: 0 !important;
        top: 60px !important;
        width: 280px !important;
        height: calc(100vh - 60px) !important;
        z-index: 1001 !important;
        transform: translateX(0) !important;
    }

    /* Show sidebar when active */
    body .dashboard-sidebar.active {
        display: block !important;
    }

    /* RTL Support */
    [dir="rtl"] body .dashboard-sidebar {
        left: auto !important;
        right: 0 !important;
    }

    /* Full width main content */
    body .dashboard-main {
        margin: 0 !important;
        padding: 1rem !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* Show toggle button */
    body .sidebar-toggle {
        display: flex !important;
    }

    /* Prevent horizontal scroll */
    body,
    html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Fix header layout */
    body .dashboard-header-content {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 1rem !important;
    }
}

@media (max-width: 768px) {

    /* Even more aggressive fixes for small screens */
    body .dashboard-main {
        padding: 0.875rem !important;
    }

    body .dashboard-sidebar {
        width: 260px !important;
    }

    /* Compact header */
    body .dashboard-header {
        height: 60px !important;
    }

    body .dashboard-layout {
        padding-top: 60px !important;
    }

    /* Hide text, show icons only */
    body .user-name,
    body .lang-text {
        display: none !important;
    }
}

@media (max-width: 480px) {

    /* Extra small screens */
    body .dashboard-main {
        padding: 0.75rem !important;
    }

    body .dashboard-sidebar {
        width: 240px !important;
    }

    body .logo span {
        display: none !important;
    }
}


/* Source: dashboard-mobile.css */
/* ===================================
   Dashboard Mobile Responsive Fixes
   Extra fixes for mobile devices
   =================================== */

/* Fix inline styles on mobile */
@media (max-width: 768px) {

    /* Override inline flex displays */
    [style*="display: flex"][style*="justify-content: space-between"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    /* Fix grid layouts */
    [style*="display: grid"][style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Fix course card grids specifically */
    .course-card [style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    /* Fix stats boxes in course cards */
    .course-card [style*="text-align: center"] {
        padding: 0.75rem !important;
    }

    /* Fix button containers */
    [style*="display: flex"][style*="gap"] a,
    [style*="display: flex"][style*="gap"] button {
        flex: 1 1 100% !important;
        min-width: auto !important;
    }

    /* Fix header flex items */
    .section-header-dashboard>div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    /* Padding overrides for inline styles */
    [style*="padding: 1.5rem"] {
        padding: 1rem !important;
    }

    [style*="padding: 2rem"] {
        padding: 1rem !important;
    }

    /* Margin overrides */
    [style*="margin-bottom: 1.5rem"] {
        margin-bottom: 1rem !important;
    }

    [style*="margin-bottom: 2rem"] {
        margin-bottom: 1rem !important;
    }

    /* Font size overrides */
    [style*="font-size: 1.5rem"],
    [style*="font-size: 2rem"] {
        font-size: 1.25rem !important;
    }

    [style*="font-size: 2.5rem"],
    [style*="font-size: 3rem"] {
        font-size: 1.75rem !important;
    }

    /* Gap overrides */
    [style*="gap: 1.5rem"],
    [style*="gap: 2rem"] {
        gap: 0.75rem !important;
    }
}

/* Extra small screens */
@media (max-width: 480px) {

    /* Even smaller padding */
    [style*="padding: 1rem"] {
        padding: 0.75rem !important;
    }

    /* Smaller font sizes */
    [style*="font-size: 1.25rem"],
    [style*="font-size: 1.5rem"] {
        font-size: 1.125rem !important;
    }

    /* Tighter gaps */
    [style*="gap: 1rem"] {
        gap: 0.5rem !important;
    }

    [style*="gap: 0.75rem"] {
        gap: 0.5rem !important;
    }
}

/* Specific fixes for course purchase display */
@media (max-width: 768px) {

    /* Course card styling fixes */
    .course-card[style*="border: 2px solid"] {
        border-width: 1px !important;
    }

    /* Fix background gradients on small screens */
    [style*="background: linear-gradient"] {
        background-size: cover !important;
    }

    /* Fix telegram and whatsapp button layout */
    .course-card a[style*="width: 100%"] {
        margin-bottom: 0.5rem !important;
        display: block !important;
        text-align: center !important;
    }

    /* Fix purchase date display */
    .course-card [style*="background: #fff"] p {
        font-size: 0.875rem !important;
    }
}

/* Dashboard specific mobile fixes */
@media (max-width: 768px) {

    /* Fix stat card icons */
    .stat-card .stat-icon {
        width: 50px !important;
        height: 50px !important;
    }

    /* Fix session date boxes */
    .session-item .session-date {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Fix membership card details */
    .membership-card .detail-item {
        display: block !important;
        margin-bottom: 0.75rem !important;
    }

    .membership-card .detail-item label,
    .membership-card .detail-item span {
        display: block !important;
        margin-bottom: 0.25rem !important;
    }

    /* Fix button groups */
    .membership-actions,
    .card-header>div {
        flex-direction: column !important;
        width: 100% !important;
    }

    .membership-actions .btn,
    .card-header .btn {
        width: 100% !important;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {

    /* Larger touch targets */
    .btn,
    .sidebar-link,
    .tab-btn,
    .user-menu-toggle,
    .sidebar-toggle,
    .lang-switch {
        min-height: 44px !important;
        min-width: 44px !important;
    }

    /* Better spacing for touch */
    .sidebar-link {
        padding: 1rem 1.5rem !important;
    }

    /* Better tap targets for links */
    a:not(.btn) {
        padding: 0.25rem 0 !important;
    }
}

/* Prevent horizontal scroll */
@media (max-width: 768px) {

    body,
    html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    .dashboard-layout {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .dashboard-main,
    .content-card,
    .course-card,
    .session-item {
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Fix any wide elements */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    img {
        height: auto !important;
        max-width: 100% !important;
    }

    /* Force sidebar to be hidden on mobile */
    .dashboard-sidebar:not(.active) {
        display: none;
    }

    .dashboard-sidebar.active {
        display: block;
        position: fixed;
        left: 0;
        top: 60px;
        bottom: 0;
        width: 280px;
        transform: translateX(0) !important;
        z-index: 1001;
    }

    [dir="rtl"] .dashboard-sidebar.active {
        left: auto;
        right: 0;
    }
}

/* RTL specific mobile fixes */
[dir="rtl"] {
    @media (max-width: 768px) {
        .sidebar-overlay {
            left: auto;
            right: 0;
        }

        .dashboard-sidebar {
            left: auto;
            right: 0;
        }
    }
}


/* Source: events.css */
/* ===== Events Page Styles ===== */
.events-hero {
    background: linear-gradient(135deg, #45B7D1 0%, #2C3E50 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.events-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.events-hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Filter Bar */
.events-filter-bar {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.events-filter-bar input[type="text"],
.events-filter-bar select {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.events-filter-bar input[type="text"]:focus,
.events-filter-bar select:focus {
    border-color: #45B7D1;
    outline: none;
}

.events-filter-bar .btn-filter {
    padding: 12px 30px;
    background: #45B7D1;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.events-filter-bar .btn-filter:hover {
    background: #3a9db8;
    transform: translateY(-2px);
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.event-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    position: relative;
}

.event-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF9500;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.event-card-date {
    position: absolute;
    bottom: -25px;
    left: 20px;
    background: white;
    width: 60px;
    height: 70px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.event-card-date .day {
    font-size: 28px;
    font-weight: 700;
    color: #2C3E50;
    line-height: 1;
}

.event-card-date .month {
    font-size: 13px;
    color: #45B7D1;
    font-weight: 600;
    text-transform: uppercase;
}

.event-card-content {
    padding: 35px 20px 20px;
}

.event-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 12px;
    line-height: 1.4;
}

.event-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.event-card-title a:hover {
    color: #45B7D1;
}

.event-card-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.event-meta-item i {
    color: #45B7D1;
    font-size: 16px;
}

.event-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.event-price {
    font-size: 24px;
    font-weight: 700;
    color: #2C3E50;
}

.event-price-currency {
    font-size: 16px;
    color: #666;
}

.event-btn {
    padding: 10px 25px;
    background: #45B7D1;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.event-btn:hover {
    background: #3a9db8;
    transform: translateY(-2px);
}

.event-btn-full {
    background: #95a5a6;
    cursor: not-allowed;
}

.event-btn-full:hover {
    transform: none;
}

/* Event Status Labels */
.event-status-cancelled {
    opacity: 0.6;
    position: relative;
}

.event-status-cancelled::after {
    content: 'ملغي';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 10px 40px;
    font-size: 24px;
    font-weight: 700;
    border-radius: 10px;
    z-index: 100;
}

/* Empty State */
.events-empty {
    text-align: center;
    padding: 80px 20px;
}

.events-empty i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.events-empty h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 10px;
}

.events-empty p {
    color: #999;
    font-size: 16px;
}

/* Pagination */
.events-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.events-pagination a,
.events-pagination span {
    padding: 10px 18px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    color: #2C3E50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.events-pagination a:hover {
    background: #45B7D1;
    color: white;
    border-color: #45B7D1;
}

.events-pagination .active {
    background: #45B7D1;
    color: white;
    border-color: #45B7D1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .events-hero h1 {
        font-size: 32px;
    }

    .events-hero p {
        font-size: 16px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .events-filter-bar {
        flex-direction: column;
    }

    .events-filter-bar input[type="text"],
    .events-filter-bar select,
    .events-filter-bar .btn-filter {
        width: 100%;
    }

    .event-card-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .events-hero {
        padding: 50px 15px;
    }

    .events-container {
        padding: 20px 10px;
    }

    .event-card-content {
        padding: 30px 15px 15px;
    }
}


/* Source: homepage-ox.css */
/* ===================================
   Ox Homepage Sections - Fekr Tany
   Ultra Ox & Responsive Design
   =================================== */

/* ============= Events Section ============= */
.events-section {
    scroll-margin-top: 80px;
}

.event-card {
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    pointer-events: none;
}

.event-card:hover::before {
    opacity: 1;
}

/* ============= Team Section ============= */
.team-section {
    scroll-margin-top: 80px;
}

.team-member-card {
    position: relative;
}

.member-icon {
    position: relative;
    overflow: hidden;
}

.member-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.team-member-card:hover .member-icon::after {
    width: 120%;
    height: 120%;
}

/* ============= Books Section ============= */
.books-section {
    scroll-margin-top: 80px;
}

.book-card {
    position: relative;
    overflow: hidden;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 280px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.book-card:hover::before {
    opacity: 1;
}

/* ============= Blog/Articles Section ============= */
.blog-section {
    scroll-margin-top: 80px;
}

.article-card {
    position: relative;
}

.article-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #45B7D1, #FF9500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.article-card:hover::after {
    transform: scaleX(1);
}

/* ============= Supplements Section ============= */
.supplements-section {
    scroll-margin-top: 80px;
}

.supplement-card {
    position: relative;
}

.supplement-icon {
    position: relative;
    overflow: hidden;
}

.supplement-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.supplement-card:hover .supplement-icon::before {
    left: 100%;
}

/* ============= Newsletter Section ============= */
.newsletter-cta {
    scroll-margin-top: 80px;
    position: relative;
}

#newsletterForm input:focus {
    outline: none;
}

#newsletterForm button:active {
    transform: scale(0.95) !important;
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(10px, -10px);
    }

    50% {
        transform: translate(20px, -20px);
    }

    75% {
        transform: translate(10px, -10px);
    }
}

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(69, 183, 209, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(69, 183, 209, 0);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ============= Responsive Design ============= */

/* Tablets and Below */
@media (max-width: 1024px) {

    .events-section,
    .team-section,
    .books-section,
    .blog-section,
    .supplements-section,
    .newsletter-cta {
        padding: 4rem 0;
    }

    .events-section h2,
    .team-section h2,
    .books-section h2,
    .blog-section h2,
    .supplements-section h2,
    .newsletter-cta h2 {
        font-size: 2rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {

    /* Events Section */
    .events-section .container>div:first-child {
        margin-bottom: 3rem;
    }

    .events-section .container>div:last-child {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Team Section */
    .team-section .container>div:last-child {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Books Section */
    .books-section .container>div:last-child {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .book-card>div:first-child {
        height: 220px !important;
    }

    .book-card h3 {
        font-size: 1.125rem !important;
        min-height: 60px !important;
    }

    /* Blog Section */
    .blog-section .container>div:nth-child(2) {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-card>div:first-child {
        height: 200px !important;
    }

    /* Supplements Section */
    .supplements-section .container>div:nth-child(2) {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Newsletter Section */
    .newsletter-cta h2 {
        font-size: 1.75rem;
    }

    .newsletter-cta p {
        font-size: 1rem;
    }

    #newsletterForm>div {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    #newsletterForm input {
        padding: 1rem;
        text-align: center;
    }

    #newsletterForm button {
        width: 100%;
        justify-content: center;
    }

    .newsletter-cta .container>div>div:nth-child(4) {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {

    .events-section,
    .team-section,
    .books-section,
    .blog-section,
    .supplements-section,
    .newsletter-cta {
        padding: 3rem 0;
    }

    /* Section Headers */
    .events-section h2,
    .team-section h2,
    .books-section h2,
    .blog-section h2,
    .supplements-section h2,
    .newsletter-cta h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .events-section p,
    .team-section p,
    .books-section p,
    .blog-section p,
    .supplements-section p,
    .newsletter-cta p {
        font-size: 0.9375rem;
    }

    /* Event Cards */
    .event-card>div {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .event-card h3 {
        font-size: 1.125rem;
    }

    /* Team Cards */
    .team-member-card {
        padding: 2rem 1.5rem;
    }

    .member-icon {
        width: 80px !important;
        height: 80px !important;
        font-size: 2rem !important;
    }

    .team-member-card h3 {
        font-size: 1.125rem;
    }

    /* Book Cards */
    .book-card>div:last-child {
        padding: 2rem 1.5rem;
    }

    /* Article Cards */
    .article-card>div:last-child {
        padding: 1.5rem;
    }

    .article-card h3 {
        font-size: 1.125rem;
    }

    /* Supplement Cards */
    .supplement-card {
        padding: 2rem 1.5rem;
    }

    .supplement-icon {
        width: 80px !important;
        height: 80px !important;
    }

    .supplement-card h3 {
        font-size: 1.125rem;
    }

    /* Newsletter */
    .newsletter-cta .container>div>div:first-child {
        width: 60px !important;
        height: 60px !important;
    }

    .newsletter-cta .container>div>div:first-child i {
        font-size: 1.75rem !important;
    }
}

/* ============= Print Styles ============= */
@media print {

    .events-section,
    .team-section,
    .books-section,
    .blog-section,
    .supplements-section,
    .newsletter-cta {
        page-break-inside: avoid;
    }
}

/* ============= Dark Mode Support (Future) ============= */
@media (prefers-color-scheme: dark) {
    /* Placeholder for dark mode styles */
}

/* ============= Reduced Motion ============= */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============= High Contrast Mode ============= */
@media (prefers-contrast: high) {

    .events-section,
    .team-section,
    .books-section,
    .blog-section,
    .supplements-section,
    .newsletter-cta {
        border: 2px solid currentColor;
    }
}

/* ============= Accessibility Enhancements ============= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Visible Styles */
*:focus-visible {
    outline: 3px solid #45B7D1;
    outline-offset: 2px;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: #45B7D1;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* ============= Performance Optimizations ============= */
.events-section *,
.team-section *,
.books-section *,
.blog-section *,
.supplements-section *,
.newsletter-cta * {
    will-change: auto;
}

.events-section img,
.team-section img,
.books-section img,
.blog-section img,
.supplements-section img {
    content-visibility: auto;
    contain-intrinsic-size: 1px 300px;
}

/* ============= Loading States ============= */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #45B7D1;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============= Utility Classes ============= */
.text-gradient {
    background: linear-gradient(135deg, #45B7D1, #FF9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-3d {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.1);
}


/* Source: membership-mobile-fix.css */
/* ============================================
   MEMBERSHIP PAGE - MOBILE RESPONSIVE FIX
   إصلاح مشاكل الـ Responsive في صفحة العضوية
   ============================================ */

/* Fix overflow on mobile */
@media (max-width: 768px) {

    /* Container fixes */
    body {
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        overflow-x: hidden;
    }

    /* Page Header - make it responsive */
    .page-header {
        padding: 6rem 1rem 3rem !important;
        margin-top: 70px;
    }

    .page-header h1 {
        font-size: 2rem !important;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .page-header p {
        font-size: 1rem !important;
        padding: 0 0.5rem;
    }

    .current-plan-badge {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        margin-top: 1rem;
        text-align: center;
    }

    /* Membership Plans Section */
    .membership-plans {
        padding: 2rem 0 !important;
    }

    /* Plans Container - single column on mobile */
    .plans-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 2rem !important;
        padding: 0 !important;
    }

    /* Plan Cards - fix width and overflow */
    .plan-card-detailed {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        margin: 0 !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    .plan-card-detailed.current-plan,
    .plan-card-detailed.featured-plan {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Plan Badge */
    .plan-badge,
    .current-plan-label {
        position: static !important;
        display: inline-block;
        margin-bottom: 1rem;
        transform: none !important;
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }

    /* Plan Header */
    .plan-header {
        padding-top: 0 !important;
        margin-bottom: 1.5rem !important;
    }

    .plan-header h2 {
        font-size: 1.75rem !important;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .plan-header p {
        font-size: 0.875rem !important;
        line-height: 1.5;
    }

    /* Plan Pricing - make it responsive */
    .plan-pricing {
        padding: 1.5rem 0 !important;
        margin-bottom: 1.5rem !important;
    }

    .price-amount {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: center;
        gap: 0.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    .price-amount .currency {
        font-size: 1.25rem !important;
    }

    .price-amount .price {
        font-size: 2.5rem !important;
        line-height: 1;
    }

    .price-amount .period {
        font-size: 1rem !important;
    }

    .billing-info {
        font-size: 0.8125rem !important;
        padding: 0 0.5rem;
    }

    .save-badge {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.75rem !important;
        margin-top: 0.5rem;
    }

    /* Plan Features - make list responsive */
    .plan-features-detailed {
        margin-bottom: 1.5rem;
    }

    .plan-features-detailed h3 {
        font-size: 1.125rem !important;
        margin-bottom: 1rem !important;
    }

    .plan-features-detailed ul {
        margin-bottom: 1rem !important;
        padding: 0;
    }

    .plan-features-detailed li {
        display: flex;
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
        align-items: flex-start;
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .plan-features-detailed li i {
        font-size: 1.125rem !important;
        margin-top: 0.125rem;
        flex-shrink: 0;
    }

    .plan-features-detailed li span {
        font-size: 0.875rem !important;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Plan CTA - buttons */
    .plan-cta {
        margin-top: 1.5rem;
    }

    .plan-cta .btn {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
        white-space: normal;
        line-height: 1.4;
    }

    .btn-block {
        width: 100% !important;
        display: block !important;
    }

    /* Benefits Section */
    .benefits {
        padding: 2rem 0 !important;
    }

    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .benefit-item {
        padding: 1.5rem !important;
        text-align: center;
    }

    .benefit-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        margin: 0 auto 1rem !important;
    }

    .benefit-item h3 {
        font-size: 1.125rem !important;
        margin-bottom: 0.75rem !important;
    }

    .benefit-item p {
        font-size: 0.875rem !important;
        line-height: 1.6;
    }

    /* FAQ Section */
    .faq {
        padding: 2rem 0 !important;
    }

    .faq-list {
        gap: 1rem !important;
    }

    .faq-item {
        padding: 0 !important;
        margin-bottom: 1rem !important;
    }

    .faq-question {
        padding: 1rem !important;
        font-size: 0.875rem !important;
    }

    .faq-question h3 {
        font-size: 1rem !important;
        line-height: 1.4;
        word-wrap: break-word;
        padding-right: 2rem;
    }

    [dir="rtl"] .faq-question h3 {
        padding-right: 0;
        padding-left: 2rem;
    }

    /* Fix FAQ answer visibility - hide completely when not active */
    .faq-answer {
        max-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s;
    }

    .faq-item.active .faq-answer {
        max-height: 1000px !important;
        padding: 1rem !important;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease, visibility 0s 0s;
    }

    .faq-answer p {
        margin: 0 !important;
        font-size: 0.875rem !important;
        line-height: 1.6;
        color: var(--text-medium);
    }

    /* CTA Section */
    .cta {
        padding: 3rem 1rem !important;
        text-align: center;
    }

    .cta h2 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
    }

    .cta p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem;
    }

    .cta .btn {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        width: auto !important;
        max-width: 100%;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 2rem !important;
        padding: 0 0.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem !important;
        line-height: 1.3;
        margin-bottom: 0.75rem !important;
    }

    .section-header p {
        font-size: 0.9375rem !important;
        line-height: 1.6;
    }
}

/* Extra small devices (phones in portrait, less than 375px) */
@media (max-width: 374px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .plan-card-detailed {
        padding: 1.25rem !important;
    }

    .page-header h1 {
        font-size: 1.75rem !important;
    }

    .price-amount .price {
        font-size: 2rem !important;
    }

    .plan-header h2 {
        font-size: 1.5rem !important;
    }
}

/* Prevent horizontal overflow globally */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Fix any wide elements */
@media (max-width: 768px) {

    .row,
    .grid,
    .flex-container {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Ensure text doesn't cause overflow */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span,
    a,
    li {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Fix for any fixed-width elements */
    [style*="width"] {
        max-width: 100% !important;
    }
}

/* ==========================================================================
   ADMIN UI COMPONENTS
   Standardized components for the admin panel
   ========================================================================== */

.admin-body {
    background-color: #f8fbff;
    min-height: 100vh;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-main {
    flex: 1;
    padding: 2rem;
    padding-top: 100px;
    margin-left: 280px;
    transition: all 0.3s ease;
}

[dir="rtl"] .admin-main {
    margin-left: 0;
    margin-right: 280px;
}

@media (max-width: 992px) {
    .admin-main {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 1rem;
        padding-top: 90px;
    }
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Admin Page Header */
.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.admin-page-header-content h1 {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.admin-page-header-content p {
    color: var(--text-medium);
    margin: 0;
}

.admin-page-header-actions {
    display: flex;
    gap: 0.75rem;
}

/* Admin Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.admin-stat-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.admin-stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.bg-primary {
    background: rgba(27, 82, 120, 0.1);
    color: #1B5278;
}

.stat-icon.bg-success {
    background: rgba(0, 200, 81, 0.1);
    color: #00C851;
}

.stat-icon.bg-warning {
    background: rgba(255, 149, 0, 0.1);
    color: #FF9500;
}

.stat-icon.bg-danger {
    background: rgba(255, 77, 77, 0.1);
    color: #FF4D4D;
}

.stat-icon.bg-info {
    background: rgba(69, 183, 209, 0.1);
    color: #45B7D1;
}

.stat-info h3 {
    font-size: 1.75rem;
    margin: 0;
    line-height: 1.2;
}

.stat-info p {
    margin: 0.25rem 0 0 0;
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Admin Card */
.admin-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.admin-card-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-header h3 {
    margin: 0;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Admin Table */
.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: #f8fafc;
    padding: 1.15rem 1.5rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-medium);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
}

[dir="rtl"] .admin-table th {
    text-align: right;
}

.admin-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f8fafc;
    vertical-align: middle;
}

.admin-table tr:hover {
    background-color: #fbfdff;
}

/* Badges */
.badge-ox {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-primary {
    background: rgba(27, 82, 120, 0.1);
    color: #1B5278;
}

.badge-success {
    background: rgba(0, 200, 81, 0.1);
    color: #00C851;
}

.badge-warning {
    background: rgba(255, 149, 0, 0.1);
    color: #FF9500;
}

.badge-danger {
    background: rgba(255, 77, 77, 0.1);
    color: #FF4D4D;
}

.badge-info {
    background: rgba(69, 183, 209, 0.1);
    color: #45B7D1;
}

/* Action Buttons */
.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: var(--text-dark);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.action-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}

.action-btn-primary {
    background: rgba(27, 82, 120, 0.1);
    color: #1B5278;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 2rem;
}

.close-modal {
    font-size: 1.5rem;
    color: var(--text-medium);
    cursor: pointer;
}

/* Forms in Admin */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #edeff2;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(27, 82, 120, 0.05);
    outline: none;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}