/* ===== FONT IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* Brand Colors - مدرسه نویان */
    --brand-primary: #007dc5; /* آبی اصلی - برای CTA و عناصر مهم */
    --brand-secondary: #203468; /* آبی تیره - برای هدر و فوتر */
    --brand-accent: #009c9e; /* فیروزه‌ای - برای highlights */
    --brand-purple: #5c2d91; /* بنفش - برای عناصر خاص */
    
    /* Color Variations */
    --primary-color: var(--brand-primary);
    --primary-dark: #006ba8;
    --primary-light: #1a8fd1;
    --secondary-color: var(--brand-secondary);
    --secondary-dark: #1a2a5a;
    --secondary-light: #2a3f7a;
    
    /* Modern Neutral Palette */
    --white: #ffffff;
    --gray-50: #fafbfc;
    --gray-100: #f4f6f8;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --black: #000000;
    
    /* Semantic Colors */
    --success: #28a745;
    --warning: #ffc107;
    --error: #dc3545;
    --info: var(--brand-primary);
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-purple) 100%);
    --gradient-accent: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-primary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--brand-secondary) 0%, var(--gray-800) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 125, 197, 0.9) 0%, rgba(32, 52, 104, 0.8) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Typography */
    --font-family-primary: 'Vazirmatn', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-100);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

h1 { font-size: 3.5rem; font-weight: 900; }
h2 { font-size: 2.5rem; font-weight: 800; }
h3 { font-size: 2rem; font-weight: 700; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    margin-bottom: var(--space-4);
    color: var(--gray-600);
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-700);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    gap: var(--space-2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 125, 197, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 125, 197, 0.4);
    color: var(--white);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 125, 197, 0.3);
}

.btn-secondary {
    background: var(--brand-secondary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

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

/* دکمه‌های منو */
.navbar .btn {
    font-size: 0.9rem;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.navbar .btn-outline {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    background: transparent;
}

.navbar .btn-outline:hover {
    background: var(--brand-primary);
    color: var(--white);
    transform: translateY(-1px);
}

.navbar .btn-primary {
    background: var(--brand-primary);
    color: var(--white);
    border: none;
}

.navbar .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1.125rem;
    border-radius: var(--radius-xl);
}

.btn-xl {
    padding: var(--space-5) var(--space-10);
    font-size: 1.25rem;
    border-radius: var(--radius-2xl);
}

.btn-sm {
    padding: var(--space-2) var(--space-6);
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-sm::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    border-radius: calc(var(--radius-md) - 2px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-sm:hover {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    color: var(--white);
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 125, 197, 0.3);
}

.btn-sm:hover::before {
    opacity: 1;
}

/* ===== TOP HEADER ===== */
.top-header {
    background: var(--brand-secondary);
    color: var(--white);
    padding: var(--space-2) 0;
    font-size: 0.875rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1005;
    width: 100%;
}

.top-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.top-header-left .announcement {
    display: flex;
    align-items: center;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.top-header-right .quick-links {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.quick-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    font-weight: 500;
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-1px);
}

.quick-link i {
    font-size: 0.875rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 40px; /* برای top header */
    left: 0;
    right: 0;
    z-index: 1004;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    width: 100%;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: var(--space-4) 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--brand-primary) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    transition: transform var(--transition-normal);
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--gray-700) !important;
    margin: 0 var(--space-1);
    padding: var(--space-2) var(--space-3) !important;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-primary) !important;
    background: rgba(0, 125, 197, 0.1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

    .navbar-toggler {
        border: none;
        padding: var(--space-2);
        border-radius: var(--radius-md);
        z-index: 1007;
        position: relative;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    .navbar-toggler:active {
        transform: scale(0.95);
    }
    
    /* Close button for mobile menu - Hidden by default */
    .navbar-close {
        display: none;
        border: none;
        background: var(--brand-primary);
        color: var(--white);
        width: 35px;
        height: 35px;
        border-radius: var(--radius-full);
        cursor: pointer;
        position: absolute;
        top: 26px;
        left: 50px;
        z-index: 1008;
        font-size: 1.2rem;
        font-weight: bold;
        transition: all var(--transition-normal);
        box-shadow: var(--shadow-md);
        opacity: 0;
        visibility: hidden;
    }
    
    .navbar-close:hover {
        background: var(--primary-dark);
        transform: scale(1.1);
    }
    
    .navbar-close.show {
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
        visibility: visible;
    }



/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    min-width: 250px;
    margin-top: var(--space-2);
}

.dropdown-header {
    color: var(--gray-700);
    font-weight: 700;
    font-size: 0.875rem;
    padding: var(--space-2) var(--space-3);
    margin-bottom: var(--space-1);
}

.dropdown-item {
    color: var(--gray-700);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    text-decoration: none;
    display: block;
}

.dropdown-item:hover {
    background: var(--brand-primary);
    color: var(--white);
    transform: translateX(-4px);
}

.dropdown-divider {
    border-color: var(--gray-200);
    margin: var(--space-2) 0;
}

/* ===== HERO SECTION WITH BANNER SLIDER ===== */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    /* بهبود برای موبایل */
    visibility: hidden;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 125, 197, 0.3) 0%, rgba(32, 52, 104, 0.2) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-6);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-xl);
    /*backdrop-filter: blur(10px);*/
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    color: var(--white);
}

