/********** Maqina Brand Styles **********/
:root {
    --primary: #23C683;  /* Emerald Green (Primary Color) */
    --secondary2: #226E6A;  /* Red (Secondary Color) */
    --secondary: #23C683; /* Red (Secondary Color) */
    --light: #FFFFFF;  /* White (Primary Color) */
    --dark: #151B19;  /* Eerie Black (Primary Color) */
    --gold: #D2C54F;  /* Gold-like Yellow (Secondary Color) */
    --brown: #7A4419;  /* Brownish Orange (Secondary Color) */
}

.btn.btn-primary-gradient2,
.btn.btn-secondary-gradient {
    position: relative;
    overflow: hidden;
    border: none;
    color: #FFFFFF;
    z-index: 1;
    font-weight: bold;
}

.btn.btn-primary-gradient2::after,
.btn.btn-secondary-gradient::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    z-index: -1;
    opacity: 0;
}

.btn.btn-primary-gradient2,
.btn.btn-secondary-gradient::after {
    background: linear-gradient(to bottom right, var(--secondary2), var(--secondary2));
}

.btn.btn-secondary-gradient,
.btn.btn-primary-gradient2::after {
    background: linear-gradient(to bottom right, var(--secondary2), var(--secondary2));
}

.btn.btn-primary-gradient2:hover::after,
.btn.btn-secondary-gradient:hover::after {
    opacity: 1;
}

.hand-rob {
    position: relative;
    top: -70px;
}

.static-image-container {
    position: relative;
    max-width: 130%;
    display: flex;
    justify-content: center;
}

.static-image-container img {
    max-width: 1000px;
    height: auto;
    object-fit: contain;
}
.a1{
    margin-left: 20px;
     text-align: left;
}
.a2{
    margin-left: 200px; 
    text-align: left;
}
@media (max-width: 768px) {
    
    .a1{
        margin-left: 20px;
         text-align: left;
    }
    .a2{
        margin-left: 20px; 
        text-align: left;
    }
    .hand-rob {
        padding: 0px;
        content: url('../img/Untitled-1-removebg\ \(2\).png'); /* تغيير الصورة في حالة الشاشات الصغيرة */
        padding-top:3rem;
        padding-right:2.5rem;
    }
    body {
        overflow-x: hidden;
    }
  
}
body {
    overflow-x: hidden;
}
/* عزل التنسيق فقط لعناصر البوكسات داخل القسم */
#Services .position-relative {
    height: 250px; /* ارتفاع ثابت للبوكس */
    display: flex; /* استخدام Flexbox لتنسيق المحتويات */
    flex-direction: column; /* ترتيب العناصر عموديًا */
    align-items: center; /* توسيط المحتوى أفقيًا */
    text-align: center; /* توسيط النصوص */
    padding: 10px; /* إضافة مسافة داخلية بسيطة */
    gap: 12px; /* تقليل المسافة بين العناصر */
}

/* تحسين تنسيق الصورة */
#Services .position-relative img, 
#Services .position-relative .d-inline-flex {
    width: 80px; /* حجم مناسب للصورة */
    height: 80px; /* حجم مناسب للصورة */
    object-fit: contain; /* ضمان ظهور الصورة كاملة */
}

/* العناوين */
#Services .position-relative h5 {
    font-size: 18px; /* تكبير الخط */
    font-weight: 600;
    margin: 4px 0; /* تقليل المسافة بين العنوان والصورة */
    margin-bottom: 12px; /* تعديل المسافة بين العنوان والوصف */
}

/* الوصف */
#Services .position-relative p {
    font-size: 16px; /* تكبير الخط */
    line-height: 1.6; /* تحسين القراءة */
    text-overflow: ellipsis; /* عرض "..." لو النص طويل */
    display: -webkit-box; /* التعامل مع النص كصندوق */
    -webkit-line-clamp: 4; /* عدد الأسطر المسموح بها */
    -webkit-box-orient: vertical; /* تحديد اتجاه النص عموديًا */
    overflow: hidden; /* إخفاء النصوص الزائدة */
    max-height: calc(1.6em * 4); /* ارتفاع النص بحسب عدد الأسطر */
}


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

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

