/* ===============================
Global styles
==================================== */




.whatsapp-contact {
    margin-right: auto; /* يدفعه للجهة اليسرى مع الاتجاه RTL */
  }
  
  .whatsapp-contact a {
    color: #25d366;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
  }
  
  .whatsapp-contact a:hover {
    background-color: #25d366;
    color: white;
  }
  
  .whatsapp-contact i {
    font-size: 22px;
  }
  


 /* ===============================
Statistics
==================================== */



.modern-stats {
    background-color: #fff;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;      /* ↓ لتكديس العنوان + البطاقات تحت بعض */
    align-items: center;         /* ← لتوسيط كل شيء أفقيًا */
    justify-content: center;     /* ← لتوسيط رأسيًا (لو فيه ارتفاع ثابت) */
    text-align: center;
  }


  .stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
  }
  
  
  .section-title {
    font-size: 34px;
    color: #ff761d;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
  }




  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #ff761d;
    border-radius: 2px;
  }

  
  .stat-box {
    background: #f8f8f8; /* خلفية ناعمة */
    border-radius: 12px;
    border: 2px solid #ff761d; /* الغلاف البرتقالي */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    padding: 30px 20px;
    width: 250px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  
  .stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
  
  .stat-box img {
    width: 50px;
    margin-bottom: 15px;
    transition: transform 0.3s;
  }
  
  .stat-box:hover img {
    transform: scale(1.1);
  }
  
  .stat-box h3 {
    color: #ff761d;
    font-size: 36px;
    margin: 10px 0 5px;
    font-weight: bold;
  }
  
  .stat-box p {
    color: #333;
    font-size: 16px;
    font-weight: 500;
  }
  
  
  
 /* ===============================
Statistics
==================================== */




 /* ===============================
partners
==================================== */



.partners {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
    overflow: hidden;
    border-bottom: 2px solid #ff761d;
  }
  
  
  .partners-title {
    font-size: 34px;
    color: #ff761d;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
  }
  
  .partners-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #ff761d;
    border-radius: 2px;
  }
  
  
  .partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 180px;
  }
  
  .logos-track {
    display: flex;
    width: max-content;
    animation: waveScroll 20s linear infinite;
    align-items: center;
    position: relative;
  }
  
  .logos-track img {
    height: 190px;
    transition: transform 0.3s ease;
    filter: grayscale(100%);
  }
  
  .logos-track img:hover {
    transform: scale(1.2);
    filter: grayscale(0%);
  }
  
  /* الحركة المتعرجة (موجة واضحة) */
  @keyframes waveScroll {
    0% {
      transform: translateX(100%) translateY(0px);
    }
    10% {
      transform: translateX(90%) translateY(-25px);
    }
    20% {
      transform: translateX(80%) translateY(25px);
    }
    30% {
      transform: translateX(70%) translateY(-25px);
    }
    40% {
      transform: translateX(60%) translateY(25px);
    }
    50% {
      transform: translateX(50%) translateY(-25px);
    }
    60% {
      transform: translateX(40%) translateY(25px);
    }
    70% {
      transform: translateX(30%) translateY(-25px);
    }
    80% {
      transform: translateX(20%) translateY(25px);
    }
    90% {
      transform: translateX(10%) translateY(-25px);
    }
    100% {
      transform: translateX(-100%) translateY(0px);
    }
  }
  


 /* ===============================
partners
==================================== */

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    transition: top 0.3s; /* تأثير الحركة عند الإظهار والإخفاء */
    z-index:1000; /* لضمان ظهوره فوق باقي العناصر */
}


.our-work {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f8f8;
}

.our-work h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
    color: #333;
}



.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* عدد الأعمدة الافتراضي */
    gap: 20px;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.grid-item {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.grid-item img {
    width: 100%; /* الصورة تغطي كامل عرض العنصر */
    height: auto;
    object-fit: cover;
    border-radius: 8px 8px 0 0; /* جعل الزوايا العلوية مستديرة */
}

.grid-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 0;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
}

/* ===== Media Query for Mobile ===== */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* عدد الأعمدة لشاشات الهواتف */
    }

    .grid-item {
        font-size: 1rem; /* تقليل حجم النص */
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr; /* عمود واحد فقط للشاشات الصغيرة جدًا */
    }

    .grid-item h3 {
        font-size: 0.9rem; /* تصغير النص أكثر */
    }
}




