@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: Poppins, sans-serif;
    margin: 0;
    background-color: #a0893f;
    color: #a0893f;
}

svg {
    width: 25px;
}

/* الهيدر */
#navbar {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    /* يخليه فوق الصورة */
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 50px;
    background: none;
    /* بدون أي ظل أو لون */
    z-index: 1000;
}

#navbar img {
    width: 80px;
    display: block;
    /* يضمن إن اللوجو ظاهر */
}

#navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#navbar ul li {
    margin-left: 20px;
}

#navbar ul li a {
    text-decoration: none;
    color: #c3b586;
    /* لون ذهبي فاتح عشان يكون واضح */
    font-weight: 600;
    padding: 10px 15px;
    font-size: 18px;
    transition: 0.3s;
}

#navbar ul li a:hover {
    border-bottom: 2px solid #c3b586;
}


/* السلايدر */
.slider {
    height: 100vh;
    margin-top: -50px;
    position: relative;
}

.slider .list .item {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .list .item::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(to top, #000 40%, transparent);
}

/* محتوى السلايدر */
.slider .list .item .content {
    position: absolute;
    left: 5%;
    top: 15%;
    width: 500px;
    max-width: 90%;
    z-index: 1;
}

.slider .list .item .content p:nth-child(1) {
    text-transform: uppercase;
    letter-spacing: 10px;
}

.slider .list .item .content h2 {
    font-size: 100px;
    margin: 0;
}

/* تفعيل العنصر النشط */
.slider .list .item.active {
    opacity: 1;
    z-index: 10;
}



/* للأجهزة المتوسطة مثل التابلت */
@media (max-width: 1024px) {
    #navbar {
        padding: 15px 3%;
    }

    #navbar img {
        width: 60px;
    }

    #navbar ul li {
        margin-left: 10px;
    }

    #navbar ul li a {
        font-size: 14px;
        padding: 6px 10px;
    }

    .slider .list .item .content {
        width: 60%;
    }

    .slider .list .item .content h2 {
        font-size: 3rem;
    }
}

/* للأجهزة الصغيرة مثل الموبايل */
@media (max-width: 768px) {
    #navbar ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: none;
    }

    #navbar ul li {
        margin: 10px 0;
        text-align: center;
    }

    #navbar img {
        width: 50px;
    }

    .slider .list .item .content {
        width: 80%;
        top: 20%;
    }

    .slider .list .item .content h2 {
        font-size: 2.5rem;
    }
}

/* للموبايلات الصغيرة جدًا */
@media (max-width: 480px) {
    #navbar {
        padding: 10px;
    }

    .slider .list .item .content {
        width: 90%;
    }

    .slider .list .item .content h2 {
        font-size: 2rem;
    }
}




@keyframes showContent {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3) {
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}

.slider .list .item.active h2 {
    animation-delay: 1s;
}

.slider .list .item.active p:nth-child(3) {
    animation-duration: 1.3s;
}

.arrows {
    position: absolute;
    top: 30%;
    right: 50px;
    z-index: 100;
    display: flex;
    gap: 10px;
    /* يضيف مسافة بين الأزرار */
}

