/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Colors */
    --primary-color: #151515;
    --secondary-color: #d80606;
    --tertiary-color: #FFFFFF;
    --accent-color: #c43a3a;
    --dark-red: #cf0303;
    --light-gray: #f5f5f5;
    --medium-gray: #cccccc;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.4s ease;
    --transition-bezier: cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(139, 0, 0, 0.1);
    
    /* Borders */
    --border-light: 1px solid rgba(255, 255, 255, 0.1);
    --border-medium: 1px solid rgba(255, 255, 255, 0.2);
    --border-accent: 1px solid rgba(139, 0, 0, 0.3);
    
    /* Fonts */
    --font-primary: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
    --font-arabic: 'IBM Plex Sans Arabic', Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
}

/* ===================================
   BASE STYLES
   =================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-color);
    color: var(--tertiary-color);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ------------------------------------------------------------------------- */
/* Simple White Circular Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    position: relative;
}

.circle-loader {
    position: relative;
    width: 200px;
    height: 200px;
}

.circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 8px solid rgba(255, 255, 255, 0.1);
    border-top: 8px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo img {
    width: 80px;
    height: auto;
}

.percent {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .circle-loader { width: 160px; height: 160px; }
    .logo img { width: 60px; }
    .percent { font-size: 1.2rem; bottom: 15px; }
}

@media (max-width: 480px) {
    .circle-loader { width: 140px; height: 140px; }
    .circle { border-width: 6px; }
    .logo img { width: 50px; }
    .percent { font-size: 1rem; }
}

/* ===================================
   NAVIGATION BAR
   =================================== */
.navbar {
    background-color: rgba(21, 21, 21, 0.95);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    transition: all var(--transition-slow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: var(--border-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(21, 21, 21, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Brand Logo */
.navbar-brand img {
    height: 50px;
    transition: transform var(--transition-medium);
    filter: brightness(1.1);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: var(--tertiary-color);
    font-weight: 500;
    margin: 0 15px;
    padding: 8px 4px;
    position: relative;
    transition: all var(--transition-medium);
    text-decoration: none;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Language Selector */
.lang-selector {
    position: relative;
    cursor: pointer;
}

.lang-current {
    display: flex;
    align-items: center;
    color: var(--tertiary-color);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 25px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(139, 0, 0, 0.1));
    border: var(--border-accent);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.lang-current:hover {
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
    transform: translateY(-2px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(139, 0, 0, 0.15));
}

.lang-current img {
    height: 20px;
    margin-right: 10px;
    border-radius: 3px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-medium);
}

.lang-current::after {
    content: '▼';
    font-size: 0.8em;
    margin-left: 10px;
    transition: transform var(--transition-medium);
    color: var(--secondary-color);
}

.lang-current.active::after {
    transform: rotate(180deg);
}

/* Language Dropdown */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: linear-gradient(145deg, rgba(21, 21, 21, 0.98), rgba(33, 33, 33, 0.95));
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: top right;
    transition: all 0.4s var(--transition-bezier);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--border-light);
    overflow: hidden;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    transition: all var(--transition-medium);
    border-bottom: var(--border-light);
    color: var(--tertiary-color);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: linear-gradient(90deg, rgba(194, 194, 194, 0.15), rgba(192, 192, 192, 0.1));
    color: var(--secondary-color);
    transform: translateX(5px);
}

.lang-option img {
    height: 20px;
    margin-right: 12px;
    border-radius: 3px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-medium);
}

.lang-option:hover img {
    transform: scale(1.1);
}

/* =================================== HERO SECTION - ENHANCED =================================== */
/* ===================================
   HERO SECTION - ULTIMATE DESIGN
   =================================== */
.simple-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

/* Background Slider with Ken Burns Effect */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.15) rotate(0.5deg);
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1),
                transform 10s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
    filter: brightness(0.85) contrast(1.1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: brightness(1) contrast(1.05);
}

/* Cinematic Overlay with Multiple Layers */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.8) 100%),
        linear-gradient(to bottom, 
            rgba(10, 10, 10, 0.7) 0%,
            rgba(5, 5, 5, 0.4) 35%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(5, 5, 5, 0.5) 75%,
            rgba(10, 10, 10, 0.85) 100%
        ),
        linear-gradient(135deg, 
            rgba(216, 6, 6, 0.05) 0%,
            transparent 50%,
            rgba(216, 6, 6, 0.03) 100%
        );
    z-index: 2;
}

/* Add Vignette Effect */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

/* Content Container */
.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-content {
    text-align: center;
    color: var(--tertiary-color);
    position: relative;
    min-height: 300px;
    max-width: 1300px;
    width: 100%;
    padding: 100px 50px;
}

