html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Helvetica Neue Arabic', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #1d5196 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, #1d5196 0%, rgba(248,249,250,0.95) 100%);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1003;
    backdrop-filter: blur(10px);
    transition: position 0.4s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 70px;
    overflow: visible;
}

.logo img {
    height: 80px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.logo img:hover {
    transform: translateY(-50%) scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@keyframes smoothReveal {
    0% { 
        opacity: 0; 
        transform: perspective(500px) rotateY(90deg) scale(0.7);
    }
    70% { 
        opacity: 0.7; 
        transform: perspective(500px) rotateY(-10deg) scale(1.02);
    }
    100% { 
        opacity: 1; 
        transform: perspective(500px) rotateY(0deg) scale(1);
    }
}

@keyframes letterByLetterReveal {
    0% {
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }
}

.logo-title {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Helvetica Neue Arabic', sans-serif;
    color: #244b80;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 1px;
    background: linear-gradient(45deg, #276fa5, #244b80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    top: 0;
    display: inline-block;
    animation: letterByLetterReveal 2s cubic-bezier(0.445, 0.05, 0.55, 0.95) forwards;
    opacity: 0;
    animation-delay: 0.3s;
    transform-origin: left center;
    will-change: clip-path, opacity;
    direction: rtl;
    overflow: hidden;
    margin-right: -10px;
}

.logo-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInLetter 0.5s ease forwards;
}

@keyframes fadeInLetter {
    0% {
        opacity: 0;
        transform: translateY(20px) rotate(-15deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

/* تأثير تأخير لكل حرف */
.logo-title span:nth-child(1) { animation-delay: 0.3s; }
.logo-title span:nth-child(2) { animation-delay: 0.4s; }
.logo-title span:nth-child(3) { animation-delay: 0.5s; }
.logo-title span:nth-child(4) { animation-delay: 0.6s; }
.logo-title span:nth-child(5) { animation-delay: 0.7s; }
.logo-title span:nth-child(6) { animation-delay: 0.8s; }
.logo-title span:nth-child(7) { animation-delay: 0.9s; }
.logo-title span:nth-child(8) { animation-delay: 1.0s; }
.logo-title span:nth-child(9) { animation-delay: 1.1s; }
.logo-title span:nth-child(10) { animation-delay: 1.2s; }
.logo-title span:nth-child(11) { animation-delay: 1.3s; }
.logo-title span:nth-child(12) { animation-delay: 1.4s; }
.logo-title span:nth-child(13) { animation-delay: 1.5s; }

.logo-title:hover {
    transform: scale(1.05) rotate(-2deg);
    letter-spacing: 2px;
}

.menu-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(240,240,240,0.8) 100%);
    box-shadow: 
        0 3px 10px rgba(29,81,150,0.08), 
        inset 0 -1px 3px rgba(0,0,0,0.03);
    border: 1px solid rgba(29,81,150,0.05);
    transition: all 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    overflow: hidden;
    will-change: transform, box-shadow;
}

.menu-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        rgba(29,81,150,0.05) 0%, 
        rgba(29,81,150,0.15) 50%, 
        rgba(29,81,150,0.05) 100%
    );
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.menu-icon:hover::before {
    opacity: 1;
}

.menu-icon i {
    position: relative;
    z-index: 2;
    color: #1d5196;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    will-change: transform, color;
}

.menu-icon:hover {
    transform: rotate(10deg) scale(1.05);
    box-shadow: 
        0 5px 15px rgba(29,81,150,0.15), 
        inset 0 -2px 5px rgba(0,0,0,0.05);
}

.menu-icon:hover i {
    transform: rotate(-10deg) scale(1.1);
    color: white;
    text-shadow: 0 1px 5px rgba(29,81,150,0.3);
}

@keyframes menuIconPulseCompact {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(1.1);
    }
}

.menu-icon.active {
    animation: 
        menuIconPulseCompact 0.5s infinite alternate,
        menuIconGlow 2s infinite alternate;
    background: linear-gradient(135deg, #1d5196 0%, #1d5196 100%);
    box-shadow: 
        0 5px 15px rgba(29,81,150,0.2), 
        inset 0 -2px 10px rgba(255,255,255,0.1);
}

.menu-icon.active i {
    color: white;
    animation: menuIconWave 0.3s ease-in-out infinite;
}

@keyframes menuIconWave {
    0%, 100% { 
        transform: rotate(0deg);
    }
    50% { 
        transform: rotate(-5deg);
    }
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
    display: none;
    z-index: 1001;
    backdrop-filter: blur(8px);
    animation: overlayFadeIn 0.5s ease-out;
}

@keyframes overlayFadeIn {
    from { opacity: 0; backdrop-filter: blur(0px); }
    to { opacity: 1; backdrop-filter: blur(8px); }
}

.menu-overlay.active {
    display: block;
}

.main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.98) 100%);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 90px 35px 35px;
    z-index: 1002;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    perspective: 1000px;
    border: none;
    overflow-y: auto;
    backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    box-sizing: border-box;
}

.main-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.menu-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    padding: 10px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

/* تحسين التمرير */
.menu-content::-webkit-scrollbar {
    width: 8px;
}

.menu-content::-webkit-scrollbar-track {
    background: rgba(29,81,150,0.1);
    border-radius: 10px;
}

.menu-content::-webkit-scrollbar-thumb {
    background: #1d5196;
    border-radius: 10px;
}