.banner-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-6);
    opacity: 0.95;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.2s both;
    color: var(--white);
}

.banner-features {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.3s both;
}

.banner-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: 600;
    backdrop-filter: blur(10px);
    color: var(--white);
}

.banner-feature i {
    color: var(--brand-accent);
}

.banner-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    pointer-events: all;
    z-index: 11;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* بهبود اضافی برای موبایل */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    /* اطمینان از کارکرد روی موبایل */
    min-height: 44px;
    min-width: 44px;
    /* بهبود بیشتر برای لمس */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:active {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(0.95);
}

.slider-btn.prev {
    left: var(--space-4);
}

.slider-btn.next {
    right: var(--space-4);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    z-index: 3;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
    /* بهبود برای موبایل */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* حداقل اندازه برای لمس */
    min-height: 20px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.indicator.active,
.indicator:hover {
    background: var(--white);
    transform: scale(1.2);
}

/* ===== GRADE LEVELS SECTION ===== */
.grade-levels-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.grade-category {
    margin-bottom: var(--space-16);
}

.grade-category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    position: relative;
}

.grade-category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: transparent;
    border-radius: 2px;
}

/* صفحه اصلی - کارت‌های پایه */
.grade-levels-section .grade-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.grade-levels-section .grade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.grade-levels-section .grade-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    color: inherit;
    text-decoration: none;
}

.grade-levels-section .grade-card:hover::before {
    transform: scaleX(1);
}

.grade-levels-section .grade-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    font-size: 1.5rem;
    color: var(--white);
    transition: all var(--transition-normal);
}

.grade-levels-section .grade-card:hover .grade-icon {
    transform: scale(1.1) rotate(5deg);
}

.grade-levels-section .grade-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.grade-levels-section .grade-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--space-4);
    color: var(--brand-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-primary);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    font-size: 2rem;
    color: var(--white);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--gray-900);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

/* ===== COURSES SECTION ===== */
.courses-section {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
    padding: 0;
    margin-bottom: var(--space-4);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.course-content {
    padding: var(--space-4);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-3);
    gap: var(--space-2);
}

.course-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.course-grade-section {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--gray-200);
}

.course-grade-section i {
    color: var(--brand-primary);
    font-size: 0.75rem;
}

.course-grade {
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 500;
}

.course-description {
    color: var(--gray-600);
    margin-bottom: var(--space-3);
    line-height: 1.6;
    font-size: 0.875rem;
}

.course-teacher {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    margin-bottom: var(--space-3);
    font-size: 0.875rem;
    color: var(--gray-600);
}

.teacher-avatar {
    width: auto;
    height: auto;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

/* عکس معلمان در صفحه teachers */
.teacher-card .teacher-avatar img,
.teacher-card-compact .teacher-avatar img {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

/* عکس معلم در کارت‌های دوره‌های ویژه - کوچک */
.course-card .teacher-avatar {
    width: 40px !important;
    height: 40px !important;
}

.course-card .teacher-avatar img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
}

.teacher-avatar i {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.teacher-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

.course-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--space-4);
    gap: var(--space-3);
}

