/* 
 * 🎨 Color Routine – حركة عطاء عدل
 * نظام الألوان الكامل والمعتمد
 */

:root {
  /* الألوان الأساسية */
  --color-primary: #01A453;
  --color-primary-light: #33B978;
  --color-primary-dark: #018A46;
  --color-primary-hover: #01995C;
  --color-primary-disabled: #7FD7AE;

  --color-secondary: #16514B;
  --color-secondary-light: #2D6F68;
  --color-secondary-dark: #0E3A36;
  --color-secondary-hover: #1E635C;

  --color-white: #FFFFFF;

  /* ألوان النص */
  --text-primary: #1F2933;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-white: #FFFFFF;

  /* ألوان الخلفيات */
  --bg-page: #F7F9F8;
  --bg-card: #FFFFFF;
  --bg-section: #EAF6F1;
  --bg-sidebar: #16514B;
  --bg-header: #16514B;

  /* ألوان الحالات */
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;

  /* ألوان الحدود */
  --border-light: #E5E7EB;
  --border-default: #D1D5DB;
  --border-dark: #9CA3AF;

  /* Shadows */
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);

  /* Aliases for backward compatibility */
  --primary: var(--color-primary);
  --secondary: var(--color-secondary);
  --neutral: var(--color-white);
  
  /* RGBA variants for transparency */
  --color-primary-rgba: rgba(1, 164, 83, 1);
  --color-primary-rgba-95: rgba(1, 164, 83, 0.95);
  --color-primary-rgba-75: rgba(1, 164, 83, 0.75);
  --color-primary-rgba-20: rgba(1, 164, 83, 0.2);
  --color-primary-rgba-15: rgba(1, 164, 83, 0.15);
  --color-primary-rgba-10: rgba(1, 164, 83, 0.1);
  --color-primary-rgba-06: rgba(1, 164, 83, 0.06);
  --color-primary-rgba-05: rgba(1, 164, 83, 0.05);
  --color-primary-rgba-04: rgba(1, 164, 83, 0.04);
  --color-primary-rgba-03: rgba(1, 164, 83, 0.03);
  
  --color-secondary-rgba: rgba(22, 81, 75, 1);
  --color-secondary-rgba-98: rgba(22, 81, 75, 0.98);
  --color-secondary-rgba-95: rgba(22, 81, 75, 0.95);
  --color-secondary-rgba-85: rgba(22, 81, 75, 0.85);
  --color-secondary-rgba-20: rgba(22, 81, 75, 0.2);
  --color-secondary-rgba-06: rgba(22, 81, 75, 0.06);
  --color-secondary-rgba-05: rgba(22, 81, 75, 0.05);
  --color-secondary-rgba-04: rgba(22, 81, 75, 0.04);
}

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

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

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

body {
    font-family: 'Cairo', 'Arial', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    background: var(--bg-page);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
    margin: 0;
    padding: 0;
}

* {
    -webkit-tap-highlight-color: transparent;
}

/* RTL Support */
body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* LTR Support */
body[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

body[dir="ltr"] .section-link::after {
    content: " ←";
}

body[dir="rtl"] .section-link::after {
    content: " →";
}

/* LTR Header Styles - English Language Support */
body[dir="ltr"] .header {
    direction: ltr;
    text-align: left;
}

body[dir="ltr"] .header-content {
    grid-template-columns: auto 1fr auto;
    direction: ltr;
}

body[dir="ltr"] .logo {
    flex-direction: row;
    flex-shrink: 0;
}

body[dir="ltr"] .logo-img {
    margin: 0;
}

body[dir="ltr"] .nav {
    justify-content: center;
    direction: ltr;
}

body[dir="ltr"] .nav-link {
    direction: ltr;
    text-align: left;
}

body[dir="ltr"] .header-actions {
    direction: ltr;
    justify-content: flex-end;
    flex-shrink: 0;
}

body[dir="ltr"] .hero-actions {
    flex-direction: row-reverse;
}

body[dir="ltr"] .news-meta,
body[dir="ltr"] .section-header {
    flex-direction: row-reverse;
}

body[dir="ltr"] .user-dropdown {
    left: 0;
    right: auto;
}

/* Fix dropdown positioning for RTL */
body[dir="rtl"] .user-dropdown {
    right: 0;
    left: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
}

/* Header */
.header {
    background: var(--color-secondary);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: var(--color-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 90px;
    gap: 20px;
    position: relative;
    padding: 0 20px;
    overflow: visible;
    min-width: 0;
}

/* Mobile and small tablets */
@media (max-width: 767px) {
    .header-content {
        grid-template-columns: auto 1fr auto auto;
    }
}

/* Desktop screens - Ensure header actions are visible */
@media (min-width: 993px) {
    .header-content {
        grid-template-columns: auto 1fr auto;
        gap: 20px;
        overflow: visible;
        min-width: 0;
    }
    
    .header-actions {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center;
        gap: 20px;
        flex-shrink: 0;
        position: relative;
        z-index: 10;
        min-width: fit-content;
        width: auto;
    }
    
    .language-switcher {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.1);
        padding: 6px;
        border-radius: 14px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        flex-shrink: 0;
    }
    
    .lang-link {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        font-weight: 700;
        font-size: 1.1rem;
        padding: 10px 16px;
        border-radius: 10px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        min-width: 50px;
        height: 44px;
        flex-shrink: 0;
    }
    
    .btn-login {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 14px 28px;
        background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
        color: var(--color-white);
        text-decoration: none;
        border-radius: 12px;
        font-weight: 700;
        font-size: 1rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px var(--color-primary-rgba-20);
        position: relative;
        overflow: hidden;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .user-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1001;
        flex-shrink: 0;
    }
    
    .btn-user {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        background: rgba(255, 255, 255, 0.1);
        color: var(--color-white);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
        text-decoration: none;
        position: relative;
        z-index: 1;
        flex-shrink: 0;
    }
    
    .user-dropdown {
        position: absolute;
        visibility: visible;
        top: calc(100% + 10px);
        right: 0;
        min-width: 220px;
        background: var(--bg-card);
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        border: 1px solid var(--border-light);
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow: hidden;
    }
    
    .user-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    body[dir="ltr"] .user-dropdown {
        left: 0;
        right: auto;
    }
    
    body[dir="rtl"] .user-dropdown {
        right: 0;
        left: auto;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Medium screens (Tablets) - 768px to 992px */
@media (min-width: 768px) and (max-width: 992px) {
    .header-content {
        grid-template-columns: auto 1fr auto;
        gap: 15px;
        height: 85px;
    }
    
    .nav {
        display: flex;
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        padding: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
        overflow: visible;
        z-index: auto;
        justify-content: center;
        align-items: center;
        flex: 1;
        min-width: 0;
    }
    
    .nav::before {
        display: none;
    }
    
    .nav-link {
        padding: 10px 14px;
        font-size: 0.85rem;
        width: auto;
        max-width: none;
        margin-bottom: 0;
        text-align: center;
        direction: inherit;
        display: inline-block;
        justify-content: center;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .header-actions {
        display: flex;
        visibility: visible;
        opacity: 1;
        gap: 10px;
        flex-shrink: 0;
        min-width: 0;
        align-items: center;
    }
    
    .language-switcher {
        display: flex;
        visibility: visible;
        opacity: 1;
        gap: 4px;
        padding: 3px;
        align-items: center;
    }
    
    .lang-link {
        display: flex;
        visibility: visible;
        opacity: 1;
        padding: 6px 10px;
        min-width: 38px;
        height: 36px;
        font-size: 0.9rem;
        align-items: center;
        justify-content: center;
    }
    
    .btn-login {
        display: inline-block;
        visibility: visible;
        opacity: 1;
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .btn-user {
        display: flex;
        visibility: visible;
        opacity: 1;
        padding: 8px 12px;
        font-size: 0.8rem;
        align-items: center;
    }
    
    .user-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        position: relative;
        z-index: 1001;
    }
    
    .user-dropdown {
        position: absolute;
        visibility: visible;
        top: calc(100% + 10px);
        right: 0;
        z-index: 1002;
    }
    
    body[dir="ltr"] .user-dropdown {
        left: 0;
        right: auto;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Logo Styles - Redesigned */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-white);
    font-weight: 800;
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    border-radius: 12px;
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

/* Removed shimmer effect from logo */

.logo:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

/* Logo Image - Redesigned */
.logo-img {
    display: block !important;
    height: 60px !important;
    width: auto !important;
    max-width: 180px !important;
    min-width: 60px !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3)) !important;
    transition: transform 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 2 !important;
}

.logo:hover .logo-img {
    transform: scale(1.05) rotate(2deg) !important;
}

.logo-text {
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
}

.nav-link {
    padding: 14px 22px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1;
    pointer-events: auto;
    display: inline-block;
}

/* Removed shimmer effect from nav-link */

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px 2px 0 0;
    z-index: 0;
    pointer-events: none;
}

/* Removed hover effect for nav-link::before */

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    z-index: 2;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Language Switcher */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    visibility: visible;
    opacity: 1;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    visibility: visible;
    opacity: 1;
}

.lang-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 50px;
    height: 44px;
}

/* Removed shimmer effect from lang-link */

.lang-link:hover {
    color: var(--color-white);
    transform: translateY(-2px) scale(1.05);
}

.lang-link.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.lang-char {
    font-family: 'Cairo', 'Arial', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.lang-link[data-lang="ar"] .lang-char {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-style: normal;
}

.lang-link[data-lang="en"] .lang-char {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Login Button in Header */
.btn-login {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: var(--color-white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px var(--color-primary-rgba-20);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* User Menu */
.user-menu {
    position: relative;
    z-index: 1001;
    display: block;
    visibility: visible;
    opacity: 1;
    overflow: visible;
}

.btn-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.btn-user:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-user.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.user-name-short {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.user-name-full {
    color: var(--color-white);
    font-weight: 600;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: var(--color-white);
    opacity: 0.8;
}

.btn-user.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    min-width: 220px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow: hidden;
    display: none;
    top: calc(100% + 10px);
    right: 0;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

/* Dropdown when appended to body */
.dropdown-in-body {
    position: fixed;
    min-width: 220px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow: hidden;
    display: none;
}

.dropdown-in-body.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

body[dir="ltr"] .user-dropdown {
    left: 0;
    right: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-light);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--bg-section);
    color: var(--color-primary);
    padding-right: 24px;
}

body[dir="ltr"] .dropdown-item:hover {
    padding-right: 20px;
    padding-left: 24px;
}

.dropdown-item-danger {
    color: var(--error);
}

.dropdown-item-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.dropdown-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 8px 0;
}

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

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

.btn-login:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px var(--color-primary-rgba-20);
}

/* Hero */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    max-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary-rgba-75) 0%, var(--color-secondary-rgba-85) 100%);
    z-index: 1;
    backdrop-filter: blur(1px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo-wrapper {
    margin-bottom: 30px;
}

.hero-logo {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--color-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 48px;
    opacity: 0.98;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: fit-content;
    width: auto;
}

.btn::before {
    display: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(1, 164, 83, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: none;
    box-shadow: 0 8px 25px rgba(1, 164, 83, 0.4);
}

.btn-outline {
    background: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
    backdrop-filter: none;
}

.btn-outline:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    border-color: var(--color-primary-dark);
    transform: none;
    box-shadow: 0 8px 25px rgba(1, 164, 83, 0.4);
}

/* Sections - تحسين UX/UI */
.section {
    padding: 100px 0;
    background: var(--bg-page);
    position: relative;
    transition: all 0.3s ease;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.3;
}

.section:nth-child(even) {
    background: var(--bg-section);
}

.section-light {
    background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-page) 100%);
}

