/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* منع تجاوز العناصر حدود الصفحة */
html, body {
    width: 100%;
    overflow-x: hidden;
}

/* ضمان عدم تجاوز العناصر */
section, div, header, footer, nav {
    max-width: 100%;
    overflow-x: hidden;
}

/* منع تجاوز أي عنصر حدود الصفحة */
* {
    max-width: 100vw;
}

/* ضمان عدم تجاوز العناصر المهمة */
.container, .nav-container, .hero-container, .about-content, .contact-content, .footer-content {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* إخفاء جميع أشرطة التمرير في الموقع */
* {
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE 10+ */
}
*::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
}

html, body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    line-height: 1.6;
    color: var(--main-dark);
    direction: rtl;
    background: var(--main-bg);
    width: 100%;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none !important;
}

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

/* ألوان جديدة */
:root {
    --main-orange: #ff6600;
    --main-brown: #6b1a00;
    --main-bg: #fff9f5;
    --main-gray: #f8f9fa;
    --main-dark: #2c3e50;
    --main-gradient: linear-gradient(135deg, #ff6600 0%, #6b1a00 100%);
    --main-gradient-light: linear-gradient(135deg, #ffb380 0%, #fff9f5 100%);
}

/* Header Styles */
.header {
    /* position: fixed; */
    top: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 102, 0, 0.07);
    overflow-x: hidden;
    border-bottom: 2px solid #fff3e6;
    position: sticky;
}

.navbar {
    padding: 1.1rem 0 0.7rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: var(--main-orange);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--main-brown);
    font-weight: 600;
    font-size: 1.08rem;
    border-radius: 18px;
    padding: 0.3rem 1.1rem;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
    background: var(--main-orange);
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: var(--main-orange);
    transition: width 0.3s ease;
}

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

.admin-link {
    background: var(--main-gradient);
    color: #fff !important;
    border-radius: 25px;
    font-weight: 700;
    padding: 0.5rem 1.3rem;
    box-shadow: 0 2px 8px #ff660033;
}

.admin-link:hover {
    background: var(--main-brown);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--main-brown);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--main-gradient);
    color: #fff;
    padding-top: 90px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45vw;
    height: 80vh;
    background: url('IMG_٢٠٢٥٠٧٠٥_١٩٣٧٠٥.png') no-repeat left bottom;
    background-size: contain;
    opacity: 0.13;
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    display: none !important;
}
.hero > * {
    position: relative;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    text-align: right !important;
    align-items: flex-end !important;
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 1.1rem;
    color: #fff;
    text-shadow: 0 2px 12px #ff660055;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #fff9f5;
    margin-bottom: 2.2rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2.2rem;
    border: none;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    margin-left: 0.7rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px #ff660033;
}

.btn-primary {
    background: var(--main-gradient);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6600 10%, #a13c00 100%);
    color: #fff;
    box-shadow: 0 4px 16px #ff660033;
}

.btn-secondary {
    background: #fff;
    color: var(--main-orange);
    border: 2px solid var(--main-orange);
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: var(--main-orange);
    color: #fff;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-height: 350px;
    width: 100%;
    height: 100%;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: brightness(0.7) blur(0.5px);
    z-index: 1;
    pointer-events: none;
}

.hero-graphic {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
}
.hero-icon-img,
.hero-graphic i {
    width: 84px !important;
    height: 84px !important;
    color: #fff !important;
    fill: #fff !important;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    font-size: 84px !important;
    transition: filter 0.2s;
    filter: drop-shadow(0 2px 8px #fff3);
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: content-box;
}
.hero-graphic i:nth-child(2),
.hero-icon-img:nth-child(2) {
    animation-delay: 1s;
}
.hero-graphic i:nth-child(3),
.hero-icon-img:nth-child(3) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-slogan {
    font-size: 1.1rem;
    color: var(--main-brown);
    font-weight: 600;
    margin-bottom: 0.7rem;
    letter-spacing: 1px;
    text-shadow: 0 1px 0 #fff3e6;
}

.hero-sub-slogan {
    font-size: 1.05rem;
    color: var(--main-orange);
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--main-orange);
    letter-spacing: 1px;
    margin-bottom: 0.7rem;
}

