/* CSS Reset وإعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ألوان هوية الشركة المحددة */
    --primary-color: #103862;
    --primary-dark: #0e3961;
    --primary-light: #497c9e;
    --secondary-color: #86c8e6;
    --neutral-light: #c7cacb;
    
    /* ألوان إضافية مكملة */
    --accent-color: #2d6187;
    --accent-light: #5d8bb0;
    --neutral-dark: #1a2b3c;
    --neutral-medium: #4a5f73;
    --neutral-gray: #8a9cad;
    --section-bg: #f0f6ff;
    --light-bg: #e8f2ff;
    --card-bg: #ffffff;
    --card-highlight: #f5faff;
    --accent-hover: #1e4a7a;
    --white: #ffffff;
    --off-white: #f8fbff;
    
    /* التدرجات المحدثة حسب الهوية الجديدة */
    --gradient-primary: linear-gradient(135deg, #103862 0%, #497c9e 100%);
    --gradient-primary-dark: linear-gradient(135deg, #0e3961 0%, #103862 100%);
    --gradient-secondary: linear-gradient(135deg, #86c8e6 0%, #a8d8f0 100%);
    --gradient-accent: linear-gradient(135deg, #2d6187 0%, #5d8bb0 100%);
    --gradient-neutral: linear-gradient(135deg, #f0f6ff 0%, #e8f2ff 100%);
    --gradient-light: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --shadow: 0 8px 24px rgba(16, 56, 98, 0.08);
    --shadow-hover: 0 15px 35px rgba(16, 56, 98, 0.12);
    --shadow-light: 0 4px 12px rgba(16, 56, 98, 0.05);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.7;
    color: var(--neutral-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
    animation: fadeIn 0.8s ease-out;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* تأثيرات التحميل */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }
.delay-9 { animation-delay: 0.9s; }
.delay-10 { animation-delay: 1.0s; }
.delay-11 { animation-delay: 1.1s; }
.delay-12 { animation-delay: 1.2s; }

/* الأزرار */
.btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 14px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
    right: auto;
    left: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-secondary::before {
    display: none;
}

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

/* Header Styles - مع لوجو رأسي كبير */
#mainHeader {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 10px 0;
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(16, 56, 98, 0.1);
}

#mainHeader.transparent {
    background-color: transparent;
    box-shadow: none;
}

#mainHeader.scrolled {
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(16, 56, 98, 0.15);
    padding: 8px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    height: 120px; /* ارتفاع مناسب للوجو الرأسي */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 120px;
    transition: var(--transition);
    object-fit: contain;
}

#mainHeader.scrolled .logo img {
    max-height: 100px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
    padding: 8px 0;
    position: relative;
    display: block;
}

#mainHeader.transparent nav ul li a {
    color: white;
}

#mainHeader.scrolled nav ul li a {
    color: var(--neutral-dark);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a.active {
    color: var(--secondary-color);
}

nav ul li a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle - أيقونة في اليسار */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--neutral-dark);
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#mainHeader.transparent .menu-toggle {
    color: white;
}

/* Mobile Menu جديد - يفتح بكامل الشاشة */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1400;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100%;
    background: var(--neutral-dark);
    z-index: 1401;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    padding: 80px 30px 30px;
    overflow-y: auto;
}

.mobile-menu-content.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 1;
}

.mobile-menu-nav {
    margin-top: 12px;
}

.mobile-menu-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav ul li {
    width: 100%;
    margin-bottom: 0;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s ease;
}

.mobile-menu-content.active .mobile-menu-nav ul li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-nav ul li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-nav ul li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-nav ul li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-nav ul li:nth-child(4) { transition-delay: 0.4s; }

.mobile-menu-nav ul li a,
.mobile-menu-nav ul li .nav-text-btn {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
    width: 100%;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: none;
    text-align: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-nav ul li a::after {
    display: none;
}

.mobile-menu-nav ul li a:hover,
.mobile-menu-nav ul li .nav-text-btn:hover {
    color: var(--secondary-color);
    padding-inline-start: 12px;
}

.mobile-menu-nav ul li a[aria-current="page"],
.mobile-menu-nav ul li a.active {
    color: var(--secondary-color);
}

.mobile-menu-contact {
    margin-top: 50px;
    text-align: center;
}

.mobile-menu-contact .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    background: var(--secondary-color);
    color: var(--neutral-dark);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 18px 30px;
}