.section-news {
    background: linear-gradient(135deg, var(--bg-page) 0%, var(--color-primary-rgba-04) 50%, var(--bg-page) 100%);
    padding: 100px 0;
    position: relative;
    overflow: visible;
}

.section-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.6;
}

.section-news::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, var(--color-primary-rgba-06) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--color-secondary-rgba-05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.section-news > .container {
    position: relative;
    z-index: 1;
}

.section-activities {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--color-secondary-rgba-05) 50%, var(--bg-section) 100%);
    padding: 100px 0;
    position: relative;
}

.section-activities::before {
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.section-activities::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 80%, var(--color-secondary-rgba-05) 0%, transparent 50%);
    pointer-events: none;
}

.section-values {
    background: linear-gradient(135deg, var(--bg-page) 0%, var(--color-primary-rgba-04) 100%);
    padding: 100px 0;
    position: relative;
}

.section-values::before {
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.section-values::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, var(--color-primary-rgba-06) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, var(--color-secondary-rgba-06) 0%, transparent 50%);
    pointer-events: none;
}

.section-quick-links {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--color-secondary-rgba-04) 100%);
    padding: 100px 0;
    position: relative;
}

.section-quick-links::before {
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.section-quick-links::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top right, var(--color-secondary-rgba-06) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, var(--color-primary-rgba-06) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    padding-bottom: 20px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-secondary);
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.section-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.section-link:hover {
    color: var(--color-primary-hover);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.news-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px var(--color-primary-rgba-15);
    border-color: var(--color-primary-light);
}

.news-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-section);
}

.news-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-section), var(--bg-page));
}

.placeholder-content {
    font-size: 4rem;
    opacity: 0.2;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: var(--color-primary);
}

.news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
    line-height: 1.7;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.news-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.news-link:hover {
    color: var(--color-primary-hover);
}

/* Activities Grid - Vertical (for backward compatibility) */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.activity-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    position: relative;
}

.activity-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 164, 83, 0.05), rgba(22, 81, 75, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.activity-card:hover::after {
    opacity: 1;
}

.activity-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px var(--color-primary-rgba-15);
    border-color: var(--color-primary-light);
}

.activity-media {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-section);
}

.activity-image,
.activity-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.activity-content {
    padding: 20px;
}

.activity-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.activity-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Activities Horizontal - Modern Design */
.activities-horizontal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.activity-card-horizontal {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.activity-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.activity-card-horizontal:hover::before {
    transform: scaleX(1);
}

.activity-card-horizontal:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--color-primary-rgba-20);
    border-color: var(--color-primary-light);
}

.activity-media-horizontal {
    position: relative;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 220px;
    min-height: 220px;
    overflow: hidden;
    background: var(--bg-section);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-section), var(--bg-page));
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.activity-image-horizontal,
.activity-video-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.activity-card-horizontal:hover .activity-image-horizontal,
.activity-card-horizontal:hover .activity-video-horizontal {
    transform: scale(1.1);
}

.activity-video-wrapper-horizontal {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-video-embed-horizontal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    object-fit: cover;
    display: block;
}

.activity-video-wrapper-horizontal .facebook-video-embed {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    min-height: 220px;
}

.activity-type-badge-horizontal {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-primary-rgba-95);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.activity-content-horizontal {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.activity-title-horizontal {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.3;
}

.activity-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.activity-title-link:hover {
    color: var(--color-primary);
}

.activity-description-horizontal {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-footer-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.activity-category-horizontal {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-section);
    color: var(--color-primary);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.activity-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.activity-link:hover {
    color: var(--color-primary-hover);
    transform: translateX(-4px);
}

body[dir="ltr"] .activity-link:hover {
    transform: translateX(4px);
}

/* RTL Support for Horizontal Activities */
body[dir="rtl"] .activity-card-horizontal {
    flex-direction: column;
}

body[dir="ltr"] .activity-card-horizontal {
    flex-direction: column;
}

/* ============================================
   Modern Enhancements
   ============================================ */

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid var(--color-primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

/* Page Hero Section - General (for all pages) */
.section-page-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: visible;
}

.section-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 45%);
    pointer-events: none;
    animation: pulse 20s ease-in-out infinite;
}

.section-page-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: float 30s infinite linear;
    opacity: 0.2;
}

.page-hero-content {
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero-badge {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-white);
    backdrop-filter: none;
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px rgba(1, 164, 83, 0.3);
    border: 2px solid var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.page-hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Contact Page - صفحة التواصل */
.section-contact-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: visible;
}

.section-contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 45%);
    pointer-events: none;
    animation: pulse 20s ease-in-out infinite;
}

.section-contact-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: float 30s infinite linear;
    opacity: 0.2;
}

.contact-hero-content {
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-hero-badge {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-white);
    backdrop-filter: none;
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px rgba(1, 164, 83, 0.3);
    border: 2px solid var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.contact-hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Contact Content Section - Side by Side Layout */
.section-contact-content {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-page) 0%, var(--bg-section) 50%, var(--bg-page) 100%);
    position: relative;
    overflow: visible;
}

.section-contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    align-items: start;
    align-content: start;
}

/* RTL: Info on right, Form on left */
/* In RTL HTML, info comes first, form comes second */
/* We want info on right (grid-column: 2), form on left (grid-column: 1) */
html[dir="rtl"] .contact-info-column,
body[dir="rtl"] .contact-info-column {
    grid-column: 2 !important;
    order: 2;
}

html[dir="rtl"] .contact-form-column,
body[dir="rtl"] .contact-form-column {
    grid-column: 1 !important;
    order: 1;
}

/* LTR: Form on left, Info on right */
/* In LTR HTML, form comes first, info comes second */
/* We want form on left (grid-column: 1), info on right (grid-column: 2) */
html[dir="ltr"] .contact-form-column,
body[dir="ltr"] .contact-form-column {
    grid-column: 1 !important;
    order: 1;
}

html[dir="ltr"] .contact-info-column,
body[dir="ltr"] .contact-info-column {
    grid-column: 2 !important;
    order: 2;
}

/* Common styles for both columns */
.contact-form-column,
.contact-info-column {
    display: flex;
    flex-direction: column;
    align-self: start;
    justify-self: start;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 0;
}

/* Default fallback (if dir is not set, assume LTR) */
body:not([dir]) .contact-form-column,
body[dir=""] .contact-form-column {
    grid-column: 1;
}

body:not([dir]) .contact-info-column,
body[dir=""] .contact-info-column {
    grid-column: 2;
}

.contact-info-wrapper {
    background: var(--color-white);
    border-radius: 28px;
    padding: 0 45px 50px 45px;
    box-shadow: 
        0 20px 60px rgba(1, 164, 83, 0.12),
        0 0 0 1px rgba(1, 164, 83, 0.08);
    border: 2px solid rgba(1, 164, 83, 0.1);
    position: sticky;
    top: 120px;
    height: fit-content;
    width: 100%;
    box-sizing: border-box;
    align-self: start;
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.contact-info-section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
    margin-bottom: 40px;
    padding: 50px 0 0 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: right;
}

body[dir="ltr"] .contact-info-section-title {
    text-align: left;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0;
    margin: 0;
}

.contact-info-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
    direction: rtl;
}

body[dir="ltr"] .contact-info-item {
    direction: ltr;
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-item .contact-info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    margin: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(1, 164, 83, 0.25);
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(1, 164, 83, 0.35);
}

.contact-info-item .contact-info-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.contact-info-content {
    flex: 1;
    text-align: right;
}

body[dir="ltr"] .contact-info-content {
    text-align: left;
}

.contact-info-item .contact-info-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-info-item .contact-info-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.contact-info-item .contact-info-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-item .contact-info-link:hover {
    color: var(--color-secondary);
    transform: translateX(-4px);
}

body[dir="ltr"] .contact-info-item .contact-info-link:hover {
    transform: translateX(4px);
}

/* Contact Info Section - Old Layout (kept for backward compatibility) */
.section-contact-info {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-page) 0%, var(--bg-section) 50%, var(--bg-page) 100%);
    position: relative;
    overflow: visible;
}

.section-contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.contact-info-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 
        0 10px 40px rgba(1, 164, 83, 0.1),
        0 0 0 1px rgba(1, 164, 83, 0.05);
    border: 2px solid rgba(1, 164, 83, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 20px 60px rgba(1, 164, 83, 0.2),
        0 0 0 1px rgba(1, 164, 83, 0.15);
    border-color: rgba(1, 164, 83, 0.3);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(1, 164, 83, 0.3);
    transition: all 0.5s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 32px rgba(1, 164, 83, 0.4);
}

.contact-info-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2.5;
}

.contact-info-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-info-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-info-link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.contact-info-link:hover {
    color: var(--color-secondary);
}

.contact-info-link:hover::after {
    width: 100%;
}

/* Contact Form Section */
.section-contact-form {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-section) 50%, var(--bg-card) 100%);
    position: relative;
    overflow: visible;
}

.section-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.contact-form-section-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.contact-form-column .contact-form-intro {
    margin: 0;
    margin-top: 0;
    margin-bottom: 40px;
    padding: 50px 0 0 0;
    text-align: right;
    width: 100%;
    box-sizing: border-box;
}

body[dir="ltr"] .contact-form-column .contact-form-intro {
    text-align: left;
}

.contact-form-column .contact-form-wrapper {
    max-width: 100%;
    width: 100%;
}

.contact-form-column .contact-form {
    width: 100%;
    box-sizing: border-box;
}

.contact-form-intro {
    text-align: right;
    margin: 0;
    margin-bottom: 50px;
    padding: 50px 0 0 0;
    max-width: 100%;
    box-sizing: border-box;
}

body[dir="ltr"] .contact-form-intro {
    text-align: left;
}

.contact-form-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 100%;
    margin: 0;
}

