@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');


:root {
    /* Color Scheme */
    --one: #f7f6e7;
    --tow: #e7e6e1;
    --gold: #d3bb60;
    --dark: #314e52;
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;

    /* Fonts */
    --font-family: "Alexandria", sans-serif;
    --font-family: "Cairo", sans-serif;

    /* Transitions */
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    overflow-x: hidden;
    font-family: "Cairo", sans-serif;
}

/* RTL/LTR Support */
html[dir="rtl"] body {
    font-family: "Cairo", sans-serif;
}

/* Links */
a {
    text-decoration: none;
    transition: color var(--gold);
}

a:hover {
    color: var(--one);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--one);
    color: var(--gold);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: var(--gold);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--dark);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--dark);
    color: var(--one);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

/*.title .one {
    width: 70px;
    height: 60px;
    background-color: var(--tow);
    border-radius: 5px 0 0 5px;
}*/

.title .tow {
    text-align: center;
    border-bottom: 2.5px solid var(--tow);
}

.title .tow h2 {
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 800;
    margin-bottom: -8px;
}

.title .tow p {
    font-size: 0.9rem;
    color: #5e6a6c;
    font-weight: 600;
    margin-bottom: 2px;
}

@media (max-width: 768px) {
    .title .tow h2 {
        font-size: 1.2rem;
    }

    .title .tow p {
        font-size: 0.8rem;
    }
}

.ar-content {}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--tow);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px;
    transition: all var(--transition-fast);
}

header.scrolled {
    padding: 6px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: all var(--transition-fast);
}

header.scrolled .logo img {
    width: 100%;
}

.logo h1 {
    margin-left: 15px;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0;
}

html[dir="rtl"] {
    margin-left: 0;
    margin-right: 15px;
}

/* Navigation */
nav {}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
}

html[dir="rtl"] nav ul {
    text-align: center;
}

nav ul li {
    margin-left: 0px;
}

html[dir="rtl"] nav ul li {
    margin-left: 0;
    text-align: start;
}

nav ul li a {
    color: var(--dark);
    font-weight: 600;
    position: relative;
    padding: 0px px 0;
    margin: 0 8px;
    transition: 0.4s ease-in-out;
    font-size: 0.9rem;
    font-weight: 800;
}

nav ul li a:hover {
    color: var(--gold);
    padding-left: 7px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;

    transition: width var(--transition-fast);
}

nav ul li a:hover::after {
    width: 100%;
}

.language-switcher {
    margin-left: 30px;
    display: flex;
    align-items: center;

}

html[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 30px;
}

.language-switcher button {
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.language-switcher button.active {
    background-color: var(--gold);
    color: var(--dark);
}

.language-switcher button:not(.active):hover {
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark);
    cursor: pointer;
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo img {
        height: 40px;
    }

    nav {
        position: fixed;
        top: 50PX;
        width: 60%;
        height: 100vh;
        background-color: var(--tow);
        transition: all var(--transition-medium);
        z-index: 999;
        padding: 100px 30px;
        overflow-y: auto;
        right: -100%;
        z-index: -100;
    }

    html[dir="rtl"] nav {
        left: auto;
        top: 50px;
    }

    nav.active {
        left: 0;
    }

    html[dir="rtl"] nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 0.9rem;
        font-weight: 800;
    }

    html[dir="rtl"] nav ul li {
        margin: 15px 0;
    }

    .language-switcher {
        margin: 20px 0 0 -5px;
    }

    html[dir="rtl"] .language-switcher {}

    .social-icons {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 30px;
    }

    html[dir="rtl"] .social-icons {
        position: static;
    }

    .social-icons a {
        margin: 0 15px;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 40px;

}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--gold);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    height: 100px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--gold);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    /* font-style: italic;*/
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--one);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
}

.slider-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-control.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

.hero .social-icons {

    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    gap: 10px;
}

html[dir="rtl"] .social-icons {
    right: auto;
    left: 10px;
    font-weight: 900;

}