.mobile-menu-contact .btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Hero Section مع فيديو واضح */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 56, 98, 0.2); /* إزالة التدرج الضبابي */
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
    color: white;
}

/* About Section محسن */
.about {
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--secondary-color);
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--neutral-medium);
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 500px;
    border: 1px solid rgba(134, 200, 230, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

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

/* Projects Section - سلايدر متحرك */
.projects {
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.projects-title {
    text-align: right;
    flex: 1;
}

.projects-title h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.projects-title h2::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -40px;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Swiper Projects Slider */
.projects-slider {
    width: 100%;
    height: auto;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.swiper-wrapper {
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.project-slide {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 450px;
    position: relative;
    border: 1px solid var(--card-highlight);
}

.project-slide:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.project-image {
    height: 300px;
    overflow: hidden;
}

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

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

.project-info {
    padding: 25px;
    position: relative;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.project-category {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Project Overlay Effect */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(16, 56, 98, 0) 0%, rgba(16, 56, 98, 0.9) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    pointer-events: none;
}

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

.project-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease-out 0.2s;
    color: white;
}

.project-slide:hover .project-overlay h4 {
    transform: translateY(0);
}

.project-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    transform: translateY(20px);
    transition: transform 0.4s ease-out 0.3s;
    color: rgba(255, 255, 255, 0.9);
}

.project-slide:hover .project-overlay p {
    transform: translateY(0);
}

.project-overlay .btn {
    margin-top: 15px;
    align-self: flex-start;
    transform: translateY(20px);
    transition: transform 0.4s ease-out 0.4s;
    background: var(--secondary-color);
    border: none;
}

.project-slide:hover .project-overlay .btn {
    transform: translateY(0);
}

/* Certifications Section محسن */
.certifications {
    background: var(--section-bg);
    color: var(--neutral-dark);
    position: relative;
    overflow: hidden;
}

.certifications .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: right;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 0;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    display: none;
}

.section-title .icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.certs-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cert-card-new {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--card-highlight);
}

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

.cert-card-new img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 20px;
    background: var(--card-bg);
    object-position: center;
}

/* Services Section */
.services {
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.services-content {
    display: flex;
    gap: 60px;
}

.services-list {
    flex: 1;
}

.services-title {
    margin-bottom: 40px;
}

.services-title h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.services-title h2::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -40px;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.service-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--card-highlight);
}

.service-item.active {
    box-shadow: var(--shadow);
    border-right: 4px solid var(--secondary-color);
}

.service-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    transition: var(--transition);
}

.service-item.active .service-header {
    background: var(--gradient-primary);
}

.service-header h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-item.active .service-header h3 {
    color: white;
}

.service-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-item.active .service-icon {
    color: white;
    transform: rotate(180deg);
}

.service-description {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 20px;
    background: var(--card-bg);
}

.service-item.active .service-description {
    max-height: none;
    height: auto;
    padding: 20px;
    border-top: 1px solid var(--card-highlight);
}

.service-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--neutral-medium);
}

.services-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 600px;
    position: relative;
    border: 1px solid rgba(134, 200, 230, 0.2);
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.services-image img.active {
    opacity: 1;
    z-index: 2;
}

.services-image:hover img.active {
    transform: scale(1.05);
}

/* تم حذف قسم Testimonials */

/* Partners Section - سلايدر لا نهائي */
.partners {
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.partners-slider {
    width: 100%;
    height: auto;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.partner-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--card-highlight);
}

.partner-slide:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.partner-slide img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-slide:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Footer جديد مع لوجو رأسي */
footer {
    background: var(--primary-dark);
    color: var(--section-bg);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
}

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

.footer-col h2,
.footer-col h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h2::after,
.footer-col h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    right: 0;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 120px;
    width: auto;
    margin-bottom: 25px;
    object-fit: contain;
}