:root {
    --mainColor: #e74c3c;
    --white: #fff;
    --black: #000;
    --gradient: linear-gradient( 90deg, rgba(40, 47, 159, 0.95) 0%, rgb(45, 47, 158) 3%, rgba(223, 41, 120, 0.8) 100%);
    --transition-time: .4s;
    --paragraph-color: #777;
    --color-1: #f5ae10;
    --color-2: #09d69c;
    --color-3: #7857fe;
    --lines: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    direction: rtl;
    background-color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-display: inherit;
    height: 1500px;
}

.container {
    width: 80%;
    margin: auto;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.row {
    display: flex;
}

button,
input {
    border: none;
    outline: none;
}


/* =============================
scrollbar
================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--mainColor);
}


/*=====================================
Color Switcher
================================== */

.color-switcher h3 {
    color: var(--mainColor);
    border-bottom: 1px solid #3333;
    font-size: 20px;
    padding: 5px 0;
    margin-bottom: 10px;
    text-align: center;
}

.switcher-btn {
    position: absolute;
    color: var(--mainColor);
    top: 0px;
    left: 200px;
    background-color: #d5d5d5;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    /* box-shadow: 0 0 10px 2px #ddd; */
}

.switcher-btn i {
    color: var(--mainColor);
    animation: spin 4s infinite linear;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.color-switcher {
    position: fixed;
    top: 25%;
    left: -200px;
    width: 200px;
    padding: 10px;
    background: #d5d5d5;
    z-index: 1000;
    transition: all .5s;
    /* box-shadow: 0 0 10px 2px #ddd; */
}

.color-switcher.active {
    left: 0;
}

.theme-buttons-conatiners {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.theme-buttons {
    width: calc(100% / 2);
    height: 40px;
    width: 40px;
    border-radius: 50px;
    /* margin: 5px; */
    cursor: pointer;
    opacity: .5;
}

.color-switcher .theme-buttons.active {
    opacity: 1;
    border: 3px solid #fff;
}


/*================================
Up to top Button 
=====================================*/

.btnUp {
    position: fixed;
    right: 20px;
    bottom: 50px;
    background-color: var(--mainColor);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: 0;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0px 0px 5px 1px #0000003d;
    transition: all var(--transition-time);
    animation: trans 1s infinite alternate;
}


/*================================
nav 
=====================================*/

.nav {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-time) ease-in-out;
    z-index: 999;
}

.nav .row {
    justify-content: space-between;
    align-items: center;
}

.nav .links {
    display: flex;
    align-items: center;
}

.links li a {
    padding: 5px 10px;
    color: var(--white);
    transition: background var(--transition-time) ease-in-out, color var(--transition-time) ease-in-out;
}

.nav-active .links li a {
    color: var(--black);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Rakkas', cursive;
    color: var(--mainColor);
}

.nav .toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--white);
}

.nav-active .toggle {
    color: var(--black);
}

.nav .links {
    transition: var(--transition-time) ease-in-out;
}

.nav .links-mobile {
    position: absolute;
    background: var(--white);
    left: 0;
    top: 81px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    grid-gap: 10px;
    padding: 20px;
    z-index: 9999;
    transition: var(--transition-time) ease-in-out;
    opacity: 0;
    visibility: hidden;
    transform: translate(0%, -100%);
    transform-origin: top;
}

.nav .links-mobile li a {
    padding: 20px;
    display: inline-block;
    color: var(--black);
    transition: color var(--transition-time) ease-in-out;
}

.links-mobile.collapse {
    opacity: 0;
    visibility: hidden;
    transform: translate(0%, -100%);
}

.links li a:hover,
.links-mobile li a:hover {
    color: var(--mainColor);
}


/* av when scroll */

.nav-active {
    background-color: var(--white);
    box-shadow: 0 0 5px 0 #aaa;
    transition: var(--transition-time) ease-in-out;
    border-bottom: none;
}


/* hero */

.hero {
    position: relative;
    height: 80vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6));
    z-index: 2;
}



.hero-logo {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    animation: fadeIn 1.5s ease-in-out;
  }
  
  .hero-logo {
    max-width: 300px;     /* ← تكبير الشعار */
    height: auto;
    display: block;
    margin-top: 10px;     /* ← تنزيل الشعار للأسفل */
    margin-right:-15px;   /* ← دفعه لليمين */
    animation: fadeIn 7s ease-in-out;
  }
  
  
  
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
 /* ===============================
الكتابة
==================================== */


  .typewriter {
    direction: rtl;
    overflow: hidden;              /* إخفاء الأحرف الزائدة */
    white-space: nowrap;           /* سطر واحد فقط */
    font-size: 20px;
    color: white;
    width: 0;
    animation: typing 5s steps(50, end) forwards, fadeIn 7s ease-in-out, blink 0.7s step-end infinite;
    text-align: center;
    margin-top: -50px;
    margin-right: 20px;   /* ← دفعه لليمين */
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}
  


 /* ===============================
الكتابة
==================================== */