.hero .social-icons a {
    color: var(--one);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 5px;

}

.social-icons a:hover {
    color: var(--gold);
    transform: translateY(-5px);

}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
        margin-top: 40px;
        padding: 10px;
    }

    .hero-logo img {
        height: 100px;
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    }

    .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 5px;
        font-weight: 700;
        color: var(--gold);
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    .hero p {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 10px;
        color: var(--one);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }



    .slider-control {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        margin: 0 5px;
        cursor: pointer;
        transition: all var(--transition-fast);
    }

    .slider-control.active {
        background-color: var(--one);
        transform: scale(1.2);
    }



    .hero .social-icons a {
        color: var(--one);
        font-size: 1.2rem;
        transition: all var(--transition-fast);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        padding: 6px 12px;
    }

    .hero .social-icons a:hover {
        color: var(--gold);
        transform: translateY(-5px);

    }

}

/* Sections */
section {
    padding: 50px 0 0 0;
}

.section-title h2 {
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;

}

/* Services Section */
.services {}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.service-card {

    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-fast);
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card .image {
    width: 100%;
    height: 200px;
}

.service-card .image img {
    width: 100%;
    height: 100%;
}

.service-card .one {
    padding: 30px 20px 10px 20px;

}

.service-card h3 {
    font-size: 1.2rem;
    padding-bottom: 5px;
    color: var(--dark);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--tow);
    transition: 0.7s ease-in-out;
}

.service-card a {
    color: #888888;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    transition: 0.5s ease-in-out;

}

.service-card a:hover {
    color: var(--gold);
    padding: 0 10px;
}

/****************************************/
/***************************************
/* Gallery Section */
.gallery {}

.clients-logos {
    align-items: center;
    justify-content: center;
}

.clients-logos img {
    width: 120px;
    height: auto;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .clients-logos {
        justify-content: center;
        text-align: center;
    }

    .clients-logos img {
        width: 30%;

        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        margin: auto;
    }
}

About Section */ .about {}

.about-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column;

}