.footer-logo p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap; /* تعديل: منع الالتفاف لتبقى في سطر واحد */
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0; /* منع التصغير */
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) scale(1.1);
    border-color: var(--secondary-color);
}

/* ضبط أيقونات التواصل للشاشات الصغيرة جداً */
@media (max-width: 576px) {
    .social-links {
        gap: 8px; /* تقليل المسافات */
    }
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .social-links {
        gap: 5px;
    }
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links ul li a i {
    margin-left: 10px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-right: 10px;
}

.footer-links ul li a:hover i {
    transform: translateX(-5px);
}

.contact-info {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--secondary-color);
    margin-left: 15px;
    margin-top: 5px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info div {
    flex: 1;
}

.contact-info div p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 5px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.copyright p {
    margin-bottom: 10px;
}

.copyright p:last-child {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.copyright a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.copyright a:hover {
    color: #a8d8f0;
    text-decoration: underline;
}

/* Styles for new pages */

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

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* About Page Styles */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--light-bg);
}

.about-hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.about-hero-text {
    flex: 1;
    padding: 40px;
}

.about-hero-text h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-hero-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--neutral-medium);
    margin-bottom: 30px;
}

.about-hero-image {
    flex: 1;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-sections {
    padding: 100px 0;
    background: var(--section-bg);
}

.section-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.section-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: var(--card-highlight);
    border-radius: 50%;
}

.section-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--neutral-medium);
}

/* CEO Message Section محسن */
.ceo-message {
    background: linear-gradient(135deg, rgba(16, 56, 98, 0.95) 0%, rgba(14, 57, 97, 0.95) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.ceo-message::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.9;
    z-index: 1;
}

.ceo-message .container {
    position: relative;
    z-index: 2;
}

.ceo-message h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white;
}

.ceo-message-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.ceo-message-content p {
    font-size: 1.3rem;
    line-height: 1.9;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.ceo-signature {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ceo-signature h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.ceo-signature p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* قسم خريطة الموقع والاتصال */
.contact-map-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-map-container {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.map-wrapper {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    min-height: 300px;
}

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

.contact-details-box {
    flex: 1;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary-color);
}

.contact-details-box h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.contact-details-box h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
}

.contact-details-list {
    margin-top: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(16, 56, 98, 0.1);
}

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

.contact-detail-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-left: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-detail-content h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-detail-content p {
    color: var(--neutral-medium);
    line-height: 1.6;
    margin-bottom: 5px;
}

.contact-detail-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.contact-detail-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Vision Mission Values */
.vmv-container {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.vmv-item {
    flex: 1;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary-color);
    transition: var(--transition);
    cursor: pointer;
}

.vmv-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.vmv-item h2,
.vmv-item h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vmv-item h2 i,
.vmv-item h3 i {
    color: var(--secondary-color);
    transition: var(--transition);
}

.vmv-item.active h2 i,
.vmv-item.active h3 i {
    transform: rotate(180deg);
}

.vmv-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.vmv-item.active .vmv-content {
    max-height: none;
    height: auto;
    margin-top: 20px;
}

.vmv-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--neutral-medium);
}

/* Organizational Chart */
.org-chart {
    padding: 100px 0;
    background: var(--section-bg);
}

.org-chart h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.org-chart-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.org-chart-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Projects Grid Page محسن */
.projects-grid {
    padding: 100px 0;
    background: var(--light-bg);
}

.projects-grid-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-grid-header h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.projects-grid-header p {
    font-size: 1.3rem;
    color: var(--neutral-medium);
    max-width: 700px;
    margin: 0 auto;
}

.projects-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--card-highlight);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

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

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

.project-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-content h2,
.project-card-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(16, 56, 98, 0.1);
}

