@import url('https://fonts.googleapis.com/css2?family=Alyamama:wght@300..900&display=swap');
/* =======Main code======= */
*{
    margin: 0;
    padding: 0;
    font-family: "Alyamama", serif;
    transition: 0.4s;

}
ul{
    display: flex;
}
ul li{
    list-style: none;
}
a{
    text-decoration: none;
}
:root {
    --background: #fcfaf6;
    --main-color-A: #740404;
    --main-color-B: #13547a;
    --text-color: #888888;
    --colorB: #3f220963;
    --main-font: "El Messiri", sans-serif;
}






/* ======Start Nav===== */
nav .links{
    width: 100%;
    margin: 10px 0;
    align-items: center;
    display: flex;
    text-align: center;
    justify-content: space-around;
    
}
.links img{
    width: 150px;
}
.links img:hover{
    transform: translateY(-3px);
}
.links ul{
    width: 40%;
    justify-content: space-around;
    align-items: center;
}
.links a{
    color: #555555;
}
.links a:hover{
    color: #740404;
}
.links ul a{
    font-size: 22px;
    color: #740404;
    transition: 0.4s;  
}
.links ul a:hover{
    font-weight: 800;
}
/* ========End Nav======= */
/* ========phone-nav=============== */
.phone-nav{
    display: none;
    width: 2.2rem;
    height: 60vh;
    position: fixed;
    right: 4px;
    top: 20vh;
    text-align: center;
    background-color: #7404049c;
    border: solid 1px #2b0101;
    border-radius: 20px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    z-index: 3;
}
.phone-nav li{
    list-style: none;
    transition: all 0.3 ease;
    cursor: pointer;
    font-size: 18px;

}
.phone-nav li a{
    color: #ffffff;


}
.phone-nav li:hover{
    transform: translateY(-3px);
    transform: scale(1.15);

    
}
/* ========phone-nav=============== */
/* =======Start Hero===== */
/* header{
    margin-bottom: 50px;
} */
.hero{
    display: flex;
    height: 80vh;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 80px;
}
.hero .a-b{
    width: 30%;
    height: 80vh;
    align-items: center;
    display: flex;
    justify-content: space-between;
    
}
.hero .all-contacts{
    width: 50px;
    text-align: center;
    line-height: 3;
}
.hero .all-contacts a{
    color: #663f3f;
    font-size: 25px;
}
.hero .all-contacts a:hover{
    color: #740404;
}
.hero .hello{
    width: 85%;
}
.hero .hello h4{
    color: #555555;
}
.hero .hello h1{
    font-size: 35px;
}
.hero .hello a button{
    width: 230px;
    height: 70px;
    margin-top: 40px;
    border: none;
    border-radius: 50px;
    background-color: #740404;
    color: aliceblue;
    font-size: 25px;
}
.hero .hello a button:hover{
    transform: translateY(-3px);
    background-color: aliceblue;
    color: #740404;
    font-weight: 700;
    box-shadow: #740404 0px 0px 16px;
}
.hero img{
    width: 600px;
}
/* =======end Hero======== */
/* =======Start about===== */
/* ======About Section Styles======= */
.about-section {
    padding: 50px 0;
    background-color: #fcfaf6; /* الخلفية الكريمي */
    font-family: 'Poppins', sans-serif;
}

.about-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap; /* عشان ينزل تحت بعضه في الموبايل */
}

/* تنسيق الصورة */
.about-image {
    flex: 1;
    min-width: 300px;
}

.image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 10px solid #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.image-box img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.image-box:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #740404; /* اللون النبيتي */
    color: #fff;
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
}

/* تنسيق النصوص */
.about-text {
    flex: 1.2;
    min-width: 300px;
}

.sub-title {
    color: #740404;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.main-title {
    font-size: 2.8rem;
    color: #222;
    line-height: 1.2;
    margin-bottom: 25px;
}

.main-title span {
    color: #740404; /* تمييز الكلمات باللون النبيتي */
}

.description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* تنسيق المميزات الصغيرة */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    font-size: 1.8rem;
    background: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-info h3 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 3px;
}

.feature-info p {
    font-size: 0.9rem;
    color: #777;
}

/* زر العمل */
.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: #740404;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: aliceblue;
    color: #740404;
    box-shadow: #740404 0px 0px 16px;
}
/* ===================== */
/* ==============services section start============ */
/* تنسيق السيكشن بالكامل */
.services-section {
    padding: 80px 0;
    background-color: #fcfaf6;
    font-family: sans-serif;
    color: #333;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* تنسيق الهيدر */
.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.services-header h2 {
    font-size: 2.5rem;
    color: #740404; /* اللون النبيتي الغامق اللي مستخدمه في اللوجو */
    margin-bottom: 20px;
}

.services-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

/* تقسيم الكروت في شبكة (Grid) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* تنسيق الكارت الواحد */
.service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* ضل خفيف جداً عشان يفضل كلاسيك */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0eae1;
}