.about-container .about-content-one {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.about-content-one .logo {
    text-align: center;
    margin: auto;
}

.about-content-one .logo img {
    padding-top: 20px;
    height: 150px;
    border-radius: 8px;

}

.about-content-one .text {
    text-align: center;
    margin: auto;
}

.about-content-one .text p {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 700;
}

.about-content-tow {
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* شكل الكروت */
.about-content-tow .card {
    width: 380px;
    text-align: center;
    border: 2px solid var(--tow);
    border-radius: 5px;
    padding: 10px;
    transition: 0.4s ease-in-out;
}

/* تأثير عند المرور */
.about-content-tow .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* الجزء الأول (الأيقونة + العنوان) */
.about-content-tow .card .one {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* الأيقونة */
.about-content-tow .card .one i {
    color: var(--dark);
    font-size: 1.7rem;
}

/* العنوان */
.about-content-tow .card .one h2 {
    color: var(--dark);
    font-size: 1.7rem;
    font-weight: 700;
}

/* النص */
.about-content-tow .card .tow p {
    font-size: 1.1rem;
    color: #8b8888;
    font-weight: 700;
}

/* ✅ التجاوب مع الشاشات الصغيرة */

@media (max-width: 768px) {
    .about {}

    .about-container {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-direction: column;
    }

    .about-container .about-content-one {
        text-align: center;
        justify-content: center;
        margin-top: 20px;
    }

    .about-content-one .logo {
        text-align: center;
        margin: auto;
    }

    .about-content-one .logo img {

        height: 100px;
        border-radius: 8px;

    }

    .about-content-one .text {
        width: 100%;
    }

    .about-content-one .text p {
        font-size: 1rem;
        color: var(--dark);
        font-weight: 600;
    }

    .about-content-tow {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }

    .about-content-tow .card {
        width: 90%;
    }

    .about-content-tow .card .one {}

    .about-content-tow .card .one i {
        font-size: 1.3rem;
    }

    .about-content-tow .card .one h2 {
        font-size: 1rem;

    }

    .about-content-tow .card .tow p {
        font-size: 0.9rem;
    }

}

/* Contact Section */
.contact {}

.contact-container {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.contact-details {
    margin-bottom: 0px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 5px 0px;
    gap: 20px;
}

.contact-icon {
    font-size: 1.7rem;
    color: var(--dark);
    margin-right: -5px;
    margin-bottom: px;
    width: 30px;
    text-align: center;

}

.contact-item .contact-details h4 {
    font-weight: 800;
    color: var(--dark);
    font-size: 1.2rem;
}

.contact-item .contact-details p {
    font-weight: 400;
    color: var(--dark);
    font-size: 1rem;
}

.contact-item .contact-details a {
    color: var(--dark);
    transition: 0.5s ease-in-out;
    font-size: 1rem;
}

.contact-item .contact-details a:hover {
    color: var(--gold);
    font-size: 1.1rem;

}

html[dir="rtl"] .contact-icon {
    margin-right: 0;
    margin-left: 1px;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20PX;
    margin-top: 20px;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--tow);
    color: var(--dark);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.contact-social a:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

.map-container {
    height: 400px;
    width: 60%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .contact-container {
        margin-bottom: 50px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        width: 100%;

    }

    .contact-icon {
        font-size: 1.4rem;
        color: var(--dark);
        margin-right: -5px;
        margin-bottom: px;
        width: 30px;
        text-align: center;
        padding: 0 10px;
    }

    .contact-item .contact-details h4 {
        font-weight: 800;
        color: var(--dark);
        font-size: 0.9rem;
    }

    .contact-item .contact-details p {
        font-weight: 400;
        color: var(--dark);
        font-size: 0.8rem;
    }

    .contact-item .contact-details a {
        color: var(--dark);
        transition: 0.5s ease-in-out;
        font-size: 0.9rem;
    }

    .contact-item .contact-details a:hover {
        color: var(--gold);
        font-size: 1.1rem;

    }

    .map-container {
        height: 200px;
        width: 100%;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }
}

/* Footer */
footer {
    color: var(--dark);
    background-color: var(--tow);
    padding: 50px 0 20px;
}

/* Layout */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;

}

/* Logo */
.footer-logo img {
    height: 150px;
    max-width: 100%;
}

/* About text */
.footer-about p {
    color: var(--dark);
    font-size: 1rem;
    font-weight: 500;
    margin-top: -20px;
    line-height: 1.6;
}

/* Titles */
.footer-links h3,
.footer-contact h3 {
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 6px;
    font-size: 1.1rem;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;

}

/* Links */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--dark);
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

/* RTL hover adjustment */
html[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 4px;
}

/* Contact info */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--dark);
}

.footer-contact-icon {
    color: var(--dark);
    font-size: 1rem;
}

/* RTL fix */
html[dir="rtl"] .footer-contact-item {
    flex-direction: row-reverse;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: var(--tow);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-4px);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-top: 15px;
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    footer {
        text-align: center;
    }

    .footer-container {
        gap: 20px;
    }

    .footer-about p {
        font-size: 0.95rem;
        font-weight: 400;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px 0;
    }

    .about-container {
        flex-direction: column;
    }

    .about-img,
    .about-content {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 40px 0;
    }

}



/* ========== FIXED ACTION BUTTONS ========== */
.action-buttons {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 999;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.action-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: var(--transition-fast);
}

.action-btn:hover::after {
    opacity: 1;
}

.action-btn.whatsapp {
    background-color: #25D366;
    animation: pulse 2s infinite;
    color: var(--one);
}

.action-btn.call {
    background-color: var(--gold);
    animation: bounce 2s infinite;
    color: var(--one);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes bounce {
    0% {
        box-shadow: 0 0 0 0 rgba(189, 139, 2, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .action-buttons {
        padding: 0 20px;
    }

    .action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}