/* Form Enhancements */
.contact-form-wrapper {
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.contact-form {
    background: var(--color-white);
    padding: 50px 45px;
    border-radius: 28px;
    box-shadow: 
        0 20px 60px rgba(1, 164, 83, 0.12),
        0 0 0 1px rgba(1, 164, 83, 0.08);
    border: 2px solid rgba(1, 164, 83, 0.1);
    transition: all 0.5s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-form:hover {
    box-shadow: 
        0 25px 70px rgba(1, 164, 83, 0.15),
        0 0 0 1px rgba(1, 164, 83, 0.12);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-default);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(1, 164, 83, 0.1);
    background: var(--bg-card);
}

.form-control:invalid:not(:placeholder-shown) {
    border-color: var(--error);
}

.form-control:valid:not(:placeholder-shown) {
    border-color: var(--success);
}

.form-control.invalid {
    border-color: var(--error);
}

.form-control.valid {
    border-color: var(--success);
}

.form-error {
    display: block;
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 6px;
    min-height: 20px;
}

.form-helper {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 6px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.15rem;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    color: var(--color-white);
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(1, 164, 83, 0.3);
    transition: all 0.4s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(1, 164, 83, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--text-primary);
    color: var(--color-white);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-width: 400px;
    font-weight: 500;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: var(--success);
}

.toast-error {
    background: var(--error);
}

.toast-info {
    background: var(--info);
}

.toast-warning {
    background: var(--warning);
}

/* Image Loading States */
img.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Lazy Loading Images - Improved */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img[loading="lazy"].loaded,
img[loading="lazy"][complete] {
    opacity: 1;
}

/* Ensure images are visible when loaded */
img.loaded {
    opacity: 1 !important;
}

/* Smooth image loading animation */
@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

img[loading="lazy"]:not(.loaded) {
    animation: none;
}

img[loading="lazy"].loaded {
    animation: fadeInImage 0.5s ease-out;
}

/* Placeholder styling for images */
.news-image-wrapper-horizontal,
.news-image-wrapper,
.deputy-image-wrapper,
.activity-detail-media {
    position: relative;
    background: var(--bg-section);
    overflow: hidden;
}

.news-image-wrapper-horizontal::before,
.news-image-wrapper::before,
.deputy-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(1, 164, 83, 0.1) 0%, 
        rgba(1, 164, 83, 0.15) 50%, 
        rgba(1, 164, 83, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"]:not(.loaded) ~ *::before,
.news-image-wrapper-horizontal:has(img[loading="lazy"]:not(.loaded))::before {
    opacity: 1;
}

img[loading="lazy"].loaded ~ *::before,
.news-image-wrapper-horizontal:has(img[loading="lazy"].loaded)::before {
    opacity: 0;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Alert Improvements */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(1, 164, 83, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error);
    color: #991b1b;
}

/* Section Animations */
.section {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Card Hover Enhancements */
.news-card,
.activity-card-horizontal {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Activity Detail Page */
.activity-detail {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.activity-detail-media {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: var(--bg-section);
}

.activity-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-detail-media:hover img {
    transform: scale(1.05);
}

.activity-video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary-dark);
}

.activity-detail-video {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
}

.activity-type-badge-detail {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primary-rgba-95);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.activity-detail-header {
    padding: 40px;
    border-bottom: 1px solid var(--border-light);
}

.activity-detail-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.3;
}

.activity-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.activity-category-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-section);
    color: var(--color-primary);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.activity-detail-date {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.activity-detail-date strong {
    color: var(--text-primary);
    margin-left: 8px;
}

body[dir="rtl"] .activity-detail-date strong {
    margin-left: 0;
    margin-right: 8px;
}

.activity-detail-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--color-primary-rgba-10), var(--color-secondary-rgba-10));
    color: var(--color-primary);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--color-primary-rgba-20);
}

.activity-detail-content {
    padding: 40px;
    line-height: 1.9;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.activity-detail-content p {
    margin-bottom: 20px;
}

.activity-detail-footer {
    padding: 30px 40px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-section);
}

.activity-detail-footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.activity-share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.activity-detail-image {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: var(--bg-section);
}

.activity-detail-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.activity-video-embed-detail {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 20px 20px 0 0;
}

.facebook-video-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio - same as YouTube */
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: var(--bg-section);
}

.facebook-video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 20px 20px 0 0;
    min-height: 500px;
}

@media (max-width: 768px) {
    .facebook-video-wrapper {
        padding-bottom: 56.25%;
    }
    .facebook-video-embed {
        min-height: 300px;
    }
}

.activity-detail-video {
    width: 100%;
    max-height: 600px;
    border-radius: 20px 20px 0 0;
    background: var(--bg-section);
}

.activity-detail-video .video-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.activity-detail-video .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* News Detail Page */
.news-detail {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.news-detail-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--bg-section);
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-detail-image:hover img {
    transform: scale(1.05);
}

.news-detail-header {
    padding: 40px;
    border-bottom: 1px solid var(--border-light);
}

.news-detail-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 20px 0;
    border-bottom: 2px solid rgba(1, 164, 83, 0.1);
    margin-bottom: 20px;
    align-items: center;
}

.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-meta strong {
    color: var(--color-primary);
    font-weight: 700;
}

.news-detail-source,
.news-detail-publisher {
    padding: 8px 16px;
    background: rgba(1, 164, 83, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
}

.news-detail-tag {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
}

.news-detail-content {
    padding: 40px;
    line-height: 1.9;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.news-detail-content h2 {
    color: var(--color-secondary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 800;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(1, 164, 83, 0.2);
}

.news-detail-content h3 {
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-footer {
    padding: 30px 40px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-section);
}

.news-detail-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .news-detail {
        border-radius: 12px;
        margin: 0 10px;
    }
    
    .news-detail-image {
        height: 250px;
    }
    
    .news-detail-header {
        padding: 24px 20px;
    }
    
    .news-detail-title {
        font-size: 1.6rem;
    }
    
    .news-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .news-detail-content {
        padding: 24px 20px;
        font-size: 1rem;
    }
    
    .news-detail-footer {
        padding: 20px;
    }
    
    .news-detail-footer-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .news-detail-footer-content .btn {
        width: 100%;
        text-align: center;
    }
    
    .news-share-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .share-btn {
        flex: 1 1 auto;
        min-width: 120px;
        justify-content: center;
    }
}

/* Video Styles */
.news-detail-video {
    width: 100%;
    margin-bottom: 0;
    background: var(--bg-section);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.news-video-embed-detail,
.news-video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.news-detail-video .facebook-video-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: var(--bg-section);
}

.news-detail-video .facebook-video-embed {
    width: 100% !important;
    height: 500px !important;
    border: none !important;
    border-radius: 20px 20px 0 0;
}

@media (max-width: 768px) {
    .news-detail-video .facebook-video-embed {
        height: 300px !important;
    }
}

.news-video-detail,
.news-video-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.news-video-wrapper .news-video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Share Buttons */
.news-share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.share-label {
    margin-left: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

body[dir="ltr"] .share-label {
    margin-left: 0;
    margin-right: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.share-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.share-btn:hover svg {
    transform: scale(1.15);
}

.share-facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.share-facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-twitter {
    border-color: #1da1f2;
    color: #1da1f2;
}

.share-twitter:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.share-whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.share-whatsapp:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.share-telegram {
    border-color: #0088cc;
    color: #0088cc;
}

.share-telegram:hover {
    background: #0088cc;
    color: white;
    border-color: #0088cc;
}

.share-copy {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.share-copy:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Share buttons text hidden - icons only */
.share-btn span {
    display: none;
}

/* Deputies Grid */
.deputies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.deputy-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(1, 164, 83, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(1, 164, 83, 0.1);
    position: relative;
}

.deputy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 1;
}

.deputy-card:hover::before {
    transform: scaleX(1);
}

.deputy-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 20px 50px rgba(1, 164, 83, 0.2),
        0 0 0 1px rgba(1, 164, 83, 0.15);
    border-color: var(--color-primary);
}

.deputy-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--bg-section);
    position: relative;
}

.deputy-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.deputy-content {
    padding: 28px;
}

.deputy-name {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1.3;
}

.deputy-position {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 16px;
}

.deputy-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.deputy-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-section), var(--bg-page));
    position: relative;
}

.deputy-placeholder .placeholder-content {
    font-size: 4rem;
    opacity: 0.3;
    color: var(--text-muted);
}

.deputy-images-notice {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .section-page-hero,
    .section-contact-hero {
        padding: 60px 0 50px;
    }
    
    .page-hero-content,
    .contact-hero-content {
        padding: 0 15px;
    }
    
    .page-hero-title,
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .page-hero-description,
    .contact-hero-description {
        font-size: 1rem;
    }
    
    .page-hero-badge,
    .contact-hero-badge {
        padding: 10px 24px;
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
    
    .contact-hero-content {
        padding: 0 15px;
    }
    
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }
    
    .contact-form-column,
    .contact-info-column {
        order: initial !important;
        grid-column: initial !important;
    }
    
    .contact-info-wrapper {
        position: static;
        padding: 0 25px 35px 25px;
    }
    
    .contact-info-section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 35px 0 0 0;
    }
    
    .contact-info-list {
        padding: 0;
        gap: 24px;
    }
    
    .contact-info-item {
        gap: 18px;
        padding-bottom: 24px;
    }
    
    .contact-info-item .contact-info-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .contact-info-item .contact-info-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-info-item .contact-info-title {
        font-size: 1.1rem;
    }
    
    .contact-info-item .contact-info-text {
        font-size: 0.95rem;
    }
    
    .contact-form-column .contact-form-intro {
        margin-bottom: 30px;
        padding: 35px 0 0 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 15px;
    }
    
    .contact-info-card {
        padding: 32px 24px;
    }
    
    .section-contact-info {
        padding: 60px 0;
    }
    
    .section-contact-content {
        padding: 60px 0;
    }
    
    .section-contact-form {
        padding: 60px 0;
    }
    
    .contact-form-section-wrapper {
        padding: 0 15px;
    }
    
    .contact-form-intro {
        margin-bottom: 35px;
        padding: 35px 0 0 0;
    }
    
    .contact-form {
        padding: 35px 25px;
    }
    
    .contact-form-title {
        font-size: 1.8rem;
    }
    
    .contact-form-description {
        font-size: 1rem;
    }
    
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
    
    .activity-detail-media {
        height: 300px;
    }
    
    .activity-detail-title {
        font-size: 1.8rem;
    }
    
    .activity-detail-header,
    .activity-detail-content,
    .activity-detail-footer {
        padding: 24px;
    }
    
    .activity-detail-footer-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .activity-share-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    
    .activity-detail-image,
    .activity-detail-video {
        border-radius: 12px 12px 0 0;
    }
    
    .activity-video-embed-detail {
        height: 300px;
    }
}

/* Tablet Responsive for Contact Page */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 30px;
    }
    
    .contact-info-wrapper {
        position: static;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
    }
    
    .contact-form-section-wrapper {
        padding: 0 30px;
    }
}

/* Desktop Large - Contact Layout */
@media (min-width: 1025px) {
    .contact-layout-grid {
        gap: 80px;
    }
}

/* Footer */
.footer {
    background: var(--bg-header);
    color: var(--color-white);
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.footer-logo-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.footer-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
    margin-top: 12px;
}