.hero .container,
.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}


.hero h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--mainColor);
}

.hero p {
    color: var(--white);
    margin-bottom: 50px;
}

.hero-btn .btn .fa,
.hero-btn .btn .fas {
    font-weight: 900;
    font-size: 16px;
}


/* ================================
=================================== */

.btn {
    display: inline-block;
    min-width: 150px;
    text-align: center;
    color: #fff;
    letter-spacing: 1px;
    margin: 0;
    /* font-size: 0.8125rem; */
    border-radius: 0px;
    margin: 20px 0 0 10px;
    transition: var(--transition-time);
    border: 1px solid var(--mainColor);
    font-family: 'open_sansbold';
    padding: 1rem;
    border-radius: 2px;
    cursor: pointer;
}

.btn:hover {
    box-shadow: 0px 2px 2px 1px rgba(221, 221, 221, 0.6);
    color: #fff;
}

.btn-default {
    background: transparent;
    border: 1px solid #fff;
}

.btn-default:hover {
    background: var(--mainColor);
    border: 1px solid var(--mainColor);
}

.btn-lg {
    background: var(--mainColor);
}


/* ------------------------------
features
------------------------------ */

.features {
    margin-top: -100px; /* ادخالها قليلًا داخل الفيديو */
    z-index: 5;
    position: relative;
  }
  

.features-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-gap: 30px;
    flex-wrap: wrap;
}

.features-items .features-item {
    flex: calc((100% / 3) - 30px);
    background-color: #fff;
    box-shadow: 0 15px 25px -7px rgb(0 0 0 / 9%), 0 -12px 10px -10px rgb(0 0 0 / 4%);
    padding: 50px 15px;
    text-align: center;
    transition: var(--transition-time) ease-in-out;
    position: relative;
    overflow: hidden;
}

.features-items .features-item:hover {
    box-shadow: 0px 3px 13px 1px rgb(0 0 0 / 20%);
    /* box-shadow: 0 15px 10px -10px rgb(0, 0, 0, 10%), 0 1px 4px rgb(0, 0, 0, 30%), 0 0 40px rgb(0, 0, 0, 10%) inset; */
}

.features-item .features-text {
    display: block;
    margin: 10px 0;
    font-size: 16px;
    color: var(--mainColor);
}

.features-item .features-head {
    font-size: 18px;
}

.features .features-item::before,
.features .features-item::after {
    content: "";
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    transition: all .5s ease;
    opacity: 0;
}

.features .features-item::before {
    height: 25px;
    width: 25px;
    background-color: var(--mainColor);
    left: -20px;
    top: 40%;
}

.features .features-item:hover::before {
    left: 10px;
    opacity: 1;
}

.features .features-item::after {
    height: 40px;
    width: 40px;
    background-color: var(--color-1);
    right: -40px;
    top: 80%;
}

.features .features-item:hover::after {
    right: -15px;
    opacity: 1;
}

.features-item .hover-line:after {
    content: '';
    position: absolute;
    background: var(--mainColor);
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    transform-origin: top left;
    transform: scale(0, 1);
    transition: all 300ms linear 0ms;
}

.features-item:hover .hover-line:after {
    transform: scale(1, 1);
}


/*========================================================
    Start About
==========================================================*/

.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.about-col {
    flex: calc((100% / 2) - 30px);
}

.info .head {
    color: var(--mainColor);
    font-size: 18px;
}

.info .big-head {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 2;
}

.info p:first-of-type {
    color: var(--paragraph-color);
    font-weight: 400;
    line-height: 1.7;
}

.info p:last-of-type {
    font-weight: 600;
    margin: 0px 0 40px 0;
    line-height: 2.3;
    color: var(--paragraph-color);
}

.info .about-btn {
    display: inline-block;
    color: #fff;
    padding: 10px 30px;
    border: 1px solid var(--mainColor);
    background-color: var(--mainColor);
    transition: var(--transition-time);
}

.info .about-btn:hover {
    color: var(--mainColor);
    border: 1px solid var(--mainColor);
    background-color: transparent;
}

