﻿:root {
    --primary-color: #0056b3;
    --secondary-color: #343a40;
    --accent-color: #ffc107;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

/* ط§ظ„ط£ظ†ظ…ط§ط· ط§ظ„ط¹ط§ظ…ط© */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

/* Header & Navigation */
header {
    background: var(--white);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

/* Burger Menu Toggle (Hidden on Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Burger Menu Animation (X shape) */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-cta {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 5px;
}

.lang-switch {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.lang-switch:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.lang-switch i {
    font-size: 1rem;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-btns {
    margin-top: 2rem;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 4rem 10%;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

/* Services Section */
.services {
    padding: 4rem 10%;
    text-align: center;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Projects Section */
.projects-section {
    padding: 80px 10%;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 86, 179, 0.9), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-overlay .category {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-weight: 600;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

/* About Section */
.about-section {
    padding: 80px 10%;
    background: var(--white);
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.sub-title {
    color: var(--primary-color);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.values-list {
    list-style: none;
    margin: 25px 0;
}

.values-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.values-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 20px 20px 0px var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 80px 5%;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 16px;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--secondary-color);
}

.btn-quote {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-quote:hover {
    background: var(--primary-color);
    color: var(--white);
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    color: #555;
    font-size: 1.5rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.map-container {
    margin-top: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 10%;
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
    transition: all 0.3s;
}

.faq-question:hover {
    color: var(--primary-color);
    background-color: #f8f9fa;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
    font-size: 0.9rem;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
}

.faq-answer p {
    padding: 20px 25px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 70px 0 20px;
    border-top: 5px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ccc;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-inline-start: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 50%;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact-item i {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    width: 100%;
}

.newsletter-form button {
    padding: 10px 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* RTL Support for Newsletter Form */
body.rtl .newsletter-form input {
    border-radius: 0 4px 4px 0;
}

body.rtl .newsletter-form button {
    border-radius: 4px 0 0 4px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #888;
}

/* Quote Page Styles */
.bg-light {
    background-color: var(--light-bg) !important;
}

.quote-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 20px auto;
    max-width: 900px;
}

.quote-header {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white);
    padding: 40px;
    text-align: center;
}

.quote-header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.quote-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.quote-form {
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: var(--primary-color);
    background: rgba(0, 86, 179, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.form-grid input,
.form-grid select {
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: var(--white);
    width: 100%;
}

.form-grid input:focus,
.form-grid select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.check-box-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 35px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    color: var(--secondary-color);
    font-weight: 500;
}

.check-box-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    right: 0;
    height: 24px;
    width: 24px;
    background-color: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.check-box-container:hover input~.checkmark {
    background-color: #e6f2ff;
    border-color: var(--primary-color);
}

.check-box-container input:checked~.checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.check-box-container input:checked~.checkmark:after {
    display: block;
}

.check-box-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.dynamic-field {
    margin-top: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border-right: 4px solid var(--primary-color);
    animation: fadeIn 0.5s ease-out;
}

.dynamic-field h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.dynamic-field textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.dynamic-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.hidden {
    display: none;
}

.btn-quote-submit {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 40px auto 0;
    width: 100%;
    max-width: 300px;
}

.btn-quote-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
}

.btn-quote-submit:active {
    transform: translateY(-1px);
}

/* Messages & Loading */
.loading {
    text-align: center;
    padding: 25px;
    background: rgba(248, 249, 250, 0.9);
    border-radius: 12px;
    margin: 25px 0;
    border: 2px dashed #dee2e6;
    display: none;
}

.loading.show {
    display: block;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e9ecef;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
    display: block;
}

.message {
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin: 25px 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.1);
}

.message.show {
    display: flex;
}

.message.error {
    background: #fee2e2;
    color: #7f1d1d;
    border: 2px solid #ef4444;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.1);
}

.message i {
    font-size: 2rem;
}

.message p {
    margin: 0;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Additional Form Styles */
.form-section textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
    transition: all 0.3s;
    margin-top: 15px;
    background: var(--white);
    line-height: 1.6;
}

.form-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.15);
    background: #f8fafc;
}

.form-section textarea::placeholder {
    color: #94a3b8;
    opacity: 0.8;
}

/* Animations & Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Improved Button Styles */
.btn-quote-submit {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--white);
    border: none;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 50px auto 20px;
    width: 100%;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

.btn-quote-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-quote-submit:hover::before {
    left: 100%;
}

.btn-quote-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.25);
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
}

.btn-quote-submit:active {
    transform: translateY(-2px);
}

.btn-quote-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-quote-submit i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.btn-quote-submit:hover:not(:disabled) i {
    transform: translateX(-8px);
}

.btn-quote-submit span {
    position: relative;
    z-index: 1;
}

/* Dynamic Field Improvements */
.dynamic-field {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    border-right: 5px solid var(--primary-color);
    animation: slideIn 0.5s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dynamic-field.show {
    display: block;
}

.dynamic-field h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dynamic-field h4::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.dynamic-field textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 16px;
    resize: vertical;
    min-height: 120px;
    background: var(--white);
    transition: all 0.3s;
}

.dynamic-field textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    outline: none;
}

/* Enhanced Form Section Headers */
.form-section h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.form-section h3 i {
    color: var(--white);
    background: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

/* Media Queries */
@media (max-width: 992px) {
    .about-flex {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        box-shadow: none;
    }

    .values-list li {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 30px;
    }

    body.ltr .nav-links {
        right: auto;
        left: -100%;
        transition: left 0.4s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    body.ltr .nav-links.active {
        left: 0;
    }

    /* Mobile dark overlay */
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fadeIn 0.3s forwards;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-links .btn-cta,
    .nav-links .lang-switch {
        margin-top: 15px;
    }


    .hero-content h1 {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quote-header {
        padding: 30px 20px;
    }

    .quote-header h1 {
        font-size: 1.8rem;
    }

    .quote-form {
        padding: 30px 20px;
    }

    .form-section h3 {
        font-size: 1.2rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .btn-quote-submit {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .quote-header h1 {
        font-size: 1.6rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .dynamic-field {
        padding: 15px;
    }
}

/* ط£ظ†ظ…ط§ط· ظ‚ط³ظ… ط±ظپط¹ ط§ظ„ظ…ظ„ظپط§طھ */
.file-upload-container {
    margin-top: 20px;
}

.file-upload-area {
    border: 3px dashed #cbd5e1;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 20px;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: #e6f7ff;
}

.file-upload-area.highlight {
    border-color: var(--primary-color);
    background: #e6f7ff;
    box-shadow: 0 0 20px rgba(0, 86, 179, 0.1);
}

.file-upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.upload-subtitle {
    color: #64748b;
    margin-bottom: 20px;
}

.btn-file-select {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.btn-file-select:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-file-select i {
    font-size: 1rem;
    color: white;
    margin: 0;
}

.upload-info {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 15px;
    margin-bottom: 5px;
}

.upload-types {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ظ‚ط§ط¦ظ…ط© ط§ظ„ظ…ظ„ظپط§طھ */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s;
}

.file-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.file-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 15px;
    width: 40px;
}

.file-icon .fa-file-pdf {
    color: #e74c3c;
}

.file-icon .fa-file-word {
    color: #2b579a;
}

.file-icon .fa-file-image {
    color: #27ae60;
}

.file-icon .fa-file-archive {
    color: #f39c12;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 5px;
    word-break: break-all;
}

.file-size {
    font-size: 0.85rem;
    color: #64748b;
}

.file-remove {
    background: #fee2e2;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #dc2626;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-remove:hover {
    background: #fecaca;
    color: #b91c1c;
}

/* Projects Section */
.projects-section {
    padding: 80px 5%;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    font-weight: 700;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    position: relative;
    aspect-ratio: 4/3;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    opacity: 1;
}

.project-overlay .category {
    font-size: 0.9rem;
    background: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 5px;
}

.project-overlay h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-content .logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
}

.loader-content .logo-text span {
    color: var(--secondary-color);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.loading-text {
    color: #666;
    font-size: 1rem;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* ط²ط± ط·ظ„ط¨ ط¹ط±ط¶ ط§ظ„ط³ط¹ط± ظپظٹ ط§ظ„ط®ط¯ظ…ط§طھ */
.btn-service-quote {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-service-quote:hover {
    background-color: #0056b3;
    color: var(--white);
}

/* LTR (English) Header Layout Fix */
html[dir="ltr"] .nav-links {
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

html[dir="ltr"] .nav-links a {
    font-size: 0.9rem;
}

html[dir="ltr"] .btn-cta {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.85rem;
}

html[dir="ltr"] .lang-switch {
    padding: 4px 12px;
    font-size: 0.85rem;
}

/* Responsive - Mobile Menu */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 15px;
    }

    .nav-links.active {
        right: 0;
    }

    html[dir="ltr"] .nav-links {
        right: auto;
        left: -100%;
    }

    html[dir="ltr"] .nav-links.active {
        left: 0;
    }

    html[dir="ltr"] .nav-links a {
        font-size: 1rem;
    }
}