/********** Template CSS **********/
:root {
    --primary: #eac78e;
    --secondary: #555555;
    --light: #F1F3FA;
    --dark: #1C2035;
    --bl: #2d2a6f;
    --main-direction: rtl;
    --text-align: right;
    --transition: all 0.3s ease-in-out;
}

/* Body */
body {
    background-color: #f0f0f0;
    color: #333;
    transition: var(--transition);
    direction: var(--main-direction);
    text-align: var(--text-align);
}

#header-carousel {
    height: 100vh; /* يجعل ارتفاع الكاروسيل يساوي ارتفاع الشاشة بالكامل */
}

#header-carousel .carousel-item img {
    height: 100vh;
    object-fit: cover;
}

a.btn.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #eac78e;
}
/* الأزرار */
.btn, .team-social .btn, .project-carousel .owl-nav .owl-prev, .project-carousel .owl-nav .owl-next {
    transition: var(--transition);
    border-radius: 25px;
}

/* الأزرار العادية */
.btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: 2px solid transparent;
}

/* تأثير عند تحريك الماوس */
.btn:hover, .team-social .btn:hover, .team-item:hover .team-social li .btn:hover {
    background-color: #0056b3;
    color: #f8f9fa;
    transform: scale(1.1);
    border-color: #0056b3;
}

/* Navbar */
.navbar {
    animation: slideInNav 1s ease-in-out;
}

@keyframes slideInNav {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* تأثيرات التمرير */
.team-item:hover, .card:hover, .testimonial-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-body, .team-item, .service-item, .project-item {
    transition: var(--transition);
}

/* Whats app and call Icons */
.floating-icons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
}

#spinner.show {
    visibility: visible;
    opacity: 1;
}

/* Back to top */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/* Service Item */
.service-item {
    border-radius: 20px;
    background-color: var(--bl);
}

/* Testimonial Item */
.testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: var(--transition);
}

.owl-item.center .testimonial-item {
    background: var(--primary);
}

.testimonial-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

/* Media Queries */
@media (max-width: 768px) {
    .project-carousel .owl-nav {
        top: -70px;
        left: 50%;
        transform: translateX(-50%);
    }

    .project-carousel .owl-nav .owl-prev, .project-carousel .owl-nav .owl-next {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/* Whats app and call Icons */
.floating-icons {
    position: fixed;
    bottom: 20px;
    left: 20px; /* تغيير من right إلى left لجعل الأزرار تظهر في الجهة اليسرى */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: transform 0.2s;
    object-fit: contain;
}

.call-icon {
    width: 45px; /* حجم مخصص لأيقونة الاتصال */
    height: 45px;
    border-radius: 50%;
    transition: transform 0.2s;
    object-fit: contain;
}

.counter-section {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
    background-color: #2d2a6f;
}

  /* تنسيق القسم بالكامل */
  .counter-section {
    background-color: #003366; /* خلفية باللون الأزرق الداكن */
    padding: 50px 0;
    text-align: center;
}

/* حاوية الأعداد */
.counter-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* تنسيق الأعمدة */
.counter-column {
    text-align: center;
    width: 24%;
    padding: 20px;
}

/* تنسيق كل عداد */
.counter {
    background-color: #fff; /* خلفية بيضاء */
    border-radius: 8px;
    border: 2px solid #FFD700; /* الحدود باللون الذهبي */
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* تأثير التحويم */
.counter:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* عنوان العداد */
.counter-title {
    font-size: 20px;
    font-weight: bold;
    color: #FF0000; /* اللون الأحمر */
    margin-bottom: 15px;
}

/* تنسيق الأرقام */
.counter-number-wrapper {
    font-size: 35px;
    font-weight: bold;
    color: #FFD700; /* اللون الذهبي */
}

/* تنسيق الأرقام مع الوحدات */
.counter-number {
    color: #007bff; /* نفس اللون الذهبي */
}


   /* تنسيق القسم */
   .counter-section {
    background-color: var(--light); /* الخلفية الفاتحة */
    padding: 50px 0;
    text-align: var(--text-align);
}

/* حاوية الأعمدة */
.counter-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* تنسيق الأعمدة */
.counter-column {
    text-align: center;
    width: 24%;
    padding: 20px;
}

/* تنسيق كل عداد */
.counter {
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border: 2px solid var(--primary); /* اللون الذهبي */
    transition: var(--transition);
}

/* تأثير التحويم */
.counter:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* تنسيق العنوان */
.counter-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--bl); /* اللون الأزرق */
    margin-bottom: 15px;
}

/* تنسيق الأرقام */
.counter-number-wrapper {
    font-size: 35px;
    font-weight: bold;
    color: var(--primary); /* اللون الذهبي */
}

/* تنسيق الأرقام مع الوحدات */
.counter-number {
    color: var(--primary); /* اللون الذهبي */
}

/* تنسيق صندوق الفليب */
.flip-box {
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    perspective: 1000px;
    transition: var(--transition);
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 200px;
    transform-style: preserve-3d;
    transition: var(--transition);
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

/* الواجهة الأمامية لصندوق الفليب */
.flip-box-front {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bl); /* اللون الأزرق */
    height: 100%;
    color: var(--light);
    font-size: 50px;
    text-align: var(--text-align);
}

/* الواجهة الخلفية لصندوق الفليب */
.flip-box-back {
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    background-color: var(--dark); /* اللون الداكن */
    color: var(--light);
    padding: 20px;
    text-align: var(--text-align);
    font-size: 16px;
}

.flip-box-back h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary); /* اللون الذهبي */
}