/* حركة تأثير عند مرور الماوس على الكارت */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 21, 37, 0.08); /* ضل نبيتي خفيف جداً */
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #740404;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}
/* ===================== */
/* =======contact us================================= */
/* Contact Section Styles */
.contact-section {
    padding: 100px 0;
    background-color: #fcfaf6;
    font-family: 'Poppins', sans-serif;
}

.contact-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-box {
    display: flex;
    gap: 60px;
    align-items: stretch;
    flex-wrap: wrap; /* عشان ينزل تحت بعضه في الموبايل تلقائياً */
}

/* تنسيق الجانب الشمال (البيانات) */
.contact-info {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-sub {
    color: #740404; /* اللون النبيتي */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-title {
    font-size: 2.5rem;
    color: #222;
    line-height: 1.3;
    margin-bottom: 20px;
}

.contact-title span {
    color: #740404;
}

.contact-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    font-size: 1.5rem;
    background: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid #f0eae1;
}

.info-text h3 {
    font-size: 1rem;
    color: #777;
    margin-bottom: 2px;
}

.info-text a {
    font-size: 1.1rem;
    color: #740404;
    text-decoration: none;
    font-weight: 600;
}

.info-text a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 1.7rem;
    background: #fff;
    color: #740404;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid #f0eae1;
    transition: 0.3s;
}

.social-icon:hover {
    background: #740404;
    color: #e2dcd3;
    transform: translateY(-3px);
}

/* تنسيق الجانب اليمين (الفورم) */
.contact-form-wrapper {
    flex: 1.2;
    min-width: 150px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(74, 21, 37, 0.03);
    border: 1px solid #f0eae1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 92%;
    padding: 12px 15px;
    border: 1px solid #e2dcd3;
    border-radius: 8px;
    background-color: #faf8f5;
    font-family: inherit;
    font-size: 1rem;
    color: #333;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #740404;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(74, 21, 37, 0.05);
}

/* زر الإرسال */
.btn-submit {
    padding: 15px;
    background-color: #740404;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    background-color: aliceblue;
    color: #740404;
    font-weight: 700;
    box-shadow: #740404 0px 0px 16px;
}

/* =======contact us================================= */


/* Container to hide overflow */
/* الحاوية الأساسية للشريط */
.slider {
    width: 100%;
    overflow: hidden; /* إخفاء الصور التي تخرج عن حدود الشاشة */
    background: #740404;
    padding: 20px 0;
    display: flex;
    margin: 70px 0 0;
}

/* الحاوية الداخلية التي تتحرك */
.slide-track {
    display: flex;
    width: calc(250px * 20); /* عرض الصورة الواحدة مضروب في إجمالي عدد الصور (الأصلية + المكررة) */
    animation: scroll 20s linear infinite; /* تشغيل الأنميشن بشكل مستمر وبسرعة ثابتة */
}

/* تنسيق الصور الفردية */
.slide {
    width: 250px;
    height: 130px;
    padding: 0 10px;
    border-radius: 50px;
}

.slide img {
    
    border-radius: 50px;
    width: 100%;
    height: 100%;
    object-fit: contain; /* لضمان عدم تشوه أبعاد الصور */
}

.slide:hover img {
    transform: scale(1.05);
}


/* حركة الأنميشن */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* التحرك بنسبة نصف العرض الإجمالي (عرض الصور الأصلية فقط) ليحدث الانتقال السلس */
        transform: translateX(calc(-250px * 10)); 
    }
}





/* Responsive التوافق مع الشاشات */
/* Responsive التوافق مع الشاشات */
@media (max-width:1020px){
    /* ======Start Nav===== */
    .links img{
        width: 80px;
    }
    .links img:hover{
        width: 83px;
    }
    .links ul{
        display: none;
    }
    /* ========End Nav======= */
    /* ==============phone-nav============= */
    .phone-nav{
        display: content;
        display: flex;
    }
    /* =======Start Hero===== */
    .hero{
        display: contents;

    }
    .hero .a-b{
        width: 100%;
        height: 30vh;
        margin-top: 30px;
    }
    .hero .hello h1{
        font-size: 20px;
    }
    .hero .hello a button{
        width: 200px;
        height: 60px;
        margin-top: 20px;
        font-size: 22px;
    }
    .hero img{
        display: block;
        width: 350px;
        margin: auto;
    }
    /* ==========about section============ */
    .main-title { font-size: 2rem; }
    .about-content { gap: 40px; }
    /* ==========contact us============ */
    .contact-box { gap: 40px; }
    .contact-title { font-size: 2rem; }
    .contact-form-wrapper { padding: 20px; }
    /* =========overflow============ */
    .slide {
        width: 150px;
        height: 80px;
        padding: 0 10px;
    }
}