.course-price {
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 1.125rem;
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.blog-content {
    padding: var(--space-6);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--gray-900);
}

.blog-excerpt {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--space-24) 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.05)" cx="200" cy="200" r="100"/><circle fill="rgba(255,255,255,0.03)" cx="800" cy="800" r="150"/></svg>');
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--space-6);
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: var(--space-8);
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-purple) 100%);
    color: var(--gray-300);
    padding: var(--space-20) 0 var(--space-8);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.03)" cx="200" cy="200" r="100"/><circle fill="rgba(255,255,255,0.02)" cx="800" cy="800" r="150"/></svg>');
    background-size: cover;
}

.footer-main {
    position: relative;
    z-index: 2;
    margin-bottom: var(--space-12);
}

/* Footer Brand Section */
.footer-brand {
    margin-bottom: var(--space-6);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform var(--transition-normal);
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-description {
    color: var(--gray-300);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: var(--space-4);
}

.social-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--brand-accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 156, 158, 0.3);
}

.social-link i {
    font-size: 1.2rem;
}

/* Footer Sections */
.footer-section {
    margin-bottom: var(--space-6);
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    position: relative;
    padding-bottom: var(--space-2);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-primary) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 156, 158, 0.3);
}

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

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-block;
    padding: var(--space-1) 0;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    transition: width var(--transition-normal);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(-5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-details h6 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

 .contact-details p {
     color: var(--gray-300);
     font-size: 0.9rem;
     line-height: 1.6;
     margin: 0;
 }
 
 /* Contact Links */
 .contact-link {
     color: var(--gray-300);
     text-decoration: none;
     transition: all var(--transition-normal);
     position: relative;
     padding: var(--space-1) 0;
     display: inline-block;
 }
 
 .contact-link:hover {
     color: var(--brand-accent);
     text-decoration: none;
     transform: translateX(5px);
 }
 
 .contact-link::before {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 0;
     height: 2px;
     background: var(--brand-accent);
     transition: width var(--transition-normal);
 }
 
 .contact-link:hover::before {
     width: 100%;
 }

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
    position: relative;
    z-index: 2;
}

.copyright {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-4);
}

