/* إصلاح مشكلة overflow على الجوال */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* تحسينات عامة للجوال */
@media (max-width: 768px) {
    /* تحسين حجم الخطوط */
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    /* تحسين الهيدر */
    .header-inner {
        padding: 10px 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* تحسين السلايدر */
    .hero-slider {
        min-height: 400px;
        max-height: 500px;
        margin-top: 70px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    /* تحسين عرض المشاريع */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    /* تحسين نموذج الاتصال */
    .contact-content {
        flex-direction: column;
    }
    
    /* تحسين حجم الأزرار */
    .btn {
        padding: 8px 20px;
    }
    
    .btn-large {
        padding: 10px 25px;
    }
}


/* إصلاح صور شركاء OWL Carousel */
.logo-slider-1 .item img {
    max-width: 100%;
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.iphone-chrome html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  position: relative;
}

.iphone-chrome body,
.iphone-chrome * {
  box-sizing: border-box;
}

.iphone-chrome body {
    max-width: 100vw;
}

/* CSS Reset and Base Styles */
:root {
    --primary-color: #0e4948;
    --secondary-color: #4c837b;
    --accent-color: #c7a86f;
    --light-bg: #f8f5f0;
    --dark-text: #333333;
    --light-text: #777777;
    --white: #ffffff;
    --black: #000000;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Tajawal', 'Cairo', 'Noto Kufi Arabic', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--light-bg);
    direction: rtl;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: var(--light-text);
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0a3635;
    color: var(--white);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #b59762;
    color: var(--white);
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header Styles - Improved for mobile */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.sticky {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    font-weight: 600;
    color: var(--dark-text);
    transition: color 0.3s ease;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1000;
}

/* Hero Slider - Improved design and responsiveness */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
    margin-top: 80px;
    touch-action: pan-y;
    user-select: none;
}

.slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    color: var(--white);
    padding: 0 15px;
    pointer-events: auto;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--white);
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.slide-content .btn {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-control.prev {
    right: 30px;
}

.slider-control.next {
    left: 30px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicators .indicator.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(76, 131, 123, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 100vmax;
    padding: 5px 25px;
}

.project-details {
    padding: 20px;
}

.project-details h3 {
    margin-bottom: 10px;
}

/* Contact Section */
/* Contact Section - Updated */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23777' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-right: 15px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--light-text);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    right: 10px;
    font-size: 0.8rem;
    background-color: var(--white);
    padding: 0 5px;
    color: var(--secondary-color);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.contact-info {
    flex: 1;
}

.info-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(76, 131, 123, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-left: 15px;
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 10px;
}

.info-content p,
.info-content a {
    color: var(--light-text);
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-color);
}

/* Map Section */
.map-section {
    margin-bottom: -7px;
}

.map-section iframe {
    display: block;
    border: none;
    width: 100%;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    width: 100%;
}

.banner-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb-item {
    margin-left: 10px;
    position: relative;
}

.breadcrumb-item::after {
    content: '/';
    position: absolute;
    top: 0;
    left: -10px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item:first-child::after {
    display: none;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

/* Mission Section */
.mission-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.mission-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mission-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.mission-image:hover img {
    transform: scale(1.05);
}

.mission-text {
    flex: 1;
}

.mission-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--accent-color);
    margin-left: 10px;
}

/* Vision Section */
.vision-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.vision-text {
    flex: 1;
}

.vision-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vision-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.vision-image:hover img {
    transform: scale(1.05);
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(76, 131, 123, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.value-card h3 {
    margin-bottom: 15px;
}

/* Team Section */
.team-grid {
    display: flex;
    gap: 50px;
}

.team-card {
    flex: 2;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-image {
    height: 400px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-details {
    padding: 30px;
}

.team-details h3 {
    margin-bottom: 20px;
}

.team-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Call to Action */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.8);
}

/* Projects Filter */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 30px;
    font-weight: 600;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Project Meta */
.project-meta {
    display: block;
    gap: 15px;
    margin-bottom: 15px;
    padding-left: 10px;
}

.project-meta div {
    display: flex;
    align-items: center;
    color: var(--light-text);
}

.project-meta i {
    margin-left: 5px;
    color: var(--accent-color);
}

/* Project Meta 2 */
.project-meta-2 {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.project-meta-2 span {
    display: flex;
    align-items: center;
    color: var(--light-text);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.page-number,
.page-nav {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--dark-text);
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-number.active,
.page-number:hover,
.page-nav:hover:not(.disabled) {
    background-color: var(--primary-color);
    color: var(--white);
}

.page-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Project Details */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.project-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-location {
    display: flex;
    align-items: center;
    color: var(--light-text);
}

.project-location i {
    margin-left: 5px;
    color: var(--accent-color);
}

.project-content {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.project-gallery {
    flex: 2;
}

.main-slide {
    height: 500px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-slide img:hover {
    transform: scale(1.02);
}

.thumbnail-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 100px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-summary {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.project-meta {
    margin: 30px 0;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.meta-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(76, 131, 123, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-left: 15px;
    flex-shrink: 0;
}

.meta-item span {
    font-size: 0.9rem;
    color: var(--light-text);
}

.meta-item strong {
    display: block;
    color: var(--dark-text);
    font-weight: 600;
}

.project-cta {
    margin-top: 30px;
}

.whatsapp-btn {
    background-color: #25D366;
    margin-bottom: 15px;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

/* Project Tabs */
.project-tabs {
    margin-bottom: 50px;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    overflow-x: auto;
}

.tabs-nav li {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--light-text);
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.tabs-nav li::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.tabs-nav li.active,
.tabs-nav li:hover {
    color: var(--primary-color);
}

.tabs-nav li.active::after,
.tabs-nav li:hover::after {
    width: 100%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Specs Tabs */
.specs-tabs {
    margin-top: 30px;
}

.specs-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    overflow-x: auto;
}

.specs-nav li {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--light-text);
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.specs-nav li::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.specs-nav li.active,
.specs-nav li:hover {
    color: var(--primary-color);
}

.specs-nav li.active::after,
.specs-nav li:hover::after {
    width: 100%;
}

.specs-pane {
    display: none;
}

.specs-pane.active {
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th,
table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: var(--primary-color);
}

/* Location Features */
.location-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.location-features .feature {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-features .feature i {
    width: 40px;
    height: 40px;
    background-color: rgba(76, 131, 123, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-left: 15px;
    flex-shrink: 0;
}

/* FAQ Accordion */
.faq-accordion {
    margin-top: 30px;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-btn {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--white);
    border: none;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-btn::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.accordion-btn.active::after {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 20px;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 15px 0;
}

/* Related Projects */
.related-projects {
    padding-bottom: 80px;
}

/* Contact CTA */
.contact-cta {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.contact-cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    animation: slideUp 1s ease forwards;
}

/* Helper Classes */
.row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.col {
    flex: 1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-slider {
        min-height: 550px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .about-content,
    .mission-content,
    .vision-content,
    .contact-content,
    .project-content {
        flex-direction: column;
    }

    .about-image,
    .mission-image,
    .vision-image {
        order: -1;
    }

    .team-grid {
        flex-direction: column;
    }

    .hero-slider {
        min-height: 500px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 20px;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0;
    }

    .main-nav ul li {
        margin: 0 0 15px;
    }

    .header-cta {
        display: none;
    }

    .hero-slider {
        min-height: 450px;
        max-height: 600px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .features-grid,
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 60px 0;
    }

    .page-banner {
        height: 350px;
    }

    .banner-content h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .project-gallery,
    .project-summary {
        flex: 1 1 100%;
    }

    .project-content {
        flex-direction: column;
        gap: 30px;
    }

    .main-slide {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
    }

    .hero-slider {
        min-height: 400px;
        max-height: 500px;
        margin-top: 70px;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .projects-filter {
        flex-wrap: wrap;
    }

    .page-banner {
        height: 300px;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }

    .main-slide {
        height: 300px;
    }

    .thumbnail {
        width: 80px;
        height: 60px;
    }

    .team-image {
        height: 300px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .whatsapp-float {
        display: none !important;
    }

    body {
        padding: 20px;
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    a {
        text-decoration: underline;
    }

    .btn {
        display: none !important;
    }

    .page-banner {
        height: auto;
        margin-top: 0;
    }

    .banner-content h1 {
        color: var(--primary-color);
    }

    .page-banner::before {
        background-color: transparent;
    }
}

/* Add Project */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    font-size: 1.5rem;
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--success-color);
    color: white;
    padding: 20px 40px;
    border-radius: 5px;
    z-index: 10000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: none;
}

.project-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.image-preview-item {
    position: relative;
    width: 120px;
    height: 120px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.file-input-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
    padding: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.file-input-label:hover {
    border-color: #0e4948;
}

.spec-item {
    transition: all 0.3s ease;
}

.spec-item:hover {
    background-color: #f8fafc;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specs-container {
    margin-top: 30px;
}

.spec-item input {
    flex: 1;
}

.add-spec {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
}

#errorMessage {
    display: none;
    margin-bottom: 1.5rem;
    padding: 1rem;
    color: var(--white);
    background-color: hwb(354 21% 14% / 0.20);
    border-left: 4px solid var(--danger-color);
    border-radius: .5rem;
}

.edit-mode {
    outline: 2px dashed var(--accent-color) !important;
    padding: 5px;
    min-height: 20px;
}

/* أزرار التحكم */
.tabs-controls,
.faq-controls {
    margin-bottom: 15px;
    text-align: left;
}

/* أزرار الحذف */
.delete-tab,
.delete-faq {
    background: transparent;
    border: none;
    color: #dc3545;
    margin-right: 8px;
    cursor: pointer;
}

.delete-tab:hover,
.delete-faq:hover {
    color: #a71d2a;
}

/* وضع التعديل */
.edit-mode {
    outline: 2px dashed #4CAF50;
    background-color: #f8f9fa;
}

/* التبويبات */
.tabs-nav li {
    position: relative;
    padding-right: 30px;
}

.tabs-nav .delete-tab {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

/* الأسئلة الشائعة */
.accordion-item {
    position: relative;
}

.delete-faq {
    position: absolute;
    left: 15px;
    bottom: 15px;
    padding: 3px 8px;
    font-size: 12px;
}

.partners-swiper {
    position: relative;
    padding: 20px 0;
}

.swiper-slide {
    text-align: center;
}

.swiper-slide img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.into_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-left: 10px;
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media screen and (max-width: 991px) {
    .special-grid {
        grid-template-columns: 1fr;
    }
}