/* CSS Variables for Easy Color Management */
:root {
    --primary-color: #1a3a5f;
    --secondary-color: #2c5282;
    --accent-color: #f39c12;
    --dark-gray: #2d3748;
    --light-gray: #f7fafc;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #1a202c;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #e67e22);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #63b3ed;
    --secondary-color: #4299e1;
    --accent-color: #f6ad55;
    --dark-gray: #171923;
    --light-gray: #2d3748;
    --text-dark: #f7fafc;
    --text-light: #a0aec0;
    --white: #ffffff;
    --bg-light: #1a202c;
    --bg-dark: #171923;
    --card-bg: #2d3748;
    --card-border: #4a5568;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Cairo', sans-serif;
            scroll-behavior: smooth;
    font-size: 1.2rem; /* خط العامري يبدو أفضل عندما يكون أكبر قليلاً من الخطوط العادية */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    transition: var(--transition-base);
}

html {
    scroll-behavior: smooth;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 58, 95, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.navbar {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white) !important;
    text-decoration: none;
    transition: var(--transition-base);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.logo {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: var(--transition-base);
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-base);
    transform: translateX(50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide .container {
    width: 100%;
    max-width: 100%;
}

/* Carousel Controls Container */
.carousel-controls-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 10;
}

.carousel-control-prev,
.carousel-control-next {
    position: static;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transform: scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-image: none;
}

.carousel-control-prev-icon::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 18px;
}

.carousel-control-next-icon::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 18px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*  */
.glass-card {
    /* تأثير الخلفية الشفافة المضببة */
    background: rgb(255 244 244 / 8%);/* لون أبيض شفاف جداً */
    backdrop-filter: blur(2px); /* تضبيب ما خلف الكرت (نفس الصورة) */
    -webkit-backdrop-filter: blur(2px);
    
    /* الحواف (Border) كما في الصورة */
    border: 2px solid rgba(255, 255, 255, 0.4); /* حواف بيضاء شبه شفافة */
    border-radius: 25px; /* زوايا منحنية ناعمة */
    
    /* الظل الخارجي والداخلي لإعطاء عمق */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    /* تنسيقات المحتوى الداخلي */
    padding: 25px;
    text-align: center;
    max-width: 100%;
}
/* تنسيق النصوص داخل الكرت ليظهر بوضوح */
.hero-title {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* ظل خفيف للنص لزيادة الوضوح */
}

.hero-subtitle {
    color: #f8f9fa;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* تحسين الأزرار لتتناسب مع التصميم الزجاجي */
.btn-outline-light {
    backdrop-filter: blur(5px);
    border-width: 2px;
}

/*  */

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeIn 1.5s ease-out;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInUp 1.5s ease-out;
}

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

.btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-base);
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-color);
}

.btn-outline-light {
    color: var(--white);
    border-color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

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

/* Services Section */
.services {
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card.featured {
    border: 2px solid var(--accent-color);
}

.service-ribbon {
    position: absolute;
    top: 15px;
    left: -30px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(-45deg);
    z-index: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

/* Projects Section */
.projects {
    background: var(--light-gray);
}

.project-card {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

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

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 58, 95, 0.9), rgba(26, 58, 95, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    color: var(--white);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: var(--transition-base);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 58, 95, 0.25);
    outline: none;
}

/* Footer */
/* CSS FOOTER */
/* حاوية الخريطة الأساسية */
.footer-map-container {
    perspective: 1000px; /* لإعطاء عمق بصري */
}

.map-wrapper {
    position: relative;
    border-radius: 15px; /* حواف ناعمة جداً */
    border: 1px solid rgba(255, 255, 255, 0.1); /* إطار خفيف جداً */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* تأثير الخريطة قبل التفاعل */
.google-map-iframe {
    border: 0;
    filter: grayscale(100%) contrast(1.1) brightness(0.8); /* نمط هندسي غامق */
    transition: all 0.6s ease;
}

/* طبقة الشفافية العلوية (Overlay) */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 91, 0.2); /* لون أشتات الأزرق بتركيز خفيف */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none; /* لتمرير النقرات للخريطة */
    transition: opacity 0.4s ease;
}

.overlay-text {
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.3); /* لمسة ذهبية خفيفة */
    opacity: 0.8;
}