.arrows button {
    background-color: rgba(238, 238, 238, 0.5);
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrows button:hover {
    background-color: #eee;
    color: black;
}

/* الصور المصغرة */
.thumbnail {
    position: absolute;
    bottom: 50px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
}

.thumbnail::-webkit-scrollbar {
    width: 0;
}

.thumbnail .item {
    width: 150px;
    height: 220px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
}

.thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.thumbnail .item.active {
    filter: brightness(1.5);
}

.thumbnail .item .content {
    position: absolute;
    inset: auto 10px 10px 10px;
}

/* تحسين التناسق مع الشاشات الصغيرة */
@media screen and (max-width: 768px) {
    .slider {
        height: 80vh;
    }

    .slider .list .item .content h2 {
        font-size: 50px;
    }

    .slider .list .item .content {
        left: 5%;
        top: 20%;
    }

    .arrows {
        top: 10%;
        right: 20px;
    }

    .thumbnail {
        padding: 0 20px;
    }

    .thumbnail .item {
        width: 120px;
        height: 180px;
    }
}

@media screen and (max-width: 480px) {
    .slider {
        height: 75vh;
    }

    .slider .list .item .content h2 {
        font-size: 40px;
    }

    .thumbnail .item {
        width: 100px;
        height: 150px;
    }

    .arrows {
        top: 5%;
        right: 15px;
    }
}

.about {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10vw 5vw;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    max-width: 55%;
    padding-right: 5vw;
    z-index: 2;
}

.about-title {
    font-size: 3vw;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2vw;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.about-text {
    font-size: 1.2vw;
    line-height: 2;
    color: #555;
    margin-bottom: 3vw;
    animation: fadeInUp 1.2s ease-out 0.2s;
}

.about-strong {
    color: #a0893f;
    font-weight: 600;
}

.about-cta {
    animation: fadeInUp 1.4s ease-out 0.4s;
}

.about-button {
    display: inline-block;
    padding: 1vw 3vw;
    background: linear-gradient(to right, #a0893f, #a0893f);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1vw;
}

.about-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.about-video {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-video-element {
    width: 100%;
    display: block;
    border-radius: 15px;
    object-fit: cover;

}

/* تأثير عند الوقوف على الفيديو */
.about-video-element:hover {
    filter: brightness(0.9);
    cursor: pointer;
}






.social-icooons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-icooons a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f5f5f5;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-icooons a:hover {
    transform: scale(1.1);
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-icooons .icooon {
    width: 24px;
    height: 24px;
}





.hfont {
    display: flex;
    justify-content: center;
    color: #483f25;
    font-size: larger;
    font-weight: 700;
    margin-top: 25px;
}

/* Media Queries للأجهزة الصغيرة */
@media (max-width: 1024px) {
    .about {
        flex-direction: column;
        padding: 8vw 4vw;
        text-align: center;
    }

    .about-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 4vw;
    }

    .about-title {
        font-size: 5vw;
    }

    .about-text {
        font-size: 1.8vw;
    }

    .about-button {
        font-size: 2vw;
        padding: 2vw 5vw;
    }

    .about-image {
        max-width: 80%;
    }
}

@media (max-width: 600px) {
    .about-title {
        font-size: 6vw;
    }

    .about-text {
        font-size: 2.2vw;
    }

    .about-button {
        font-size: 3vw;
        padding: 3vw 6vw;
    }

    .about-image {
        max-width: 90%;
    }
}


.container {
    display: grid;
    place-items: center;
    margin-block-start: 1.5rem;
    padding-block: 5rem;




}

.card__container {
    display: grid;
    row-gap: 3.5rem;

}

.card__article {
    position: relative;
    overflow: hidden;

}

.card__img {
    width: 328px;
    border-radius: 3rem;
    flex-direction: row;
    flex-wrap: wrap;
    /* box-shadow: 0 5px 25px rgba(1, 1, 1, 15); */
    padding: 25px;
    margin: 25px;
}




.card__data {
    width: 280px;
    background-color: #eee;
    padding: 2rem 2rem;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.20);
    border-radius: 1rem;
    position: absolute;
    /* bottom: -9rem; */
    left: 0;
    right: 0;
    margin-inline: auto;
    /* opacity: 1; */
    /* تم تفعيل opacity */
    transition: opacity 1s ease-in-out;
}

.card__description {
    display: block;
    font-size: large;
    margin-bottom: .25rem;
}

.card__title {
    font-size: larger;
    font-weight: 500;
    color: #000;
    margin-bottom: .75rem;
}

.card__button {
    text-decoration: none;
    font-size: large;
    font-weight: 500;
    color: #a0893f;
}

.card__button:hover {
    text-decoration: underline;
}

.card__article:hover .card__data {
    animation: show-data 1s forwards;
    transform: opacity .3s;
}

.card__article:hover {
    animation: remove-overflw 2s forwards;
}

.card__article:not(:hover) {
    animation: show-overflow 2s forwards;
}

.card__article:not(:hover).card__data {
    animation: remove-data 1s forwards;
}

@keyframes show-data {
    50% {
        transform: translateY(-10rem);
    }

    100% {
        transform: translateY(-7rem);
    }
}

@keyframes remove-overflw {
    to {
        overflow: initial;
    }
}

@keyframes remove-data {
    0% {
        transform: translateY(-7rem);
    }

    50% {
        transform: translateY(-10rem);
    }

    100% {
        transform: translateY(.5rem);
    }
}

@keyframes show-overflo {
    0% {
        overflow: initial;
        pointer-events: none;
    }

    50% {
        overflow: hidden;
    }
}

@media screen and (max-width: 340px) .container {
    margin-inline: 1rem;
}

.card__data {
    width: 250px;
    padding: 1rem;

}

@media screen and (min-widht:768) .card__container {
    grid-template-columns: repeat(2, 1fr) column-gap:1.5rem
}



/* For large devices */
@media screen and (min-width: 1120px) {
    .container {
        height: 100vh;
    }

    .card__container {
        grid-template-columns: repeat(3, 1fr);
    }

    .card__img {
        width: 348px;
    }

    .card__data {
        width: 316px;
        padding-inline: 2.5rem;
    }
}







@media (max-width: 768px) {
    .feature {
        flex-direction: column;
        text-align: center;
    }
}









@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}









.why-choose-us {
    text-align: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
}

.section-title {
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #222;
}

.section-title span {
    color: #a0893f;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.feature-item {
    background: #a0893f;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.feature-item:hover {
    transform: translateY(-8px);
}

.feature-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 22px;
    color: #0056b3;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    color: #f5f4f4;
    line-height: 1.5;
}


.feature-item img {
    object-fit: cover;
    border-radius: 10px;

}

.feature-item img {
    width: 100%;

    max-width: auto;

    height: auto;

    display: block;

    margin: 0 auto;

}



.contact {
    padding: 80px 10%;
    background: #333;
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeIn 1s ease-out forwards;
}

/* أنيميشن ظهور القسم */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact .heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #c3b586;
}