.section-header p {
    color: #6B1A00;
    font-size: 1.13rem;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 2.5rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8f9fa;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2.2rem;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(255,102,0,0.07);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1.5px solid #f3e7e2;
    position: relative;
    margin-bottom: 1.5rem;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 12px 36px 0 rgba(255,102,0,0.13), 0 2px 8px #0001;
    border-color: #ff6600;
}
.service-icon {
    background: var(--main-gradient-light);
    color: var(--main-orange);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 2px 8px #ff660033;
}
.service-card h3 {
    font-size: 1.25rem;
    color: var(--main-brown);
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-align: center;
}
.service-card p {
    color: #7f8c8d;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
    text-align: center;
}
.service-actions-row {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
    justify-content: flex-start;
    margin-top: auto;
    width: 100%;
}
.know-more-btn,
.order-btn {
    text-decoration: none !important;
    border-bottom: none !important;
    border-radius: 18px;
    font-size: 1.05rem;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    margin-left: 0.5rem;
    margin-bottom: 0.3rem;
    background: var(--main-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px #ff660033;
    transition: background 0.2s, box-shadow 0.2s;
}
.know-more-btn:hover,
.order-btn:hover {
    text-decoration: none !important;
    border-bottom: none !important;
    background: linear-gradient(135deg, #ff6600 10%, #a13c00 100%);
    color: #fff;
    box-shadow: 0 4px 16px #ff660033;
}
.know-more-btn:active,
.order-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
@media (max-width: 900px) {
    .know-more-btn,
    .order-btn {
        padding: 0.6rem 1.5rem;
        font-size: 1.05rem;
    }
}
@media (max-width: 600px) {
    .know-more-btn,
    .order-btn {
        padding: 0.6rem 1.5rem;
        border-radius: 40px;
    }
}

/* About Section */
.about {
    padding: 5rem 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.about-content {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.about-text h2 {
    color: var(--main-orange);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.1rem;
}

.about-text p {
    color: #6b1a00;
    font-size: 1.13rem;
    margin-bottom: 1.2rem;
}

.vision-mission {
    display: flex;
    gap: 2.2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.vision, .mission {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(255,102,0,0.07);
    padding: 1.5rem 1.2rem;
    flex: 1 1 220px;
    min-width: 220px;
    border: 1.5px solid #f3e7e2;
    transition: box-shadow 0.2s, border 0.2s;
}

.vision:hover, .mission:hover {
    box-shadow: 0 8px 32px rgba(255,102,0,0.13);
    border-color: #ff6600;
}

.vision h3, .mission h3 {
    color: var(--main-orange);
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.vision p, .mission p {
    color: #6b1a00;
    font-size: 1.05rem;
}

.stats {
    display: flex;
    gap: 2.2rem;
    flex-wrap: wrap;
    margin-top: 2.2rem;
    justify-content: center;
}

.stat {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(255,102,0,0.07);
    padding: 1.5rem 1.2rem;
    min-width: 120px;
    text-align: center;
    border: 1.5px solid #f3e7e2;
    transition: box-shadow 0.2s, border 0.2s;
}

.stat h3 {
    color: var(--main-orange);
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.stat p {
    color: #6b1a00;
    font-size: 1.05rem;
}

.team-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    color: var(--main-orange);
    opacity: 0.3;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background: #f8f9fa;
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(44,62,80,0.13);
    transition: transform 0.28s cubic-bezier(.4,2,.6,1), box-shadow 0.28s, border 0.2s;
    position: relative;
    border: 1.5px solid #f3e7e2;
}
.portfolio-item::before {
    content: '';
    display: block;
    height: 7px;
    width: 100%;
    background: linear-gradient(90deg, #ff6600 0%, #6b1a00 100%);
    position: absolute;
    top: 0; left: 0; right: 0;
    border-radius: 22px 22px 0 0;
    z-index: 2;
}
.portfolio-item:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow: 0 16px 48px 0 rgba(255,102,0,0.13), 0 2px 8px #0001;
    border-color: #ff6600;
}
.portfolio-image {
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    position: relative;
}
.portfolio-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), filter 0.25s;
    filter: brightness(0.97) contrast(1.04);
}
.portfolio-item:hover .portfolio-image img {
    transform: scale(1.045) rotate(-1deg);
    filter: brightness(1.07) saturate(1.1);
}
.portfolio-info {
    padding: 1.3rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.portfolio-info h3 {
    font-size: 1.35rem;
    color: #ff6600;
    margin-bottom: 0.2rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.portfolio-info p {
    color: #6b1a00;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    font-weight: 500;
}
.portfolio-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, #ff6600cc 0%, #6b1a00cc 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: opacity 0.25s;
    z-index: 3;
    cursor: pointer;
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-overlay i {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    filter: drop-shadow(0 2px 8px #0005);
}
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .portfolio-image img {
        height: 180px;
    }
    .portfolio-info {
        padding: 1.1rem 1rem 1.2rem 1rem;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0 3rem 0;
    background: #fff9f5;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.section-header h2 {
    text-align: center;
    font-size: 2.3rem;
    color: var(--main-orange);
    margin-bottom: 0.7rem;
    font-weight: 800;
}
.section-header p {
    text-align: center;
    color: #6B1A00;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-content {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1 1 260px;
    min-width: 220px;
    max-width: 340px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.2rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(255,102,0,0.06);
    padding: 1.1rem 1.3rem;
}
.contact-item i {
    width: 48px;
    height: 48px;
    background: #fff3e6;
    color: var(--main-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 1px 6px rgba(255,102,0,0.08);
}
.contact-item h3 {
    color: var(--main-brown);
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
    font-weight: 700;
}
.contact-item p {
    color: #7f8c8d;
    font-size: 1rem;
}

.contact-form {
    background: #fff;
    padding: 2.5rem 2.5rem;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(255,102,0,0.10);
    min-width: 380px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}
.form-group {
    margin-bottom: 1.6rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    border: 2px solid #f3e7e2;
    border-radius: 13px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Cairo', sans-serif;
    background: #fff9f5;
    box-shadow: 0 1px 4px rgba(255,102,0,0.03);
    text-align: right;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--main-orange);
    box-shadow: 0 0 0 2px #ffe0b2;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-group select {
    color: var(--main-brown);
    background: #fff;
}
.form-group select:focus {
    border-color: var(--main-orange);
}

.btn.btn-primary {
    width: 100%;
    padding: 1.1rem 0;
    font-size: 1.1rem;
    border-radius: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 0.7rem;
}

@media (max-width: 900px) {
    .contact-content {
        flex-direction: column;
        gap: 2.2rem;
        align-items: stretch;
    }
    .contact-form, .contact-info {
        max-width: 100%;
        min-width: 0;
    }
}
@media (max-width: 600px) {
    .contact {
        padding: 2.5rem 0 1.5rem 0;
    }
    .contact-form {
        padding: 1.5rem 1rem;
        border-radius: 14px;
        min-width: 280px;
    }
    .contact-item {
        padding: 0.7rem 0.7rem;
        border-radius: 10px;
    }
    .contact-item i {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    .file-upload-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    .file-upload-btn i {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: var(--main-gradient);
    color: #fff;
    padding: 3.5rem 0 1.5rem 0;
    width: 100%;
    max-width: none !important;
    overflow: visible !important;
    position: relative;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -2px 24px #ff660033;
    margin-top: 3rem;
}

.footer::before {
    content: '';
    position: absolute;
    left: 2vw;
    bottom: 0;
    width: 40vw;
    height: 40vh;
    background: url('data:image/svg+xml;utf8,<svg width="600" height="600" viewBox="0 0 600 600" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 500 Q200 400 400 500 T600 500" stroke="%23fff" stroke-width="8" opacity="0.09" fill="none"/><circle cx="120" cy="420" r="38" fill="%23fff" opacity="0.06"/><circle cx="480" cy="540" r="22" fill="%23fff" opacity="0.07"/><circle cx="300" cy="480" r="16" fill="%23fff" opacity="0.05"/></svg>') no-repeat left bottom;
    background-size: cover;
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
}

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

.footer-section h3 {
    margin-bottom: 1.1rem;
    color: #fff;
    font-weight: 800;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #fff9f5;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #ffb380;
}

.footer-section .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.social-icon {
    background: var(--main-orange);
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 10px rgba(255,102,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.social-icon:hover {
    background: #fff;
    color: var(--main-orange) !important;
    box-shadow: 0 6px 24px rgba(255,102,0,0.18);
    transform: scale(1.13) translateY(-4px);
}

.social-icon i, .social-icon svg {
    color: #fff !important;
    width: 16px;
    height: 16px;
    display: block;
    transition: color 0.3s;
}

.social-icon:hover i, .social-icon:hover svg {
    color: var(--main-orange) !important;
}

.social-links a,
.social-links a:visited,
.social-links a:focus,
.social-links a:active {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #7f8c8d;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--main-orange);
}

/* Service Modal Specific Styles */
.service-description {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 2rem;
}

.service-features h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #7f8c8d;
    position: relative;
    padding-right: 1.5rem;
}

.service-features li::before {
    display: none !important;
}

.service-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    color: var(--main-brown);
}

.modal-actions {
    text-align: center;
}

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

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

/* القائمة الجانبية التقليدية */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        height: 100vh;
        max-height: 100vh;
        overflow-y: visible;
        gap: 1.2rem;
        padding: 1.2rem 0;
    }
    .nav-link {
        font-size: 1.05rem;
        padding: 0.5rem 0;
    }
    .hero-container {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
        align-items: center;
        gap: 1.5rem;
    }
    .hero-content {
        text-align: right;
        align-items: flex-end;
        width: 100%;
    }
    .hero-title, .hero-subtitle, .hero-buttons {
        text-align: right;
    }
    .hero-image {
        justify-content: center;
        align-items: center;
        margin-bottom: 2.2rem;
        min-height: unset;
        height: auto;
        width: 100%;
    }
    .hero-graphic {
        gap: 0.7rem;
        margin: 0 auto 0 auto;
        justify-content: center;
    }
    .hero-icon-img {
        width: 48px;
        height: 48px;
        margin: 0 0.4rem;
    }
    .vision-mission {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        align-items: stretch;
        margin-bottom: 2rem;
    }
    .vision, .mission {
        text-align: center;
        margin-bottom: 1.2rem;
        padding: 1.2rem 0.7rem;
    }
    .vision h3, .mission h3 {
        font-size: 1.15rem;
        margin-bottom: 0.7rem;
    }
    .vision p, .mission p {
        font-size: 1rem;
        line-height: 1.7;
    }
}
@media (min-width: 769px) {
    .hamburger { display: none !important; }
    .nav-menu {
        position: static;
        flex-direction: row;
        background: none;
        box-shadow: none;
        padding: 0;
        gap: 2rem;
        display: flex;
    }
}

/* تحسينات إضافية لمنع انحراف الصفحة */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .contact-form {
        min-width: 280px;
        max-width: 100%;
    }
    .hero-icon-img {
        width: 38px;
        height: 38px;
    }
    .hero-graphic {
        gap: 0.3rem;
    }
    .hero-image {
        margin-bottom: 1.2rem;
    }
}

/* ضمان عدم تجاوز أي عنصر حدود الصفحة */
img, video, iframe {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
    max-width: 100%;
    height: auto;
}

/* منع تجاوز النصوص */
p, h1, h2, h3, h4, h5, h6, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* إخفاء أشرطة التمرير في العناصر التي قد تستخدم overflow-x: auto أو overflow-y: auto */
.social-links, .container, .footer, .footer-content, .contact-content, .services, .about, .portfolio, .packages, .clients-marquee, .modal-content {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.social-links::-webkit-scrollbar,
.container::-webkit-scrollbar,
.footer::-webkit-scrollbar,
.footer-content::-webkit-scrollbar,
.contact-content::-webkit-scrollbar,
.services::-webkit-scrollbar,
.about::-webkit-scrollbar,
.portfolio::-webkit-scrollbar,
.packages::-webkit-scrollbar,
.clients-marquee::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    display: none !important;
}

/* قسم عملاؤنا الجديد */
.clients-new {
  background: #fff9f5;
  padding: 3rem 0 2rem 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
.logos-slider {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 180px;
  margin: 3rem 0 2rem 0;
  justify-content: center;
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1.2rem 0.5rem;
}
.logo-item {
  /* إضافة خصائص للاختبار */
  border: 1px solid #ddd;
  padding: 2px;
  background: #f9f9f9;
  border-radius: 50%;
  min-width: 160px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-item img {
  height: 160px;
  width: 160px;
  object-fit: cover;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(44,62,80,0.10);
  padding: 0;
  border: 1px solid #f3e7e2;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 120px;
  min-width: 120px;
  display: block;
  max-width: 180px;
  max-height: 180px;
}
.logo-item img:hover {
  box-shadow: 0 8px 32px rgba(255,102,0,0.18), 0 2px 12px rgba(44,62,80,0.13);
  transform: scale(1.07);
  border-color: var(--main-orange);
}
.slider-arrow {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--main-orange, #FF6600);
  font-size: 2.3rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(44,62,80,0.10);
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  margin: 0 1.2rem;
}
.slider-arrow:hover {
  background: var(--main-orange, #FF6600);
  color: #fff;
}
@media (max-width: 900px) {
  .logos-slider {
    min-height: 130px;
    margin: 1.2rem 0 0.7rem 0;
  }
  .logos-track {
    gap: 1.5rem;
    padding: 0.5rem 0.2rem;
  }
  .logo-item img {
    height: 140px;
    width: 140px;
    padding: 0;
    max-height: 140px;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    margin: 0 0.5rem;
  }
}
@media (max-width: 600px) {
  .logos-slider {
    min-height: 90px;
  }
  .logos-track {
    gap: 0.7rem;
    padding: 0.2rem 0.1rem;
  }
  .logo-item img {
    height: 100px;
    width: 100px;
    padding: 0;
    max-height: 100px;
  }
}

.logos-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logos-swiper img {
  max-width: 80px;
  max-height: 80px;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(44,62,80,0.09);
  background: #fff;
  padding: 10px;
  transition: transform 0.3s;
}
.logos-swiper img:hover {
  transform: scale(1.1) rotate(-2deg);
}
@media (max-width: 900px) {
  .logos-swiper img {
    max-width: 50px;
    max-height: 50px;
    padding: 6px;
  }
}
@media (max-width: 600px) {
  .logos-swiper img {
    max-width: 32px;
    max-height: 32px;
    padding: 3px;
  }
}

.clients-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 2.2rem;
  justify-items: center;
  align-items: center;
  margin: 2.5rem 0 1.5rem 0;
}
.clients-logos-grid .logo-item img {
  height: 80px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 18px rgba(44,62,80,0.10);
  padding: 0.7rem 1.2rem;
  border: 1.5px solid #f3e7e2;
  transition: box-shadow 0.2s, transform 0.2s;
}
.clients-logos-grid .logo-item img:hover {
  box-shadow: 0 8px 32px rgba(255,102,0,0.18), 0 2px 12px rgba(44,62,80,0.13);
  transform: scale(1.07);
  border-color: var(--main-orange);
}
@media (max-width: 900px) {
  .clients-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  .clients-logos-grid .logo-item img {
    height: 54px;
    padding: 0.4rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .clients-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
  .clients-logos-grid .logo-item img {
    height: 38px;
    padding: 0.2rem 0.3rem;
  }
}

/* ====== باقات احترافية ====== */
.packages {
    padding: 5rem 0 3rem 0;
    background: #fff9f5;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.package-card {
    background: linear-gradient(135deg, #ffe0c2 0%, #ffb877 100%);
    border: none;
    box-shadow: 0 4px 24px rgba(255,153,0,0.10);
    border-radius: 22px;
    margin-bottom: 2rem;
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    transition: box-shadow 0.25s, transform 0.25s;
}
.package-card:hover {
    box-shadow: 0 12px 36px rgba(44,62,80,0.13);
    transform: translateY(-8px) scale(1.025);
}
.package-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
    width: 100%;
}
.package-header h3 {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    text-align: right;
}
.package-header::before {
    content: '\f0a1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: block;
    font-size: 2.2rem;
    color: var(--main-orange);
    background: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.7rem auto;
    box-shadow: 0 2px 8px rgba(255,102,0,0.10);
}
.package-card.gold .package-header h3 {
    background: linear-gradient(90deg, #FFF7C0 60%, #FFD700 100%);
    color: #B8860B;
}
.package-card.gold .package-header::before {
    color: #B8860B;
    background: #FFF7C0;
}
.package-card.platinum .package-header h3 {
    background: linear-gradient(90deg, #e0e0e0 60%, #b3b3b3 100%);
    color: var(--main-brown);
}
.package-card.platinum .package-header::before {
    color: var(--main-brown);
    background: #e0e0e0;
}
.package-section {
    margin-bottom: 1.5rem;
}
.package-section-title {
    font-weight: 700;
    font-size: 1.08rem;
    margin-bottom: 0.8rem;
    display: inline-block;
    padding: 0.4rem 1.3rem;
    border-radius: 8px;
    background: #fff3e6;
    color: var(--main-orange);
    box-shadow: 0 1px 4px rgba(255,102,0,0.04);
    text-align: right;
}
.package-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.package-list li {
    position: relative;
    padding-right: 1.7em;
}
.package-list li::before {
    content: '●';
    position: absolute;
    right: 0.7em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
}
/* ألوان الرمز حسب الباقة */
.package-card.basic .package-list li::before {
    color: #ff9a3c;
}
.package-card.medium .package-list li::before {
    color: #b08a60;
}
.package-card.gold .package-list li::before {
    color: #f7c948;
}
.package-card.platinum .package-list li::before {
    color: #7a8ca3;
}
@media (max-width: 1100px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .package-card {
        max-width: 95vw;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}

.logo-footer {
    display: block;
    margin: 0 auto 1rem auto;
    width: 110px;
    max-width: 100%;
    height: auto;
}

.package-card.basic {
    background: linear-gradient(135deg, #ffe0c2 0%, #ffb877 100%);
    color: #7a4a13;
}
.package-card.medium {
    background: linear-gradient(135deg, #f5e6da 0%, #b08a60 100%);
    color: #5a3a1b;
}
.package-card.gold {
    background: linear-gradient(135deg, #fff7c0 0%, #ffe082 100%);
    color: #b8860b;
}
.package-card.platinum {
    background: linear-gradient(135deg, #f5f6fa 0%, #b3b3b3 100%);
    color: #444;
}

/* Package Actions */
.package-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 102, 0, 0.1);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.package-btn {
    background: var(--main-gradient);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
    border: none;
    cursor: pointer;
    min-width: 200px;
    height: 45px;
}

.package-btn:hover {
    background: var(--main-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
    color: white;
    text-decoration: none;
}

.package-btn i {
    font-size: 1.1rem;
    margin-left: 0.3rem;
    flex-shrink: 0;
}

.package-btn span {
    white-space: nowrap;
    text-align: center;
}

/* تعديل موضع الزر في الباقة الأساسية */
.basic-package-actions {
    margin-top: 3rem;
    padding-top: 2.5rem;
}

@media (max-width: 900px) {
    .package-actions {
        margin-top: 1.5rem;
        padding-top: 1rem;
        min-height: 55px;
    }
    
    .package-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        min-width: 180px;
        height: 42px;
    }
}

@media (max-width: 600px) {
    .package-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
        min-width: auto;
        height: 40px;
    }
}

/* ========== Navbar Responsive & Overlay ========== */
@media (max-width: 900px) {
  .nav-menu {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
    z-index: 2002;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0; right: 0; left: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    z-index: 2001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
  }
  .nav-overlay.active {
    display: flex !important;
  }
  .nav-overlay-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    align-items: center;
    justify-content: center;
    width: 100vw;
  }
  .nav-overlay-menu .nav-link {
    font-size: 1.4rem;
    color: var(--main-brown);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-overlay-menu .nav-link:hover {
    color: var(--main-orange);
  }
  .nav-overlay-close {
    position: absolute;
    top: 2.2rem;
    left: 2.2rem;
    font-size: 2.7rem;
    color: var(--main-orange);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2003;
    font-weight: bold;
    transition: color 0.2s;
  }
  .nav-overlay-close:hover {
    color: var(--main-brown);
  }
}
@media (min-width: 901px) {
  .nav-overlay {
    display: none !important;
  }
  .nav-menu {
    display: flex !important;
  }
  .hamburger {
    display: none !important;
  }
}

/* زر رفع الملفات العصري */
.modern-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.modern-upload input[type="file"] {
  display: none;
}
.modern-upload-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--main-gradient, linear-gradient(135deg, #ff6600 0%, #6b1a00 100%));
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #0001;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  outline: none;
}
.modern-upload-btn i {
  font-size: 1.5rem;
}
.modern-upload-btn:hover, .modern-upload-btn:focus {
  background: linear-gradient(135deg, #ff6600 10%, #a13c00 100%);
  color: #fff;
  box-shadow: 0 4px 16px #0002;
}
#file-upload-name {
  font-size: 1rem;
  color: #333;
  direction: ltr;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* حقل أخرى في من أين تعرفت علينا */
#referralOtherGroup {
  margin-top: -10px;
  transition: all 0.2s;
}
#referralOther {
  border: 1.5px solid #ff6600;
  border-radius: 18px;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  margin-top: 0.2rem;
  width: 100%;
  background: #fff9f5;
}
#referralOther:focus {
  border-color: #6b1a00;
  outline: none;
}

/* تحسين شامل لتصميم الموقع بالكامل */
body {
  background: var(--main-bg);
  font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
  color: var(--main-dark);
  line-height: 1.7;
  font-size: 1.08rem;
}
section {
  margin-bottom: 3.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.header {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(255,102,0,0.07);
  border-bottom: 2px solid #fff3e6;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.navbar {
  padding: 1.1rem 0 0.7rem 0;
}
.nav-logo h2 {
  color: var(--main-orange);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.nav-menu {
  gap: 2.2rem;
}
.nav-link {
  color: var(--main-brown);
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 18px;
  padding: 0.3rem 1.1rem;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover {
  background: var(--main-orange);
  color: #fff;
}
.admin-link {
  background: var(--main-gradient);
  color: #fff !important;
  border-radius: 25px;
  font-weight: 700;
  padding: 0.5rem 1.3rem;
  box-shadow: 0 2px 8px #ff660033;
}
.admin-link:hover {
  background: var(--main-brown);
}
.hamburger .bar {
  background: var(--main-brown);
}
.hero {
  min-height: 90vh;
  background: var(--main-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}
.hero-title {
  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 1.1rem;
  color: #fff;
  text-shadow: 0 2px 12px #ff660055;
}
.hero-subtitle {
  font-size: 1.3rem;
  color: #fff9f5;
  margin-bottom: 2.2rem;
  font-weight: 500;
}
.hero-buttons .btn {
  font-size: 1.1rem;
  border-radius: 22px;
  padding: 0.8rem 2.2rem;
  margin-left: 0.7rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px #ff660033;
  font-weight: 700;
}
.btn-primary {
  background: var(--main-gradient);
  color: #fff;
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #ff6600 10%, #a13c00 100%);
  color: #fff;
  box-shadow: 0 4px 16px #ff660033;
}
.btn-secondary {
  background: #fff;
  color: var(--main-orange);
  border: 2px solid var(--main-orange);
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover {
  background: var(--main-orange);
  color: #fff;
}
.section-header h2 {
  font-size: 2.4rem;
  color: var(--main-orange);
  font-weight: 900;
  margin-bottom: 0.7rem;
  text-align: center;
}
.section-header p {
  color: #6B1A00;
  font-size: 1.13rem;
  margin-bottom: 2.5rem;
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.2rem;
}
.service-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(255,102,0,0.07);
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1.5px solid #f3e7e2;
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 12px 36px 0 rgba(255,102,0,0.13), 0 2px 8px #0001;
  border-color: #ff6600;
}
.service-icon {
  background: var(--main-gradient-light);
  color: var(--main-orange);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 8px #ff660033;
}
.service-card h3 {
  font-size: 1.25rem;
  color: var(--main-brown);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: #7f8c8d;
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.know-more-btn, .order-btn {
  border-radius: 18px;
  font-size: 1.05rem;
  padding: 0.6rem 1.5rem;
  font-weight: 700;
  margin-left: 0.5rem;
  margin-bottom: 0.3rem;
  background: var(--main-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px #ff660033;
  transition: background 0.2s, box-shadow 0.2s;
}
.know-more-btn:hover, .order-btn:hover {
  background: linear-gradient(135deg, #ff6600 10%, #a13c00 100%);
  color: #fff;
  box-shadow: 0 4px 16px #ff660033;
}
.about-content {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.about-text h2 {
  color: var(--main-orange);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.1rem;
}
.about-text p {
  color: #6b1a00;
  font-size: 1.13rem;
  margin-bottom: 1.2rem;
}
.vision-mission {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.vision, .mission {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(255,102,0,0.07);
  padding: 1.5rem 1.2rem;
  flex: 1 1 220px;
  min-width: 220px;
  border: 1.5px solid #f3e7e2;
  transition: box-shadow 0.2s, border 0.2s;
}
.vision:hover, .mission:hover {
  box-shadow: 0 8px 32px rgba(255,102,0,0.13);
  border-color: #ff6600;
}
.vision h3, .mission h3 {
  color: var(--main-orange);
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.vision p, .mission p {
  color: #6b1a00;
  font-size: 1.05rem;
}
.stats {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  justify-content: center;
}
.stat {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(255,102,0,0.07);
  padding: 1.5rem 1.2rem;
  min-width: 120px;
  text-align: center;
  border: 1.5px solid #f3e7e2;
  transition: box-shadow 0.2s, border 0.2s;
}
.stat h3 {
  color: var(--main-orange);
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}
.stat p {
  color: #6b1a00;
  font-size: 1.05rem;
}
/* ... بقية الأقسام (portfolio/contact/footer...) تبقى كما في التحسينات السابقة ... */

/* تحسين الفوتر */
.footer {
  background: var(--main-gradient);
  color: #fff;
  padding: 3.5rem 0 1.5rem 0;
  width: 100%;
  max-width: none !important;
  overflow: visible !important;
  position: relative;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 24px #ff660033;
  margin-top: 3rem;
}
.footer-section h3 {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}
.footer-section ul li a {
  color: #fff9f5;
  font-size: 1.05rem;
  transition: color 0.2s;
}
.footer-section ul li a:hover {
  color: #ffb380;
}
.social-links .social-icon {
  background: var(--main-orange);
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-left: 0.5rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 10px rgba(255,102,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.social-links .social-icon:hover {
  background: #fff;
  color: var(--main-orange) !important;
  box-shadow: 0 6px 24px rgba(255,102,0,0.18);
  transform: scale(1.13) translateY(-4px);
}
.social-links .social-icon img {
  filter: brightness(1) grayscale(0) invert(0);
  transition: filter 0.2s;
}
.social-links .social-icon:hover img {
  filter: brightness(0) saturate(1) invert(47%) sepia(99%) saturate(7492%) hue-rotate(2deg) brightness(101%) contrast(101%);
}
.footer-bottom {
  text-align: center;
  color: #fff9f5;
  font-size: 1.05rem;
  margin-top: 2.2rem;
  opacity: 0.8;
}
/* تحسين استجابة جميع الأقسام للجوال */
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .about-content, .services-grid, .stats, .vision-mission {
    flex-direction: column !important;
    gap: 1.2rem !important;
  }
  .service-card, .vision, .mission, .stat {
    min-width: 0;
    width: 100%;
    padding: 1.2rem 0.7rem;
  }
  .contact-content {
    flex-direction: column;
    gap: 1.2rem;
  }
  .contact-form {
    min-width: 0;
    max-width: 100%;
    padding: 1.2rem 0.7rem;
  }
  .footer {
    border-radius: 18px 18px 0 0;
    padding: 2rem 0 1rem 0;
  }
}
@media (max-width: 600px) {
  .hero {
    padding-top: 60px;
    min-height: 60vh;
  }
  .hero-title {
    font-size: 1.1rem;
  }
  .section-header h2 {
    font-size: 1.1rem;
  }
  .about-content, .services-grid, .stats, .vision-mission {
    gap: 0.7rem !important;
  }
  .service-card, .vision, .mission, .stat {
    padding: 0.7rem 0.3rem;
  }
  .contact-form {
    padding: 0.7rem 0.3rem;
  }
  .footer {
    border-radius: 10px 10px 0 0;
    padding: 1.2rem 0 0.5rem 0;
  }
}

/* استرجاع شكل كلمة و المزيد ... */
.portfolio-more-hint {
  position: absolute;
  left: 2.5rem;
  right: auto;
  bottom: 7rem;
  font-size: 2.3rem;
  color: #ff6600cc;
  font-weight: 900;
  letter-spacing: 2px;
  opacity: 1;
  transform: none;
  transition: none;
  pointer-events: none;
  z-index: 2;
  background: none;
  border: none;
  font-family: inherit;
  direction: rtl;
  white-space: pre;
}
@media (max-width: 900px) {
  .portfolio-more-hint {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    font-size: 1.3rem;
    bottom: 5.5rem;
    text-align: center;
  }
}

/* إصلاح سلايدر الصور في المودال على الهاتف */
@media (max-width: 600px) {
  /* تكبير صورة السلايدر داخل المودال */
  .portfolio-modal-image img,
  #portfolioModalImage {
    width: 80vw !important;
    height: auto !important;
    max-width: 90vw;
    margin: 0 auto;
    display: block;
  }
  /* جعل رقم الشريحة أصغر وفي الأعلى */
  #gallery-counter {
    font-size: 1.1rem !important;
    top: 10px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    background: rgba(0,0,0,0.6) !important;
    border-radius: 8px !important;
    padding: 2px 12px !important;
    z-index: 10 !important;
    position: absolute !important;
  }
  /* الأسهم أقرب للصورة وأوضح */
  .gallery-arrow.left, .gallery-arrow.right {
    font-size: 2rem !important;
    top: 50% !important;
    transform: translateY(-50%);
    position: absolute !important;
    background: rgba(0,0,0,0.2) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    border: none !important;
  }
  .gallery-arrow.left { left: 10px !important; }
  .gallery-arrow.right { right: 10px !important; }

  /* إصلاح تداخل 'و المزيد ...' مع النص */
  .portfolio-more-hint {
    display: block !important;
    margin-top: 12px !important;
    font-size: 1.1rem !important;
    clear: both !important;
    text-align: center !important;
    background: none !important;
    color: #ff6600 !important;
    position: static !important;
  }
}

@media (max-width: 600px) {
  .portfolio-more-hint {
    display: block !important;
    margin: 18px auto 0 auto !important;
    clear: both !important;
    text-align: center !important;
    background: none !important;
    position: static !important;
    width: fit-content !important;
    font-weight: bold !important;
    direction: rtl !important;
    float: none !important;
  }
} 

#gallery-counter {
  position: absolute !important;
  top: 10px !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;
  background: rgba(0,0,0,0.6) !important;
  border-radius: 8px !important;
  padding: 2px 12px !important;
  z-index: 10 !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  color: #fff !important;
}