/* التفاعل عند تمرير الماوس (Hover Effects) */
.map-wrapper:hover {
    transform: translateY(-5px); /* رفع الخريطة قليلاً */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.map-wrapper:hover .google-map-iframe {
    filter: grayscale(0%) contrast(1) brightness(1); /* عودة الألوان الطبيعية */
}

.map-wrapper:hover .map-overlay {
    opacity: 0; /* اختفاء طبقة الشفافية */
}

/* تحسين للجوال */
@media (max-width: 768px) {
    .google-map-iframe {
        filter: grayscale(0%); /* تظهر الألوان فوراً في الجوال لسهولة القراءة */
    }
    .map-overlay {
        display: none;
    }
}

/* CSS */

.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer h3,
.footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-base);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
    display: inline-block;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

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

.footer-contact ul li i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
}

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

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary-color);
    z-index: 2000;
    transition: var(--transition-base);
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-nav {
    list-style: none;
    padding: 0;
}

.mobile-menu-nav li {
    margin-bottom: 1rem;
}

.mobile-menu-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: var(--transition-base);
}

.mobile-menu-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .project-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

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

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid #c3e6cb;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideInUp 0.5s ease-out;
}

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid #f5c6cb;
    display: none;
}

.error-message.show {
    display: block;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Theme Toggle Button */
.theme-toggle {
    background: none !important;
    border: none !important;
    color: var(--white) !important;
    font-size: 1.2rem;
    padding: 0.5rem !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: rotate(180deg);
}

/* Activities Section */
.activities {
    background: var(--bg-light);
}

.activity-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.activity-card.featured {
    border: 2px solid var(--accent-color);
}

.activity-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.activity-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-left: 1rem;
    transition: var(--transition-base);
}

.activity-card:hover .activity-icon {
    transform: scale(1.1) rotate(5deg);
}

.activity-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

.activity-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.activity-highlight {
    color: var(--accent-color);
    font-weight: 600;
    padding: 0.75rem;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 10px;
    border-right: 4px solid var(--accent-color);
}

.activity-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.badge-success {
    background: #28a745;
    color: var(--white);
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.activity-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-right: 1.5rem;
}

.activity-list li::before {
    content: '>';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.activity-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.maintenance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(26, 58, 95, 0.05);
    border-radius: 10px;
    transition: var(--transition-base);
}

.maintenance-item:hover {
    background: rgba(26, 58, 95, 0.1);
    transform: translateY(-3px);
}

.maintenance-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.maintenance-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Dark Mode for Sections */
[data-theme="dark"] .service-card,
[data-theme="dark"] .activity-card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .contact-form {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme="dark"] .projects {
    background: var(--bg-dark);
}

[data-theme="dark"] .form-control {
    background: var(--bg-dark);
    border-color: var(--card-border);
    color: var(--text-dark);
}