.project-category {
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-location {
    color: var(--neutral-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.project-location i {
    margin-left: 5px;
    color: var(--secondary-color);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 56, 98, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-card-overlay .btn {
    transform: translateY(20px);
    transition: transform 0.4s ease-out;
}

.project-card:hover .project-card-overlay .btn {
    transform: translateY(0);
}

/* Services Page محسن */
.services-page {
    padding: 100px 0;
    background: var(--light-bg);
}

.services-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-page-header h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.services-page-header p {
    font-size: 1.3rem;
    color: var(--neutral-medium);
    max-width: 700px;
    margin: 0 auto;
}

.services-page-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.services-page-list {
    flex: 1;
}

.service-page-item {
    margin-bottom: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--card-highlight);
    transition: var(--transition);
}

.service-page-item.active {
    box-shadow: var(--shadow);
    border-right: 4px solid var(--secondary-color);
}

.service-page-header {
    padding: 25px;
    cursor: pointer;
    background: var(--card-bg);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-page-item.active .service-page-header {
    background: var(--gradient-primary);
}

.service-page-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    margin: 0;
}

.service-page-item.active .service-page-header h3 {
    color: white;
}

.service-page-header i {
    color: var(--primary-color);
    transition: var(--transition);
}

.service-page-item.active .service-page-header i {
    color: white;
    transform: rotate(180deg);
}

.service-page-description {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.service-page-item.active .service-page-description {
    max-height: none;
    height: auto;
    padding: 0 25px 25px;
}

.service-page-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--neutral-medium);
    margin-bottom: 15px;
}

.services-page-image {
    flex: 1;
    position: sticky;
    top: 100px;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.services-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.services-page-image:hover img {
    transform: scale(1.05);
}

/* Project Details Page محسن */
.project-details-hero {
    position: relative;
    height: auto;
    min-height: 70vh;
    max-height: 80vh;
    display: flex;
    align-items: flex-end;
    color: white;
    overflow: hidden;
    padding-bottom: 80px;
}

.project-details-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.project-details-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.project-details-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.project-details-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.project-details-content {
    padding: 100px 0;
    background: var(--light-bg);
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.project-description {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 50px;
    box-shadow: var(--shadow);
}

.project-description h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.project-description h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
}

.project-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--neutral-medium);
    margin-bottom: 30px;
}

.project-description .more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.project-description .more-content.show {
    max-height: 1000px;
}

.toggle-content-btn {
    background: var(--secondary-color);
    color: var(--neutral-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.toggle-content-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

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

.toggle-content-btn.show i {
    transform: rotate(180deg);
}

/* Lightbox Gallery */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.lightbox-nav button:hover {
    background: var(--secondary-color);
    color: var(--neutral-dark);
    transform: scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* معرض الصور محسن */
.gallery-section {
    padding: 100px 0;
    background: var(--section-bg);
}

.gallery-header {
    text-align: right;
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.gallery-header p {
    color: var(--neutral-medium);
    font-size: 1.2rem;
}

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

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: auto;
    min-height: 250px;
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 56, 98, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay i {
    background: var(--secondary-color);
    color: var(--neutral-dark);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .hero h1,
    .page-hero h1,
    .about-hero-text h1,
    .projects-grid-header h1,
    .services-page-header h1,
    .project-details-hero-content h1 {
        font-size: 3rem;
    }
    
    .projects-title h2,
    .services-title h2 {
        font-size: 3rem;
    }
    
    .contact-map-container {
        flex-direction: column;
    }
    
    .map-wrapper,
    .contact-details-box {
        width: 100%;
    }
    
    .services-page-image {
        position: static;
    }
}

@media (max-width: 992px) {
    .about-content,
    .services-content,
    .about-hero-content,
    .services-page-content,
    .project-details-grid,
    .vmv-container {
        flex-direction: column;
    }
    
    .about-image,
    .services-image,
    .about-hero-image,
    .services-page-image {
        width: 100%;
        height: 400px;
    }
    
    .services-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .hero h1,
    .page-hero h1,
    .about-hero-text h1,
    .projects-grid-header h1,
    .services-page-header h1,
    .project-details-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero p,
    .page-hero p,
    .about-hero-text p {
        font-size: 1.2rem;
    }
    
    .services-page-image {
        position: static;
        height: 400px;
        margin-top: 40px;
    }
    
    .projects-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .services-page-content {
        flex-direction: column;
    }
    
    .services-page-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .project-details-grid {
        grid-template-columns: 1fr;
    }
    
    .vmv-container {
        flex-direction: column;
    }
    
    .logo {
        height: 100px;
    }
    
    .footer-logo img {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .header-container {
        justify-content: space-between;
        position: relative;
    }

    .header-start {
        gap: 0;
    }

    .header-login,
    #mainHeader nav {
        display: none;
    }

    .logo {
        height: 80px;
        width: auto;
        justify-content: flex-start;
    }

    .logo img {
        max-height: 80px;
    }

    .logo a {
        justify-content: flex-start;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lang-switch-bar {
        display: none;
    }
    
    #mainHeader nav.active {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    #mainHeader.transparent nav ul {
        background: var(--card-bg);
    }
    
    nav ul li a {
        color: var(--neutral-dark);
        font-size: 1.2rem;
    }
    
    #mainHeader.transparent nav ul li a {
        color: var(--neutral-dark);
    }
    
    .hero h1,
    .page-hero h1,
    .about-hero-text h1,
    .projects-grid-header h1,
    .services-page-header h1,
    .project-details-hero-content h1 {
        font-size: 2rem;
    }
    
    .hero p,
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .about-text h2,
    .projects-title h2,
    .services-title h2 {
        font-size: 2.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-card {
        padding: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-details-box,
    .project-info-card,
    .vmv-item,
    .service-page-header {
        padding: 20px;
    }
    
    .hero {
        height: 80vh;
    }
    
    .page-hero {
        min-height: 50vh;
    }
    
    .project-details-hero {
        min-height: 50vh;
        padding-bottom: 40px;
    }
    
    .project-details-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .footer-logo img {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .hero h1,
    .page-hero h1,
    .about-hero-text h1,
    .projects-grid-header h1,
    .services-page-header h1,
    .project-details-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero p,
    .page-hero p {
        font-size: 1rem;
    }
    
    .about-text,
    .section-card,
    .contact-details-box {
        padding: 30px 20px;
    }
    
    .projects-grid-container {
        grid-template-columns: 1fr;
    }
    
    .services-page-header p {
        font-size: 1.1rem;
    }
    
    /* تم نقل تنسيقات social-links إلى الأعلى */
    
    .certs-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cert-card-new img {
        height: 150px;
        padding: 15px;
    }
    
    .projects-slider,
    .partners-slider {
        height: auto;
    }
    
    .project-slide {
        height: 400px;
    }
    
    .project-image {
        height: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: auto;
        min-height: 200px;
    }
    
    .logo {
        height: 70px;
    }
    
    .logo img {
        max-height: 70px;
    }
    
    .footer-logo img {
        height: 70px;
    }
}

@media (max-width: 414px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .page-hero h1 {
        font-size: 1.7rem;
    }
    
    .about-text h2,
    .section-title h2 {
        font-size: 2rem;
    }
    
    .certs-grid-new {
        grid-template-columns: 1fr;
    }
    
    .projects-grid-container {
        gap: 20px;
    }
    
    .project-card-content {
        padding: 20px;
    }
    
    .project-card-content h2,
    .project-card-content h3 {
        font-size: 1.3rem;
    }
    
    .service-header h3,
    .service-page-header h3 {
        font-size: 1.2rem;
    }
    
    .logo {
        height: 60px;
    }
    
    .logo img {
        max-height: 60px;
    }
    
    .footer-logo img {
        height: 60px;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .about-text,
    .section-card {
        padding: 20px 15px;
    }
    
    .footer-col {
        padding: 0 10px;
    }
    
    .logo {
        height: 55px;
    }
    
    .logo img {
        max-height: 55px;
    }
    
    .footer-logo img {
        height: 55px;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .page-hero h1 {
        font-size: 1.5rem;
    }
    
    .about-text h2,
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .service-header,
    .service-page-header {
        padding: 15px;
    }
    
    .service-header h3,
    .service-page-header h3 {
        font-size: 1.1rem;
    }
    
    .projects-grid-container {
        grid-template-columns: 1fr;
    }
    
    .logo {
        height: 50px;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    .footer-logo img {
        height: 50px;
    }
}