/* ========================================
   🎨 MODERN DESIGN SYSTEM - 2025
   Full Responsive & UX/UI Standards
   ======================================== */

/* === ROOT VARIABLES === */
:root {
    /* Brand Colors */
    --primary-color: #1B3A5C;
    --primary-light: #2a4d73;
    --primary-dark: #0f2840;
    --secondary-color: #F58220;
    --secondary-light: #ff9a4a;
    --secondary-dark: #d66a10;
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Typography */
    --font-sans: 'SST Arabic', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'SST Arabic', 'Inter', sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    
    /* Spacing */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;    /* 4px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* === MODERN NAVIGATION === */
nav {
    background: #ffffff;
    color: var(--primary-color);
    padding: 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
    box-shadow: 0 2px 15px rgba(27, 58, 92, 0.1);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    width: 100%;
    max-width: none;
    margin: 0;
    border-bottom: 1px solid rgba(27, 58, 92, 0.08);
}

nav.scrolled {
    padding: var(--spacing-sm) 0;
    box-shadow: 0 4px 20px rgba(27, 58, 92, 0.15);
}

.nav-container {
    width: 100%;
    margin: 0;
    /* padding: var(--spacing-sm) var(--spacing-lg);*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    transition: all var(--transition-base);
    padding: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.nav-logo:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.nav-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex: 1;
    justify-content: center;
}

    


.nav-links a i {
    font-size: 18px;
    color: #1B3A5C;
    transition: all var(--transition-base);
    display: none;
}

.nav-links a:hover i {
    transform: scale(1.15);
    color: #F58220;
}

.nav-links a.active i {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #F58220;
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #F58220;
    background: rgba(245, 130, 32, 0.08);
    transform: translateY(-1px);
}

.nav-links a:hover::after {
    width: 80%;
    background: #F58220;
}

.nav-links a.active {
    background: #F58220;
    color: #ffffff;
    font-weight: 600;
    border-radius: 25px;
    padding: 16px 32px;
    box-shadow: 0 4px 15px rgba(245, 130, 32, 0.35);
}

.nav-links a.active i {
    color: #ffffff;
}

.nav-links a.active::after {
    display: none;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(245, 130, 32, 0.1);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1100;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(245, 130, 32, 0.2);
    border-color: #F58220;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #1B3A5C;
    border-radius: 3px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-toggle.active {
    background: #F58220;
}

.nav-toggle.active span {
    background: #ffffff;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: #F58220;
    color: #ffffff;
    border: 2px solid #F58220;
    border-radius: var(--radius-full);
    padding: 6px var(--spacing-md);
    font-weight: 600;
    font-size: var(--text-xs);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    white-space: nowrap;
}

.lang-btn:hover {
    background: #1B3A5C;
    color: #ffffff;
    border-color: #1B3A5C;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(27, 58, 92, 0.3);
}

/* === RESPONSIVE NAVIGATION === */
@media (max-width: 1024px) {
    .nav-links {
        gap: var(--spacing-xs);
    }
    
    .nav-links a {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--text-sm);
    }
}

@media (max-width: 768px) {
    /* Prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden !important;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        /*  padding: var(--spacing-sm) var(--spacing-md);*/
    }
    
    .nav-toggle {
        display: flex;
        order: 3;
        flex-shrink: 0;
    }
    
    .nav-logo {
        order: 1;
        position: relative;
        z-index: 1100;
        flex-shrink: 0;
    }
    
    .lang-switcher {
        order: 2;
        margin-left: auto;
        margin-right: var(--spacing-md);
        position: relative;
        z-index: 1100;
        flex-shrink: 0;
    }
    
    /* Default: slides from LEFT (for English/LTR) */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        right: auto;
        height: 100vh;
        width: 280px;
        max-width: 85vw;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 20px 40px 20px;
        gap: 15px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        overflow-x: hidden;
        border-right: 3px solid #1B3A5C;
        border-left: none;
        z-index: 1050;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 15px 20px;
        text-align: center;
        font-size: 16px;
        font-weight: 500;
        justify-content: center;
        color: #1B3A5C;
        display: block;
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
        pointer-events: auto;
        position: relative;
        z-index: 1;
    }
    
    .nav-links a i {
        display: none !important;
    }
    
    .nav-links a span {
        display: inline-block;
        pointer-events: none;
    }
    
    .nav-links a.active {
        background: #F58220;
        color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(245, 130, 32, 0.35);
        font-weight: 600;
    }
    
    .nav-links a:hover {
        background: rgba(245, 130, 32, 0.15);
        color: #F58220;
        transform: translateX(-5px);
    }
    
    
    /* Overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1040;
        backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        cursor: pointer;
        pointer-events: none;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        display : contents;
    }
    
}

/* Small mobile devices */
@media (max-width: 480px) {
    .nav-logo img {
        height: 35px;
    }
    
    .nav-toggle {
        width: 40px;
        height: 40px;
    }
    
    .nav-toggle span {
        width: 22px;
    }
    
    .lang-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .nav-links {
        width: 260px;
        padding: 70px 15px 30px 15px;
    }
    
    .nav-links a {
        padding: 12px 15px;
        font-size: 15px;
    }
}

