/* ===================================
   JANA ORGANIZATION - GLOBAL STYLES
   =================================== */

:root {
    /* Earth Tone Palette - Gold/Sage/Dark */
    --primary-color: #556B2F;
    /* Dark Olive Green */
    --primary-dark: #3B4B21;
    --primary-light: #8FBC8F;
    /* Dark Sea Green */
    --accent-color: #D4AF37;
    /* Metallic Gold */
    --accent-hover: #C5A028;

    --text-dark: #1A1A1A;
    --text-light: #F5F5F0;
    /* Off-white/Beige */
    --text-muted: #666666;

    --bg-light: #F9F9F7;
    /* Warm white */
    --bg-white: #FFFFFF;
    --bg-dark: #2C3E50;
    /* Deep blue-grey for contrast */

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --radius: 0.5rem;
    --radius-lg: 1rem;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-arabic: 'Noto Sans Arabic', sans-serif;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

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

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

body[dir="rtl"] {
    font-family: var(--font-arabic);
    direction: rtl;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    border: 1px solid #ddd;
    padding: var(--spacing-sm);
    border-radius: var(--radius);
    transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    max-width: 100%;
    padding: 0 var(--spacing-md);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

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

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

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

.btn-secondary {
    background: var(--bg-dark);
    color: white;
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===================================
   HEADER
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-en {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.logo-ar {
    font-size: 0.875rem;
    color: var(--text-light);
    font-family: var(--font-arabic);
}

.nav {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(46, 125, 50, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.lang-toggle {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.lang-toggle:hover {
    background: var(--primary-color);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    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 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator {
    width: 2px;
    height: 30px;
    background: white;
    border-radius: 2px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

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

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

/* ===================================
   IMPACT STATS
   =================================== */

.impact-stats {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.stat-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ===================================
   MAP SECTION
   =================================== */

.map-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.map-filters {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.filter-group select,
.filter-group input {
    flex: 1;
    padding: 0.5rem;
}

.search-group input {
    width: 100%;
}

.map-container {
    height: 600px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-lg);
}

.map-legend {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.map-legend h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.legend-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

/* ===================================
   PROJECT SIDEBAR
   =================================== */

.project-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.project-sidebar.active {
    right: 0;
}

body[dir="rtl"] .project-sidebar {
    right: auto;
    left: -400px;
    transition: left 0.3s ease;
}

body[dir="rtl"] .project-sidebar.active {
    left: 0;
}

.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
}

.sidebar-close:hover {
    background: var(--primary-color);
    color: white;
}

.sidebar-content {
    padding: var(--spacing-xl) var(--spacing-md);
}

.sidebar-content h2 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.sidebar-content p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.sidebar-detail {
    margin-bottom: var(--spacing-md);
}

.sidebar-detail strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: var(--spacing-xs);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
    padding: var(--spacing-xxl) 0;
    background: white;
}

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

.about-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.value-card {
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.value-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.about-image {
    height: 500px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.placeholder-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-sm);
}

.image-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ===================================
   PROJECTS SECTION
   =================================== */

.projects-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

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

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    position: relative;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.project-content {
    padding: var(--spacing-md);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.project-location {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.project-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--bg-light);
}

.project-status {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.status-operational {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
}

.status-progress {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.status-proposed {
    background: rgba(158, 158, 158, 0.1);
    color: var(--text-light);
}

/* ===================================
   ACTIVITIES SECTION
   =================================== */

.activities-section {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
}

.activity-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.activity-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.activity-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.activity-counter {
    margin: var(--spacing-lg) 0;
}

.counter-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.counter-unit {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.activity-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

/* ===================================
   SESSIONS SECTION
   =================================== */

.sessions-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.session-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.session-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.session-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.session-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   NEWS SECTION
   =================================== */

.news-section {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.news-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
}

.news-content {
    padding: var(--spacing-md);
}

.news-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.news-card h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.news-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
}

.info-card p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.social-link {
    background: white;
    padding: var(--spacing-sm);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.contact-form {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
}

/* ===================================
   DONATE SECTION
   =================================== */

.donate-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: white;
    text-align: center;
}

.donate-content {
    max-width: 800px;
    margin: 0 auto;
}

.donate-content .section-title {
    color: white;
}

.donate-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.donation-options {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    color: var(--text-dark);
}

.donation-amounts {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.amount-btn {
    flex: 1;
    min-width: 80px;
    padding: var(--spacing-sm);
    border: 2px solid var(--bg-light);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

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

.custom-amount {
    flex: 1;
    min-width: 150px;
}

.donation-types {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.radio-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
}

.donation-note {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-light);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-xs);
}

.newsletter-form input {
    flex: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--primary-light);
}

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

@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .map-filters {
        flex-direction: column;
    }

    .map-container {
        height: 400px;
    }

    .projects-grid,
    .activities-grid,
    .sessions-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .project-sidebar {
        width: 100%;
        right: -100%;
    }

    body[dir="rtl"] .project-sidebar {
        left: -100%;
    }

    .donation-amounts {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .counter-number {
        font-size: 2.5rem;
    }
}

/* ===================================
   RTL SUPPORT
   =================================== */

body[dir="rtl"] .nav-link:hover::after {
    right: auto;
    left: 0;
}

body[dir="rtl"] .social-link:hover {
    transform: translateX(-5px);
}

body[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

/* ===================================
   ANIMATIONS
   =================================== */

.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.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;
}