/* Slide Content with Premium Animation */
.slide-content {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    filter: blur(10px);
    transition: opacity 1.4s cubic-bezier(0.215, 0.61, 0.355, 1),
                transform 1.4s cubic-bezier(0.215, 0.61, 0.355, 1),
                filter 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(60px) scale(0.9);
    width: 100%;
    will-change: opacity, transform, filter;
    pointer-events: none;
}

.slide-content.active {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) scale(1);
    filter: blur(0px);
    position: absolute;
    pointer-events: auto;
}

/* Premium Hero Typography */
.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.6s forwards;
    text-shadow: 
        0 0 20px rgba(216, 6, 6, 0.6),
        0 0 40px rgba(216, 6, 6, 0.3),
        0 2px 10px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 4px 8px rgba(216, 6, 6, 0.4));
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    box-shadow: 0 0 10px rgba(216, 6, 6, 0.5);
}

.hero-subtitle::before {
    right: calc(100% + 20px);
}

.hero-subtitle::after {
    left: calc(100% + 20px);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--tertiary-color);
    line-height: 1.1;
    margin: 0;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: slideInScale 1.7s cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s forwards;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

/* Enhanced Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes slideInScale {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Premium Navigation Controls */
.hero-navigation {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.hero-dots {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 18px 30px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.4);
    box-shadow: 
        0 0 25px rgba(216, 6, 6, 0.7),
        0 0 50px rgba(216, 6, 6, 0.4),
        0 0 75px rgba(216, 6, 6, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.dot.active::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: pulseRing 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulseRing {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.dot:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 6px;
}

/* Premium Arrow Navigation */
.hero-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 4;
    pointer-events: none;
    padding: 0 40px;
}

.arrow-btn {
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--tertiary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    font-size: 22px;
    pointer-events: auto;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.arrow-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--secondary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.arrow-btn:hover {
    background: rgba(216, 6, 6, 0.3);
    border-color: var(--secondary-color);
    transform: scale(1.2);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(216, 6, 6, 0.4),
        0 0 60px rgba(216, 6, 6, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.arrow-btn:hover::before {
    opacity: 1;
}

.arrow-btn:active {
    transform: scale(1.1);
}

.arrow-btn:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 6px;
}

.arrow-btn i {
    transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.arrow-btn:hover i {
    transform: scale(1.25);
}

.prev-btn:hover i {
    transform: translateX(-4px) scale(1.25);
}

.next-btn:hover i {
    transform: translateX(4px) scale(1.25);
}

/* ===================================
   RESPONSIVE - HERO SECTION
   =================================== */

@media (max-width: 1400px) {
    .hero-subtitle::before,
    .hero-subtitle::after {
        width: 70px;
    }
    
    .arrow-btn {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .hero-content {
        padding: 80px 40px;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-subtitle::before,
    .hero-subtitle::after {
        width: 60px;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 6.5vw, 4rem);
    }
    
    .arrow-btn {
        width: 56px;
        height: 56px;
        font-size: 19px;
    }
}

@media (max-width: 991px) {
    .simple-hero {
        min-height: 550px;
    }
    
    .hero-content {
        padding: 70px 30px;
        min-height: 260px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }
    
    .hero-subtitle::before,
    .hero-subtitle::after {
        width: 50px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
    
    .hero-navigation {
        bottom: 45px;
    }
    
    .hero-dots {
        padding: 16px 26px;
    }
    
    .arrow-btn {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }
    
    .hero-arrows {
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .simple-hero {
        min-height: 500px;
        height: 90vh;
    }
    
    .hero-content {
        padding: 60px 25px;
        min-height: 240px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .hero-subtitle::before,
    .hero-subtitle::after {
        width: 40px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 5.5vw, 3rem);
    }
    
    .hero-navigation {
        bottom: 40px;
    }
    
    .hero-dots {
        padding: 14px 24px;
        gap: 14px;
    }
    
    .dot {
        width: 11px;
        height: 11px;
    }
    
    .arrow-btn {
        width: 48px;
        height: 48px;
        font-size: 17px;
        background: rgba(0, 0, 0, 0.55);
    }
    
    .hero-arrows {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .simple-hero {
        min-height: 450px;
        height: 85vh;
    }
    
    .hero-content {
        padding: 50px 20px;
        min-height: 220px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }
    
    .hero-subtitle::before,
    .hero-subtitle::after {
        width: 35px;
    }
    
    .hero-title {
        font-size: clamp(1.6rem, 6.5vw, 2.5rem);
    }
    
    .hero-navigation {
        bottom: 35px;
    }
    
    .hero-dots {
        padding: 12px 20px;
        gap: 12px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .arrow-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .hero-arrows {
        padding: 0 10px;
    }
}

@media (max-width: 400px) {
    .simple-hero {
        min-height: 400px;
        height: 80vh;
    }
    
    .hero-content {
        padding: 40px 15px;
        min-height: 200px;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }
    
    .hero-subtitle::before,
    .hero-subtitle::after {
        width: 30px;
    }
    
    .hero-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }
    
    .hero-navigation {
        bottom: 30px;
    }
    
    .hero-dots {
        padding: 10px 18px;
        gap: 10px;
    }
    
    .dot {
        width: 9px;
        height: 9px;
    }
    
    .arrow-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
        border-width: 1.5px;
    }
    
    .hero-arrows {
        padding: 0 8px;
    }
}

/* RTL Support */
.rtl .hero-subtitle,
.rtl .hero-title {
    font-family: var(--font-arabic);
}

/* Performance & Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .slide-content,
    .arrow-btn,
    .dot {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    
    .hero-subtitle,
    .hero-title {
        animation: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
    
    .dot::before {
        animation: none !important;
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
}

/* Section Header */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--tertiary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Images Container */
.about-images {
    position: relative;
    height: 500px;
    margin-bottom: 30px;
}

.image-large {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition-bezier);
}

.image-large:hover img {
    transform: scale(1.05);
}

.image-small {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 250px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 5px solid #1a1a1a;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition-bezier);
}

.image-small:hover img {
    transform: scale(1.1);
}

/* Text Content */
.about-text {
    padding-left: 30px;
}

.about-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.about-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.about-description {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* Accordion Dropdowns */
.info-dropdowns {
    margin-top: 30px;
}

.dropdown-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s var(--transition-bezier);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-toggle {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: var(--tertiary-color);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: color 0.3s var(--transition-bezier);
    text-align: left;
}

.dropdown-toggle:hover {
    color: var(--secondary-color);
}

.dropdown-toggle i.fas:first-child {
    font-size: 1.3rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-toggle span {
    flex: 1;
}

.dropdown-toggle .arrow {
    font-size: 0.9rem;
    transition: transform 0.3s var(--transition-bezier);
    color: var(--tertiary-color);
    flex-shrink: 0;
}

.dropdown-toggle.active .arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--transition-bezier), padding 0.4s var(--transition-bezier);
    background: rgba(0, 0, 0, 0.3);
}

.dropdown-content.active {
    max-height: 800px;
    padding: 25px;
}

.dropdown-content p {
    font-size: clamp(0.875rem, 1.5vw, 0.95rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* ===================================
   RTL SUPPORT
   =================================== */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl body {
    font-family: var(--font-arabic);
}

.rtl .navbar-nav .nav-link,
.rtl .lang-current, 
.rtl .lang-option,
.rtl .hero-subtitle,
.rtl .hero-title,
.rtl .section-title,
.rtl .section-description,
.rtl .about-heading,
.rtl .about-description,
.rtl .dropdown-toggle span,
.rtl .dropdown-content p {
    font-family: var(--font-arabic);
}

.rtl .lang-current img {
    margin-right: 0;
    margin-left: 10px;
}

.rtl .lang-option img {
    margin-right: 0;
    margin-left: 12px;
}

.rtl .lang-dropdown {
    left: 0;
    right: auto;
    transform-origin: top left;
}

.rtl .lang-option:hover {
    transform: translateX(-5px);
}

.rtl .about-text {
    padding-left: 0;
    padding-right: 30px;
}

.rtl .about-heading {
    padding-left: 0;
    padding-right: 20px;
}

.rtl .about-heading::before {
    left: auto;
    right: 0;
}

.rtl .dropdown-toggle {
    text-align: right;
}

.rtl .image-small {
    right: auto;
    left: -30px;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===================================
   RESPONSIVE BREAKPOINTS
   =================================== */

/* Large Desktops (1400px+) */
@media (min-width: 1400px) {
    .hero-content {
        padding: 120px 70px;
    }
    
    .prev-btn {
        left: 100px;
    }
    
    .next-btn {
        right: 100px;
    }
    
    .about-section {
        padding: 140px 0;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .prev-btn {
        left: 80px;
    }
    
    .next-btn {
        right: 80px;
    }
    
    .arrow-btn {
        width: 64px;
        height: 64px;
        font-size: 20px;
    }
    
    .about-section {
        padding: 120px 0;
    }
    
    .about-images {
        height: 550px;
    }
    
    .image-small {
        width: 280px;
        height: 280px;
        bottom: -40px;
        right: -40px;
    }
    
    .rtl .image-small {
        left: -40px;
        right: auto;
    }
    
    .about-text {
        padding-left: 50px;
    }
    
    .rtl .about-text {
        padding-right: 50px;
        padding-left: 0;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-collapse {
        margin-top: 15px;
        padding: 25px;
        background: linear-gradient(145deg, rgba(21, 21, 21, 0.98), rgba(33, 33, 33, 0.95));
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: var(--border-light);
    }
    
    .center-nav {
        margin: 15px 0;
        padding: 15px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .navbar-nav .nav-item {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 20px;
        border-radius: 10px;
        display: block;
        width: 100%;
        margin: 0;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .lang-selector {
        margin: 25px auto 15px;
        width: fit-content;
    }
    
    .hero-content {
        padding: 80px 40px;
    }
    
    .arrow-btn {
        width: 50px;
        height: 50px;
    }
    
    .prev-btn {
        left: 30px;
    }
    
    .next-btn {
        right: 30px;
    }
    
    .about-section {
        padding: 80px 0;
    }
    
    .about-text {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .rtl .about-text {
        padding-right: 0;
    }
    
    .image-small {
        width: 220px;
        height: 220px;
        bottom: -20px;
        right: -20px;
    }
    
    .rtl .image-small {
        left: -20px;
        right: auto;
    }
}

/* Mobile Landscape & Small Tablets (577px - 767px) */
@media (min-width: 577px) and (max-width: 767px) {
    .navbar {
        padding: 12px 0;
    }
    
    .navbar-brand img {
        height: 45px;
    }
    
    .navbar-collapse {
        margin-top: 15px;
        padding: 20px;
        background: linear-gradient(145deg, rgba(21, 21, 21, 0.98), rgba(33, 33, 33, 0.95));
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(15px);
        border: var(--border-light);
    }
    
    .center-nav {
        margin: 15px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .navbar-nav .nav-item {
        margin: 8px 0;
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 16px;
        border-radius: 8px;
        display: block;
        margin: 0;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .lang-selector {
        margin: 20px auto 10px;
    }
    
    .hero-content {
        padding: 50px 30px;
        min-height: 250px;
    }
    
    .hero-arrows {
        display: none;
    }
    
    .hero-navigation {
        bottom: 40px;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .about-images {
        height: 400px;
        margin-bottom: 50px;
    }
    
    .image-small {
        width: 200px;
        height: 200px;
        bottom: -20px;
        right: 20px;
    }
    
    .rtl .image-small {
        left: 20px;
        right: auto;
    }
}

/* Mobile Portrait (320px - 576px) */
@media (max-width: 576px) {
    .navbar {
        padding: 12px 0;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .navbar-collapse {
        margin-top: 10px;
        padding: 20px;
        background: linear-gradient(145deg, rgba(21, 21, 21, 0.98), rgba(33, 33, 33, 0.95));
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(15px);
        border: var(--border-light);
    }
    
    .center-nav {
        margin: 12px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .navbar-nav .nav-item {
        margin: 6px 0;
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
        border-radius: 8px;
        display: block;
        margin: 0;
        font-size: 0.95rem;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .lang-selector {
        margin: 20px auto 10px;
    }
    
    .lang-current {
        padding: 8px 14px;
        font-size: 0.9em;
    }
    
    .lang-current img,
    .lang-option img {
        height: 18px;
    }
    
    /* Hero Mobile Styles */
    .simple-hero {
        min-height: 500px;
        height: 100vh;
    }
    
    .hero-content {
        padding: 40px 20px;
        min-height: 200px;
    }
    
    .hero-arrows {
        display: none;
    }
    
    .hero-navigation {
        bottom: 30px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    /* About Mobile Styles */
    .about-section {
        padding: 50px 0;
    }
    
    .about-images {
        height: 350px;
        margin-bottom: 80px;
    }
    
    .image-small {
        width: 180px;
        height: 180px;
        bottom: -75px;
        right: 15px;
    }
    
    .rtl .image-small {
        left: 15px;
        right: auto;
    }
    
    .about-heading {
        padding-left: 15px;
    }
    
    .rtl .about-heading {
        padding-right: 15px;
        padding-left: 0;
    }
    
    .dropdown-toggle {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .dropdown-content.active {
        padding: 15px;
    }
}

/* Extra Small Devices (320px - 374px) */
@media (max-width: 374px) {
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-collapse {
        padding: 15px;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .about-images {
        height: 300px;
    }
    
    .image-small {
        width: 150px;
        height: 150px;
        bottom: -60px;
        right: 10px;
    }
    
    .rtl .image-small {
        left: 10px;
        right: auto;
    }
}

/* Mobile Toggler Button */
@media (max-width: 991px) {
    .navbar-toggler {
        border: none;
        padding: 10px;
        outline: none !important;
        box-shadow: none !important;
        background: transparent;
        position: relative;
        transition: transform var(--transition-medium);
        width: 44px;
        height: 40px;
    }
    
    .navbar-toggler:hover {
        transform: scale(1.05);
    }
    
    .navbar-toggler:focus {
        box-shadow: none !important;
    }
    
    .toggler-icon {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
    }
    
    .toggler-icon span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--tertiary-color);
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .toggler-icon span:nth-child(1) {
        top: 0;
    }
    
    .toggler-icon span:nth-child(2) {
        top: 8px;
        width: 80%;
    }
    
    .toggler-icon span:nth-child(3) {
        top: 16px;
    }
    
    .navbar-toggler:not(.collapsed) .toggler-icon span:nth-child(1) {
        top: 8px;
        transform: rotate(135deg);
        background: var(--secondary-color);
    }
    
    .navbar-toggler:not(.collapsed) .toggler-icon span:nth-child(2) {
        opacity: 0;
        width: 0;
    }
    
    .navbar-toggler:not(.collapsed) .toggler-icon span:nth-child(3) {
        top: 8px;
        transform: rotate(-135deg);
        background: var(--secondary-color);
    }
    
    .navbar-collapse.collapsing {
        transform: translateY(-10px);
        opacity: 0;
    }
    
    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
    }
    
    .navbar-nav .nav-item:hover {
        transform: translateY(-2px);
    }
    
    .navbar-nav .nav-link:hover {
        background: linear-gradient(90deg, rgba(219, 219, 219, 0.2), rgba(172, 172, 172, 0.15));
        color: var(--tertiary-color);
    }
    
    .navbar-nav .nav-link.active {
        background: linear-gradient(90deg, rgba(206, 206, 206, 0.3), rgba(184, 184, 184, 0.25));
        color: var(--tertiary-color);
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-slide,
    .slide-content,
    .dot,
    .arrow-btn,
    .image-large img,
    .image-small img,
    .dropdown-toggle .arrow,
    .dropdown-content {
        transition: none;
        animation: none;
    }
    
    .hero-subtitle,
    .hero-title {
        opacity: 1;
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .dot {
        border: 2px solid var(--tertiary-color);
    }
    
    .arrow-btn {
        border: 2px solid var(--tertiary-color);
        background: rgba(0, 0, 0, 0.8);
    }
    
    .navbar {
        border-bottom: 2px solid var(--tertiary-color);
    }
}

/* Focus Visible for Keyboard Navigation */
:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
}

/* Screen Reader Only */
.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;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

/* Display Utilities */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

/* Text Alignment */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

/* Spacing Utilities */
.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-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); }

.pt-1 { padding-top: var(--spacing-xs); }
.pt-2 { padding-top: var(--spacing-sm); }
.pt-3 { padding-top: var(--spacing-md); }
.pt-4 { padding-top: var(--spacing-lg); }
.pt-5 { padding-top: var(--spacing-xl); }

.pb-1 { padding-bottom: var(--spacing-xs); }
.pb-2 { padding-bottom: var(--spacing-sm); }
.pb-3 { padding-bottom: var(--spacing-md); }
.pb-4 { padding-bottom: var(--spacing-lg); }
.pb-5 { padding-bottom: var(--spacing-xl); }

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .navbar,
    .hero-arrows,
    .hero-navigation,
    .lang-selector {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .about-section {
        background: white;
    }
    
    a {
        text-decoration: underline;
    }
}


/* --------------------------------------------------------------------------------- */

/* ===================================
   PRODUCTS SECTION
   =================================== */
.products-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(216, 6, 6, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(216, 6, 6, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Product Card */
.product-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(216, 6, 6, 0.15);
    border-color: rgba(216, 6, 6, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Product Image */
.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.15);
}


.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay i {
    font-size: 3rem;
    color: var(--tertiary-color);
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-overlay i {
    transform: scale(1);
}

/* Product Content */
.product-content {
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--secondary-color);
}

.product-description {
    font-size: clamp(0.875rem, 1.5vw, 0.95rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    flex: 1;
}

/* RTL Support for Products */
.rtl .product-title,
.rtl .product-description {
    font-family: var(--font-arabic);
    text-align: right;
}

/* ===================================
   RESPONSIVE - PRODUCTS SECTION
   =================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .products-section {
        padding: 140px 0;
    }
    
    .product-image {
        height: 320px;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .products-section {
        padding: 120px 0;
    }
    
    .product-image {
        height: 300px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .products-section {
        padding: 80px 0;
    }
    
    .product-image {
        height: 260px;
    }
    
    .product-content {
        padding: 25px 20px;
    }
}

/* Mobile Landscape (577px - 767px) */
@media (min-width: 577px) and (max-width: 767px) {
    .products-section {
        padding: 60px 0;
    }
    
    .product-image {
        height: 240px;
    }
    
    .product-content {
        padding: 20px 18px;
    }
}

/* Mobile Portrait (320px - 576px) */
@media (max-width: 576px) {
    .products-section {
        padding: 50px 0;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-content {
        padding: 20px 15px;
    }
    
    .product-overlay i {
        font-size: 2.5rem;
    }
}

/* Extra Small (320px - 374px) */
@media (max-width: 374px) {
    .product-image {
        height: 200px;
    }
}

/* ------------------------------------------------------------------------------------ */

/* ===================================
   OFFICIAL HEALTH NUMBERS SECTION
   =================================== */
.health-numbers-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #151515 0%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

.health-numbers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(216, 6, 6, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(216, 6, 6, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.health-numbers-section .container {
    position: relative;
    z-index: 2;
}

/* Health Card */
.health-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.health-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.health-card:hover::before {
    transform: scaleX(1);
}

.health-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(216, 6, 6, 0.2);
    border-color: rgba(216, 6, 6, 0.4);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

/* Card Header */
.health-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

/* Health Number Badge */
.health-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--tertiary-color);
    box-shadow: 0 8px 20px rgba(216, 6, 6, 0.4);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.health-number::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.health-card:hover .health-number {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 40px rgba(216, 6, 6, 0.6);
}

/* Card Body */
.health-card-body {
    text-align: center;
}

.health-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 20px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.health-card:hover .health-title {
    color: var(--secondary-color);
}

.health-description {
    font-size: clamp(0.875rem, 1.5vw, 0.95rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* RTL Support */
.rtl .health-title,
.rtl .health-description {
    font-family: var(--font-arabic);
    text-align: center;
}

/* ===================================
   RESPONSIVE - HEALTH NUMBERS SECTION
   =================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .health-numbers-section {
        padding: 140px 0;
    }
    
    .health-card {
        padding: 50px 40px;
    }
    
    .health-number {
        width: 90px;
        height: 90px;
        font-size: 2.8rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .health-numbers-section {
        padding: 120px 0;
    }
    
    .health-card {
        padding: 45px 35px;
    }
    
    .health-number {
        width: 85px;
        height: 85px;
        font-size: 2.6rem;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .health-numbers-section {
        padding: 80px 0;
    }
    
    .health-card {
        padding: 35px 25px;
    }
    
    .health-number {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }
}

/* Mobile Landscape (577px - 767px) */
@media (min-width: 577px) and (max-width: 767px) {
    .health-numbers-section {
        padding: 60px 0;
    }
    
    .health-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .health-number {
        width: 65px;
        height: 65px;
        font-size: 2rem;
    }
}

/* Mobile Portrait (320px - 576px) */
@media (max-width: 576px) {
    .health-numbers-section {
        padding: 50px 0;
    }
    
    .health-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .health-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .health-card:hover {
        transform: translateY(-5px);
    }
}

/* Extra Small (320px - 374px) */
@media (max-width: 374px) {
    .health-card {
        padding: 25px 15px;
    }
    
    .health-number {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

/* ------------------------------------------------------------- */

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 35%, rgba(216, 6, 6, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(216, 6, 6, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Creates 1:1 aspect ratio (square) */
    border-radius: 16px;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(216, 6, 6, 0.8), rgba(196, 58, 58, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--tertiary-color);
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ===================================
   LIGHTBOX MODAL
   =================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    width: 100%;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 75vh;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
    object-fit: contain;
}

.lightbox-open-btn {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--tertiary-color);
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 25px rgba(216, 6, 6, 0.5);
    z-index: 10001;
}

.lightbox-open-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(216, 6, 6, 0.7);
}

.lightbox-open-btn i {
    font-size: 1.2rem;
}

.lightbox-caption {
    background: linear-gradient(145deg, rgba(21, 21, 21, 0.98), rgba(33, 33, 33, 0.95));
    padding: 35px 50px;
    border-radius: 20px;
    margin-top: 35px;
    width: 100%;
    max-width: 1200px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

.lightbox-caption h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 18px;
    line-height: 1.3;
}

.lightbox-caption p {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.8;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: var(--tertiary-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(216, 6, 6, 0.95);
    transform: scale(1.2);
    box-shadow: 0 12px 35px rgba(216, 6, 6, 0.6);
    border-color: rgba(216, 6, 6, 0.6);
}

.lightbox-close {
    top: 50px;
    right: 50px;
}

.lightbox-prev {
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.2);
}

.lightbox-next {
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.2);
}

.lightbox-counter {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(21, 21, 21, 0.96);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--tertiary-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.lightbox-counter span {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.rtl .lightbox-caption h3,
.rtl .lightbox-caption p,
.rtl .lightbox-open-btn .btn-text {
    font-family: var(--font-arabic);
}

.rtl .lightbox-open-btn {
    flex-direction: row-reverse;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (min-width: 1400px) {
    .gallery-section { padding: 140px 0; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .gallery-section { padding: 120px 0; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gallery-section { padding: 80px 0; }
    .lightbox { padding: 15px; }
    .lightbox-content img { max-height: 70vh; max-width: 95%; }
    .lightbox-caption { padding: 25px 30px; margin-top: 20px; }
    .lightbox-close, .lightbox-prev, .lightbox-next { width: 60px; height: 60px; font-size: 1.5rem; }
    .lightbox-close { top: 25px; right: 25px; }
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    .lightbox-open-btn { padding: 12px 24px; font-size: 0.95rem; bottom: 20px; right: 20px; }
    .lightbox-counter { bottom: 30px; padding: 14px 32px; font-size: 1.15rem; }
}

@media (min-width: 577px) and (max-width: 767px) {
    .gallery-section { padding: 60px 0; }
    .lightbox { padding: 10px; }
    .lightbox-content img { max-height: 75vh; max-width: 98%; }
    .lightbox-caption { padding: 20px 22px; margin-top: 15px; max-width: 95%; }
    .lightbox-close, .lightbox-prev, .lightbox-next { width: 55px; height: 55px; font-size: 1.4rem; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 10px; right: 10px; }
    .lightbox-open-btn { bottom: 15px; right: 15px; padding: 11px 22px; font-size: 0.9rem; }
    .lightbox-counter { bottom: 20px; padding: 12px 28px; font-size: 1.05rem; }
}

@media (max-width: 576px) {
    .gallery-section { padding: 50px 0; }
    .lightbox { padding: 10px; align-items: center; }
    .lightbox-content { max-width: 100%; width: 100%; }
    .lightbox-image-wrapper { width: 100%; max-width: 100%; }
    .lightbox-content img { 
        max-height: 70vh; 
        width: auto; 
        max-width: 100%; 
        height: auto;
    }
    .lightbox-caption { padding: 18px 20px; margin-top: 15px; max-width: 95%; width: 95%; }
    .lightbox-caption h3 { font-size: clamp(1.2rem, 5vw, 1.5rem); margin-bottom: 10px; }
    .lightbox-caption p { font-size: clamp(0.9rem, 3vw, 1rem); }
    .lightbox-close, .lightbox-prev, .lightbox-next { 
        width: 50px; 
        height: 50px; 
        font-size: 1.3rem; 
        background: rgba(0, 0, 0, 0.8); 
        border: 1px solid rgba(255, 255, 255, 0.3); 
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 15px; right: 15px; }
    .lightbox-open-btn { 
        bottom: 15px; 
        right: 15px; 
        padding: 12px; 
        border-radius: 50%; 
        width: 48px; 
        height: 48px; 
        justify-content: center; 
    }
    .lightbox-open-btn .btn-text { display: none; }
    .lightbox-open-btn i { margin: 0; font-size: 1.3rem; }
    .lightbox-counter { 
        bottom: 20px; 
        padding: 10px 24px; 
        font-size: 1rem; 
        background: rgba(0, 0, 0, 0.85); 
    }
    .lightbox-counter span { font-size: 1.2rem; }
}

@media (max-width: 374px) {
    .lightbox { padding: 8px; }
    .lightbox-content img { 
        max-height: 65vh; 
        width: auto; 
        max-width: 100%; 
    }
    .lightbox-caption { padding: 16px 18px; margin-top: 12px; width: 96%; }
    .lightbox-close, .lightbox-prev, .lightbox-next { width: 46px; height: 46px; font-size: 1.2rem; }
    .lightbox-open-btn { width: 44px; height: 44px; bottom: 12px; right: 12px; }
}



/* =---------------------------------------=---------------------------------------------------------=-------------------------- */

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(216, 6, 6, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(216, 6, 6, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(216, 6, 6, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(216, 6, 6, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Contact Icon */
.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(216, 6, 6, 0.15), rgba(196, 58, 58, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 6, 6, 0.3);
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(216, 6, 6, 0.3);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: transform 0.4s ease;
}

.contact-card:hover .contact-icon i {
    transform: scale(1.2);
}

/* Contact Details */
.contact-details {
    text-align: center;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--tertiary-color);
    margin-bottom: 10px;
}

.contact-details p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.8;
}

.contact-details a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Form Group */
.form-group {
    margin-bottom: 0;
    transition: transform 0.2s ease;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--tertiary-color);
    margin-bottom: 10px;
}

/* Form Control */
.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--tertiary-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(216, 6, 6, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    border-radius: 50px;
    color: var(--tertiary-color);
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 25px rgba(216, 6, 6, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(216, 6, 6, 0.6);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Map Wrapper */
.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: fadeInUp 0.8s ease;
}

.map-wrapper iframe {
    display: block;
    filter: grayscale(20%) brightness(0.9);
    transition: filter 0.4s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0%) brightness(1);
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL Support */
.rtl .contact-details h4,
.rtl .contact-details p,
.rtl .form-group label,
.rtl .submit-btn .btn-text {
    font-family: var(--font-arabic);
}

.rtl .submit-btn {
    flex-direction: row-reverse;
}

.rtl .submit-btn:hover i {
    transform: translateX(-5px);
}

/* ===================================
   RESPONSIVE - CONTACT SECTION
   =================================== */

@media (min-width: 1400px) {
    .contact-section {
        padding: 140px 0;
    }
    
    .contact-form-wrapper {
        padding: 50px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .contact-section {
        padding: 120px 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-form-wrapper {
        padding: 35px;
    }
    
    .contact-card {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info-wrapper {
        margin-bottom: 30px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
    }
    
    .form-control {
        padding: 12px 16px;
    }
    
    .submit-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
}

/* ------------------------------------------------------------ */

/* ===================================
   FOOTER SECTION
   =================================== */
.footer-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 20%, rgba(216, 6, 6, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(216, 6, 6, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Footer Main */
.footer-main {
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-widget {
    margin-bottom: 30px;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 90px;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

/* Footer Description */
.footer-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 25px;
    max-width: 400px;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(216, 6, 6, 0.15), rgba(196, 58, 58, 0.1));
    border: 1px solid rgba(216, 6, 6, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tertiary-color);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(216, 6, 6, 0.4);
    border-color: var(--secondary-color);
}

/* Footer Title */
.footer-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(8px);
}

.footer-links a:hover::before {
    left: -15px;
    opacity: 1;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact li i {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-right: 12px;
    margin-top: 3px;
    min-width: 20px;
    flex-shrink: 0;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: var(--secondary-color);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.copyright-text,
.designer-text {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.designer-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    margin-left: 5px;
}

.designer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.designer-link:hover {
    color: var(--tertiary-color);
}

.designer-link:hover::after {
    width: 100%;
}

/* RTL Support */
.rtl .footer-description,
.rtl .footer-title,
.rtl .footer-links a,
.rtl .footer-contact li,
.rtl .copyright-text,
.rtl .designer-text {
    font-family: var(--font-arabic);
}

.rtl .footer-title::after {
    left: auto;
    right: 0;
}

.rtl .footer-links a::before {
    content: '←';
    left: auto;
    right: -20px;
}

.rtl .footer-links a:hover {
    transform: translateX(-8px);
}

.rtl .footer-links a:hover::before {
    right: -15px;
    left: auto;
}

.rtl .footer-contact li i {
    margin-right: 0;
    margin-left: 12px;
}

.rtl .designer-link {
    margin-left: 0;
    margin-right: 5px;
}

/* ===================================
   RESPONSIVE - FOOTER
   =================================== */

@media (min-width: 1400px) {
    .footer-main {
        padding: 100px 0 50px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .footer-main {
        padding: 90px 0 45px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .footer-main {
        padding: 80px 0 40px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer-main {
        padding: 70px 0 35px;
    }
    
    .footer-widget {
        margin-bottom: 45px;
    }
    
    .footer-description {
        max-width: 100%;
    }
}

/* Mobile Devices - Everything Centered */
@media (max-width: 767px) {
    .footer-main {
        padding: 60px 0 30px;
    }
    
    .footer-widget {
        margin-bottom: 50px;
        text-align: center;
    }
    
    .footer-widget:last-child {
        margin-bottom: 30px;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 25px;
    }
    
    .footer-logo img {
        height: 75px;
    }
    
    .footer-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
        display: inline-block;
        width: 100%;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .rtl .footer-title::after {
        right: 50%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .footer-links a:hover {
        transform: translateX(0);
        color: var(--secondary-color);
    }
    
    .footer-contact {
        text-align: left;
        display: inline-block;
        max-width: 100%;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .col-md-6 {
        margin-bottom: 12px;
    }
    
    .footer-bottom .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .copyright-text,
    .designer-text {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 50px 0 25px;
    }
    
    .footer-widget {
        margin-bottom: 45px;
    }
    
    .footer-logo img {
        height: 75px;
    }
    
    .footer-description {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .footer-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .copyright-text,
    .designer-text {
        font-size: 0.85rem;
        padding: 0 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-contact li {
        margin-bottom: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
        gap: 10px;
    }
    
    .copyright-text,
    .designer-text {
        font-size: 0.8rem;
    }
}