.footer-bottom-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition-normal);
}

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

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: var(--space-12) 0 var(--space-6);
    }
    
    .footer-main {
        margin-bottom: var(--space-8);
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: var(--space-3);
    }
    
    .copyright {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* بهبود فوتر در موبایل */
    .footer-section {
        margin-bottom: var(--space-8);
    }
    
    /* دو ستون برای دسترسی سریع و خدمات */
    .footer-section:nth-child(2),
    .footer-section:nth-child(3) {
        width: 48%;
        display: inline-block;
        vertical-align: top;
        margin-right: 2%;
    }
    
    .footer-section:nth-child(3) {
        margin-right: 0;
    }
    
    /* بهبود اطلاعات تماس */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
        margin-bottom: var(--space-4);
        padding: var(--space-3);
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }
    
    .contact-icon {
        align-self: center;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.2);
        margin-bottom: var(--space-2);
    }
    
    .contact-details {
        text-align: center;
        width: 100%;
    }
    
    .contact-details h6 {
        font-size: 1rem;
        margin-bottom: var(--space-2);
        color: var(--white);
        font-weight: 700;
    }
    
         .contact-details p {
         font-size: 0.95rem;
         line-height: 1.6;
         margin: 0;
         color: var(--gray-300);
     }
     
     /* بهبود لینک‌های تماس در موبایل */
     .contact-link {
         font-size: 0.95rem;
         padding: var(--space-2) 0;
         border-radius: var(--radius-sm);
         background: rgba(255, 255, 255, 0.05);
         padding: var(--space-2) var(--space-3);
         border: 1px solid rgba(255, 255, 255, 0.1);
         display: inline-block;
         min-width: 120px;
         text-align: center;
     }
     
     .contact-link:hover {
         background: rgba(255, 255, 255, 0.1);
         transform: translateY(-2px);
         color: var(--brand-accent);
     }
    
    /* بهبود عنوان‌های فوتر */
    .footer-title {
        text-align: center;
        margin-bottom: var(--space-5);
        font-size: 1.1rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* بهبود لینک‌های فوتر */
    .footer-links {
        text-align: center;
    }
    
    .footer-links li {
        margin-bottom: var(--space-3);
    }
    
    .footer-links a {
        padding: var(--space-2) var(--space-3);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.05);
        display: inline-block;
        min-width: 120px;
        transition: all var(--transition-normal);
    }
    
    .footer-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease;
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== DISABLE ANIMATIONS ON MOBILE ===== */
@media (max-width: 768px) {
    /* Disable ALL animations on mobile */
    * {
        animation: none !important;
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        animation-fill-mode: none !important;
        transition: none !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
        transform: none !important;
        opacity: 1 !important;
    }
    
    /* Specific elements that should not animate */
    .animate-fade-in-up,
    .animate-fade-in-left,
    .animate-fade-in-right,
    .banner-title,
    .banner-subtitle,
    .banner-features,
    .banner-buttons,
    .feature-card,
    .course-card,
    .blog-card,
    .grade-card,
    .banner-slide,
    .banner-content {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .slider-indicators {left: 0;}
    /* Keep only essential hover effects */
    .btn:hover,
    .card:hover,
    .navbar-nav .nav-link:hover {
        transform: none !important;
        transition: none !important;
    }
    
    /* Disable all animations on mobile */
    .animate-fade-in-up,
    .animate-fade-in-left,
    .animate-fade-in-right,
    .banner-title,
    .banner-subtitle,
    .banner-features,
    .banner-buttons {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== DESKTOP STYLES ===== */
@media (min-width: 992px) {
    /* Hide close button on desktop */
    .navbar-close {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .page-header-title {
        font-size: 2rem;
    }
    
    .page-header-subtitle {
        font-size: 1rem;
    }
    
    .page-header-section {
        padding: var(--space-12) 0;
    }
    
    .top-header-content {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
    
    .top-header-right .quick-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-2);
    }
    
    .quick-link span {
        display: none;
    }
    
    .quick-link {
        padding: var(--space-2);
        border-radius: var(--radius-full);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .header {
        top: 60px; /* برای top header بزرگتر در موبایل */
    }
    
   .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
    }
    
    .banner-features {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
    
    .banner-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
        z-index: 11;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px; /* برای دسترسی بهتر روی موبایل */
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        /* بهبود اضافی برای موبایل */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        /* بهبود بیشتر برای موبایل */
        background: rgba(255, 255, 255, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    
    .slider-btn.prev {
        left: var(--space-2);
    }
    
    .slider-btn.next {
        right: var(--space-2);
    }
    
    /* بهبود اضافی برای موبایل‌های کوچک */
@media (max-width: 480px) {
    .slider-btn {
        width: 60px;
        height: 60px;
        /* بهبود بیشتر برای موبایل */
        background: rgba(255, 255, 255, 0.4);
        border: 2px solid rgba(255, 255, 255, 0.6);
        /* اطمینان از کارکرد روی موبایل */
        min-height: 60px;
        min-width: 60px;
        /* بهبود لمس */
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
    
    .slider-btn:active,
    .slider-btn:focus {
        background: rgba(255, 255, 255, 0.6);
        transform: translateY(-50%) scale(0.95);
        outline: none;
    }
    
    .slider-btn:hover {
        background: rgba(255, 255, 255, 0.5);
    }
    
         /* بهبود indicators برای موبایل */
     .indicator {
         min-height: 25px;
         min-width: 25px;
         background-color: rgba(255, 255, 255, 0.6);
         border: 2px solid rgba(255, 255, 255, 0.8);
         flex-shrink: 0;
     }
    
    .indicator.active {
        background-color: rgba(255, 255, 255, 0.9);
        border-color: rgba(255, 255, 255, 1);
    }
    
    .indicator:active {
        background-color: rgba(255, 255, 255, 0.8);
        transform: scale(0.9);
    }
}
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: var(--white);
        border-radius: var(--radius-lg);
        margin-top: var(--space-4);
        padding: var(--space-4);
        box-shadow: var(--shadow-lg);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1006;
        max-height: 80vh;
        overflow-y: auto;
        border: 1px solid var(--gray-200);
        display: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .navbar-collapse.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Close button - Only show on mobile when menu is open */
    .navbar-close {
        display: none;
        opacity: 0;
        visibility: hidden;
    }
    
    .navbar-close.show {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    
    /* Ensure all nav items are visible */
    .navbar-nav {
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        margin: 0;
    }
    
    .navbar-nav .nav-link {
        width: 100%;
        text-align: center;
        padding: var(--space-3) var(--space-4) !important;
        margin: var(--space-1) 0;
        border-radius: var(--radius-md);
        transition: all var(--transition-normal);
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: var(--brand-primary);
        color: var(--white) !important;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        margin: var(--space-1) 0;
        padding: var(--space-3) var(--space-4) !important;
        font-size: 1rem;
    }
    
    .navbar .d-flex {
        flex-direction: column;
        gap: var(--space-2);
        margin-top: var(--space-3);
        width: 100%;
    }
    
    .navbar .btn {
        width: 100%;
        text-align: center;
        margin: var(--space-1) 0;
    }
    
    /* Ensure proper spacing and visibility */
    .navbar-collapse .container {
        padding: 0;
    }
    
    .navbar-collapse .navbar-nav {
        margin-bottom: var(--space-3);
    }
    
    /* Fix for hidden menu items */
    .navbar-nav .nav-item {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .navbar-nav .nav-link {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        white-space: normal !important;
    }
    
         .grade-levels-section .grade-card {
         margin-bottom: var(--space-4);
     }
    
    .grade-category-title {
        font-size: 1.5rem;
    }
    
    
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
         .feature-card,
     .course-card,
     .blog-card,
     .grade-levels-section .grade-card {
         margin-bottom: var(--space-6);
     }
     
             .grade-category-title {
         font-size: 1.25rem;
     }
     
     /* بهبود فوتر در موبایل‌های کوچک */
     .footer-section:nth-child(2),
     .footer-section:nth-child(3) {
         width: 100%;
         display: block;
         margin-right: 0;
         margin-bottom: var(--space-6);
     }
     
     .contact-item {
         padding: var(--space-4);
         margin-bottom: var(--space-5);
     }
     
     .contact-icon {
         width: 60px;
         height: 60px;
         font-size: 1.5rem;
     }
     
     .contact-details h6 {
         font-size: 1.1rem;
     }
     
     .contact-details p {
         font-size: 1rem;
     }
     
     .footer-links a {
         min-width: 140px;
         padding: var(--space-3) var(--space-4);
     }
 }



/* ===== PAGE HEADER ===== */
.page-header-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10rem 0 var(--space-16) 0;
    margin-top: var(--space-24);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.05)" cx="200" cy="200" r="100"/><circle fill="rgba(255,255,255,0.03)" cx="800" cy="800" r="150"/></svg>');
    background-size: cover;
}

.page-header-content {
    position: relative;
    z-index: 2;
    padding-top: var(--space-16);
}

.page-header-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-header-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BREADCRUMB SECTION ===== */
.breadcrumb-section {
    background: var(--white);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-section .breadcrumb,
.breadcrumb-custom {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    list-style: none;
    position: relative;
    z-index: 10;
}

.breadcrumb-section .breadcrumb-item,
.breadcrumb-custom .breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    content: '>';
    color: var(--gray-400);
    font-weight: 600;
    margin: 0 var(--space-2);
}

.breadcrumb-nav,
.breadcrumb-section .breadcrumb-item a,
.breadcrumb-custom .breadcrumb-item a {
    color: var(--brand-primary) !important;
    text-decoration: none !important;
    transition: color var(--transition-normal);
    cursor: pointer;
    pointer-events: auto !important;
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 20;
}

.breadcrumb-section .breadcrumb-item a:hover,
.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--primary-dark) !important;
    text-decoration: underline !important;
    background: rgba(0, 125, 197, 0.1);
}

.breadcrumb-section .breadcrumb-item.active,
.breadcrumb-custom .breadcrumb-item.active {
    color: var(--gray-600);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