h3,
h4 {
    font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

h5,
h6{
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-style: normal;
}


.p2,.mb-0{
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-style: normal;
}

/*** Gradient Text & BG ***/
.text-primary-gradient {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-secondary-gradient {
    background: linear-gradient(to bottom right, var(--secondary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-primary-gradient {
    background: linear-gradient(to bottom right, var(--secondary), var(--secondary));
}

.bg-secondary-gradient {
    background: linear-gradient(to bottom right, var(--secondary2), var(--secondary2));
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient {
    position: relative;
    overflow: hidden;
    border: none;
    color: #FFFFFF;
    z-index: 1;
    font-weight:bold;
}

.btn.btn-primary-gradient::after,
.btn.btn-secondary-gradient::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    z-index: -1;
    opacity: 0;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient::after {
    background: linear-gradient(to bottom right, var(--primary), var(--primary));
}

.btn.btn-secondary-gradient,
.btn.btn-primary-gradient::after {
    background: linear-gradient(to bottom right, var(--primary), var(--primary));
}

.btn.btn-primary-gradient:hover::after,
.btn.btn-secondary-gradient:hover::after {
    opacity: 1;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    border: none;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px; /* زيادة المسافة بين الروابط */
    padding: 45px 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-item:not(:last-child) {
    margin-right: 50px; /* مسافة إضافية بين الروابط */
}

.navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    top: 0;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary) !important;
    }

    .navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-nav .nav-link::before {
        border-top-color: var(--primary);
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding: 16rem 0 0 0;
    background:
        url(../img/bg-bottom2.png), /* أضف الصورة الجديدة هنا */
        url('../img/top.jpg'); /* الصورة الخلفية الرئيسية */
    background-position:
        center bottom, /* مكان bg-bottom */
        center center; /* مكان Ttop */
    background-size:
        120% 300px, /* خلي bg-bottom تاخد العرض الكامل وقلل ارتفاعها */
        cover; /* غطي كامل القسم بالصورة Ttop */
    background-repeat: no-repeat;
    
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #000; /* Black background for placeholder */
    display: block;
}

@media (max-width: 991.98px) {
    .hero-header {
        overflow: hidden; /* إخفاء الـ scroll الجانبي */
        padding: 0px;
        padding-top: 5rem;
        background:
            url('../img/top.jpg'); /* الصورة الخلفية الرئيسية */
        background-position:
            center center; /* مكان Ttop */
        background-size:
            cover; /* غطي كامل القسم بالصورة Ttop */
        background-repeat: no-repeat;
    }
    
}/* ضبط المساحة الثابتة للكونتينر */
#aboutSlider {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 600px;
    margin: 0 auto;
    overflow: visible;
}

/* تنسيق السلايد شو */
.carousel-inner img {
    width: 100%;
    height: auto;
}

/* تنسيق النقاط أسفل السلايد شو */
.carousel-indicators {
    position: absolute;
    bottom: -20px;
    left: 35%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* تخصيص النقاط */
.carousel-indicators button {
    width: 15px;
    height: 15px;
    background-color: #23C683;
    border-radius: 30%;
    border: none;
    margin: 0 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* اللون الأخضر للنقطة النشطة */
.carousel-indicators .active {
    background-color: #28a745;
    transform: scale(1.2);
}

/* تغيير اللون للنقاط غير النشطة */
.carousel-indicators button:not(.active) {
    background-color: #000000;
}

/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}


/*** Pricing ***/
.pricing .nav {
    padding: 2px;
}

.pricing .nav-link {
    padding: 12px 30px;
    font-weight: 500;
    color: var(--dark);
    background: #FFFFFF;
}

.pricing .nav-item:first-child .nav-link {
    border-radius: 30px 0 0 30px;
}

.pricing .nav-item:last-child .nav-link {
    border-radius: 0 30px 30px 0;
}

.pricing .nav-link.active {
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}


/*** Screenshot ***/
.screenshot-carousel {
    position: relative;
    width: 253px;
    height: 500px;
    padding: 15px;
    margin-right: 30px;
}

.screenshot-carousel::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/screenshot-frame.png) center center no-repeat;
    background-size: 253px 500px;
    z-index: 1;
}

.screenshot-carousel .owl-item img {
    position: relative;
    width: 223px;
    height: 470px;
}

.screenshot-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 15px;
    transition: .5s;
}

.screenshot-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 5px;
    left: 5px;
    background: #FFFFFF;
    border-radius: 5px;
}

.screenshot-carousel .owl-dot.active {
    box-shadow: 0 0 10px var(--dark);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background-image: url('../img/topsmall.jpg');
}

.testimonial-carousel .owl-item.center .testimonial-item h5,
.testimonial-carousel .owl-item.center .testimonial-item p {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 60px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}


/*** Footer ***/
.footer {
    margin-top: 2rem;
    padding-top: 2rem;
    background: url('../img/footerbg.jpg'); /* الصورة الخلفية الأساسية */
    background-position: center bottom; /* Top.jpg في أسفل المنتصف */
    background-size: cover; /* الصورة تغطي القسم */
    background-repeat: no-repeat;
    color: white; /* لون النص الافتراضي */
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* تحسين حقل الإدخال */
.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* يجعل العناصر تتحرك إلى الأسفل إذا كانت الشاشة صغيرة */
    position: relative;
    padding-bottom: 50px;
}

.newsletter-form::after {
    content: ""; /* خط إضافي */
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 6px;
    background: white;
    opacity: 0.7;
}

/* تحسين الإدخال */
.email-input {
    width: 60%;
    max-width: 400px;
    min-width: 200px; /* عرض الإدخال الأدنى */
    padding: 12px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    border-color: #23C683;
}

/* تحسين الزر */
.submit-btn {
    display: inline-block;
    text-align: center;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background: linear-gradient(to right, #23C683, #226E6A);
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(to right, #226E6A, #23C683);
    color: #000000;
}

/* تحسين الحاوية الخاصة بالروابط */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* تحسين قائمة الروابط */
.info-list {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap; /* جعل القائمة تستجيب لحجم الشاشة */
    justify-content: center;
    gap: 20px;
}

.info-list ul {
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center; /* توسيط القائمة */
}

.info-list ul li {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    color: white;
    margin-left: 130px; /* إضافة مسافة جانبية على اليسار */
    margin-right: 130px; /* إضافة مسافة جانبية على اليمين */
}

.info-list ul li .dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    margin-right: 10px;
}

.info-link {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #226E6A;
}

/* تحسين التصميم عند الأحجام الصغيرة */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .email-input {
        width: 90%;
    }

    .submit-btn {
        width: auto;
    }

    .info-list ul {
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        gap: 10px;
    }

    .social-icon img {
        width: 30px;
        height: 30px;
    }
    .about {
        margin-left: 0;
        text-align: center; /* تعديل المحاذاة إلى المركز */
    }

    .about h5, .about h1 {
        margin-left: 0; /* إزالة المسافة المبدئية */
        text-align: center; /* محاذاة النص في الوسط */
    }

    /* تعديل حجم النصوص على الشاشات الصغيرة */
    .about h5 {
        font-size: 18px; /* تصغير حجم النص */
    }

    .about h1 {
        margin-left: 0;
        font-size: 24px; /* تصغير حجم النص */
        margin-bottom: 20px; /* تقليل المسافة السفلية */
    }

    /* جعل الفيديو يستجيب ليملأ العرض بالكامل */
    .video-container {
        width: 80%;
        margin: 0 auto; /* توسيط الفيديو */
    }

    .video-placeholder {
        width: 100%;
        height: auto; /* يجعل الفيديو يتناسب مع حجم الشاشة */
    }
    .carousel-item {
        text-align: center; /* محاذاة النصوص إلى الوسط */
    }

    .carousel-item h1 {
        font-size: 24px; /* تقليل حجم الخط */
    }

    .carousel-item h5, .carousel-item h3 {
        font-size: 18px; /* تقليل حجم الخط */
    }

    /* تعديل المسافات بين النصوص والصور */
    .carousel-item .row {
        flex-direction: column; /* جعل الصور والنصوص في عمود */
        align-items: center;
    }

    .carousel-item img {
        width: 100%; /* جعل الصور تستجيب للشاشة */
        max-width: 300px; /* تحديد أقصى عرض للصورة */
    }

    .row.g-4.mb-4 {
        justify-content: center; /* محاذاة العناصر إلى الوسط */
    }

    /* تقليل حجم النصوص في الأزرار */
    .btn-primary-gradient, .btn-primary-gradient2 {
        padding: 10px 20px;
        font-size: 14px;
    }
   
    #aboutSlider {
        height: 800px; /* تغيير الارتفاع ليكون تلقائي ليتناسب مع الصورة */
    }
    .carousel-inner {
        text-align: center; /* محاذاة النصوص في السلايد بشكل مركزي */
    }

    .carousel-item {
        text-align: center;
    }

    .carousel-item .col-md-6 {
        display: inline-block; /* تغيير التخطيط ليظهر المحتوى بشكل مناسب */
        width: 100%; /* جعل الأعمدة تأخذ العرض الكامل */
    }

   
/* تنسيق النقاط أسفل السلايد شو */
.carousel-indicators {
    position: absolute;
    bottom: -40px;
    left: 35%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* تخصيص النقاط */
.carousel-indicators button {
    width: 15px;
    height: 15px;
    background-color: #23C683;
    border-radius: 30%;
    border: none;
    margin: 0 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* اللون الأخضر للنقطة النشطة */
.carousel-indicators .active {
    background-color: #28a745;
    transform: scale(1.2);
}

/* تغيير اللون للنقاط غير النشطة */
.carousel-indicators button:not(.active) {
    background-color: #000000;
}
    
}