.about .about-content .about-image img {
    box-shadow: 0 4px 10px #c4c2c2cf, 0 -4px 10px #c4c2c2cf;
    border-radius: 10px;
    width: 100%;
}

.about-image {
    position: relative;
}

.about-image .video-icon {
    position: absolute;
    right: -20px;
    top: 50%;
    background: var(--gradient);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    animation: pulse_01 2s ease infinite;
    transform: translateY(-50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-time);
}


/* ==================================== 
Video Popup
==================================== */

.video-popup {
    padding: 15px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1999;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .5s ease;
}

.video-popup.open {
    opacity: 1;
    visibility: visible;
}

.video-popup-inner {
    width: 100%;
    max-width: 900px;
    position: relative;
}

.video-popup .video-popup-close {
    position: absolute;
    right: 0;
    top: -50px;
    height: 30px;
    width: 30px;
    font-size: 25px;
    text-align: center;
    cursor: pointer;
    color: #ffffff;
    background: var(--mainColor);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-popup .iframe-box iframe {
    width: 100%;
}


/* ======================================
start achivement 
=======================================*/

.achivement {
    padding: 50px 0;
}

.acivement-content {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    gap: 20px;
    align-items: center;
}

.acivement-content .info {
    line-height: 3;
}

.acivement-content .column {
    flex: calc(100% / 2 - 20px);
}

.achivement .line-up {
    border-radius: 50%;
    border: 1px solid #ddd;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 30px auto 60px;
}

.achivement .line-down {
    border-radius: 50%;
    border: 1px solid #ddd;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.achivement .line-down .numbers {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.achivement .line-down .numbers .nums {
    position: absolute;
    background: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 0 10px 2px #ddd;
    line-height: 1.2;
}

.achivement .line-down .numbers .nums:first-of-type {
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
}

.achivement .line-down .numbers .nums:nth-of-type(2) {
    left: -5%;
    top: 50%;
    transform: translateY(-50%);
}

.achivement .line-down .numbers .nums:nth-of-type(3) {
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
}

.achivement .line-down .numbers .nums:last-of-type {
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
}


/*========================================================
    spans color
==========================================================*/

.achivement .line-down .numbers .nums:nth-of-type(1) span:nth-child(1) {
    color: var(--color-1);
}

.achivement .line-down .numbers .nums:nth-of-type(2) span:nth-child(1) {
    color: var(--color-2);
}

.achivement .line-down .numbers .nums:nth-of-type(3) span:nth-child(1) {
    color: var(--mainColor);
}

.achivement .line-down .numbers .nums:nth-of-type(4) span:nth-child(1) {
    color: var(--color-3);
}

.achivement .line-down .numbers .nums:nth-of-type(1) span:nth-child(1),
.achivement .line-down .numbers .nums:nth-of-type(2) span:nth-child(1),
.achivement .line-down .numbers .nums:nth-of-type(3) span:nth-child(1),
.achivement .line-down .numbers .nums:nth-of-type(4) span:nth-child(1) {
    font-size: 30px;
    font-weight: 700;
}


/* ===============================================
Portfolio
==================================================*/

.portfolio-effect1 .img-inner {
    position: relative;
    overflow: hidden;
    transform: scale(1) translateZ(0);
    transition: transform .6s cubic-bezier(0.3, 0.58, 0.42, 0.9);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px
}

.portfolio-effect1:hover .img-inner {
    transform: scale(0.96) translateZ(0);
    transform-origin: center;
    transition-duration: .4s;
}


/* ========================================
Gallery Section
======================================== */

.gallery {
    padding: 60px 0;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-header .gallery-btn .showBtn {
    color: var(--mainColor);
    border: 1px solid var(--mainColor);
    padding: 8px 20px;
    transition: var(--transition-time) ease-in-out;
}

.gallery-header .gallery-btn .showBtn:hover {
    background-color: var(--mainColor);
    color: var(--white);
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.gallery-images .image {
    position: relative;
    overflow: hidden;
}

.gallery-images .image img {
    width: 100%;
}

.gallery-images .image img.active {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 60%;
    width: auto;
    box-shadow: 0 0 0 100vh rgba(0, 0, 0, 0.6);
    z-index: 111;
}

.gallery-images .image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    display: block;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    transform: skewX(-50deg);
    z-index: 2;
}

.gallery-images .image:hover::before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}


/* Shine */

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}


/* ==================================================
Start Testimonials
===================================================== */

.testimonials {
    padding: 60px 0;
    overflow-x: hidden;
}