[data-theme="dark"] .form-control:focus {
    background: var(--bg-dark);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

[data-theme="dark"] .footer {
    background: var(--bg-dark);
}

/* Dark Mode Header */
[data-theme="dark"] .header {
    background: rgba(23, 25, 35, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dark Mode Text Titles */
[data-theme="dark"] .section-title,
[data-theme="dark"] .activity-title,
[data-theme="dark"] .value-title,
[data-theme="dark"] .why-choose-title,
[data-theme="dark"] .team-name,
[data-theme="dark"] .overview-content .section-title {
    color: var(--primary-color);
}

[data-theme="dark"] .why-choose-text,
[data-theme="dark"] .overview-text,
[data-theme="dark"] .value-description,
[data-theme="dark"] .activity-content p {
    color: var(--text-light);
}

[data-theme="dark"] .stat-number {
    color: var(--accent-color);
}

[data-theme="dark"] .activity-list li,
[data-theme="dark"] .why-choose-features li {
    color: var(--text-light);
}

[data-theme="dark"] .footer-about p,
[data-theme="dark"] .footer-links ul li a,
[data-theme="dark"] .footer-contact ul li {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .section-subtitle {
    color: var(--text-light);
}

[data-theme="dark"] .hero-subtitle {
    color: #e2e8f0;
}

[data-theme="dark"] .overview-stats .stat-label {
    color: var(--text-light);
}

/* Page Hero Section */
.page-hero {
    min-height: 60vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.page-hero-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-hero-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.page-hero-breadcrumb .breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
    
}

.page-hero-breadcrumb .breadcrumb-item.active {
    color: var(--accent-color);
}

/* Company Overview Section */
.company-overview {
    background: var(--bg-light);
}

.overview-content .section-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.overview-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.overview-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.overview-stats .stat-item {
    text-align: center;
}

.overview-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

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

/* Core Values Section */
.value-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition-base);
}

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

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

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-base);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.value-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose {
    background: var(--bg-light);
}

.why-choose-item {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.why-choose-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.why-choose-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.why-choose-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.why-choose-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-choose-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.why-choose-features li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    min-width: 20px;
}

.why-choose-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* Team Section */
.team-member {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

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

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-base);
}

.team-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

/* Dark Mode for About Page */
[data-theme="dark"] .page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

[data-theme="dark"] .value-card,
[data-theme="dark"] .why-choose-item,
[data-theme="dark"] .team-member {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, var(--primary-color), #2d4152);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .page-hero-title {
        font-size: 2rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
    
    .overview-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .why-choose-item {
        padding: 2rem;
    }
    
    .why-choose-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* ايقونة واتس + اتصال + ايميل عمودي */

.side-contact-bar {
    position: fixed;
    right: 20px; /* المسافة من اليمين */
    top: 60%; /* لتوسيطها عمودياً */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px; /* المسافة بين الأيقونات */
    z-index: 9999; /* لضمان ظهورها فوق كل شيء */
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ألوان الأيقونات */
.whatsapp { background-color: #25d366; }
.phone { background-color: #007bff; }
.email { background-color: #ea4335; }

/* تأثير عند مرور الماوس */
.contact-icon:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* إزاحة بسيطة في الجوال لكي لا تغطي المحتوى */
@media (max-width: 768px) {
    .side-contact-bar {
        right: 10px;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/*صنع بواصطة*/
/* الحاوية الأساسية */
.made-with-love-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px; /* مسافة أمان للجوانب في الجوال */
    box-sizing: border-box;
}

/* الرابط وتنسيقه */
.footer-link {
    display: flex;
    flex-wrap: wrap; /* سر النجاح في الجوال: السماح للنص بالانتقال لسطر جديد */
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #6b7280;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

/* تنسيق القلب البرتقالي المتحرك */
.orange-heart {
    display: inline-block;
    color: #e67e22;
    font-size: 1.2rem;
    animation: heartPulse 1.5s infinite;
    /* لإصلاح لون القلب في بعض المتصفحات وجعله يميل للبرتقالي */
    filter: sepia(1) saturate(5) hue-rotate(15deg);
}

/* اسم الكاتب */
.author-name {
    color: #e67e22;
    font-weight: bold;
    white-space: nowrap; /* لضمان عدم انقسام اسمك لسطرين */
}

/* تأثير النبض */
@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* تعديلات خاصة بالشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .footer-link {
        font-size: 13px; /* تصغير الخط قليلاً ليناسب الشاشة */
        gap: 4px;
    }
    .orange-heart {
        font-size: 1rem;
    }
}