.contact .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.contact .map {
    flex: 1;
    width: 100%;
    max-width: 500px;
    height: 350px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* إضافة ظل للخريطة */
}

.contact form {
    flex: 1;
    max-width: 400px;
    background: #222;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    /* ظل خفيف للفورم */
    transition: transform 0.3s ease-in-out;
}

.contact form:hover {
    transform: scale(1.02);
    /* تكبير بسيط عند المرور على الفورم */
}

.contact form .inpuBox {
    position: relative;
    margin-bottom: 20px;
}

.contact form input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background: #444;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.contact form input::placeholder {
    color: #ccc;
}

/* تأثير Hover على الـ Input */
.contact form input:focus {
    background: #555;
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.5);
}

/* زر الإرسال */
.contact form input[type="submit"] {
    background: #e67e22;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.contact form input[type="submit"]:hover {
    background: #d35400;
    transform: scale(1.05);
}

/* تأثير عند الضغط على زر الإرسال */
.contact form input[type="submit"]:active {
    transform: scale(0.95);
}

/* لجعل التصميم متجاوب */
@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        align-items: center;
    }

    .contact .row {
        flex-direction: column;
        align-items: center;
    }

    .contact .map,
    .contact form {
        width: 100%;
        max-width: 100%;
    }
}








footer {
    background-color: #f8f8f8;
    padding: 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: bold;
}

.footer-section p,
.footer-section a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.footer-section img {
    width: 30px;
    margin: 5px;
    transition: 0.3s;
}

.footer-section img:hover {
    opacity: 0.7;
}