.testimonials__header {
    text-align: center;
    margin: 40px 0;
}

.testimonials__row,
.testimonials__slide {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 20px 0;
}

.testimonials__image {
    flex: 1 30%;
    position: relative;
}

.testimonials__image img {
    border-radius: 50%;
    box-shadow: 0 0 11px 5px #00000024, inset 0 0 11px -5px #00000024;
    width: 120px;
    height: 120px;
}

.testimonials__review {
    flex: 1 50%;
}

.testimonials__person__info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
    margin: 10px 0 20px 0;
}

.testimonials__text {
    font-size: 18px;
    font-weight: 400;
    color: var(--paragraph-color);
}

.testimonials__back {
    position: absolute;
    background: #FBFBFB;
    width: 180px;
    height: 180px;
    top: -30px;
    left: 70px;
    box-shadow: 0 15px 25px -7px rgb(0 0 0 / 9%), 0 -12px 10px -10px rgb(0 0 0 / 4%);
    z-index: -1;
    transform: rotate( 45deg);
    border-radius: 15px;
}

.testimonials__back.small {
    width: 100px;
    height: 100px;
    top: -110px;
    right: -100px;
}

.testimonials__name {
    font-size: 20px;
    font-weight: 600;
    color: var(--mainColor);
}

.testimonials__job {
    font-size: 18px;
    font-weight: 400;
    color: var(--paragraph-color);
}


/* ========================================================
Newsletter
========================================================= */

.newsletter {
    padding: 60px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter__contact__input {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter__contact__input input {
    background: var(--mainColor);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 50px;
    margin: 25px 0;
    width: 350px;
    position: relative;
    direction: ltr;
}

.newsletter__contact__input input::placeholder {
    color: #f9f9f9;
}

.newsletter__contact__input:before {
    content: "\f1d8";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: inherit;
    top: 0;
    left: -45px;
    width: 20px;
    z-index: 2;
    font-size: 30px;
    color: var(--white);
    cursor: pointer;
}


/*=======================================================
Footer 
=======================================================*/
.main-footer {
    background-color: #e74c3c;
    color: white;
    padding: 30px 20px;
    font-family: 'Cairo', sans-serif;
  }
  
  .footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
  }
  
  .footer-box {
    flex: 1;
    min-width: 250px;
  }
  
  .footer-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .footer-box p,
  .footer-box a {
    font-size: 15px;
    margin: 5px 0;
    color: white;
    text-decoration: none;
  }
  
  .footer-box a:hover i {
    transform: translateY(-2px);
    transition: 0.3s ease;
  }
  
  .footer-logo-box {
    text-align: center;
    
  }
  
  .footer-logo-box img {
    width: 140px;
    margin-bottom: 15px;
  }
  

  
  
  .footer-logo-box .copyright {
    font-size: 14px;
    margin-top:-50px;
  }
  
  @media (max-width: 768px) {
    .footer-wrapper {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-box {
      width: 100%;
    }
  
    .footer-box h4 {
      justify-content: center;
    }
  }

  
/*=======================================================
preloader 
=======================================================*/

.loader {
    -webkit-perspective: 700px;
    perspective: 700px;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 2100;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--mainColor);
    transition: all var(--transition-time);
}

.loader>span {
    font-size: 60px;
    display: inline-block;
    animation: flib 3.2s infinite linear;
    transform-origin: 0 70%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    margin-left: 10px;
}

.loader>span:nth-child(odd) {
    color: var(--black);
}

.loader>span:nth-child(even) {
    color: var(--white);
}

@keyframes flib {
    35% {
        transform: rotateX(360deg);
    }
    100% {
        transform: rotateX(360deg);
    }
}

.loader>span:nth-child(2) {
    animation-delay: .3s;
}

.loader>span:nth-child(3) {
    animation-delay: .6s;
}

.loader>span:nth-child(4) {
    animation-delay: .9s;
}

.loader>span:nth-child(5) {
    animation-delay: 1.2s;
}

.loader>span:nth-child(6) {
    animation-delay: 1.5s;
}

.loader>span:nth-child(7) {
    animation-delay: 1.8s;
}





.features-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }
  
  .features-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  }
  
  .features-item img {
    width: 60px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
  }
  
  .features-item:hover img {
    transform: scale(1.1);
  }
  
  .features-text {
    color: #ff4d4d;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    font-size: 18px;
  }
  
  .features-head {
    font-size: 20px;
    color: #222;
    line-height: 1.6;
  }

  



  