.menu-content::-webkit-scrollbar-thumb:hover {
    background: rgba(29,81,150,0.7);
}

.menu-section {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition-delay: 0s;
    border: 1px solid rgba(29,81,150,0.1);
    backdrop-filter: blur(5px);
}

.main-menu.active .menu-section {
    opacity: 1;
    transform: translateY(0);
}

.menu-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(29,81,150,0.05) 0%, rgba(29,81,150,0.05) 100%);
    z-index: -1;
    transition: all 0.4s ease;
}

.menu-section:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.menu-section:hover::after {
    transform: scale(1.1);
    opacity: 0.8;
}

.menu-section h3 {
    color: #1d5196;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(29,81,150,0.2);
    font-size: 20px;
    font-weight: 600;
    font-family: 'Helvetica Neue Arabic', sans-serif;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.menu-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #1d5196, #1d5196);
    transition: width 0.4s ease;
}

.menu-section:hover h3::after {
    width: 100%;
}

.menu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.menu-section ul li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0s;
}

.main-menu.active .menu-section ul li {
    opacity: 1;
    transform: translateX(0);
}

.menu-section ul li a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    transition: none;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.menu-section ul li a:hover {
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: white;
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 5px 15px rgba(29,81,150,0.3);
}

.menu-section ul li a i {
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29,81,150,0.1);
    border-radius: 50%;
    transition: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-section ul li a:hover i {
    background: rgba(255,255,255,0.2);
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.menu-section:nth-child(1) { transition-delay: 0.1s; }
.menu-section:nth-child(2) { transition-delay: 0.2s; }
.menu-section:nth-child(3) { transition-delay: 0.3s; }
.menu-section:nth-child(4) { transition-delay: 0.4s; }
.menu-section:nth-child(5) { transition-delay: 0.5s; }

.menu-section ul li:nth-child(1) { --item-delay: 0; }
.menu-section ul li:nth-child(2) { --item-delay: 0; }
.menu-section ul li:nth-child(3) { --item-delay: 0; }
.menu-section ul li:nth-child(4) { --item-delay: 0; }

@media (max-width: 1024px) {
    .main-menu {
        padding: 90px 25px 25px;
}

.menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .main-menu {
        padding: 90px 15px 15px;
    }

    .menu-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-section {
        padding: 15px;
        margin-bottom: 10px;
    }

    .menu-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .menu-section ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .menu-section ul li a {
        padding: 10px;
        font-size: 14px;
        display: flex;
        align-items: center;
    }

    .menu-section ul li a i {
        margin-left: 10px;
        font-size: 16px;
    }

    .logo {
        gap: 8px;
        align-items: center;
    }

    .logo-title {
        font-weight: bold;
        font-size: 24px;
        position: relative;
        top: -2px;
        margin-right: 5px;
    }
}

@media (max-width: 480px) {
    .main-menu {
        padding: 90px 10px 10px;
    }

    .menu-content {
        gap: 15px;
    }

    .menu-section {
        padding: 10px;
    }

    .menu-section h3 {
        font-size: 15px;
    }

    .menu-section ul li a {
        padding: 8px;
        font-size: 13px;
    }

    .menu-section ul li a i {
        margin-left: 8px;
        font-size: 14px;
    }

    .logo {
        gap: 5px;
    }

    .logo-title {
        font-weight: bold;
        font-size: 24px;
        top: -3px;
        margin-right: 3px;
        margin-top: 10px; 
    }
}

.settings-section {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    border: 1px solid rgba(29,81,150,0.1);
    backdrop-filter: blur(5px);
    grid-column: 1 / -1;
}

.settings-section h3 {
    color: #1d5196;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(29,81,150,0.2);
    font-size: 22px;
    font-weight: 600;
    font-family: 'Helvetica Neue Arabic', sans-serif;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-section h3 i {
    font-size: 24px;
    color: #1d5196;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.setting-item {
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.setting-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(29,81,150,0.2);
}

.setting-icon {
    width: 50px;
    height: 50px;
    background: rgba(29,81,150,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1d5196;
    transition: all 0.3s ease;
}

.setting-item:hover .setting-icon {
    transform: rotate(15deg) scale(1.1);
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: white;
}

.setting-content {
    flex: 1;
}

.setting-content h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.setting-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(45deg, #1d5196, #1d5196);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    background: rgba(29,81,150,0.1);
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: white;
}

.language-btn .flag {
    font-size: 20px;
}

.language-btn .language-name {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.language-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-btn:hover i {
    transform: translateY(2px);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
    min-width: 150px;
    z-index: 1000;
}

.language-selector:hover .language-dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}

.language-option {
    width: 100%;
    padding: 8px 15px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.language-option:hover {
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: white;
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(29,81,150,0.3);
}

.language-option .flag {
    font-size: 20px;
}

.language-option .language-name {
    font-size: 14px;
}

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

/* Dark Mode Styles */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
}

body.dark-mode header {
    background: linear-gradient(135deg, rgba(45,45,45,0.95) 0%, rgba(30,30,30,0.95) 100%);
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

body.dark-mode .menu-icon {
    color: #fff;
    background: rgba(45,45,45,0.9);
}

body.dark-mode .menu-icon:hover {
    background: linear-gradient(45deg, #1d5196, #1d5196);
}

body.dark-mode .main-menu {
    background: linear-gradient(135deg, rgba(45,45,45,0.95) 0%, rgba(30,30,30,0.95) 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .menu-section {
    background: rgba(45,45,45,0.9);
    border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .menu-section h3 {
    color: #1d5196;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

body.dark-mode .menu-section ul li a {
    background: rgba(45,45,45,0.9);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .menu-section ul li a:hover {
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: #fff;
}

body.dark-mode .menu-section ul li a i {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

body.dark-mode .menu-section ul li a:hover i {
    background: rgba(255,255,255,0.2);
}

body.dark-mode .settings-section {
    background: rgba(45,45,45,0.9);
    border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .setting-item {
    background: rgba(45,45,45,0.9);
    border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .setting-content h4 {
    color: #fff;
}

body.dark-mode .setting-content p {
    color: #aaa;
}

body.dark-mode .setting-icon {
    background: rgba(255,255,255,0.1);
    color: #1d5196;
}

body.dark-mode .language-btn {
    background: rgba(255,255,255,0.1);
    color: #1d5196;
}

body.dark-mode .language-menu {
    background: linear-gradient(135deg, rgba(45,45,45,0.95) 0%, rgba(30,30,30,0.95) 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .language-option {
    background: rgba(45,45,45,0.9);
    color: #fff;
}

body.dark-mode .language-option:hover {
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: #fff;
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .setting-item {
        padding: 15px;
    }
    
    .setting-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .settings-section {
        padding: 20px;
    }
    
    .setting-content h4 {
        font-size: 16px;
    }
    
    .setting-content p {
        font-size: 12px;
    }
}

/* Language Menu Styles */
.language-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: 1003;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    display: none;
}

.language-menu.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    animation: menuPop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.language-option {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 200px;
}

.language-option:hover {
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: white;
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(29,81,150,0.3);
}

.language-option .flag {
    font-size: 24px;
}

.language-option .language-name {
    font-size: 16px;
    font-weight: 500;
}

/* Dark Mode Styles for Language Menu */
body.dark-mode .language-menu {
    background: rgba(45,45,45,0.95);
}

body.dark-mode .language-option {
    background: rgba(45,45,45,0.9);
    color: #fff;
}

body.dark-mode .language-option:hover {
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: #fff;
}

@media (max-width: 768px) {
    .language-menu {
        width: 90%;
        max-width: 300px;
    }
    
    .language-option {
        width: 100%;
    }
}

.close-menu-btn {
    position: absolute;
    top: 0;
    right: 20px;
    background: transparent;
    border: none;
    color: #1d5196;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1002;
}

.close-menu-btn:hover {
    background: rgba(29,81,150,0.1);
    transform: rotate(90deg);
}

.close-menu-btn i {
    transition: all 0.3s ease;
}

.close-menu-btn:hover i {
    transform: scale(1.2);
}

/* Dark Mode Styles for Close Button */
body.dark-mode .close-menu-btn {
    color: #fff;
}

body.dark-mode .close-menu-btn:hover {
    background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .close-menu-btn {
        top: 0;
        right: 15px;
        font-size: 20px;
    }
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(240,240,240,0.8) 100%);
    box-shadow: 
        0 3px 10px rgba(29,81,150,0.08), 
        inset 0 -1px 3px rgba(0,0,0,0.03);
    border: 1px solid rgba(29,81,150,0.05);
    transition: all 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    overflow: hidden;
    will-change: transform, box-shadow;
}

.contact-icon i {
    color: #1d5196;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.contact-icon:hover {
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: white;
    transform: rotate(10deg) scale(1.05);
    box-shadow: 
        0 5px 15px rgba(29,81,150,0.15), 
        inset 0 -2px 5px rgba(0,0,0,0.05);
}

.contact-icon:hover i {
    color: white;
    transform: rotate(-10deg) scale(1.1);
    text-shadow: 0 1px 5px rgba(29,81,150,0.3);
}

/* Contact Modal Animations */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        background-color: rgba(0,0,0,0);
    }
    100% {
        background-color: rgba(0,0,0,0.6);
    }
}

@keyframes fadeOut {
    0% {
        background-color: rgba(0,0,0,0.6);
    }
    100% {
        background-color: rgba(0,0,0,0);
    }
}

.contact-modal {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: 150vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 75px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-content {
    background: #ffffff;
    width: 400px;
    height: 150vh;
    padding: 30px;
    padding-top: 100px;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.contact-modal.active .contact-modal-content {
    transform: translateX(0);
}

.close-contact-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-contact-btn:hover {
    color: #333;
}

.contact-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-logo-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.contact-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-modal-header h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.company-tagline {
    color: #666;
    font-size: 1rem;
}

.contact-info-section {
    margin-bottom: 30px;
}

.info-card {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateX(5px);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #1d5196;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: white;
    font-size: 1.2rem;
}

.info-content h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.social-links-section {
    text-align: center;
}

.social-links-section h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d5196;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #1d5196;
    color: white;
    transform: translateY(-3px);
}

/* Dark Mode Styles */
body.dark-mode .contact-modal-content {
    background: #1a1a1a;
}

body.dark-mode .close-contact-btn {
    color: #999;
}

body.dark-mode .close-contact-btn:hover {
    color: #fff;
}

body.dark-mode .contact-logo-container {
    background: #2a2a2a;
}

body.dark-mode .contact-modal-header h2 {
    color: #fff;
}

body.dark-mode .company-tagline {
    color: #999;
}

body.dark-mode .info-card {
    background: #2a2a2a;
}

body.dark-mode .info-content h4 {
    color: #fff;
}

body.dark-mode .info-content p {
    color: #999;
}

body.dark-mode .social-icon {
    background: #2a2a2a;
    color: #4dabf7;
}

body.dark-mode .social-icon:hover {
    background: #4dabf7;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-modal-content {
        width: 350px;
    }
}

@media (max-width: 480px) {
    .contact-modal-content {
        width: 300px;
    }

    .contact-logo-container {
        width: 80px;
        height: 80px;
    }

    .contact-modal-header h2 {
        font-size: 1.5rem;
    }

    .info-card {
        padding: 12px;
    }

    .info-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

.notifications-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(240,240,240,0.8) 100%);
    box-shadow: 
        0 3px 10px rgba(29,81,150,0.08), 
        inset 0 -1px 3px rgba(0,0,0,0.03);
    border: 1px solid rgba(29,81,150,0.05);
    transition: all 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    overflow: hidden;
    will-change: transform, box-shadow;
    margin-right: 8px;
}

.notifications-icon i {
    color: #1d5196;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.notifications-icon:hover {
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: white;
    transform: rotate(10deg) scale(1.05);
    box-shadow: 
        0 5px 15px rgba(29,81,150,0.15), 
        inset 0 -2px 5px rgba(0,0,0,0.05);
}

.notifications-icon:hover i {
    color: white;
    transform: rotate(-10deg) scale(1.1);
    text-shadow: 0 1px 5px rgba(29,81,150,0.3);
}

.notifications-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ff0000;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid white;
    z-index: 1;
}

/* Notifications Dropdown */
.notifications-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 300px;
    max-width: 85%;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.98) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1100;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(15px);
    padding: 15px;
    display: none;
    margin-right: 0;
    margin-left: 0;
}

.notifications-dropdown.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    display: block;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(29,81,150,0.2);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.notifications-header h3 {
    color: #1d5196;
    font-size: 18px;
    font-weight: 600;
}

.notifications-header .mark-all-read {
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.notifications-header .mark-all-read:hover {
    color: #1d5196;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.notification-item:hover {
    background: rgba(29,81,150,0.05);
}

.notification-item.new {
    background: rgba(29,81,150,0.05);
    border: 1px solid rgba(29,81,150,0.1);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: rgba(29,81,150,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1d5196;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    color: #1d5196;
    margin-bottom: 3px;
    font-size: 14px;
}

.notification-content p {
    color: #333;
    font-size: 12px;
    margin-bottom: 5px;
}

.notification-time {
    color: #666;
    font-size: 10px;
}

.notifications-footer {
    border-top: 2px solid rgba(29,81,150,0.2);
    padding-top: 15px;
    text-align: center;
}

.view-all-notifications {
    color: #1d5196;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all-notifications:hover {
    color: #ff0000;
}

/* Dark Mode Styles for Notifications */
body.dark-mode .notifications-dropdown {
    background: linear-gradient(135deg, rgba(45,45,45,0.98) 0%, rgba(30,30,30,0.98) 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

body.dark-mode .notifications-header h3 {
    color: #fff;
}

body.dark-mode .notification-icon {
    background: rgba(255,255,255,0.1);
    color: #1d5196;
}

body.dark-mode .notification-content h4 {
    color: #1d5196;
}

body.dark-mode .notification-content p {
    color: #ddd;
}

body.dark-mode .notification-time {
    color: #aaa;
}

@media (max-width: 768px) {
    .notifications-dropdown {
        width: calc(100% - 40px);
        max-width: none;
        left: 50%;
        right: auto;
        margin: 0;
    }
}

/* Search Container Styles */
.search-container {
    position: relative;
    margin-left: 15px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.8);
    border-radius: 10px;
    border: 1px solid rgba(29,81,150,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.search-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #1d5196;
    outline: none;
    width: 250px;
    transition: width 0.3s ease;
}

.search-input::placeholder {
    color: rgba(29,81,150,0.7);
}

.search-icon {
    padding: 10px 15px;
    color: #1d5196;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-input-wrapper:hover,
.search-input-wrapper:focus-within {
    box-shadow: 0 4px 10px rgba(29,81,150,0.1);
}

.recent-searches-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
        width: 100%;
    background: white;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.search-input-wrapper:focus-within + .recent-searches-dropdown,
.recent-searches-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.recent-searches-dropdown h4 {
    padding: 10px 15px;
    background: rgba(29,81,150,0.05);
    color: #1d5196;
    margin: 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(29,81,150,0.1);
}

.recent-searches-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-searches-dropdown ul li {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recent-searches-dropdown ul li:hover {
    background: rgba(29,81,150,0.05);
}

.recent-searches-dropdown ul li i {
    color: #1d5196;
    margin-left: 10px;
    font-size: 16px;
}

/* Dark Mode Styles */
body.dark-mode .search-input-wrapper {
    background: rgba(45,45,45,0.8);
    border-color: rgba(255,255,255,0.1);
}

body.dark-mode .search-input {
    color: white;
}

body.dark-mode .search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

body.dark-mode .search-icon {
    color: white;
}

body.dark-mode .recent-searches-dropdown {
    background: rgba(45,45,45,0.9);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

body.dark-mode .recent-searches-dropdown h4 {
    background: rgba(255,255,255,0.05);
    color: white;
    border-bottom-color: rgba(255,255,255,0.1);
}

body.dark-mode .recent-searches-dropdown ul li:hover {
    background: rgba(255,255,255,0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .search-container {
        display: none;
    }
}

/* Search Highlight Effect */
@keyframes searchHighlight {
    0% { 
        background-color: rgba(29,81,150,0.1);
        transform: scale(1);
    }
    50% { 
        background-color: rgba(29,81,150,0.2);
        transform: scale(1.02);
    }
    100% { 
        background-color: transparent;
        transform: scale(1);
    }
}

.search-highlight {
    animation: searchHighlight 2s ease-out;
    background-color: rgba(29,81,150,0.1);
    border-radius: 10px;
}

/* Dark Mode Search Highlight */
body.dark-mode .search-highlight {
    background-color: rgba(255,255,255,0.1);
}

/* Header Icons Hover Effects */
.contact-icon:hover,
.notifications-icon:hover,
.menu-icon:hover {
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: white;
    transform: rotate(10deg) scale(1.05);
    box-shadow: 
        0 5px 15px rgba(29,81,150,0.15), 
        inset 0 -2px 5px rgba(0,0,0,0.05);
}

.contact-icon:hover i,
.notifications-icon:hover i,
.menu-icon:hover i {
    color: white;
    transform: rotate(-10deg) scale(1.1);
    text-shadow: 0 1px 5px rgba(29,81,150,0.3);
}

/* Responsive adjustments for icon spacing */
@media (max-width: 768px) {
    .header-icons {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .header-icons {
        gap: 5px;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29,81,150,0.8) 0%, rgba(0,0,0,0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 30px;
    animation: fadeInUp 1s ease-out;
    background: rgba(255, 255, 255, 0);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-family: 'Helvetica Neue Arabic', sans-serif;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-family: 'Helvetica Neue Arabic', sans-serif;
    color: #ffffff;
}

.hero-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #1d5196, #1d5196);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.hero-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #1d5196, #1d5196);
}

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

/* Responsive Styles for Hero Section */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

.about-section {
    width: 100%;
    padding: 120px 0;
    background: #ffffff;
    color: #333;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%231d5196" opacity=".05"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(180deg);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 40px;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
    height: 500px;
    order: 2;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(29,81,150,0.3), rgba(29,81,150,0.1));
    z-index: 1;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.about-text {
    flex: 1;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    order: 1;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #1d5196, transparent);
    border-radius: 0 0 0 100px;
    opacity: 0.1;
}

.about-text h2 {
    font-size: 42px;
    color: #1d5196;
    margin-bottom: 30px;
    font-family: 'Helvetica Neue Arabic', sans-serif;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100px;
    height: 3px;
    background: #1d5196;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.about-text:hover h2::after {
    width: 150px;
}

.about-text p {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    font-family: 'Helvetica Neue Arabic', sans-serif;
    margin-bottom: 30px;
    position: relative;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: auto;
}

.feature-item {
    flex: 1;
    min-width: 200px;
    padding: 25px;
    background: rgba(29,81,150,0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(29,81,150,0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 32px;
    color: #1d5196;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
}

.feature-item h3 {
    font-size: 20px;
    color: #1d5196;
    margin-bottom: 15px;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-family: 'Helvetica Neue Arabic', sans-serif;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 30px;
    }
    
    .about-image, .about-text {
        width: 100%;
        height: auto;
        order: 0;
    }
    
    .about-text {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 0;
    }
    
    .about-content {
        padding: 0 20px;
    }
    
    .about-text {
    padding: 25px;
    }
    
    .about-text h2 {
        font-size: 32px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .feature-item {
        min-width: 100%;
    }
}

.companies-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    color: #1d5196;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.companies-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    padding: 0 15px;
    background: transparent;
    position: relative;
}

.companies-tabs::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(29, 81, 150, 0.2), transparent);
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid #1d5196;
    background: #fff;
    color: #1d5196;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1d5196, #2a6ac5);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tab-btn span {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    color: #1d5196;
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.tab-btn:hover span {
    color: #fff !important;
}

.tab-btn.active {
    background: #1d5196;
    color: #fff;
    box-shadow: 0 6px 12px rgba(29, 81, 150, 0.2);
    transform: translateY(-2px);
}

.tab-btn.active::before {
    opacity: 1;
}

.tab-btn.active span {
    color: #fff;
}

@media (max-width: 768px) {
    .companies-tabs {
        gap: 10px;
        padding: 0 10px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .companies-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.companies-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.company-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.company-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.company-card-content {
    padding: 25px;
}

.company-card h3 {
    font-size: 24px;
    color: #1d5196;
    margin-bottom: 15px;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.company-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.company-card .view-details {
    display: inline-block;
    padding: 10px 20px;
    background: #1d5196;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.company-card .view-details:hover {
    background: #1d5196;
    transform: translateX(10px);
}

/* نافذة تفاصيل الشركة */
.company-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.company-modal.active {
    display: flex;
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

.company-modal-content {
    position: relative;
    background: white;
    width: 500px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.4s ease;
}

.company-modal.active .company-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-company-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 18px;
    color: #1d5196;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.close-company-modal:hover {
    background: #1d5196;
    color: white;
    transform: rotate(90deg);
}

.company-modal-header {
    position: relative;
    text-align: center;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
    position: relative;
    height: 250px;
    overflow: hidden;
}

.company-modal-header::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #1d5196;
    border-radius: 3px;
}

.company-modal-header img {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 400px;
    max-width: 100%;
    object-fit: contain;
    opacity: 1;
}

.company-modal-header h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 20px;
    color: #1d5196;
    margin: 0;
    padding: 15px;
    font-family: 'Helvetica Neue Arabic', sans-serif;
    font-weight: 600;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.company-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.company-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    padding: 0 10px;
}

.company-details {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.detail-item:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.detail-item i {
    font-size: 20px;
    color: #1d5196;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 81, 150, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-item:hover i {
    transform: scale(1.1);
    background: #1d5196;
    color: white;
}

.detail-item span {
    font-size: 15px;
    color: #444;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.company-website {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #1d5196 0%, #1d5196 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.company-website:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 81, 150, 0.2);
    background: linear-gradient(135deg, #1d5196 0%, #1d5196 100%);
}

.company-website i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.company-website:hover i {
    transform: translateX(-5px);
}

.contact-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: #fff;
    color: #1d5196;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #1d5196;
    cursor: pointer;
}

.contact-btn:hover {
    background: #1d5196;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 81, 150, 0.2);
}

.contact-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.contact-btn:hover i {
    transform: rotate(15deg);
}

@media (max-width: 768px) {
    .company-modal-content {
        width: 95%;
        max-width: 500px;
    }
    
    .company-modal-body {
        padding: 20px;
    }
}

body.dark-mode .company-modal-content {
    background: #2c3e50;
}

body.dark-mode .company-modal-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .company-modal-header h3 {
    color: #fff;
}

body.dark-mode .company-description {
    color: #ecf0f1;
    border-left-color: #1d5196;
}

body.dark-mode .detail-item {
    background: #34495e;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .detail-item:hover {
    background: #2c3e50;
}

body.dark-mode .detail-item span {
    color: #ecf0f1;
}

body.dark-mode .close-company-modal {
    background: rgba(44, 62, 80, 0.9);
    color: #fff;
}

body.dark-mode .close-company-modal:hover {
    background: #1d5196;
}

body.dark-mode .company-modal-body {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

/* Services Section Styles */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%231d5196" opacity=".03"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(29, 81, 150, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(29, 81, 150, 0.05), rgba(29, 81, 150, 0.02));
    z-index: 0;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(29, 81, 150, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(29, 81, 150, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 32px;
    color: #1d5196;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: #1d5196;
    transform: rotateY(360deg);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h3 {
    color: #1d5196;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.service-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1d5196;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: #1d5196;
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* Dark Mode Styles for Services Section */
body.dark-mode .services-section {
    background: linear-gradient(135deg, #2c3e50 0%, #2c3e50 100%);
}

body.dark-mode .service-card {
    background: rgba(44, 62, 80, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .service-card h3 {
    color: #fff;
}

body.dark-mode .service-card p {
    color: #ecf0f1;
}

body.dark-mode .service-link {
    color: #1d5196;
}

body.dark-mode .service-icon {
    background: rgba(52, 152, 219, 0.2);
}

body.dark-mode .service-icon i {
    color: #1d5196;
}

body.dark-mode .service-card:hover .service-icon {
    background: #1d5196;
}

/* Responsive Styles for Services Section */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .services-grid {
        padding: 20px;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .service-icon i {
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .service-card p {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 40px 0;
    }

    .services-grid {
        padding: 15px;
        gap: 15px;
    }

    .service-card {
        padding: 25px 15px;
    }
}

/* Service Modal Styles */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
}

.service-modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.service-modal.active .service-modal-content {
    transform: translateY(0);
}

.close-service-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(29, 81, 150, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-service-modal:hover {
    background: #1d5196;
    transform: rotate(90deg);
}

.close-service-modal i {
    font-size: 18px;
    color: #1d5196;
    transition: all 0.3s ease;
}

.close-service-modal:hover i {
    color: white;
}

.service-modal-header {
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px 15px 0 0;
    position: relative;
}

.service-icon-large {
    width: 70px;
    height: 70px;
    background: rgba(29, 81, 150, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.service-icon-large i {
    font-size: 28px;
    color: #1d5196;
}

.service-modal-header h3 {
    color: #1d5196;
    font-size: 24px;
    margin: 0;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.service-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.service-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.features-list li {
    position: relative;
    padding-right: 25px;
    font-size: 14px;
    color: #555;
}

.features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #1d5196;
    position: absolute;
    right: 0;
    top: 2px;
    font-size: 12px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.benefit-item {
    background: rgba(29, 81, 150, 0.05);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    background: rgba(29, 81, 150, 0.1);
}

.benefit-item i {
    font-size: 20px;
    color: #1d5196;
    margin-bottom: 8px;
}

.benefit-item p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

@media (max-width: 768px) {
    .service-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-icon-large {
        width: 60px;
        height: 60px;
    }
    
    .service-icon-large i {
        font-size: 24px;
    }
    
    .service-modal-header h3 {
        font-size: 20px;
    }
    
    .service-description {
        font-size: 14px;
    }
}

.investments-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.investments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231d5196' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.investments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.investment-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1d5196, #2196f3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.investment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.investment-icon {
    width: 80px;
    height: 80px;
    background: rgba(29, 81, 150, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.investment-icon i {
    font-size: 32px;
    color: #1d5196;
    transition: all 0.3s ease;
}

.investment-card:hover .investment-icon {
    background: #1d5196;
    transform: rotateY(180deg);
}

.investment-card:hover .investment-icon i {
    color: white;
    transform: rotateY(-180deg);
}

.investment-card h3 {
    color: #1d5196;
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.investment-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: 'Helvetica Neue Arabic', sans-serif;
}

.investment-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat-item {
    padding: 15px;
    background: rgba(29, 81, 150, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(29, 81, 150, 0.1);
}

.stat-value {
    font-size: 24px;
    color: #1d5196;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.investment-link {
    display: inline-flex;
    align-items: center;
        gap: 8px;
    color: #1d5196;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.investment-link:hover {
    color: #2196f3;
}

.investment-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.investment-link:hover i {
    transform: translateX(-5px);
}

@media (max-width: 1024px) {
    .investments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .investments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .investment-card {
        padding: 30px;
    }
    
    .investment-icon {
        width: 60px;
        height: 60px;
    }
    
    .investment-icon i {
        font-size: 24px;
    }
    
    .investment-card h3 {
        font-size: 20px;
    }
    
    .stat-value {
        font-size: 20px;
    }
}

body.dark-mode .investments-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
}

body.dark-mode .investment-card {
    background: #2c3e50;
}

body.dark-mode .investment-card h3 {
    color: #fff;
}

body.dark-mode .investment-card p {
    color: #ecf0f1;
}

body.dark-mode .stat-item {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .stat-value {
    color: #1d5196;
}

body.dark-mode .stat-label {
    color: #bdc3c7;
}

body.dark-mode .investment-link {
    color: #1d5196;
}

body.dark-mode .investment-link:hover {
    color: #2196f3;
}

.investment-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-direction: column;
}

.investment-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.investment-link.primary-action {
    background-color: #1d5196;
    color: white;
    border: none;
}

.investment-link.secondary-action {
    background-color: transparent;
    color: #1d5196;
    border: 2px solid #1d5196;
}

.investment-link.primary-action:hover {
    background-color: #1d5196;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.investment-link.secondary-action:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.investment-link i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.investment-link:hover i {
    transform: scale(1.1);
}

/* Dark Mode Styles */
body.dark-mode .investment-link.primary-action {
    background-color: #1d5196;
}

body.dark-mode .investment-link.secondary-action {
    color: #1d5196;
    border-color: #1d5196;
}

body.dark-mode .investment-link.primary-action:hover {
    background-color: #1d5196;
}

body.dark-mode .investment-link.secondary-action:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

@media (max-width: 768px) {
    .investment-actions {
        gap: 8px;
    }
    
    .investment-link {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .investment-link i {
        font-size: 16px;
    }
}

.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%231d5196" fill-opacity="0.03" d="M0,0 L100,0 L100,100 L0,100 Z"/></svg>');
    background-size: cover;
    z-index: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-info-side {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info-side::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1d5196, #2c6cb0);
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-info-header i {
    font-size: 24px;
    color: #1d5196;
    background: rgba(29, 81, 150, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.contact-info-header h3 {
    font-size: 24px;
    color: #1d5196;
    margin: 0;
}

.contact-info-content {
    display: grid;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(29, 81, 150, 0.03);
}

.info-item:hover {
    background: rgba(29, 81, 150, 0.08);
    transform: translateX(5px);
}

.info-item i {
    font-size: 20px;
    color: #1d5196;
    margin-top: 5px;
}

.info-details h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 5px 0;
}

.info-details p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-3px);
}

.contact-form-side {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #1d5196;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(29, 81, 150, 0.1);
    outline: none;
}

.submit-btn {
    background: linear-gradient(135deg, #1d5196, #2c6cb0);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(29, 81, 150, 0.3);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(-5px);
}

/* Dark Mode Styles */
body.dark-mode .contact-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body.dark-mode .contact-info-side,
body.dark-mode .contact-form-side {
    background: #2d2d2d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.dark-mode .info-item {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .info-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: #1a1a1a;
    border-color: #404040;
    color: #fff;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
body.dark-mode .form-group select:focus {
    background: #2d2d2d;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info-side,
    .contact-form-side {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .contact-info-header h3 {
        font-size: 20px;
    }
    
    .info-item {
        padding: 12px;
    }
    
    .submit-btn {
        padding: 12px 25px;
    }
}

.form-group {
    position: relative;
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
    border-color: #ff4444;
}

.error-message {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 5px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.char-counter {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.85rem;
    color: #666;
    pointer-events: none;
}

.form-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease;
    transition: opacity 0.3s ease;
}

.form-message.success {
    background-color: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.2);
}

.form-message.error {
    background-color: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.form-message i {
    font-size: 1.2rem;
}

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

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

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

.submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* تحسينات إضافية للحقول */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #1d5196;
    box-shadow: 0 0 0 3px rgba(29, 81, 150, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    transition: color 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #bbb;
}

/* تحسين مظهر القائمة المنسدلة */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-6-6h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 35px;
}

/* Dark Mode Styles */
body.dark-mode .char-counter {
    color: #999;
}

body.dark-mode .form-message.success {
    background-color: rgba(46, 213, 115, 0.05);
    border-color: rgba(46, 213, 115, 0.1);
}

body.dark-mode .form-message.error {
    background-color: rgba(255, 68, 68, 0.05);
    border-color: rgba(255, 68, 68, 0.1);
}

body.dark-mode .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-6-6h12z'/%3E%3C/svg%3E");
}

.contact-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0056b3, #00a0ff, #0056b3);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

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

.contact-info h3 {
    color: #0056b3;
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-right: 20px;
    display: inline-block;
}

.contact-info h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: #0056b3;
    border-radius: 2px;
}

.contact-info ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0;
    margin: 0;
}

.contact-info ul li {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.contact-info ul li:hover::before {
    transform: translateX(100%);
}

.contact-info ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.contact-info ul li i {
    font-size: 1.8rem;
    color: #0056b3;
    margin-left: 20px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-info ul li:hover i {
    transform: scale(1.2) rotate(360deg);
    background: #0056b3;
    color: white;
}

.contact-info ul li span {
    font-size: 1.1rem;
    color: #333;
    transition: all 0.3s ease;
}

.contact-info ul li:hover span {
    color: #0056b3;
    transform: scale(1.05);
}

/* تنسيقات أيقونات التواصل الاجتماعي */
.social-links {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links h3 {
    color: #0056b3;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.social-links h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0056b3, transparent);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0056b3, #00a0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.social-icon:hover::before {
    transform: translateX(100%);
}

.social-icon:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* تنسيقات الوضع المظلم */
body.dark-mode .contact-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

body.dark-mode .contact-info h3,
body.dark-mode .social-links h3 {
    color: #66b0ff;
}

body.dark-mode .contact-info ul li {
    background: rgba(255, 255, 255, 0.02);
}

body.dark-mode .contact-info ul li span {
    color: #fff;
}

body.dark-mode .contact-info ul li i {
    color: #66b0ff;
    background: rgba(102, 176, 255, 0.1);
}

body.dark-mode .contact-info ul li:hover i {
    background: #66b0ff;
    color: #1a1a1a;
}

body.dark-mode .social-icon {
    background: linear-gradient(135deg, #003366, #0056b3);
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .contact-info {
        padding: 20px;
    }

    .contact-info ul {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info ul li {
        padding: 15px;
    }

    .contact-info ul li i {
        width: 35px;
        height: 35px;
        font-size: 1.4rem;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* قسم الخريطة */
.map-section {
    padding: 4rem 0;
    background: #f8f9fa;
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
    z-index: 0;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-5px);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .map-container {
        padding: 0 1rem;
    }
    
    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-wrapper {
        height: 300px;
    }
}

body.dark-mode .map-section {
    background: #1a1a1a;
}

body.dark-mode .map-section::before {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(74, 144, 226, 0.1) 100%);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1d5196 50%, rgba(248,249,250,0.95) 100%);
    color: #fff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(74, 144, 226, 0.1) 100%);
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.footer-logo {
    width: 150px;
    height: auto;
}

.footer-logo img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

.footer-title {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1.1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}

.footer-column:hover .footer-heading::after {
    width: 100%;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #4a90e2;
    transform: translateX(-5px);
}

.footer-links li a i {
    font-size: 1.1rem;
    color: #4a90e2;
}

.footer-contact {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li i {
    font-size: 1.1rem;
    color: #4a90e2;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Dark Mode Footer Styles */
body.dark-mode .footer {
    background: #1a1a1a;
}

body.dark-mode .footer::before {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(74, 144, 226, 0.1) 100%);
}

/* Responsive Footer Styles */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-logo {
        width: 120px;
    }

    .footer-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .footer {
        background: linear-gradient(to bottom, #ffffff 0%, #ffffff 1%, #1d5196 80%, #1d5196 100%);
    }
    
    .footer-logo {
        margin-bottom: 15px;
    }
    
    .footer-title, 
    .footer-description {
        color: #1d5196;
    }
    
    .footer-bottom {
        background-color: #1d5196;
    }
    
    .footer-copyright p {
        color: #ffffff;
    }
}

.footer-links li a i,
.footer-contact li i,
.footer-heading::after,
.footer-column:hover .footer-heading::after {
    color: #ffffff;
}

.footer-description {
    color: #ffffff;
}

.social-icon {
    color: #ffffff;
    font-size: 24px;
    margin: 0 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #ffffff;
    transform: none;
}

.contact-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1d5196;
}

body.dark-mode .contact-link {
    color: #ffffff;
}

body.dark-mode .contact-link:hover {
    color: #1d5196;
}













.close-contact-btn {
    position: absolute;
    top: 50px;
    right: 20px;
    background: #1d5196;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.close-contact-btn:hover {
    background: #e9ecef;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.close-contact-btn i {
    font-size: 18px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.close-contact-btn:hover i {
    color: #1d5196;
    transform: scale(1.2);
}

.social-link {
    color: #1d5196;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #0d3a7a;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Social icons in contact modal */
.social-icon {
    width: 45px;
    height: 45px;
    background: #1d5196 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    box-shadow: none;
}

.social-icon:hover {
    background: #0d3a7a !important;
    color: white !important;
    transform: translateY(-3px);
    text-decoration: none;
}

body.dark-mode .social-icon {
    background: #3a73b8 !important;
    color: #fff !important;
}

body.dark-mode .social-icon:hover {
    background: #4dabf7 !important;
    color: #fff !important;
}

/* Scroll to Top Button Styles */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1d5196;
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #1d5196;
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: translateY(3px);
}

/* Footer Alignment for English Version */
html[lang="en"] .footer-heading::after {
    left: 0;
    right: auto;
}

html[lang="en"] .footer-links li a {
    direction: ltr;
    text-align: left;
    flex-direction: row;
}

html[lang="en"] .footer-links li a i {
    margin-right: 8px;
    margin-left: 0;
}

html[lang="en"] .footer-contact li {
    direction: ltr;
    text-align: left;
}

html[lang="en"] .footer-contact li i {
    margin-right: 8px;
    margin-left: 0;
}

/* About Us Heading Alignment for English Version */
html[lang="en"] .about-text h2::after {
    left: 0;
    right: auto;
}