/* === MODERN HERO SECTION === */
.hero-section {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
    background: var(--black);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease, transform 8s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
    max-width: 800px;
    width: 90%;
    padding: var(--spacing-md);
}

.hero-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: var(--text-lg);
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s backwards;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-logo {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    animation: fadeIn 2s ease 1s backwards;
}

.hero-logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 11;
}

.slider-nav span {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-2xl);
    cursor: pointer;
    transition: all var(--transition-base);
}

.slider-nav span:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

/* === MODERN BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-sans);
}

.btn-primary {
    background: #F58220;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(245, 130, 32, 0.4);
    border-radius: 8px;
}

.btn-primary::after {
    content: '›';
    font-size: 22px;
    font-weight: 700;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    background: #e0710f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 130, 32, 0.5);
    color: #ffffff;
}

.btn-primary:hover::after {
    transform: translateX(5px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

.btn-sm {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--text-sm);
}

/* === MODERN CARDS === */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--gray-100);
}

.card-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.card-subtitle {
    font-size: var(--text-base);
    color: var(--gray-600);
}

.card-body {
    margin-bottom: var(--spacing-lg);
}

.card-footer {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-100);
}

/* === SERVICE CARDS === */
.services-modern {
    padding: var(--spacing-3xl) 0;
    /*background: var(--white);*/
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
}

.service-card {
    /*background: var(--white);*/
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--secondary-color);
}

    .service-card .icon {
        width: 80px;
        height: 80px;
        margin: 0 auto var(--spacing-lg);
        background: var(--secondary-color);
        border-radius: var(--radius-full);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: var(--text-4xl);
        color: var(--white);
        box-shadow: var(--shadow-lg);
        transition: all var(--transition-base);
    }

.service-card:hover .icon {
    transform: rotateY(360deg);
    box-shadow: var(--shadow-2xl);
}

.service-card h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
}

    .service-card p {
        font-size: var(--text-base);
        color: var(--secondary-color);
        line-height: 1.7;
    }

/* === SECTION TITLES === */
.section-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.section-title span {
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: var(--text-xl);
    color: var(--gray-600);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* === UTILITY CLASSES === */
.container {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

/* === RESPONSIVE TYPOGRAPHY === */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .slider-nav {
        bottom: var(--spacing-lg);
        right: var(--spacing-lg);
    }
    
    .slider-nav span {
        width: 40px;
        height: 40px;
        font-size: var(--text-xl);
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
        max-height: 400px;
    }
    
    .hero-logo img {
        height: 60px;
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
    
    .service-card .icon {
        width: 60px;
        height: 60px;
        font-size: var(--text-3xl);
    }
}

/* === MODERN FOOTER === */
.modern-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.modern-footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.mf-col h4 {
    color: var(--white);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.mf-list {
    list-style: none;
    padding: 0;
}

.mf-list li {
    margin-bottom: var(--spacing-sm);
}

.mf-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: var(--text-base);
}

.mf-link:hover {
    color: var(--secondary-color);
    padding-left: var(--spacing-xs);
}

.modern-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* === ACCESSIBILITY === */
.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 styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Smooth scrolling for all browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