/* تنسيق الأيقونات داخل الفوتر */
.social-icons {
    display: flex;
    gap: 15px;
    /* مسافة بين الأيقونات */
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.social-icon {
    width: 35px;
    /* حجم الأيقونة */
    height: 35px;
    fill: #ffffff;
    /* لون الأيقونة الافتراضي */
    transition: transform 0.3s ease, fill 0.3s ease;
    /* تأثيرات ناعمة عند التحويل */
}

.social-icon:hover {
    fill: #f39c12;
    /* تغيير اللون عند المرور بالماوس */
    transform: scale(1.2);
    /* تكبير الأيقونة قليلاً */
}

/* إذا كنت عايز الخلفية دائرية للأيقونات */
.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    /* خلفية شفافة خفيفة */
    border-radius: 50%;
    /* جعل الخلفية دائرية */
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.3);
    /* تفتيح الخلفية عند المرور */
}




/* تنسيق عام للأيقونات */
.social-icons {
    display: flex;
    gap: 12px;
    /* مسافة بين الأيقونات */
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

/* تنسيق الروابط اللي تحتوي على الأيقونات */
.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #222, #444);
    /* تدرج لوني للخلفية */
    border-radius: 12px;
    /* حواف ناعمة */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* ظل خفيف */
}

/* تنسيق الأيقونات SVG */
.social-icon {
    width: 28px;
    /* حجم الأيقونة */
    height: 28px;
    fill: #fff;
    /* لون الأيقونة الأساسي */
    transition: transform 0.3s ease-in-out, fill 0.3s ease-in-out;
}

/* تأثير عند المرور على الأيقونة */
.social-icons a:hover {
    background: linear-gradient(135deg, #ff7b00, #ff3d00);
    /* تغيير لون الخلفية عند الهوفر */
    transform: translateY(-5px);
    /* رفع الأيقونة لأعلى */
    box-shadow: 0 6px 12px rgba(255, 100, 0, 0.4);
    /* ظل أقوى */
}

/* تغيير لون الأيقونة عند الهوفر */
.social-icons a:hover .social-icon {
    fill: #fff200;
    /* تغيير لون الأيقونة إلى أصفر */
    transform: rotate(10deg) scale(1.1);
    /* تدوير وتكبير بسيط */
}



/* الشريط الجانبي للأيقونات */
.social-sidebar {
    position: fixed;
    /* لتثبيت الشريط في مكانه */
    top: 50%;
    /* وضعه في منتصف الصفحة عموديًا */
    right: -120px;
    /* إخفاء الشريط جزئيًا عند البداية */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* مسافة بين الأيقونات */
    z-index: 9999;
    /* لضمان ظهور الشريط فوق باقي العناصر */
    transition: right 0.3s;
    /* تأثير انزلاقي عند التحويم */
}

.social-sidebar:hover {
    right: 0;
    /* عند مرور الماوس، ينزلق الشريط ليظهر بالكامل */
}

/* تنسيق الأيقونات داخل الشريط */
.social-sidebar .iconnm {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 120px;
    /* عرض العنصر بعد الانزلاق */
    padding: 10px;
    background-color: #ffffff;
    border-radius: 10px 0 0 10px;
    /* تدوير الزوايا على اليسار */
    text-decoration: none;
    color: #000;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.social-sidebar .iconnm img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.social-sidebar .iconnm span {
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

/* تأثير التحويم على كل أيقونة */
.social-sidebar .iconnm:hover {
    background-color: #f0f0f0;
    transform: scale(1.03);
}

/* تخصيص لون مميز لكل أيقونة */
.whatsapp-icon {
    border-left: 5px solid #25D366;
    /* لون أخضر لواتساب */
}

.instagram-icon {
    border-left: 5px solid #E1306C;
    /* لون وردي لإنستجرام */
}

/* الاستجابة على الشاشات الصغيرة */
@media (max-width: 600px) {
    .social-sidebar {
        right: -100px;
    }

    .social-sidebar .iconnm {
        width: 100px;
        padding: 8px;
    }

    .social-sidebar .iconnm img {
        width: 25px;
        height: 25px;
        margin-right: 8px;
    }

    .social-sidebar .iconnm span {
        font-size: 0.9rem;
    }
}