.footer-description {
    opacity: 0.9;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

/* Footer disclaimer removed */

.footer-bottom p {
    opacity: 0.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.footer-credits {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-credits a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-credits a:hover {
    opacity: 1;
    color: rgba(255, 255, 255, 1);
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(1, 164, 83, 0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 10px;
}

.social-link:hover::before {
    opacity: 1;
}

.social-icon {
    width: 22px;
    height: 22px;
    fill: var(--color-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.social-link:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 
        0 8px 20px rgba(1, 164, 83, 0.35),
        0 0 0 4px rgba(1, 164, 83, 0.1);
    background: var(--color-primary);
}

.social-link:hover .social-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Social Media Brand Colors on Hover - Modern Gradient Style */
.social-facebook:hover {
    background: linear-gradient(135deg, #1877F2 0%, #166FE5 100%);
    border-color: #1877F2;
    box-shadow: 
        0 8px 20px rgba(24, 119, 242, 0.4),
        0 0 0 4px rgba(24, 119, 242, 0.15);
}

.social-twitter:hover {
    background: linear-gradient(135deg, #1DA1F2 0%, #1A91DA 100%);
    border-color: #1DA1F2;
    box-shadow: 
        0 8px 20px rgba(29, 161, 242, 0.4),
        0 0 0 4px rgba(29, 161, 242, 0.15);
}

.social-instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
    box-shadow: 
        0 8px 20px rgba(188, 24, 136, 0.4),
        0 0 0 4px rgba(188, 24, 136, 0.15);
}

.social-youtube:hover {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border-color: #FF0000;
    box-shadow: 
        0 8px 20px rgba(255, 0, 0, 0.4),
        0 0 0 4px rgba(255, 0, 0, 0.15);
}

.social-telegram:hover {
    background: linear-gradient(135deg, #0088CC 0%, #007BB5 100%);
    border-color: #0088CC;
    box-shadow: 
        0 8px 20px rgba(0, 136, 204, 0.4),
        0 0 0 4px rgba(0, 136, 204, 0.15);
}

.social-linkedin:hover {
    background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
    border-color: #0077B5;
    box-shadow: 
        0 8px 20px rgba(0, 119, 181, 0.4),
        0 0 0 4px rgba(0, 119, 181, 0.15);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    color: var(--text-secondary);
    background: var(--bg-section);
    border-radius: 20px;
    border: 2px dashed rgba(1, 164, 83, 0.2);
}

.empty-state p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Page Content */
.page-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
    color: var(--text-primary);
    background: var(--bg-card);
    padding: 50px 45px;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(1, 164, 83, 0.1),
        0 0 0 1px rgba(1, 164, 83, 0.05);
    border: 2px solid rgba(1, 164, 83, 0.1);
    position: relative;
}

.page-content h2 {
    color: var(--color-secondary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 800;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(1, 164, 83, 0.2);
}

.page-content h3 {
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.page-content p {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.page-content ul,
.page-content ol {
    margin: 15px 0;
    padding-right: 30px;
}

body[dir="ltr"] .page-content ul,
body[dir="ltr"] .page-content ol {
    padding-right: 0;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-default);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(1, 164, 83, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Responsive - Tablets and below */
/* Mobile devices only */
@media (max-width: 767px) {
    /* Global mobile fixes - Prevent all overflow */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative;
        margin: 0;
        padding: 0;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    img, video, iframe, embed, object {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .nav {
        display: none;
        position: fixed;
        top: 75px;
        right: -100%;
        width: 100%;
        max-width: 100%;
        background: var(--color-secondary);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 15px;
        box-shadow: -4px 0 32px rgba(0, 0, 0, 0.3);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        height: calc(100vh - 75px);
        overflow-y: auto;
        overflow-x: hidden;
        gap: 8px;
        z-index: 1001;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }
    
    .nav.active {
        display: flex;
        right: 0;
    }
    
    /* Overlay for mobile menu */
    .nav::before {
        content: '';
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }
    
    .nav.active::before {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-link {
        width: 100%;
        max-width: 100%;
        padding: 16px 20px;
        border-radius: 12px;
        margin-bottom: 4px;
        text-align: right;
        direction: rtl;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }
    
    body[dir="ltr"] .nav-link {
        text-align: left;
        direction: ltr;
        justify-content: flex-start;
    }
    
    .nav-link::after {
        left: 0;
        transform: none;
        width: 0;
        height: 100%;
        background: rgba(1, 164, 83, 0.2);
        border-radius: 12px;
    }
    
    body[dir="ltr"] .nav-link::after {
        left: auto;
        right: 0;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 4px;
        height: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .header-content {
        height: 75px;
        gap: 10px;
        padding: 0 12px;
        grid-template-columns: auto 1fr auto auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    body[dir="ltr"] .header-content {
        grid-template-columns: auto 1fr auto auto;
    }
    
    body[dir="ltr"] .logo {
        flex-shrink: 0;
        order: 1;
    }
    
    body[dir="ltr"] .nav {
        right: auto;
        left: -100%;
        box-shadow: 4px 0 32px rgba(0, 0, 0, 0.3);
    }
    
    body[dir="ltr"] .nav.active {
        left: 0;
        right: auto;
    }
    
    body[dir="ltr"] .header-actions {
        flex-shrink: 0;
        justify-content: flex-end;
        order: 2;
    }
    
    body[dir="ltr"] .mobile-menu-toggle {
        order: 3;
    }
    
    .logo {
        font-size: 1rem;
        gap: 8px;
        padding: 4px 8px;
        flex-shrink: 0;
        order: 1;
    }
    
    .logo-img {
        height: 45px !important;
        max-width: 140px !important;
        min-width: 45px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .logo-text {
        font-size: 0.85rem;
        display: inline-block;
    }
    
    .header-actions {
        gap: 8px;
        flex-shrink: 0;
        order: 2;
    }
    
    .language-switcher {
        gap: 4px;
        padding: 3px;
    }
    
    .lang-link {
        padding: 6px 10px;
        min-width: 38px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .lang-link[data-lang="ar"] .lang-char {
        font-size: 1.1rem;
    }
    
    .lang-link[data-lang="en"] .lang-char {
        font-size: 0.8rem;
    }
    
    .btn-login {
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .btn-user {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .user-name-full {
        display: none;
    }
    
    .user-dropdown {
        right: 0;
        left: auto;
        min-width: 200px;
    }
    
    body[dir="ltr"] .user-dropdown {
        left: 0;
        right: auto;
    }
    
    .nav-link {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 70px 0;
        min-height: 65vh;
        max-height: 85vh;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .section {
        padding: 65px 0;
    }
    
    .section-title {
        font-size: 2.1rem;
    }
    
    .section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .activities-horizontal {
        gap: 20px;
        flex-direction: column;
    }
    
    .activity-card-horizontal {
        flex-direction: column;
        min-width: 100%;
    }
    
    .activity-media-horizontal {
        width: 100%;
        min-width: 100%;
        height: 220px;
        min-height: 220px;
    }
    
    .activity-content-horizontal {
        padding: 24px;
    }
    
    .activity-title-horizontal {
        font-size: 1.3rem;
    }
    
    .page-content {
        padding: 24px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Mobile Devices - Phones */
@media (max-width: 768px) {
    .header {
        padding: 0;
    }
    
    .header-content {
        height: 70px;
        gap: 8px;
        padding: 0 12px;
        grid-template-columns: auto 1fr auto auto;
    }
    
    .logo {
        font-size: 0.9rem;
        gap: 6px;
        padding: 4px 6px;
    }
    
    .logo-img {
        height: 40px !important;
        max-width: 120px !important;
        min-width: 40px !important;
    }
    
    .logo-text {
        font-size: 0.85rem;
        display: block;
    }
    
    .nav {
        top: 70px;
        height: calc(100vh - 70px);
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
        direction: rtl;
        box-sizing: border-box;
    }
    
    body[dir="ltr"] .nav {
        direction: ltr;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 0.9rem;
        text-align: right;
        direction: rtl;
    }
    
    body[dir="ltr"] .nav-link {
        text-align: left;
        direction: ltr;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .language-switcher {
        gap: 3px;
        padding: 2px;
    }
    
    .lang-link {
        padding: 5px 8px;
        min-width: 34px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .lang-link[data-lang="ar"] .lang-char {
        font-size: 1rem;
    }
    
    .lang-link[data-lang="en"] .lang-char {
        font-size: 0.75rem;
    }
    
    .btn-login {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .btn-user {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .user-name-short {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .hamburger-line {
        width: 22px;
        height: 2.5px;
    }
    
    .hero {
        padding: 50px 0;
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .header {
        padding: 0;
    }
    
    .header-content {
        height: 65px;
        gap: 6px;
        padding: 0 10px;
        grid-template-columns: auto 1fr auto auto;
    }
    
    body[dir="ltr"] .header-content {
        grid-template-columns: auto 1fr auto auto;
    }
    
    .logo {
        font-size: 0.85rem;
        padding: 3px 5px;
        order: 1;
    }
    
    .logo-img {
        height: 35px !important;
        max-width: 100px !important;
        min-width: 35px !important;
    }
    
    .logo-text {
        font-size: 0.8rem;
        display: block;
    }
    
    .nav {
        top: 65px;
        height: calc(100vh - 65px);
        width: 100%;
        max-width: 100%;
        padding: 16px 12px;
        z-index: 1001;
        box-sizing: border-box;
    }
    
    .nav::before {
        top: 65px;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 0.9rem;
        text-align: right;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }
    
    body[dir="ltr"] .nav-link {
        text-align: left;
    }
    
    .header-actions {
        gap: 4px;
        order: 2;
        flex-shrink: 0;
    }
    
    .language-switcher {
        gap: 2px;
        padding: 2px;
    }
    
    .lang-link {
        padding: 4px 6px;
        min-width: 30px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .lang-link[data-lang="ar"] .lang-char {
        font-size: 0.95rem;
    }
    
    .lang-link[data-lang="en"] .lang-char {
        font-size: 0.7rem;
    }
    
    .btn-login {
        padding: 6px 12px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .btn-user {
        padding: 5px 8px;
        font-size: 0.7rem;
    }
    
    .user-name-short {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        padding: 6px;
        order: 3;
        flex-shrink: 0;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .hero {
        padding: 40px 0;
        min-height: 45vh;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Prevent horizontal scroll on mobile */
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }
    
    /* Fix all sections on mobile */
    .section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Fix header on mobile */
    .header {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .header-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix content slider on mobile */
    .content-slider-grid {
        padding: 20px;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .content-slider-card {
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Fix all cards and containers */
    .card, .dashboard-card, .section-content, .hero-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Fix tables */
    table {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
        word-wrap: break-word;
        overflow-x: auto;
        display: block;
    }
    
    /* Fix forms */
    form, .form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    input, textarea, select, button {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix all sections */
    .section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Fix header */
    .header {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .slider-card-image {
        height: 200px;
    }
    
    .slider-card-content {
        padding: 20px;
    }
    
    .slider-card-title {
        font-size: 1.2rem;
    }
    
    .slider-card-excerpt {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .slider-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-top: 16px;
    }
    
    .slider-card-link {
        width: 100%;
        justify-content: center;
    }
    
    .slider-btn {
        width: 48px;
        height: 48px;
    }
    
    .slider-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .slider-btn-prev {
        left: 15px;
    }
    
    .slider-btn-next {
        right: 15px;
    }
    
    .slider-indicators {
        bottom: 20px;
        padding: 8px 14px;
        gap: 10px;
    }
    
    .slider-indicator {
        width: 8px;
        height: 8px;
    }
    
    .slider-indicator.active {
        width: 28px;
    }
    
    /* Mission & Identity on mobile */
    .mission-identity-title {
        font-size: 2rem;
    }
    
    .mission-identity-card {
        padding: 30px 20px;
    }
    
    .mission-identity-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .mission-identity-card-title {
        font-size: 1.5rem;
    }
    
    .mission-identity-card-text {
        font-size: 1rem;
    }
}

/* ============================================
   3D Design Enhancements - تصميم ثلاثي الأبعاد
   ============================================ */

/* Vision & Mission Section - قسم الرؤية والمهمة */
.section-vision-mission {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.section-vision-mission::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 80px 80px, 60px 60px;
    animation: float 30s infinite linear;
    opacity: 0.4;
}

.section-vision-mission::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.vision-mission-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    perspective: 1200px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0 30px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.vision-mission-grid::-webkit-scrollbar {
    height: 8px;
}

.vision-mission-grid::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.vision-mission-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.vision-mission-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.vision-card-3d,
.mission-card-3d {
    flex: 0 0 480px;
    min-width: 0;
}

.vision-card-3d,
.mission-card-3d {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 32px;
    padding: 60px 50px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.vision-card-3d::before,
.mission-card-3d::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.vision-card-3d:hover::before,
.mission-card-3d:hover::before {
    left: 100%;
    top: 100%;
    opacity: 1;
}

.vision-card-3d::after,
.mission-card-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 32px;
}

.vision-card-3d:hover::after,
.mission-card-3d:hover::after {
    opacity: 1;
}

.vision-card-3d:hover,
.mission-card-3d:hover {
    transform: translateY(-20px) rotateX(8deg) rotateY(8deg) scale(1.05);
    box-shadow: 
        0 35px 90px rgba(0, 0, 0, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(255, 255, 255, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
}

.vision-icon,
.mission-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 32px;
    color: var(--color-white);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
    transform: translateZ(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    padding: 20px;
}

.vision-icon::before,
.mission-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: iconRing 3s ease-in-out infinite;
}

@keyframes iconRing {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.vision-icon svg,
.mission-icon svg {
    width: 100%;
    height: 100%;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.vision-icon {
    color: rgba(255, 255, 255, 1);
}

.mission-icon {
    color: rgba(255, 255, 255, 1);
}

.vision-card-3d:hover .vision-icon,
.mission-card-3d:hover .mission-icon {
    transform: translateZ(50px) scale(1.2) rotateY(15deg);
    filter: drop-shadow(0 15px 35px rgba(255, 255, 255, 0.5));
    animation: iconFloat 1.5s ease-in-out infinite;
}

.vision-card-3d:hover .vision-icon::before,
.mission-card-3d:hover .mission-icon::before {
    animation: iconRing 1.5s ease-in-out infinite;
}

.vision-card-3d:hover .vision-icon svg,
.mission-card-3d:hover .mission-icon svg {
    transform: scale(1.15) rotate(5deg);
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateZ(50px) scale(1.2) rotateY(15deg) translateY(0);
    }
    50% {
        transform: translateZ(50px) scale(1.25) rotateY(15deg) translateY(-8px);
    }
}

@keyframes iconPulse {
    0%, 100% { 
        transform: translateZ(40px) scale(1.15) rotateY(10deg); 
    }
    50% { 
        transform: translateZ(40px) scale(1.25) rotateY(10deg); 
    }
}

.vision-title,
.mission-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 24px;
    text-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateZ(25px);
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.vision-title::after,
.mission-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.vision-card-3d:hover .vision-title::after,
.mission-card-3d:hover .mission-title::after {
    width: 120px;
}

.vision-text,
.mission-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.98);
    transform: translateZ(20px);
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

/* About Us & Vision Mission Combined Section - قسم متكامل */
.section-about-vision-combined {
    padding: 0;
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.section-about-vision-combined::before {
    display: none;
}

.section-about-vision-combined::after {
    display: none;
}

.about-vision-top {
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.about-vision-bottom {
    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
    border-top: 2px solid var(--border-light);
}

.about-vision-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.about-vision-content {
    text-align: center;
    color: var(--text-primary);
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.about-vision-badge {
    display: inline-block;
    padding: 14px 36px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 36px;
    border: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.about-vision-badge:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: none;
}

.about-vision-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 36px;
    line-height: 1.2;
    text-shadow: none;
    letter-spacing: -1.5px;
    filter: none;
}

.about-vision-text {
    font-size: clamp(1.2rem, 2.3vw, 1.5rem);
    color: var(--color-primary);
    line-height: 2.2;
    margin-bottom: 0;
    text-shadow: none;
    font-weight: 500;
    filter: none;
    letter-spacing: 0.3px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.vision-mission-combined-grid {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-bottom: 50px;
    perspective: 1200px;
    justify-content: center;
}

.vision-card-combined,
.mission-card-combined {
    flex: 0 0 480px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    border-radius: 32px;
    padding: 50px 40px;
    text-align: center;
    border: 3px solid rgba(1, 164, 83, 0.3);
    box-shadow: 
        0 15px 50px rgba(1, 164, 83, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(1, 164, 83, 0.1);
    transform-style: preserve-3d;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.vision-card-combined::before,
.mission-card-combined::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 1.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.vision-card-combined:hover::before,
.mission-card-combined:hover::before {
    left: 100%;
    top: 100%;
    opacity: 1;
}

.vision-card-combined:hover,
.mission-card-combined:hover {
    transform: translateY(-18px) rotateX(6deg) rotateY(6deg) scale(1.04);
    box-shadow: 
        0 30px 80px rgba(1, 164, 83, 0.35),
        0 0 60px rgba(1, 164, 83, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.9);
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 1);
}

.vision-icon-combined,
.mission-icon-combined {
    width: 140px;
    height: 140px;
    margin: 0 auto 28px;
    color: var(--color-primary);
    filter: drop-shadow(0 10px 25px rgba(1, 164, 83, 0.3));
    transform: translateZ(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle, rgba(1, 164, 83, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    padding: 20px;
}

.vision-icon-combined::before,
.mission-icon-combined::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    border-radius: 50%;
    border: 2px solid rgba(1, 164, 83, 0.3);
    animation: iconRingCombined 3.5s ease-in-out infinite;
}

@keyframes iconRingCombined {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 0;
    }
}

.vision-icon-combined svg,
.mission-icon-combined svg {
    width: 100%;
    height: 100%;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.vision-card-combined:hover .vision-icon-combined,
.mission-card-combined:hover .mission-icon-combined {
    transform: translateZ(50px) scale(1.2) rotateY(15deg);
    filter: drop-shadow(0 15px 35px rgba(1, 164, 83, 0.4));
    animation: iconFloatCombined 1.8s ease-in-out infinite;
    color: var(--color-secondary);
}

.vision-card-combined:hover .vision-icon-combined::before,
.mission-card-combined:hover .mission-icon-combined::before {
    animation: iconRingCombined 1.8s ease-in-out infinite;
}

.vision-card-combined:hover .vision-icon-combined svg,
.mission-card-combined:hover .mission-icon-combined svg {
    transform: scale(1.15) rotate(5deg);
}

@keyframes iconFloatCombined {
    0%, 100% {
        transform: translateZ(50px) scale(1.2) rotateY(15deg) translateY(0);
    }
    50% {
        transform: translateZ(50px) scale(1.28) rotateY(15deg) translateY(-10px);
    }
}

.vision-title-combined,
.mission-title-combined {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-shadow: 
        0 2px 8px rgba(1, 164, 83, 0.2);
    transform: translateZ(25px);
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.vision-title-combined::after,
.mission-title-combined::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.vision-card-combined:hover .vision-title-combined::after,
.mission-card-combined:hover .mission-title-combined::after {
    width: 140px;
}

.vision-text-combined,
.mission-text-combined {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-primary);
    transform: translateZ(20px);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.about-vision-action {
    margin-top: 50px;
    text-align: center;
}

.btn-large {
    padding: 20px 45px;
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


.about-preview-card-3d {
    flex: 1;
    background: var(--bg-card);
    border-radius: 32px;
    padding: 50px 45px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-preview-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
    z-index: 1;
}

.about-preview-card-3d:hover::before {
    transform: scaleX(1);
}

.about-preview-card-3d::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(1, 164, 83, 0.03), transparent);
    transform: rotate(45deg);
    transition: all 0.8s ease;
}

.about-preview-card-3d:hover::after {
    left: 100%;
    top: 100%;
}

.about-preview-card-3d:hover {
    transform: translateY(-8px) rotateX(2deg) scale(1.01);
    box-shadow: 
        0 30px 80px rgba(1, 164, 83, 0.12),
        0 0 0 1px rgba(1, 164, 83, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary-light);
}

.about-preview-content {
    position: relative;
    z-index: 1;
    transform: translateZ(20px);
    text-align: left;
}

body[dir="rtl"] .about-preview-content {
    text-align: right;
}

.about-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px var(--color-primary-rgba-20);
    letter-spacing: 0.5px;
}

.about-preview-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
    transform: translateZ(25px);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.about-preview-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 32px;
    transform: translateZ(20px);
    font-weight: 400;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    transform: translateZ(20px);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-section);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: linear-gradient(135deg, rgba(1, 164, 83, 0.1), rgba(22, 81, 75, 0.1));
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 900;
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.about-preview-card-3d .btn {
    transform: translateZ(25px);
}

/* 3D News Horizontal */
.news-horizontal-3d {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    perspective: 1200px;
}

.news-wrapper-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1 1 calc(25% - 18px);
    min-width: 280px;
    max-width: calc(25% - 18px);
}

@media (min-width: 1400px) {
    .news-wrapper-3d {
        flex: 1 1 calc(25% - 18px);
        min-width: 300px;
        max-width: calc(25% - 18px);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .news-wrapper-3d {
        flex: 1 1 calc(33.333% - 16px);
        min-width: 280px;
        max-width: calc(33.333% - 16px);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .news-wrapper-3d {
        flex: 1 1 calc(50% - 12px);
        min-width: 300px;
        max-width: calc(50% - 12px);
    }
    
    .news-horizontal-3d {
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .news-wrapper-3d {
        flex: 1 1 calc(50% - 12px);
        min-width: 280px;
        max-width: calc(50% - 12px);
    }
}

.news-wrapper-3d:hover {
    transform: translateX(8px) rotateY(2deg);
}

body[dir="rtl"] .news-wrapper-3d:hover {
    transform: translateX(-8px) rotateY(-2deg);
}

.news-card-horizontal {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    transform-style: preserve-3d;
    width: 100%;
    min-width: 0;
}

.news-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.news-wrapper-3d:hover .news-card-horizontal::before {
    transform: scaleX(1);
}

.news-card-horizontal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 164, 83, 0.05), rgba(22, 81, 75, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 20px;
    pointer-events: none;
}

.news-wrapper-3d:hover .news-card-horizontal::after {
    opacity: 1;
}

.news-wrapper-3d:hover .news-card-horizontal {
    box-shadow: 
        0 12px 40px rgba(1, 164, 83, 0.2),
        0 0 0 1px rgba(1, 164, 83, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateZ(15px);
    border-color: var(--color-primary-light);
}

.news-image-wrapper-horizontal {
    position: relative;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 220px;
    min-height: 220px;
    overflow: hidden;
    background: var(--bg-section);
    flex-shrink: 0;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image-wrapper-horizontal .news-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 0;
}

.news-image-wrapper-horizontal .news-video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.news-image-wrapper-horizontal .news-video-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-placeholder-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-section), var(--bg-page));
}

.news-placeholder-horizontal .placeholder-content {
    font-size: 4rem;
    opacity: 0.3;
}

.news-image-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    display: block;
    min-width: 100%;
    min-height: 100%;
}

.news-wrapper-3d:hover .news-image-horizontal {
    transform: scale(1.1) translateZ(10px);
}

.news-content-horizontal {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateZ(10px);
}

.news-title-horizontal {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    transform: translateZ(15px);
}

.news-title-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-wrapper-3d:hover .news-title-link {
    color: var(--color-primary);
}

.news-excerpt-horizontal {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
    transform: translateZ(10px);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-footer-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    transform: translateZ(10px);
}

.news-date-horizontal {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.news-link-horizontal {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-link-horizontal:hover {
    color: var(--color-primary-hover);
    transform: translateX(-4px);
}

body[dir="ltr"] .news-link-horizontal:hover {
    transform: translateX(4px);
}

/* RTL Support for News Cards */
body[dir="rtl"] .news-card-horizontal {
    flex-direction: column;
}

body[dir="ltr"] .news-card-horizontal {
    flex-direction: column;
}

body[dir="ltr"] .news-card-compact .news-card-horizontal {
    flex-direction: row !important;
}

body[dir="ltr"] .news-card-horizontal::before {
    left: 0;
    right: auto;
}

/* 3D Activities Horizontal - عرض أفقي قابل للتمرير */
.activities-horizontal-3d {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    perspective: 1200px;
}

.activities-horizontal-3d::-webkit-scrollbar {
    height: 8px;
}

.activities-horizontal-3d::-webkit-scrollbar-track {
    background: var(--bg-section);
    border-radius: 10px;
}

.activities-horizontal-3d::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

.activities-horizontal-3d::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-hover);
}

.activity-wrapper-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1 1 calc(25% - 18px);
    min-width: 280px;
    max-width: calc(25% - 18px);
}

@media (min-width: 1400px) {
    .activity-wrapper-3d {
        flex: 1 1 calc(25% - 18px);
        min-width: 300px;
        max-width: calc(25% - 18px);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .activity-wrapper-3d {
        flex: 1 1 calc(33.333% - 16px);
        min-width: 280px;
        max-width: calc(33.333% - 16px);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .activity-wrapper-3d {
        flex: 1 1 calc(50% - 12px);
        min-width: 300px;
        max-width: calc(50% - 12px);
    }
    
    .activities-horizontal-3d {
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .activity-wrapper-3d {
        flex: 1 1 calc(50% - 12px);
        min-width: 280px;
        max-width: calc(50% - 12px);
    }
}

.activity-wrapper-3d:hover {
    transform: translateY(-8px) rotateX(2deg);
}

body[dir="rtl"] .activity-wrapper-3d:hover {
    transform: translateY(-8px) rotateX(2deg);
}

/* Activity card styles are defined above - this is for 3D wrapper */
.activity-wrapper-3d .activity-card-horizontal {
    position: relative;
    transform-style: preserve-3d;
}

.activity-card-horizontal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 164, 83, 0.05), rgba(22, 81, 75, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 20px;
    pointer-events: none;
}

.activity-wrapper-3d:hover .activity-card-horizontal::after {
    opacity: 1;
}

.activity-wrapper-3d:hover .activity-card-horizontal {
    box-shadow: 
        0 12px 40px rgba(1, 164, 83, 0.2),
        0 0 0 1px rgba(1, 164, 83, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateZ(15px);
}

.activity-media-horizontal {
    transform-style: preserve-3d;
}

.activity-image-horizontal,
.activity-video-horizontal {
    transform: translateZ(0);
}

.activity-wrapper-3d:hover .activity-image-horizontal,
.activity-wrapper-3d:hover .activity-video-horizontal {
    transform: scale(1.08) translateZ(10px);
}

/* Call to Action 3D */
.section-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-page) 100%);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
    opacity: 0.1;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.cta-card-3d {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card-3d::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(1, 164, 83, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.8s ease;
}

.cta-card-3d:hover::before {
    left: 100%;
    top: 100%;
}

.cta-card-3d:hover {
    transform: translateY(-12px) rotateX(3deg) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(1, 164, 83, 0.15),
        0 0 0 1px rgba(1, 164, 83, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary-light);
}

.cta-content {
    position: relative;
    z-index: 1;
    transform: translateZ(20px);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
    transform: translateZ(25px);
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    transform: translateZ(20px);
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    transform: translateZ(25px);
}

.btn-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    overflow: hidden;
}

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

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

.btn-3d:hover {
    transform: translateY(-4px) translateZ(10px) scale(1.05);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(1, 164, 83, 0.2);
}

.btn-3d:active {
    transform: translateY(-2px) translateZ(5px) scale(1.02);
}

/* News Grid Compact - تصميم جديد ومحسّن */
.news-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    padding: 20px 0;
    align-items: stretch;
}

@media (min-width: 1200px) {
    .news-grid-compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .news-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 640px) and (max-width: 767px) {
    .news-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Force horizontal layout for news cards */
.news-card-compact {
    width: 100%;
}

.news-card-compact .news-card-horizontal {
    display: flex !important;
    flex-direction: row !important;
}

.news-card-compact {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}

.news-card-compact:hover {
    transform: translateY(-12px);
}

.news-card-compact .news-card-horizontal {
    height: 100%;
    min-height: 280px;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    width: 100%;
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(1, 164, 83, 0.05);
    border: 2px solid rgba(1, 164, 83, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Force horizontal layout for all screen sizes above mobile */
@media (min-width: 640px) {
    .news-card-compact .news-card-horizontal {
        flex-direction: row !important;
    }
    
    .news-card-compact .news-image-wrapper-horizontal {
        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
        height: 100% !important;
    }
}

.news-card-compact:hover .news-card-horizontal {
    box-shadow: 
        0 20px 50px rgba(1, 164, 83, 0.2),
        0 0 0 1px rgba(1, 164, 83, 0.15);
    border-color: var(--color-primary);
    transform: translateZ(10px);
}

.news-card-compact .news-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease;
    z-index: 2;
}

.news-card-compact:hover .news-card-horizontal::before {
    transform: scaleY(1);
}

body[dir="ltr"] .news-card-compact .news-card-horizontal::before {
    right: auto;
    left: 0;
}

.news-card-compact .news-image-wrapper-horizontal {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    height: 100%;
    min-height: 280px;
    flex-shrink: 0;
    flex-grow: 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-compact .news-image-wrapper-horizontal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.news-card-compact:hover .news-image-wrapper-horizontal::after {
    opacity: 1;
}

.news-card-compact .news-image-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-compact:hover .news-image-horizontal {
    transform: scale(1.15);
}

.news-card-compact .news-content-horizontal {
    padding: 28px 24px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-card);
    position: relative;
}

.news-card-compact .news-title-horizontal {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.news-card-compact .news-title-link {
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.news-card-compact:hover .news-title-link {
    color: var(--color-primary);
}

.news-card-compact .news-excerpt-horizontal {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-card-compact .news-footer-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.news-card-compact .news-date-horizontal {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.news-card-compact .news-link-horizontal {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-card-compact .news-link-horizontal:hover {
    color: var(--color-secondary);
    gap: 10px;
}

/* Values Section */
.section-values {
    background: var(--bg-page);
    padding: 80px 0;
}

.values-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
    padding: 0;
    width: 100%;
}

@media (min-width: 1200px) {
    .values-grid-horizontal {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .values-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
}

.values-grid-horizontal .value-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

@media (max-width: 767px) {
    .values-grid-horizontal {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
    border-radius: 24px 24px 0 0;
}

.value-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(1, 164, 83, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover::after {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 50px rgba(1, 164, 83, 0.2),
        0 0 0 1px rgba(1, 164, 83, 0.1);
    border-color: var(--color-primary);
    background: var(--bg-card);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 
        0 8px 20px rgba(1, 164, 83, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    filter: blur(8px);
}

.value-card:hover .value-icon::before {
    opacity: 0.5;
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 12px 30px rgba(1, 164, 83, 0.45),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
    transition: color 0.3s ease;
}

.value-card:hover .value-title {
    color: var(--color-primary);
}

.value-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    transition: color 0.3s ease;
}

.value-card:hover .value-text {
    color: var(--text-primary);
}

/* Quick Links Section - Modern Design */
.section-quick-links {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--color-secondary-rgba-02) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-quick-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top right, var(--color-primary-rgba-05) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, var(--color-secondary-rgba-05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.section-quick-links .container {
    position: relative;
    z-index: 1;
}

.quick-links-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

@media (min-width: 1200px) {
    .quick-links-grid-modern {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-links-grid-modern {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.quick-link-card-modern {
    background: linear-gradient(145deg, var(--bg-card), rgba(255, 255, 255, 0.95));
    border-radius: 28px;
    padding: 50px 35px 40px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid var(--border-light);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    min-height: 320px;
}

.quick-link-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 28px 28px 0 0;
    z-index: 2;
}

.quick-link-card-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(1, 164, 83, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.quick-link-card-modern:hover::before {
    transform: scaleX(1);
}

.quick-link-card-modern:hover::after {
    opacity: 1;
}

.quick-link-card-modern:hover {
    transform: translateY(-16px) rotateX(5deg) rotateY(-2deg);
    box-shadow: 
        0 25px 60px rgba(1, 164, 83, 0.3),
        0 0 0 1px rgba(1, 164, 83, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: var(--color-primary);
    background: linear-gradient(145deg, rgba(255, 255, 255, 1), var(--bg-card));
}

.quick-link-icon-wrapper {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.quick-link-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-rgba-10), var(--color-secondary-rgba-10));
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.8);
}

.quick-link-card-modern:hover .quick-link-icon-wrapper::before {
    opacity: 1;
    transform: scale(1);
}

.quick-link-icon-svg {
    width: 70px;
    height: 70px;
    color: var(--color-primary);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(1, 164, 83, 0.2));
}

.quick-link-card-modern:hover .quick-link-icon-svg {
    transform: scale(1.15) rotate(5deg) translateY(-6px);
    color: var(--color-primary);
    filter: drop-shadow(0 8px 20px rgba(1, 164, 83, 0.4));
}

.quick-link-title-modern {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.quick-link-card-modern:hover .quick-link-title-modern {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.quick-link-text-modern {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    flex: 1;
}

.quick-link-card-modern:hover .quick-link-text-modern {
    color: var(--text-primary);
}

.quick-link-arrow {
    font-size: 1.5rem;
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.quick-link-card-modern:hover .quick-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

body[dir="rtl"] .quick-link-arrow {
    transform: translateX(10px);
}

body[dir="rtl"] .quick-link-card-modern:hover .quick-link-arrow {
    transform: translateX(0);
}

/* Responsive 3D Adjustments */
@media (max-width: 768px) {
    .vision-mission-combined-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .vision-card-combined,
    .mission-card-combined {
        flex: 0 0 auto;
        padding: 40px 30px;
    }
    
    .vision-icon-combined,
    .mission-icon-combined {
        width: 100px;
        height: 100px;
        margin-bottom: 24px;
    }
    
    .vision-title-combined,
    .mission-title-combined {
        font-size: 1.8rem;
    }
    
    .vision-text-combined,
    .mission-text-combined {
        font-size: 1.05rem;
    }
    
    .about-vision-top {
        padding: 60px 0 40px;
    }
    
    .about-vision-bottom {
        padding: 40px 0 60px;
    }
    
    .about-vision-wrapper {
        padding: 0 30px;
        max-width: 100%;
    }
    
    .about-vision-content {
        max-width: 100%;
    }
    
    .about-vision-text {
        max-width: 100%;
        font-size: 1.1rem;
        line-height: 2;
    }
    
    .about-vision-top {
        padding: 80px 0 50px;
    }
    
    .vision-icon,
    .mission-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 24px;
    }
    
    .vision-title,
    .mission-title {
        font-size: 1.8rem;
    }
    
    .vision-text,
    .mission-text {
        font-size: 1.05rem;
    }
    
    .vision-title,
    .mission-title {
        font-size: 1.6rem;
    }
    
    .vision-text,
    .mission-text {
        font-size: 1rem;
    }
    
    .about-preview-full-wrapper {
        padding: 0 20px;
    }
    
    .about-preview-full-title {
        font-size: 2rem;
    }
    
    .about-preview-full-text {
        font-size: 1.05rem;
        margin-bottom: 40px;
    }
    
    .about-preview-full-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .about-feature-full {
        padding: 24px 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-news,
    .section-activities,
    .section-values,
    .section-quick-links {
        padding: 60px 0;
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .news-horizontal-3d {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-wrapper-3d {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
    }
    
    .news-card-horizontal {
        flex-direction: column;
    }
    
    .news-image-wrapper-horizontal {
        width: 100%;
        min-width: 100%;
        height: 220px;
        min-height: 220px;
    }
    
    .news-content-horizontal {
        padding: 24px;
    }
    
    .news-title-horizontal {
        font-size: 1.3rem;
    }
    
    .news-wrapper-3d:hover {
        transform: translateY(-4px);
    }
    
    body[dir="rtl"] .news-wrapper-3d:hover {
        transform: translateY(-4px);
    }
    
    .cta-card-3d {
        padding: 40px 30px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .btn-3d {
        width: 100%;
    }
    
    .activities-horizontal-3d {
        flex-direction: column;
        gap: 20px;
    }
    
    .activity-wrapper-3d {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
    }
    
    .activity-media-horizontal {
        width: 100%;
        min-width: 100%;
        height: 220px;
        min-height: 220px;
    }
    
    .activity-content-horizontal {
        padding: 20px;
    }
    
    .activity-title-horizontal {
        font-size: 1.2rem;
    }
    
    .activity-description-horizontal {
        font-size: 0.85rem;
    }
    
    .activity-wrapper-3d:hover {
        transform: translateY(-4px);
    }
    
    body[dir="rtl"] .activity-wrapper-3d:hover {
        transform: translateY(-4px);
    }
    
    .news-grid-compact {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card-compact .news-card-horizontal {
        flex-direction: column !important;
        min-height: auto;
    }
    
    .news-card-compact .news-image-wrapper-horizontal {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
    }
    
    .news-card-compact .news-content-horizontal {
        padding: 20px;
    }
    
    .news-card-compact .news-title-horizontal {
        font-size: 1.15rem;
        line-height: 1.35;
    }
    
    .news-card-compact .news-excerpt-horizontal {
        -webkit-line-clamp: 2;
        font-size: 0.85rem;
    }
    
    .news-card-compact:hover {
        transform: translateY(-6px);
    }
    
    .values-grid-horizontal {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .values-grid-horizontal .value-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    
    
    .section {
        padding: 60px 0;
    }
}

/* Content Slider Section (News & Activities) - Modern Design */
.section-content-slider {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-page) 0%, var(--bg-section) 100%);
    position: relative;
    overflow: hidden;
}

.section-content-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(1, 164, 83, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(22, 81, 75, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.content-slider-wrapper {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    z-index: 1;
}

.content-slider-container {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    min-height: 600px;
}

@media (max-width: 768px) {
    .content-slider-container {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .content-slider-container {
        min-height: 450px;
    }
}

.content-slider-track {
    position: relative;
    min-height: 600px;
    overflow: visible;
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .content-slider-track {
        min-height: 500px;
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .content-slider-track {
        min-height: 450px;
        overflow: visible;
    }
}

.content-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    z-index: 1;
}

.content-slider-slide.active {
    z-index: 2;
}

.content-slider-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.content-slider-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px;
    justify-items: center;
}

.content-slider-card {
    background: var(--bg-section);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
    position: relative;
    transform-style: preserve-3d;
    width: 100%;
    max-width: 100%;
}

.content-slider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.5s ease;
    z-index: 1;
}

.content-slider-card:hover::before {
    transform: scaleX(1);
}

.content-slider-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: 
        0 24px 60px rgba(1, 164, 83, 0.2),
        0 0 0 1px rgba(1, 164, 83, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--color-primary-light);
}

.slider-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 3;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.slider-card-badge.news-badge {
    background: linear-gradient(135deg, rgba(1, 164, 83, 0.95), rgba(1, 164, 83, 0.85));
    color: white;
}

.slider-card-badge.activity-badge {
    background: linear-gradient(135deg, rgba(22, 81, 75, 0.95), rgba(22, 81, 75, 0.85));
    color: white;
}

.slider-card-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-section), var(--bg-page));
}

.slider-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-slider-card:hover .slider-card-image img {
    transform: scale(1.15) rotate(2deg);
}

.slider-card-video {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.slider-card-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.slider-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.content-slider-card:hover .slider-card-overlay {
    opacity: 0.6;
}

.slider-card-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-section);
    position: relative;
}

.slider-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.slider-card-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.slider-card-title a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.slider-card-excerpt {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slider-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-light);
    margin-top: auto;
}

.slider-card-date,
.slider-card-category {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--bg-page);
    border-radius: 20px;
}

.slider-card-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(1, 164, 83, 0.1), rgba(22, 81, 75, 0.1));
    border-radius: 25px;
    border: 1px solid rgba(1, 164, 83, 0.2);
}

.slider-card-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-color: var(--color-primary);
    gap: 12px;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(1, 164, 83, 0.3);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--border-light);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
}

.slider-btn:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 
        0 12px 32px rgba(1, 164, 83, 0.4),
        0 0 0 4px rgba(1, 164, 83, 0.1);
}

.slider-btn:active {
    transform: translateY(-50%) scale(1.05);
}

.slider-btn svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.slider-btn:hover svg {
    transform: scale(1.1);
}

.slider-btn-prev {
    left: 30px;
}

.slider-btn-prev:hover svg {
    transform: translateX(-4px) scale(1.1);
}

.slider-btn-next {
    right: 30px;
}

.slider-btn-next:hover svg {
    transform: translateX(4px) scale(1.1);
}

.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.slider-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
}

.slider-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-indicator:hover {
    background: rgba(1, 164, 83, 0.3);
    transform: scale(1.3);
}

.slider-indicator.active {
    background: transparent;
    width: 36px;
    border-radius: 18px;
    border-color: var(--color-primary);
}

.slider-indicator.active::before {
    width: 100%;
    height: 100%;
}

/* Mission & Identity Section */
.section-mission-identity {
    padding: 100px 0;
    background: var(--bg-section);
    position: relative;
}

.mission-identity-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mission-identity-header {
    text-align: center;
    margin-bottom: 60px;
}

.mission-identity-badge {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(1, 164, 83, 0.2);
}

.mission-identity-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.2;
}

.mission-identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-identity-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-identity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mission-identity-card:hover::before {
    transform: scaleX(1);
}

.mission-identity-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(1, 164, 83, 0.15),
        0 0 0 1px rgba(1, 164, 83, 0.1);
}

.mission-identity-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-identity-icon svg {
    width: 100%;
    height: 100%;
}

.mission-identity-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.mission-identity-card-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design - Tablets and iPads */
/* iPad Pro Landscape (1024px width) */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    /* Header adjustments for iPad Pro Landscape */
    .header {
        padding: 0;
    }
    
    .header-content {
        height: 90px;
        padding: 0 30px;
        grid-template-columns: auto 1fr auto;
        gap: 25px;
        min-width: 0;
    }
    
    .logo {
        font-size: 1.2rem;
        gap: 12px;
        padding: 6px 10px;
        flex-shrink: 0;
    }
    
    .logo-img {
        height: 55px !important;
        max-width: 170px !important;
        min-width: 55px !important;
    }
    
    .logo-text {
        font-size: 1rem;
        display: inline-block;
    }
    
    /* Show navigation menu on iPad Pro Landscape */
    .nav {
        display: flex;
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        padding: 0;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 4px;
        overflow: visible;
        z-index: auto;
        justify-content: center;
        align-items: center;
        flex: 1;
        min-width: 0;
    }
    
    .nav::before {
        display: none;
    }
    
    .nav-link {
        padding: 12px 16px;
        font-size: 0.92rem;
        width: auto;
        max-width: none;
        margin-bottom: 0;
        text-align: center;
        direction: inherit;
        display: inline-block;
        justify-content: center;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .nav-link::after {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: rgba(1, 164, 83, 0.8);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 60%;
        height: 3px;
    }
    
    body[dir="ltr"] .nav-link::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    /* Hide mobile menu toggle on iPad Pro */
    .mobile-menu-toggle {
        display: none;
    }
    
    .header-actions {
        display: flex;
        visibility: visible;
        opacity: 1;
        gap: 12px;
        flex-shrink: 0;
        min-width: 0;
        z-index: 100;
        align-items: center;
    }
    
    .language-switcher {
        display: flex;
        visibility: visible;
        opacity: 1;
        gap: 5px;
        padding: 4px;
        align-items: center;
    }
    
    .lang-link {
        display: flex;
        visibility: visible;
        opacity: 1;
        padding: 8px 12px;
        min-width: 40px;
        height: 38px;
        font-size: 0.92rem;
        align-items: center;
        justify-content: center;
    }
    
    .btn-login {
        display: inline-block;
        visibility: visible;
        opacity: 1;
        padding: 12px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .btn-user {
        display: flex;
        visibility: visible;
        opacity: 1;
        padding: 10px 14px;
        font-size: 0.85rem;
        align-items: center;
    }
    
    .user-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        position: relative;
        z-index: 1001;
    }
    
    .user-dropdown {
        position: absolute;
        visibility: visible;
        z-index: 1002;
        top: calc(100% + 10px);
        right: 0;
    }
    
    body[dir="ltr"] .user-dropdown {
        left: 0;
        right: auto;
    }
    
    /* Deputies page on iPad Pro Landscape */
    .deputies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .deputy-card {
        border-radius: 20px;
    }
    
    .deputy-image-wrapper {
        height: 300px;
    }
    
    .deputy-content {
        padding: 24px;
    }
    
    .deputy-name {
        font-size: 1.5rem;
    }
    
    .deputy-position {
        font-size: 1rem;
    }
    
    .deputy-bio {
        font-size: 0.9rem;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 40px;
        max-width: 1400px;
    }
    
    /* Sections */
    .section {
        padding: 80px 0;
    }
    
    .page-title {
        font-size: 2.8rem;
    }
}

/* iPad Pro Portrait (768px width) */
@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
    /* Header adjustments for iPad Pro Portrait */
    .header {
        padding: 0;
    }
    
    .header-content {
        height: 80px;
        padding: 0 15px;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        min-width: 0;
    }
    
    .logo {
        font-size: 1rem;
        gap: 8px;
        padding: 4px 6px;
        flex-shrink: 0;
    }
    
    .logo-img {
        height: 45px !important;
        max-width: 130px !important;
        min-width: 45px !important;
    }
    
    .logo-text {
        font-size: 0.85rem;
        display: inline-block;
    }
    
    /* Show navigation menu on iPad Pro Portrait */
    .nav {
        display: flex !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
        overflow: visible !important;
        z-index: auto !important;
        justify-content: center !important;
        align-items: center !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .nav::before {
        display: none !important;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.8rem;
        width: auto !important;
        max-width: none !important;
        margin-bottom: 0 !important;
        text-align: center !important;
        direction: inherit !important;
        display: inline-block !important;
        justify-content: center !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    
    .nav-link::after {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: rgba(1, 164, 83, 0.8);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 60%;
        height: 3px;
    }
    
    body[dir="ltr"] .nav-link::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    /* Hide mobile menu toggle on iPad Pro */
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .header-actions {
        display: flex;
        visibility: visible;
        opacity: 1;
        gap: 6px;
        flex-shrink: 0;
        min-width: 0;
        align-items: center;
    }
    
    .language-switcher {
        display: flex;
        visibility: visible;
        opacity: 1;
        gap: 3px;
        padding: 2px;
        align-items: center;
    }
    
    .lang-link {
        display: flex;
        visibility: visible;
        opacity: 1;
        padding: 5px 8px;
        min-width: 35px;
        height: 34px;
        font-size: 0.85rem;
        align-items: center;
        justify-content: center;
    }
    
    .btn-login {
        display: inline-block;
        visibility: visible;
        opacity: 1;
        padding: 8px 14px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .btn-user {
        display: flex;
        visibility: visible;
        opacity: 1;
        padding: 7px 11px;
        font-size: 0.75rem;
        align-items: center;
    }
    
    .user-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        position: relative;
        z-index: 1001;
    }
    
    .user-dropdown {
        position: absolute;
        visibility: visible;
        top: calc(100% + 10px);
        right: 0;
        z-index: 1002;
    }
    
    body[dir="ltr"] .user-dropdown {
        left: 0;
        right: auto;
    }
}

/* iPad Pro General (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Header adjustments for tablets and iPad Pro */
    .header {
        padding: 0;
    }
    
    .header-content {
        height: 85px;
        padding: 0 20px;
        grid-template-columns: auto 1fr auto;
        gap: 15px;
        min-width: 0;
    }
    
    .logo {
        font-size: 1.1rem;
        gap: 10px;
        padding: 5px 8px;
        flex-shrink: 0;
        min-width: 0;
    }
    
    .logo-img {
        height: 50px !important;
        max-width: 150px !important;
        min-width: 50px !important;
    }
    
    .logo-text {
        font-size: 0.9rem;
        display: inline-block;
    }
    
    /* Show navigation menu on iPad Pro */
    .nav {
        display: flex !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
        overflow: visible !important;
        z-index: auto !important;
        justify-content: center !important;
        align-items: center !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .nav::before {
        display: none !important;
    }
    
    .nav-link {
        padding: 10px 14px;
        font-size: 0.85rem;
        width: auto !important;
        max-width: none !important;
        margin-bottom: 0 !important;
        text-align: center !important;
        direction: inherit !important;
        display: inline-block !important;
        justify-content: center !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    
    .nav-link::after {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: rgba(1, 164, 83, 0.8);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 60%;
        height: 3px;
    }
    
    body[dir="ltr"] .nav-link::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    /* Hide mobile menu toggle on iPad Pro */
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .header-actions {
        display: flex;
        visibility: visible;
        opacity: 1;
        gap: 8px;
        flex-shrink: 0;
        min-width: 0;
        align-items: center;
    }
    
    .language-switcher {
        display: flex;
        visibility: visible;
        opacity: 1;
        gap: 4px;
        padding: 3px;
        align-items: center;
    }
    
    .lang-link {
        display: flex;
        visibility: visible;
        opacity: 1;
        padding: 6px 10px;
        min-width: 38px;
        height: 36px;
        font-size: 0.9rem;
        align-items: center;
        justify-content: center;
    }
    
    .btn-login {
        display: inline-block;
        visibility: visible;
        opacity: 1;
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .btn-user {
        display: flex;
        visibility: visible;
        opacity: 1;
        padding: 8px 12px;
        font-size: 0.8rem;
        align-items: center;
    }
    
    .user-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        position: relative;
        z-index: 1001;
    }
    
    .user-dropdown {
        position: absolute;
        visibility: visible;
        top: calc(100% + 10px);
        right: 0;
        z-index: 1002;
    }
    
    body[dir="ltr"] .user-dropdown {
        left: 0;
        right: auto;
    }
    
    /* Hero section */
    .hero {
        padding: 80px 0;
        min-height: 65vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    /* Sections */
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    /* Content Slider */
    .section-content-slider {
        padding: 80px 0;
    }
    
    .content-slider-container {
        border-radius: 28px;
        min-height: 550px;
    }
    
    .content-slider-track {
        min-height: 550px;
    }
    
    .content-slider-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 35px;
    }
    
    .content-slider-card {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .slider-card-image {
        height: 300px;
    }
    
    .slider-card-content {
        padding: 28px;
    }
    
    .slider-card-title {
        font-size: 1.4rem;
    }
    
    .slider-card-excerpt {
        font-size: 1rem;
    }
    
    .slider-btn {
        width: 52px;
        height: 52px;
    }
    
    .slider-btn svg {
        width: 26px;
        height: 26px;
    }
    
    /* Mission & Identity */
    .mission-identity-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    
    .mission-identity-card {
        padding: 45px 35px;
    }
    
    .mission-identity-title {
        font-size: 2.8rem;
    }
    
    .mission-identity-card-title {
        font-size: 1.7rem;
    }
    
    /* News & Activities */
    .news-horizontal-3d,
    .activities-horizontal-3d {
        gap: 25px;
    }
    
    /* Values */
    .values-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Quick Links */
    .quick-links-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .quick-link-card-modern {
        padding: 45px 30px;
    }
    
    /* Container */
    .container {
        padding: 0 30px;
    }
}

/* Responsive Design - Small Tablets */
@media (max-width: 1024px) {
    .content-slider-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px;
    }
    
    .content-slider-track {
        min-height: auto;
    }
    
    .slider-card-image {
        height: 280px;
    }
    
    .mission-identity-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section-content-slider {
        padding: 60px 0;
    }
    
    .content-slider-container {
        border-radius: 24px;
        margin: 0 10px;
        position: relative;
        min-height: 500px;
    }
    
    .content-slider-track {
        position: relative;
        min-height: 500px;
        width: 100%;
    }
    
    .content-slider-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 500px;
    }
    
    .content-slider-grid {
        padding: 20px 15px;
        gap: 20px;
        width: 100%;
        min-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .content-slider-card {
        border-radius: 24px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        min-height: auto;
    }
    
    .slider-card-image {
        height: 240px;
    }
    
    .slider-card-content {
        padding: 20px;
    }
    
    .slider-card-title {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .slider-card-excerpt {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .slider-btn {
        width: 48px;
        height: 48px;
    }
    
    .slider-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .slider-btn-prev {
        left: 10px;
    }
    
    .slider-btn-next {
        right: 10px;
    }
    
    .slider-indicators {
        bottom: 20px;
        padding: 8px 12px;
        gap: 10px;
    }
    
    .slider-indicator {
        width: 8px;
        height: 8px;
    }
    
    .section-mission-identity {
        padding: 60px 0;
    }
    
    .mission-identity-title {
        font-size: 2.5rem;
    }
    
    .mission-identity-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mission-identity-card {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .content-slider-container {
        margin: 0 5px;
        border-radius: 20px;
        min-height: 450px;
    }
    
    .content-slider-track {
        min-height: 450px;
    }
    
    .content-slider-slide {
        min-height: 450px;
    }
    
    .content-slider-grid {
        padding: 15px 10px;
        gap: 15px;
        width: 100%;
        min-height: 450px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .content-slider-card {
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }
    
    .slider-card-image {
        height: 200px;
    }
    
    .slider-card-content {
        padding: 16px;
    }
    
    .slider-card-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .slider-card-excerpt {
        font-size: 0.85rem;
        margin-bottom: 16px;
        line-height: 1.5;
    }
    
    .slider-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 12px;
    }
    
    .slider-card-link {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .slider-btn-prev {
        left: 5px;
    }
    
    .slider-btn-next {
        right: 5px;
    }
    
    .slider-indicators {
        bottom: 15px;
        padding: 6px 10px;
        gap: 8px;
    }
    
    .slider-indicator {
        width: 6px;
        height: 6px;
    }
    
    .slider-card-badge {
        top: 15px;
        left: 15px;
        padding: 8px 16px;
        font-size: 0.7rem;
    }
    
    .slider-btn-prev {
        left: 15px;
    }
    
    .slider-btn-next {
        right: 15px;
    }
    
    .slider-indicators {
        bottom: 20px;
        padding: 8px 14px;
        gap: 10px;
    }
    
    .slider-indicator {
        width: 8px;
        height: 8px;
    }
    
    .slider-indicator.active {
        width: 28px;
    }
    
    .mission-identity-title {
        font-size: 2rem;
    }
    
    .mission-identity-card {
        padding: 30px 20px;
    }
    
    .mission-identity-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .mission-identity-card-title {
        font-size: 1.5rem;
    }
    
    .mission-identity-card-text {
        font-size: 1rem;
    }
}


/* ============================================
   Contact Info 3D Modern Design
   ============================================ */

.section-contact-info-3d {
    padding: 100px 0;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(1, 164, 83, 0.03) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    position: relative;
    overflow: hidden;
}

.section-contact-info-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(1, 164, 83, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(1, 164, 83, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.contact-info-3d-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-info-3d-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin: 0 0 80px 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 30px;
}

.contact-info-3d-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), var(--color-primary), transparent);
    border-radius: 2px;
}

.contact-info-3d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    perspective: 1000px;
}

.contact-info-3d-card {
    background: var(--color-white);
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow: 
        0 10px 40px rgba(1, 164, 83, 0.1),
        0 20px 60px rgba(1, 164, 83, 0.08),
        0 0 0 1px rgba(1, 164, 83, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(1, 164, 83, 0.1);
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.contact-info-3d-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(1, 164, 83, 0.05) 0%,
        rgba(1, 164, 83, 0.02) 50%,
        rgba(1, 164, 83, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.contact-info-3d-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(1, 164, 83, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.contact-info-3d-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-2deg) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(1, 164, 83, 0.2),
        0 30px 80px rgba(1, 164, 83, 0.15),
        0 0 0 1px rgba(1, 164, 83, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 100px rgba(1, 164, 83, 0.1);
}

.contact-info-3d-card:hover::before {
    opacity: 1;
}

.contact-info-3d-card:hover::after {
    opacity: 1;
}

.contact-info-3d-card:hover .contact-info-3d-icon-wrapper {
    transform: translateY(-10px) scale(1.1) rotateY(10deg);
}

.contact-info-3d-card:hover .contact-info-3d-icon {
    transform: rotate(5deg) scale(1.1);
    filter: drop-shadow(0 10px 20px rgba(1, 164, 83, 0.3));
}

.contact-info-3d-icon-wrapper {
    position: relative;
    margin-bottom: 30px;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.contact-info-3d-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(1, 164, 83, 0.3),
        0 5px 15px rgba(1, 164, 83, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-info-3d-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 28px;
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
    transition: all 0.5s ease;
}

.contact-info-3d-card:hover .contact-info-3d-icon::before {
    opacity: 0.5;
    filter: blur(15px);
    transform: scale(1.1);
}

.contact-info-3d-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2.5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.contact-info-3d-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

body[dir="rtl"] .contact-info-3d-content {
    text-align: center;
}

.contact-info-3d-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 15px 0;
    transition: color 0.3s ease;
}

.contact-info-3d-card:hover .contact-info-3d-card-title {
    color: var(--color-primary);
}

.contact-info-3d-card-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 25px 0;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact-info-3d-card:hover .contact-info-3d-card-text {
    color: var(--text-primary);
}

.contact-info-3d-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(1, 164, 83, 0.1), rgba(1, 164, 83, 0.05));
    border: 2px solid rgba(1, 164, 83, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-3d-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-info-3d-link:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 164, 83, 0.3);
}

.contact-info-3d-link:hover::before {
    left: 100%;
}

/* Contact Form Section */
.contact-form-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-form-section .contact-form-intro {
    text-align: center;
    margin-bottom: 50px;
    padding: 0;
}

body[dir="rtl"] .contact-form-section .contact-form-intro {
    text-align: center;
}

/* Responsive Design for 3D Cards */
@media (max-width: 768px) {
    .section-contact-info-3d {
        padding: 60px 0;
    }
    
    .contact-info-3d-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .contact-info-3d-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-3d-card {
        padding: 40px 30px;
    }
    
    .contact-info-3d-icon {
        width: 70px;
        height: 70px;
    }
    
    .contact-info-3d-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .contact-info-3d-card-title {
        font-size: 1.3rem;
    }
    
    .contact-info-3d-card-text {
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .contact-info-3d-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