.flip-box-back p {
    font-size: 14px;
    color: var(--secondary); /* اللون الرمادي */
}

/* تنسيق الأيقونات */
.icon i {
    font-size: 60px;
    color: var(--primary); /* اللون الذهبي */
}

/* تنسيق النصوص */
h3 {
    font-size: 24px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    color: var(--dark);
}

p {
    font-size: 16px;
    color: var(--secondary);
    font-family: 'Arial', sans-serif;
}

  /* تنسيق القسم */
  .counter-section2 {
    background-color: var(--light);
    padding: 50px 0;
    text-align: var(--text-align);
}

/* تنسيق كل بطاقة */
.gift-card {
    border: 2px solid var(--primary);
    border-radius: 12px;
    transition: var(--transition);
    background-color: var(--light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gift-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* تنسيق الصورة داخل البطاقة */
.card-img-top {
    border-bottom: 2px solid var(--primary);
    border-radius: 12px 12px 0 0;
}

/* تنسيق العنوان داخل البطاقة */
.card-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark); /* اللون الداكن */
    text-align: center;
    margin-top: 15px;
}

  /* Container */
    .container {
        background-color: var(--light);
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    }

    /* Title */
    h1 {
        color: var(--primary);
        font-size: 2.5rem;
        font-weight: bold;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    /* Paragraph */
    p {
        font-size: 1.2rem;
        color: var(--dark);
        line-height: 1.6;
    }

    /* Image Gallery */
    .gallery .col-md-4 {
        margin-bottom: 1rem;
    }

    .img-fluid {
        border-radius: 8px;
        transition: transform 0.3s ease-in-out;
    }

    .img-fluid:hover {
        transform: scale(1.05);
    }

.ghgh{

    background-color: #2d2a6f;
}


.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #0056b3; /* لون النص */
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.separator {
    width: 100px; /* طول الخط */
    height: 3px; /* سماكة الخط */
    background-color: #0056b3; /* لون الخط */
    margin: 5px auto 15px; /* توسيط الخط */
}

.section-description {
    font-size: 1rem;
    color: #fff;
    text-align: center;
    max-width: 450px;
    margin: auto;
}

.custom-box {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.custom-box:hover {
    transform: translateY(-5px);
}

.custom-box img {
    display: block;
    margin: auto;
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/* ألوان مخصصة */
.bg-blue { background-color: #007bff; color: white; } /* أزرق */
.bg-green { background-color: #28a745; color: white; } /* أخضر */
.bg-orange { background-color: #fd7e14; color: white; } /* برتقالي */

  /* تنسيق القسم الرئيسي */
  .counter-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
}

/* تصميم الأعمدة */
.counter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* تصميم كل عداد */
.counter-column {
    width: 250px;
    padding: 20px;
    border-radius: 15px;
    color: white;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.counter-column:hover {
    transform: scale(1.05);
}

/* ألوان مختلفة لكل عداد */
.counter-column:nth-child(1) { background-color: #007bff; } /* أزرق */
.counter-column:nth-child(2) { background-color: #28a745; } /* أخضر */
.counter-column:nth-child(3) { background-color: #ffc107; color: black; } /* أصفر */
.counter-column:nth-child(4) { background-color: #dc3545; } /* أحمر */

/* العناوين والأرقام */
.counter-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.counter-number {
    font-size: 32px;
    font-weight: bold;
}



/* تحسين عرض الصور على الهواتف */
@media (max-width: 768px) {
    #header-carousel .carousel-item img {
        max-height: 300px; /* تقليل الارتفاع على الشاشات الصغيرة */
    }
}


