@import url('medical_modern.css');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  text-decoration: none;
  list-style: none;
}
:root {
  --space: 2rem;
  --main-color: #71c438;
  --pink-color: #5d00fb;
  --blue-opacity: #002570;
  --white-alfa-40: rgba(15, 189, 27, 0.232);
  --white-alfa-25: rgba(8, 169, 11, 0.019);
  --backdrop-filter: blur(5px);
  --box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

body {
  background-color: #e6f1ff;
}
html {
  scroll-behavior: smooth;
}
.btn {
  background-color: var(--white-alfa-40);
  border: 2px solid var(--white-alfa-25);
  box-shadow: var(--box-shadow);
  text-transform: capitalize;
  color: black;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;
  transition: 0.5s;
  padding: 10px;
}
.btn:hover {
  color: #fff;
  background-color: var(--main-color);
  border: 2px solid #fff;
}

.empty {
  background-color: var(--white-alfa-40);
  border: 2px solid var(--white-alfa-25);
  box-shadow: var(--box-shadow);
  backdrop-filter: var(--backdrop-filter);
  text-transform: capitalize;
  color: var(--main-color);
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  font-weight: bold;
  line-height: 2;
  margin: 2rem auto;
}

.empty p {
  font-size: 30px;
  margin: 2rem;
}
input {
  border: none;
}

input[type="submit"] {
  cursor: pointer;
}
input[type="submit"]:hover {
  color: var(--main-color);
}
.box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  align-items: center;
  justify-content: center;
}

.box-container .box {
  margin: 1rem;
}
.heading {
  text-align: center;
  line-height: 1.5;
}
.heading h1 {
  font-size: 2rem;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-opacity);
}
.heading span {
  color: var(--main-color);
  text-transform: capitalize;
  font-size: 16px;
}
.heading img {
  margin: 0 0.2rem;
  white-space: 150x !important;
}
.flex-btn .btn {
  margin: 0.5rem;
}
.banner {
  margin-top: 0;
  white-space: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  animation: banner 8s infinite alternate;
}

@keyframes banner {
  0% {
    background-image: url("../image/banner1.jpg");
  }
  50% {
    background-image: url("../image/banner.jpg");
  }
  100% {
    background-image: url("../image/banner0.jpg");
  }
}

.banner .detail {
  place-content: 4%;
  line-height: 1.5;
  margin: 2rem;
}
.banner .detail p {
  font-size: 16px;
  margin-block: 1rem;
}
.banner .detail span {
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-top: 1rem;
}
.banner .detail a {
  color: #000;
}
.banner .detail span i {
  margin: 0 1rem;
}
.banner .detail h1 {
  font-size: 3rem;
  color: var(--main-color);
  text-transform: capitalize;
}
.button {
  background-color: var(--main-color);
  color: #fff;
  text-decoration: none;
  padding-bottom: 1rem;
  border-radius: 19px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  overflow: hidden;
  max-width: 25px;
  max-height: 25px;
  transition: all 1s ease-in-out;
  --webkit-transition: all 1s ease-in-out;
}
.button:hover {
  max-width: 300px;
}
.button .text {
  margin-bottom: 10px;
  padding-top: -10px;
}
/* ----------------------------------- footer --------------------------*/
.newsletter {
    background:var(--main-color);
    padding: 60px 10%;
    text-align: center;
    color: #fff;
    direction: rtl;
}

.newsletter .box-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.newsletter .box-detail p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter .input-field {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter .input-field .box {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 1rem;
    margin-bottom: 20px;
}

.newsletter .btn {
    background: #2ecc71;
    color: #fff;
    padding: 12px 40px;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    transition: 0.3s;
}

.newsletter .btn:hover {
    background: #27ae60;
}

.newsletter .icons {
    margin-top: 30px;
}

.newsletter .icons i {
    font-size: 1.5rem;
    margin: 0 10px;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter .icons i:hover {
    color: #2ecc71;
}
.client {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 10%;
    background: #f8faff;
}

.client .img-box img {
    width: 120px;
    filter: grayscale(100%); /* جعل الصور رمادية */
    opacity: 0.6;
    transition: 0.3s;
    cursor: pointer;
}

.client .img-box img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
footer {
    background: #111827;
    color: #fff;
    padding: 80px 10% 20px;
    direction: rtl;
}

footer .content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

footer .box h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

footer .box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: #3498db;
}

footer .box p {
    line-height: 1.8;
    color: #9ca3af;
    margin: 20px 0;
}

footer .box a {
    display: block;
    color: #9ca3af;
    margin-bottom: 12px;
    transition: 0.3s;
    text-decoration: none;
}

footer .box a i {
    margin-left: 10px;
    color: #3498db;
}

footer .box a:hover {
    color: #fff;
    padding-right: 10px;
}

footer .box .icons {
    margin-top: 20px;
}

footer .box .icons i {
    font-size: 1.2rem;
    margin-left: 15px;
    cursor: pointer;
    transition: 0.3s;
}

footer .box .icons i:hover {
    color: #3498db;
}

/* الجزء السفلي من الفوتر */
footer .bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1f2937;
    color: #9ca3af;
}

footer .bottom a {
    display: inline;
    color: #3498db;
}

/* التجاوب مع الجوال */
@media (max-width: 768px) {
    footer .content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    footer .box h3::after {
        right: 50%;
        transform: translateX(50%);
    }
}
/* الحاوية الكبرى */
.feature {
    padding: 50px 7%;
    background: #fdfdfd;
}

.boxs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    align-items: center;
}

/* البطاقة الواحدة */
.boxs {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.boxs:hover {
    transform: translateY(-10px);
}

/* صورة الخلفية الكبيرة للبطاقة */
.boxs > img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: 0.5s;
}

.boxs:hover > img {
    transform: scale(1.1);
}

/* طبقة التعتيم لجعل النص واضحاً */
.boxs::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    z-index: 2;
}

/* المحتوى الداخلي (النص، الأيقونة، الزر) */
.boxs div {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
    color: #fff;
}

/* أيقونة الميزة الصغيرة */
.boxs div img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1); /* جعل الأيقونة بيضاء لتناسب الخلفية */
}

.boxs h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: 700;
}

/* تنسيق الزر الاحترافي */
.button {
    display: inline-flex;
    align-items: center;
    background: #71c438; /* لون المستشفى الهولندي */
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    overflow: hidden;
}

.button:hover {
    background: #5ea32e;
    box-shadow: 0 5px 15px rgba(113, 196, 56, 0.4);
}

.button .icon {
    margin-left: 10px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.button:hover .icon {
    transform: translateX(-5px); /* تحريك السهم عند التمرير */
}

/* التوافق مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .boxs-container {
        grid-template-columns: 1fr;
    }
    .boxs {
        height: 300px;
    }
}
.feature .box-container {
  align-items: center;
  justify-content: center;
  padding: 2% 4%;
}
.feature .boxs-container {
  align-items: center;
  justify-content: center;
  padding: 2% 4%;
  display: flex;
  flex-direction: row;


}
.feature .box-container .box

{
  border-radius: 0.5rem;
  background-color: var(--white-alfa-25);
  border: 2px solid #fff;
  backdrop-filter: var(--backdrop-filter);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}



.feature .box-container .box img

{
  width: 150px;
  margin: 1rem;
}
.feature .box-container .box div
 {
  margin-left: 1rem;
}
.feature .box-container .box div img
 {
  width: 40px;
}
.feature .box-container .box h2

{
  text-transform: capitalize;
  font-size: 18px;
  color: green;
  margin: 0.5rem 0;
}
.feature .box-container .box .button
 {
  background-color: var(--main-color);
  color: #fff;
  text-decoration: none;
  padding: 0.4rem;
  border-radius: 19px;
  text-align: center;
  display: inline-block;
  justify-content: center;
  overflow: hidden;
}

.care {
  background-image: url("../image/bg3.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  place-content: 5%;
}
.care .detail {
  max-width: 45rem;
  text-align: center;
}
.care .detail span {
  font-size: 2rem;
  color: var(--main-color);
}
.care .detail h2 {
  font-size: 2rem;
  text-transform: capitalize;
}
.care .detail p {
  font-size: 1.1rem;
  line-height: 1.8;
}
.care .detail .flex-btn {
  justify-content: center;
  margin-top: 1rem;
}
.improve,
.services,
.service,
.counter {
  background-image: url("../image/blue.png");
  background-repeat: no-repeat;
  background-position: bottom;
  padding: 5%;
}
/* تنسيق القسم الرئيسي */
.service {
    padding: 80px 7%;
    background-color: #fcfdfe; /* لون خلفية بارد ومريح */
    direction: rtl;
    text-align: center;
}

/* العنوان */
.service .heading {
    margin-bottom: 60px;
}

.service .heading h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    font-weight: 800;
}

.service .heading h1 span {
    color: #3498db;
    position: relative;
}

.service .heading h2 {
    font-size: 1.4rem;
    color: #7f8c8d;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* حاوية الخدمات */
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

/* بطاقة الخدمة */
.card-service {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0.05); /* ظل أزرق خفيف جداً */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f3f5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-service:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

/* تنسيق الصور/الأيقونات */
.card-service img {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
    object-fit: contain;
    /* لإضافة تأثير هالة خلف الأيقونة */
    background: #f0f9ff;
    padding: 15px;
    border-radius: 20px;
    transition: 0.4s;
}


/* نصوص البطاقة */
.card-service h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-service p {
    font-size: 1.05rem;
    color: #5d6d7e;
    line-height: 1.8;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .service {
        padding: 50px 20px;
    }
    .service .heading h1 {
        font-size: 2rem;
    }
}
.need {
  background-color: var(--main-color);
  padding: 4%;
  padding-bottom: 0;
}
.need .box-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.need .box-container .box {
  text-align: center;
  color: #fff;
  margin: 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.need .box-container .box span {
  text-transform: uppercase;
  font-size: 1.2rem;
  color: #fff;
}
.need .box-container .box h1 {
  font-size: 2rem;
  font-weight: 500;
  margin: 1rem 0;
  color: #fff;
}
.need .box-container .box p {
  font: 1.5rem;
  color: #fff;
}
.need .box-container .box img {
  width: 25rem;
  margin-bottom: -0.2rem;
  align-items: end;
}
.need .box-container .box .flex-btn {
  margin-top: 2rem;
  color: #fff;
}

.need .box-container .box .flex-btn a {
  background-color: var(--white-alfa-25);
  color: #fff;
}
.con {
  background-image: url("../image/5-1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.con .detail {
  margin-right: 3%;
  text-align: center;
}
.con .detail h1 {
  font-size: 3rem;
  color: var(--main-color);
}
.con .detail p {
  font-size: 1.3rem;
  color: gray;
  margin: 2rem 0;
  line-height: 1.8;
  font-style: italic;
}
.con .box-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
/* الحاوية الأساسية للسلايدر */
/* الحاوية الكبرى التي تجمع كل شيء */
.slider-container {
    position: relative; /* ضروري لتحديد موقع الأسهم بالنسبة له */
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* حاوية الشرائح فقط */
.slider {
    display: flex; /* جعل الشرائح بجانب بعضها */
    width: 100%;
    height: 100%;
    overflow-x: auto; /* السماح بالتمرير البرمجي */
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

/* إخفاء شريط التمرير */
.slider::-webkit-scrollbar {
    display: none;
}

/* الشريحة الواحدة */
.slider_slider {
    min-width: 100%; /* العرض الكامل */
    height: 100%;
    scroll-snap-align: start;
    background-size: cover;
    background-position: center;
}

/* تنسيق الأسهم لتبقى ثابتة */
.left-arrow, .right-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* فوق كل شيء */
    cursor: pointer;
}

.left-arrow i, .right-arrow i {
    font-size: 3rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 50%;
    transition: 0.3s;
}

.left-arrow i:hover, .right-arrow i:hover {
    background: #3498db;
}

.left-arrow { left: 30px; }
.right-arrow { right: 30px; }

    /* ------------------- scroll bar--------section-----------------------*/
 ::-webkit-scrollbar{
    width: 6px;
 }
 ::-webkit-scrollbar-thumb{
    -webkit-border-radius:20px;
    border-radius:20px;
    height: 50px;
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: var(--main-color);
    position: relative;
 }
 ::-webkit-scrollbar-track{
    -webkit-border-radius:20px;
    border-radius:20px;
    height: 50px;
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: transparent;
    margin-left: 10px;
    margin-right: 10px;
 }

    /* ------------------- scroll bar--------section-----------------------*/

  .header-section .header-content {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter);
    border-bottom: 1px solid var(--white-alfa-40);
    box-shadow: var(--box-shadow);
    direction: ltr;

}

.header-section .header-content .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    position: relative;
    width: 100%;
}
.header-section .header-content .navbar {
    direction: rtl;
}
/* القائمة الرئيسية */
.header-section .header-content .navbar a {
    margin: 0 1rem;
    font-size: 1.1rem;
    color: var(--blue-opacity);
    font-weight: 500;
    transition: 0.3s;
}

.header-section .header-content .navbar a:hover {
    color: var(--main-color);
}

/* صندوق البحث */
/* إعدادات صندوق البحث المخفي */
.header-section .header-content .search-form {
    position: absolute;
    top: 100%; /* يبدأ من حافة الهيدر السفلي */
    left: -20px;
    height: 70px;
    background: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter);
    border-top: 1px solid var(--white-alfa-40);
    display: flex;
    align-items: center;
    padding: 0 10%;
    width:850px;
    z-index: 2000;

    /* تأثير الاختفاء والظهور */
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* مخفي تماماً من الأعلى */
    transition: clip-path 0.4s ease-in-out, opacity 0.3s ease;
    opacity: 0;
}

/* الحالة عند التفعيل */
.header-section .header-content .search-form.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); /* يظهر بالكامل لأسفل */
    opacity: 1;
    pointer-events: auto;
    width:850px;
    z-index: 3000;
}

/* تنسيق المدخلات داخل البحث */
.header-section .header-content .search-form input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--white-alfa-40);
    font-size: 1.1rem;
    color: var(--blue-opacity);
    z-index: 3000;
}

.header-section .header-content .search-form button {
    margin-right: -45px; /* وضع الايقونة داخل الحقل */
    font-size: 1.5rem;
    color: var(--main-color);
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    border-radius: 50%;
    z-index: 1000;
    margin-left: 30px;
    background-color: black;
}
.header-section .header-content .icons {
    direction: rtl;
}
/* الأيقونات */
.header-section .header-content .icons div {
    font-size: 1.5rem;
    margin-right: 1rem;
    cursor: pointer;
    color: var(--blue-opacity);
    transition: 0.3s;

}

.header-section .header-content .icons div:hover {
    color: var(--main-color);
}

.header-section #menu-btn { display: none; } /* يظهر في الجوال فقط */

/* ملف المستخدم (Profile) */
.header-section .header-content .profile {
    position: absolute;
    top: 120%; left: 5%;
    background: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter);
    border: 1px solid var(--white-alfa-40);
    padding: 1.5rem;
    border-radius: 15px;
    width: 150px;
    display: none; /* يتم إظهاره بـ JS */
    box-shadow: var(--box-shadow);
}
.header-section .header-content .profile .flex-btn{
  display: flex;
  flex-direction: column;
  width: 150px;
  font-size: 18px;
  font-weight: 800;

}
.header-section .header-content .profile.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.header-section .header-content .profile .btn {
    display: block;
    margin-bottom: 0.8rem;
    text-align: center;
    background: var(--main-color);
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.header-section .header-content .profile .btn:last-child {
    background: var(--pink-color);
}

/* --- التجاوب (Media Queries) --- */
@media (max-width: 991px) {
    .header-section #menu-btn { display: inline-block; }
    
    .header-section .header-content .navbar {
        position: absolute;
        top: -300%; left: 0; right: 0;
        background: #fff;
        border-top: 1px solid var(--white-alfa-40);
        display: flex;
        flex-direction: column;
        transition: all 0.5s ease-in-out;
    }

    .header-section .header-content .navbar.active { top: 100%; }

    .header-section .header-content .navbar a {
        padding: 1.5rem;
        border-bottom: 1px solid #eee;
        width: 100%;
        margin: 0;
    }

    .header-section .header-content .search-form {
        position: absolute;
        top: 100%; left: 5%; right: 5%;
        width: auto;
        display: none;
    }

    .header-section .header-content .search-form.active { display: flex; }
}
/* ------------------- Home slider--------section-----------------------*/

.home-section{
    position: relative;
    margin-bottom: 1rem;
    height: 90vh;
    overflow: hidden;

}
.slider-container {
    position: relative; /* ضروري لتحديد موقع الأسهم بالنسبة له */
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* تنسيق الحاوية الرئيسية للسلايدر */
.custom-slider {
    width: 100%; /* العرض نفس الأب */
    height: 90vh; /* الارتفاع المطلوب */
    overflow: hidden; /* لمنع خروج الصور عن الحدود */
    position: relative;
    display: block; /* لضمان أخذ مساحة كاملة في الـ Flow */
}

/* تنسيق الصور داخل السلايدر */
.custom-slider .carousel-inner,
.custom-slider .carousel-item,
.custom-slider .carousel-item img {
    height: 90vh; /* توحيد الارتفاع لكل العناصر الداخلية */
}

.custom-slider .carousel-item img {
    object-fit: cover; /* أهم خاصية: تجعل الصورة تغطي المساحة بدون تمطيط */
    object-position: center; /* توسيط الصورة */
}

/* رفع أزرار التنقل (الأسهم) للأعلى قليلاً لتكون في منتصف الصورة */
.custom-slider .carousel-control-prev,
.custom-slider .carousel-control-next {
    height: 100%; /* تأكد أن الأزرار تغطي ارتفاع السلايدر لتسهيل الضغط */
    top: 0;
}

/* إذا كنت تريد رفع الأيقونات (الأسهم) نفسها للأعلى */
.custom-slider .carousel-control-prev-icon,
.custom-slider .carousel-control-next-icon {
    margin-bottom: 50px; /* يمكنك التحكم في ارتفاع الأيقونة هنا */
}

/* حاوية الشرائح فقط */

.hero-dec-top,
.hero-dec-bottom{
    position: absolute;
    left: 5%;
    width: 100px;
    height: 100px;

}
.hero-dec-top{
    top: 4%;
    border-left: 2px solid #e2e2e255;
    border-top: 2px solid #e2e2e255;
} 
.hero-dec-bottom{
    bottom: 5%;
    border-left: 2px solid #e2e2e255;
    border-bottom: 2px solid #e2e2e255;
}
.slide_detail .btn {
  background-color: var(--white-alfa-40);
  border: 2px solid var(--white-alfa-25);
  box-shadow: var(--box-shadow);
  text-transform: capitalize;
  color: black;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;
  transition: 0.5s;
  padding: 10px;
}
.slide_detail .btn:hover{
  background-color: var(--main-color);
}
/* From Uiverse.io by bhaveshxrawat */ 
.cards {
    width: 300px;
  height: 254px;
  background: #cfd7e2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  place-content: center;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  z-index: 9000;
  padding: 20px;
}
.cards h5{
    text-align: center;
}
.cards p{
    text-align: center;
}

.cards::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  background-image: none;
  animation: none;
  filter: none;
  transition: none;
  z-index: -100;
}

.cards:hover::before {
  width: 0;
  animation: none;
  filter: none;
}

@keyframes rotBGimg {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cards::after {
  content: '';
  position: absolute;
  background: #dde2e9;
  ;
  inset: 5px;
  border-radius: 15px;
  z-index: -100;
}  
/* .card:hover:before {
  background-image: linear-gradient(180deg, rgb(81, 255, 0), purple);
  animation: rotBGimg 3.5s linear infinite;
} */

/* From Uiverse.io by lenfear23 */ 
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
  width: 150px;
  height: 50px;
  background-image: linear-gradient(to top, #D8D9DB 0%, #fff 80%, #FDFDFD 100%);
  border-radius: 30px;
  border: 1px solid #8F9092;
  transition: all 0.2s ease;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #606060;
  text-shadow: 0 1px #fff;
}

.btn:hover {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1;
}

.btn:active {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 5px 3px #999, inset 0 0 30px #aaa;
}

.btn:focus {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 5px 3px #999, inset 0 0 30px #aaa;
}



/*----------------------------------------------------------------about us start*/
.about-us{
    background-image: url('../image/blue.png');
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 6% 4%;

}
/* تنسيق الحاوية الرئيسية للبطاقات */
.main-card-group {
    gap: 15px; /* مسافة بين البطاقات */
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

/* تنسيق عام للبطاقة */
.main-card-group .card {
    border-radius: 15px !important; /* حواف دائرية ناعمة */
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
}

.main-card-group .card:hover {
    transform: translateY(-10px); /* حركة ارتغاع عند التمرير */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* تنسيق الأيقونات الطبية */
.icon-wrapper {
    padding: 25px 0 10px 0;
}

.custom-icon {
    width: 70px !important; /* حجم موحد للأيقونات */
    height: 70px;
    margin: 0 auto;
    object-fit: contain;
}

/* تنسيق نصوص البطاقة */
.card-title {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* تنسيق خاص ببطاقة الطبيب */
.doctor-img {
    height: 180px;
    object-fit: cover; /* لضمان عدم تشوه صورة الطبيب */
}

.doctor-card .card-body {
    border-top: 3px solid #3498db; /* خط علوي بلون هوية الموقع */
    color: #fff;
}

.color-primary {
    color: #3498db;
}

/* تحسين العرض على الهواتف */


/*---------------------------------help section start ------------------------------------*/
.help{
    background-color: var(--main-color);
    height: auto;
    overflow: hidden;

    color: #ffff;
}
/* الحاوية الكبرى */
.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* لضمان التوافق مع الشاشات الصغيرة */
}

/* تنسيق الصورة */
.image-box {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.floating-img {
    max-width: 100%;
    height: auto;
    position: relative;
    bottom: -70px;
    animation: float 4s ease-in-out infinite; /* تأثير حركة طفو بسيطة */
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* تنسيق المحتوى النصي */
.content-box {
    flex: 1.2;
    min-width: 300px;
    direction: rtl; /* لضمان التنسيق العربي الصحيح */
}

.sub-title {
    display: inline-block;
    color: #FFF;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    border-right: 4px solid #76ff13;
    padding-right: 15px;
}

.main-title {
    font-size: 2.5rem;
    color: #ffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.description {
    font-size: 1.1rem;
    color: #ffff;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* تنسيق الأزرار */
.flex-btn {
    display: flex;
    gap: 15px;
}

.btn-primary-custom {
    background-color: #3498db;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-secondary-custom {
    background-color: #2c3e50;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary-custom:hover, .btn-secondary-custom:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

/* توافق مع الجوال */
--------------------------------help section End ------------------------------------*/
/*--------------------------------- feature section End ------------------------------------*/

/* الحاوية الرئيسية */
.feature {
    padding: 60px 20px;
    background-color: #fff;
    direction: rtl;
}

.feature .heading h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
}

/* تقسيم المهارات إلى صفوف وأعمدة */
.feature .box-container,
.feature .boxs-container

{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature .container {
    flex: 1;
    min-width: 300px; /* لضمان التجاوب في الجوال */
}

/* تنسيق صندوق المهارة */
.skill-box {
    width: 100%;
    margin-bottom: 25px;
}

.skill-box .title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

/* شريط المهارة الأساسي */
.skill-bar {
    height: 12px;
    width: 100%;
    background-color: #e9ecef;
    border-radius: 10px;
    position: relative;
}

/* شريط التقدم الملون */
.skill-per {
    height: 100%;
    width: 0; /* يبدأ من الصفر */
    border-radius: 10px;
    background-color: #3498db;
    display: block;
    position: relative;
    /* transition: العرض، المدة، نوع الحركة */
    transition: width 2s cubic-bezier(0.1, 0.42, 0.41, 1); 
}

/* تحديد النسب المئوية برمجياً أو عبر الكلاسات */
.skill-per.html { width: 50%; background-color: #3498db; }
.skill-per.css { width: 70%; background-color: #2ecc71; }
.skill-per.js { width: 80%; background-color: #e67e22; }
.skill-per.node-js { width: 90%; background-color: #9b59b6; }

/* تنسيق الرقم فوق البار (Tooltip) */
.tooltip {
    position: absolute;
    right: 0;
    top: -35px;
    background-color: #333;
    color: #fff;
    padding: 2px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: bold;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 5px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
}

/* تأثير التجاوب للجوال */

/*--------------------------------- feature section End ------------------------------------*/
/* الحاوية الأساسية */
.service-second {
    padding: 80px 7%;
    background: #fdfdfd;
    direction: rtl; /* لضبط الاتجاه العربي */
    text-align: center;
}

/* العناوين الرئيسية */
.service-second .heading h2 {
    color: #3498db;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-second .heading h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

.service-second .heading h1 span {
    color: #2ecc71; /* لون أخضر يرمز للصحة */
}

/* حاوية البطاقات */
.box-container-second {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
/*----------------------------------second service start-------------------*/
/* تنسيق البطاقة */
/* الحاوية الرئيسية */
.service-second {
    padding: 100px 10%;
    background: linear-gradient(to bottom, #ffffff, #f0f7ff); /* تدرج لوني ناعم */
    direction: rtl;
    text-align: center;
}

/* العنوان الرئيسي */
.service-second .heading {
    margin-bottom: 70px;
}

.service-second .heading h2 {
    background: #e1effe;
    color: #1a56db;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.service-second .heading h1 {
    font-size: 2.8rem;
    color: #111827;
    font-weight: 800;
}

.service-second .heading h1 span {
    color: #1a56db;
    background: linear-gradient(120deg, #1a56db, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* حاوية البطاقات المتطورة */
.box-container-second {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

/* تصميم البطاقة الحديثة */
.service-second .card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 30px;
    position: relative;
    border: 1px solid rgba(225, 239, 254, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
}

/* خلفية تجميلية للبطاقة تظهر عند التحويم */
.service-second .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #1a56db;
    z-index: -1;
    transition: all 0.5s ease;
    border-radius: 0 0 50% 50%;
}

.service-second .card:hover::before {
    height: 10px; /* شريط علوي نحيف يظهر عند التحويم */
}

.service-second .card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border-color: var(--main-color);
}

/* تنسيق الصورة داخل دائرة */
.service-second .card img {
    height: 85px;
    width: 85px;
    background: #f8faff;
    padding: 18px;
    border-radius: 24px;
    margin-bottom: 25px;
    transition: 0.4s;
}

.service-second .card:hover img {
    background: #e1effe;
    transform: scale(1.1) rotate(5deg);
}

/* عناوين الخدمات */
.service-second .card h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 700;
}

/* النصوص */
.service-second .card p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.8;
}


/* -----------------------------------------------------------
   تعديلات التجاوب مع الجوال (Responsive Design)
----------------------------------------------------------- */

@media (max-width: 768px) {
    /* 1. السلايدر: تصغير النصوص لكي لا تغطي الصورة بالكامل */
    .custom-slider, 
    .custom-slider .carousel-inner, 
    .custom-slider .carousel-item, 
    .custom-slider .carousel-item img {
        height: 50vh !important; /* تقليل الارتفاع في الجوال ليناسب الشاشة */
    }

    .carousel-caption {
        display: block !important; /* إظهار النصوص التي كانت مخفية d-none */
        background: rgba(255, 255, 255, 0.7); /* إضافة خلفية شفافة للقراءة */
        padding: 10px;
        border-radius: 15px;
        bottom: 10%;
        width: 80%;
        left: 10%;
    }

    .slide_detail h1 {
        font-size: 1.2rem !important;
        margin-bottom: 5px;
    }

    .slide_detail p {
        font-size: 0.8rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* إظهار سطرين فقط من الوصف */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .slide_detail .btn {
        width: 100px;
        height: 35px;
        font-size: 12px;
        padding: 5px;
    }

    /* 2. بطاقات "من نحن" (About Us) */
    .about-us {
        padding: 40px 15px;
    }

    .main-card-group {
        flex-direction: column !important;
        gap: 20px;
    }

    .cards {
        width: 100% !important; /* تجعل البطاقة بعرض الشاشة */
        height: auto;
        padding: 20px;
    }

    /* إصلاح بطاقة الطبيب (د. سمير) التي كانت بوزن 500px ثابت */
    .cards[style*="width: 500px"] {
        width: 100% !important; 
    }

    /* 3. قسم الرعاية (Help Section) */
    .about-wrapper {
        flex-direction: column-reverse; /* الصورة تحت النص */
        text-align: center;
    }

    .floating-img {
        bottom: 0;
        max-width: 80%;
    }

    .main-title {
        font-size: 1.6rem;
    }

    /* 4. قسم المهارات (Feature/Skills) */
    .feature .box-container {
        flex-direction: column;
    }

    .feature .heading h1 {
        font-size: 1.8rem;
    }

    /* 5. قسم الخدمات (Service Cards) */
    .service-container, 
    .box-container-second {
        grid-template-columns: 1fr !important; /* بطاقة واحدة في كل سطر */
        padding: 0 10px;
    }

    /* 6. قسم التواصل (Need Section) */
    .need .box-container {
        flex-direction: column;
        text-align: center;
    }

    .need .box img {
        max-width: 200px;
    }

    .need h1 {
        font-size: 1.4rem;
    }

    /* 7. الأزرار بشكل عام */
    .flex-btn {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً (مثل iPhone SE) */
@media (max-width: 480px) {
    .main-title {
        font-size: 1.4rem;
    }
    .carousel-caption p {
        display: none; /* إخفاء الوصف الطويل جداً في الشاشات الصغيرة جداً */
    }
}
/* Home page section layout polish */
.home-section,
.about-us,
.help,
.feature,
.care,
.service,
.need,
.con,
.service-second {
    width: 100%;
    overflow-x: hidden;
}

.about-us > .box-container,
.help .container,
.feature > .heading,
.feature > .box-container,
.feature > .boxs-container,
.care > .detail,
.service > .heading,
.service > .service-container,
.need > .box-container,
.con > .detail,
.service-second > .heading,
.service-second > .box-container-second {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.home-section {
    height: min(82vh, 760px);
}

.custom-slider,
.custom-slider .carousel-inner,
.custom-slider .carousel-item,
.custom-slider .carousel-item img {
    height: min(82vh, 760px);
}

.about-us {
    padding: 70px 0;
}

.main-card-group {
    gap: 24px;
}

.cards {
    width: min(300px, 100%);
    min-height: 254px;
}

.cards[style*="width: 500px"] {
    width: min(500px, 100%) !important;
}

.help {
    padding: 70px 0 0;
}

.feature,
.service,
.service-second {
    padding-inline: 0;
}

.feature .box-container,
.feature .boxs-container {
    justify-content: center;
}

.service-container,
.box-container-second {
    max-width: 1180px;
    margin-inline: auto;
}

.need {
    padding: 70px 0 0;
}

.need .box-container {
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.need .box-container .box {
    flex: 1;
}

.need .box-container .box img {
    width: min(25rem, 100%);
}

.con {
    min-height: 640px;
    height: auto;
    padding: 90px 0;
    background-size: cover;
}

.con .detail {
    margin-right: auto;
    margin-left: auto;
    max-width: 720px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(217, 231, 236, 0.75);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 18px 45px rgba(18, 63, 90, 0.12);
}

@media (max-width: 991px) {
    .home-section,
    .custom-slider,
    .custom-slider .carousel-inner,
    .custom-slider .carousel-item,
    .custom-slider .carousel-item img {
        height: 58vh;
        min-height: 420px;
    }

    .about-us > .box-container,
    .help .container,
    .feature > .heading,
    .feature > .box-container,
    .feature > .boxs-container,
    .care > .detail,
    .service > .heading,
    .service > .service-container,
    .need > .box-container,
    .con > .detail,
    .service-second > .heading,
    .service-second > .box-container-second {
        width: min(100% - 28px, 720px);
    }

    .about-wrapper,
    .need .box-container {
        flex-direction: column;
        text-align: center;
    }

    .content-box,
    .image-box {
        min-width: 0;
        width: 100%;
    }

    .main-card-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .cards,
    .cards[style*="width: 500px"] {
        width: 100% !important;
        height: auto;
    }

    .service-container,
    .box-container-second {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-section,
    .custom-slider,
    .custom-slider .carousel-inner,
    .custom-slider .carousel-item,
    .custom-slider .carousel-item img {
        height: 52vh !important;
        min-height: 360px;
    }

    .about-us,
    .help,
    .feature,
    .service,
    .need,
    .service-second {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .main-card-group,
    .service-container,
    .box-container-second,
    .feature .box-container,
    .feature .boxs-container {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .feature .box-container,
    .feature .boxs-container {
        display: grid;
    }

    .main-title,
    .service .heading h1,
    .service-second .heading h1,
    .feature .heading h1,
    .con .detail h1,
    .need .box-container .box h1 {
        font-size: 1.55rem !important;
        line-height: 1.45;
    }

    .description,
    .service-second .card p,
    .card-service p,
    .con .detail p {
        font-size: 0.98rem;
    }

    .floating-img {
        max-width: 72%;
        bottom: 0;
    }

    .con {
        min-height: auto;
        padding: 56px 0;
    }

    .con .detail {
        padding: 24px 18px;
    }

    .flex-btn {
        align-items: center;
    }
}
/* ---------------------------------------------------- home  section End  */


/* ---------------------------------------------------- about section */
/* إعدادات عامة للقسم */
.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 80px 10%;
    background-color: #f9f9f9;
    direction: rtl; /* لضمان الترتيب من اليمين لليسار */
}

/* تنسيق حاوية الصورة */
.about .img {
    flex: 1;
    text-align: center;
}

.about .img img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* تنسيق حاوية النصوص */
.about .box-container {
    flex: 1.5;
}

.about .box-container h2 {
    font-size: 2.5rem;
    color: #2c3e50; /* لون كحلي طبي */
    margin-bottom: 10px;
    position: relative;
}

/* إضافة خط صغير تحت العنوان */
.about .box-container h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #3498db; /* لون أزرق سماوي */
    margin-top: 10px;
    border-radius: 2px;
}

.about .box-container span {
    display: block;
    font-size: 1.2rem;
    color: #3498db;
    font-weight: bold;
    margin-bottom: 20px;
}

.about .box-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

/* --- التجاوب مع الشاشات الصغيرة (الجوال) --- */
@media (max-width: 991px) {
    .about {
        flex-direction: column; /* جعل الصورة فوق النص */
        text-align: center;
        padding: 50px 5%;
    }

    .about .box-container h2::after {
        margin: 10px auto; /* توسيط الخط تحت العنوان في الجوال */
    }

    .about .box-container p {
        text-align: center;
    }
}
/* --- قسم العدادات (Counter) --- */
.counter {
    background: linear-gradient(rgba(3, 132, 72, 0.9), rgba(6, 166, 46, 0.9)), 
                url('./image/counter-bg.jpg') no-repeat center center/cover;
    padding: 60px 10%;
    color: #fff;
    direction: rtl;
}

.counter .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.counter .item img {
    height: 60px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1); /* تحويل الأيقونات للون الأبيض */
}

.counter .item p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.9;
}

.counter .item h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff; /* لون أخضر للتميز الإحصائي */
}

/* --- قسم "الأفضل" (Best/Healthcare for kids) --- */
.best {
    padding: 100px 10%;
    /* خلفية متدرجة تعتمد على ألوانك */
    background: linear-gradient(45deg, var(--white-alfa-40), transparent),
                url('./image/hospital-bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    direction: rtl;
}

.best .detail {
    background: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter); /* تأثير التغبيش */
    padding: var(--space);
    border-radius: 20px;
    border: 1px solid var(--white-alfa-40);
    box-shadow: var(--box-shadow);
    max-width: 800px;
}

.best .detail span {
    color: var(--pink-color); /* استخدام البنفسجي للفت الانتباه */
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.best .detail h1 {
    color: var(--blue-opacity);
    font-size: 2.8rem;
    margin-bottom: var(--space);
}

/* تنسيق الأزرار */
.best .flex-btn {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.best .btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: var(--box-shadow);
}

/* الزر الأساسي (أخضر) */
.best .btn:first-child {
    background-color: var(--main-color);
    color: white;
    border: 2px solid var(--main-color);
}

.best .btn:first-child:hover {
    background-color: transparent;
    color: var(--main-color);
}

/* الزر الثانوي (بنفسجي) */
.best .btn:last-child {
    background-color: var(--pink-color);
    color: white;
    border: 2px solid var(--pink-color);
}

.best .btn:last-child:hover {
    background-color: transparent;
    color: var(--pink-color);
}
/* تنسيق القسم العام */
:root {
    --primary-color: #1a56db;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --bg-light: #f9fafb;
}

.mission-section {
    padding: 100px 10%;
    background: var(--bg-light);
    direction: rtl;
    position: relative;
    overflow: hidden;
}

/* الترويسة */
.mission-heading {
    text-align: center;
    margin-bottom: 80px;
}

.mission-heading .sub-text {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.mission-heading h1 {
    font-size: 3rem;
    color: var(--text-dark);
    font-weight: 800;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.2;
}

.mission-heading h1 span {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.mission-heading h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(26, 86, 219, 0.1);
    z-index: -1;
}

/* حاوية الكروت */
.mission-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* الكرت المطور */
.mission-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 40px 10px 40px 10px; /* شكل هندسي غير منتظم */
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    position: relative;
    transition: all 0.5s ease;
    border: 1px solid #f3f4f6;
}

.mission-card.active, 
.mission-card:hover {
    background: var(--main-color);
    transform: translateY(-20px);
    border-radius: 10px 40px 10px 40px;
}

/* الأيقونة داخل الكرت */
.card-icon {
    width: 80px;
    height: 80px;
    background: #eff6ff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: 0.5s;
}

.mission-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(360deg);
}

.card-icon img {
    width: 45px;
    transition: 0.5s;
}

.mission-card:hover .card-icon img {
    filter: brightness(0) invert(1);
}

/* النصوص داخل الكرت */
.mission-card h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    transition: 0.5s;
}

.mission-card p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
    transition: 0.5s;
}

.mission-card:hover h2, 
.mission-card:hover p {
    color: var(--white);
}

/* أرقام خلفية للزينة */
.card-number {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    transition: 0.5s;
}

.mission-card:hover .card-number {
    color: rgba(255,255,255,0.1);
}

/* التجاوب مع الجوال */
@media (max-width: 768px) {
    .mission-heading h1 { font-size: 2rem; }
    .mission-section { padding: 60px 5%; }
}


.appointment-section {
    min-height: 90vh;
    padding: var(--space) 10%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* النص يبدأ من اليمين بسبب direction: rtl */
    background-image: url("../image/appoinment.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* تأثير التمرير الجمالي */
    position: relative;
    direction: rtl; /* اتجاه الكتابة عربي */
}

/* حاوية النص (البطاقة الزجاجية) */
.appointment-section .detail {
    max-width: 650px;
    background: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter);
    -webkit-backdrop-filter: var(--backdrop-filter);
    padding: calc(var(--space) * 1.5);
    border-radius: 20px;
    border: 1px solid var(--white-alfa-40);
    box-shadow: var(--box-shadow);
    z-index: 2;
}

.appointment-section .detail span {
    display: block;
    color: var(--pink-color); /* لون تمييز النص */
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.appointment-section .detail h1 {
    font-size: 2.8rem;
    color: var(--blue-opacity); /* اللون الكحلي المعتمد */
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.appointment-section .detail p {
    color: #333;
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    text-align: justify;
}

/* تنسيق الزر الأخضر */
.appointment-section .btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--main-color);
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: 0.4s ease;
    border: 2px solid var(--main-color);
}

.appointment-section .btn:hover {
    background-color: transparent;
    color: var(--main-color);
    transform: translateY(-3px);
}

/* --- التجاوب مع الجوال --- */
@media (max-width: 768px) {
    .appointment-section {
        padding: var(--space) 5%;
        text-align: center;
        justify-content: center;
    }
    
    .appointment-section .detail h1 {
        font-size: 1.8rem;
    }
    
    .appointment-section .detail {
        padding: var(--space);
    }
}


/* التنسيق العام للقسم */
.testimonial-container {
  background-image: url("../image/blue.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
    padding: 80px 10%;
    text-align: center;
    direction: rtl;
    position: relative;
}

.testimonial-container .heading span {
    color: var(--pink-color);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-container .heading h1 {
    color: var(--blue-opacity);
    font-size: 2.5rem;
    margin-bottom: var(--space);
}

/* حاوية البطاقات */
.testimonial-container .container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تنسيق بطاقة الرأي (تأثير الزجاج) */
.testimonial-item {
    display: none; /* مخفي افتراضياً ويظهر الـ active فقط */
    background: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter);
    border: 1px solid var(--white-alfa-40);
    box-shadow: var(--box-shadow);
    padding: var(--space);
    border-radius: 20px;
    transform-style: preserve-3d;
    animation: slide 0.4s linear;
}

.testimonial-item.active {
    display: block;
}

/* أيقونة الاقتباس */
#quote {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1rem;
    opacity: 0.6;
}

/* صورة العميل */
.testimonial-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--main-color);
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
}

.testimonial-item h1 {
    color: var(--blue-opacity);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-item p {
    color: #555;
    line-height: 1.8;
    font-style: italic;
}

/* تنسيق الأسهم */
.testimonial-container .left-arrow, .testimonial-container .right-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--main-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.3s;
    z-index: 10;
    box-shadow: var(--box-shadow);
}

.testimonial-container.left-arrow { right: -60px; } /* لليمين في الـ RTL */
.testimonial-container.right-arrow { left: -60px; }

.testimonial-container .left-arrow:hover, 
.testimonial-container .right-arrow:hover {
    background: var(--main-color);
    transform: translateY(-50%) scale(1.1);
}

/* أنيميشن التغيير */
@keyframes slide {
  0% {
    transform: rotateY(180deg);
  }
}

/* التجاوب مع الجوال */
@media (max-width: 768px) {
    .left-arrow, .right-arrow {
        top: auto;
        bottom: -70px;
    }
        .testimonial-container .left-arrow { right: 90%; }
        .testimonial-container .right-arrow { left: 10%; }
    .testimonial-container { padding-bottom: 120px; }
}
.who {
    min-height: 80vh;
    padding: 80px 10%;
    background-image: url("../image/bg2.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* تأثير Parallax */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* وضع المحتوى على جهة اليمين */
    direction: rtl;
    position: relative;
}

/* طبقة حماية لضمان قراءة النص فوق الصورة */
.who::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.2); 
}

/* الحاوية الزجاجية للنص */
.who .detail {
    position: relative;
    z-index: 2;
    max-width: 600px;
    background: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter);
    -webkit-backdrop-filter: var(--backdrop-filter);
    padding: var(--space);
    border-radius: 20px;
    border: 1px solid var(--white-alfa-40);
    box-shadow: var(--box-shadow);
}

.who .heading span {
    display: block;
    color: var(--pink-color); /* البنفسجي للتمييز */
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.who .heading h1 {
    color: var(--blue-opacity); /* الكحلي المعتمد للعناوين */
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.who p {
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* تنسيق حاوية الأزرار */
.who .flex-btn {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* تنسيق الأزرار بناءً على القالب */
.who .btn {
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: var(--box-shadow);
}

/* زر حجز الموعد (الأخضر الأساسي) */
.who .btn:first-child {
    background-color: var(--main-color);
    color: white;
    border: 2px solid var(--main-color);
}

.who .btn:first-child:hover {
    background-color: transparent;
    color: var(--main-color);
}

/* زر كيفية الوصول (البنفسجي) */
.who .btn:last-child {
    background-color: var(--pink-color);
    color: white;
    border: 2px solid var(--pink-color);
}

.who .btn:last-child:hover {
    background-color: transparent;
    color: var(--pink-color);
}

/* --- التجاوب مع الجوال --- */
@media (max-width: 768px) {
    .who {
        justify-content: center;
        padding: 50px 5%;
    }
    
    .who .detail {
        text-align: center;
    }

    .who .heading h1 {
        font-size: 1.8rem;
    }

    .who .flex-btn {
        justify-content: center;
    }
}
.choose {
    background-image: url("../image/choose.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 10%;
    direction: rtl; /* الاتجاه العربي */
}

.choose .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: var(--space);
    align-items: center;
}

.choose .box {
    position: relative;
}

/* تنسيق الصور الجانبية */
.choose .box .chs {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.choose .box .shap {
    position: absolute;
    left: 3%;
    top: 3%;
    width: 80px;
    animation: animName 3s linear infinite;
}

@keyframes animName {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.choose .box .shap2 {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 45%;
    border-radius: 15px;
    border: 5px solid white;
    box-shadow: var(--box-shadow);
}

/* تنسيق النصوص */
.choose h3 {
    color: var(--pink-color); /* استخدام البنفسجي للعنوان الصغير */
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.choose h1 {
    color: var(--blue-opacity);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.choose p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2rem;
    text-align: justify;
}

/* تنسيق شبكة البطاقات الصغيرة */
.choose .card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ترتيب البطاقات في عمودين */
    gap: 1.5rem;
}

.choose .card {
    background-color: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter); /* تفعيل تأثير الزجاج */
    border-radius: 15px;
    border: 1px solid var(--white-alfa-40); /* حدود زجاجية خفيفة */
    box-shadow: var(--box-shadow);
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: 0.3s ease;
}

.choose .card:hover {
    transform: translateY(-5px);
    border-color: var(--main-color);
}

.choose .card img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.choose .card h2 {
    font-weight: 600;
    color: var(--blue-opacity); /* تم استبدال اللون الأحمر بلون العناوين المعتمد */
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
    text-align: right;
}

/* --- التجاوب مع الشاشات الصغيرة --- */
@media (max-width: 991px) {
    .choose {
        padding: 50px 5%;
    }
    .choose .box-container {
        grid-template-columns: 1fr;
    }
    .choose .card-container {
        grid-template-columns: 1fr;
    }
    .choose h1 {
        font-size: 2rem;
    }
}
/*------------------------------------team section start----------------*/

 /*-----------------------------------Contact Sections--------------------------*/
/* From Uiverse.io by joe-watson-sbf */ 
    .flip-card {
    background-color: transparent;
    width:100%;
    height: 254px;
    perspective: 1000px;
    font-family: sans-serif;
    }

    .title {
    font-size: 1.5em;
    font-weight: 900;
    text-align: center;
    margin: 0;
    }

    .flip-card-inner {
        display: flex;
        flex-direction: row;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    }

    .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
    }

    .flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
    }

    .flip-card-front, .flip-card-back {
    box-shadow: 0 8px 14px 0 rgba(0,0,0,0.2);
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 1px solid coral;
    border-radius: 1rem;
    padding: 0;
    margin: 0;
    }

    .flip-card-front {
    background: linear-gradient(120deg, rgb(158, 255, 145) 30%, rgb(23, 215, 13) 88%,
        rgb(255, 211, 195) 40%, rgba(4, 128, 10, 0.603) 48%);
    color: rgb(2, 117, 50);
    width: 100%;
    height: 100%;
    overflow: hidden;
    }
    .flip-card-front .image-box {
        width: 100%;
        height: 100%;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
    }
    .flip-card-front img{
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: top center;
        overflow: visible;
    }

    .flip-card-back {
    background: rgb(228, 225, 225) ;
    color: white;
    transform: rotateY(180deg);
    }

    
 .improve .box-container{
  grid-template-columns: repeat(auto-fit,15rem);
  text-align: center;
  line-height: 1.5;
  padding: 4% 0;
}
 .improve .box-container .card{
  background-color: var(--white-alfa-25);
  border-radius: 0.5rem;
  border: 2px solid #fff;
  backdrop-filter: var(--backdrop-filter);
  padding: 2rem 1rem;
  margin: 0.5rem;
 }
  .improve .box-container .card p{
    text-align: center;
    text-transform: capitalize;
    color: #6666;
    font-size: 1rem;

  }
 
.improve .box-container .card h1{
  font-size: 1rem;
  font-weight: 500;
  text-transform: capitalize;
  margin-bottom: 1rem;


}
.contact{
  background:
    linear-gradient(135deg, rgba(237, 247, 250, 0.94), rgba(246, 252, 248, 0.9)),
    url('../image/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 5%;
}

.contact .heading h1 {
  color: #123f5a;
}

.contact .heading p {
  color: #526675;
}

.contact .box-container {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.9fr);
  gap: 2rem;
  align-items: center;

}
.services-contact .box-container .box-contact {
background-color: #fff;
border: 1px solid #d9e7ec;
padding: 2rem;
border-radius: 16px;
box-shadow: 0 14px 34px rgba(18, 63, 90, 0.08);
}
.contact .box-container .box img{
  width: 95% !important;
  margin-bottom: -1.5rem;
}

.contact form{
  width: 100%;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.92);
  padding: 2rem;
  border: 1px solid #d9e7ec;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(18, 63, 90, 0.1);
  backdrop-filter: blur(8px);

}
.contact form p{
  text-align: right;
  margin-right:1rem ;
  text-transform: capitalize;
  font-size: 1.2rem;
  color: #123f5a;
  font-weight: 700;
}
.contact form span{
  color: #d94b4b;
}
.contact form input,
.contact form textarea
{
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid #d9e7ec;
  width: 100%;
  margin: 0.6rem 0;
  background: #f8fbfc;
  color: #233844;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact form input:focus,
.contact form textarea:focus {
  border-color: #36a6a6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(54, 166, 166, 0.12);
}
.contact form textarea{
  height: 10rem;

}
.contact form .btn {
  width: 100%;
  background: linear-gradient(135deg, #178f95, #2fb779);
  color: #fff;
  border: none;
  text-shadow: none;
  box-shadow: 0 12px 24px rgba(23, 143, 149, 0.22);
}
.contact form .btn:hover {
  background: linear-gradient(135deg, #117980, #279d68);
  color: #fff;
}
.popup-box {
    position: absolute;
    top:40%;
    right: 40%;
    width: 250px;
    height: 50px;
    background: #19b40e;
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    animation: fadeIn 0.5s ease-out;
    z-index: 9999;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}


.services {
  position: relative;
  min-height: 100vh;
  padding: 6%;
}
.services .box-container{
  margin-top: 4%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.services .box-container .boxs {
  border-radius: 0.4rem;
  background-color: var(--white-alfa-25);
  border: 3px solid var(--white-alfa-40);
  backdrop-filter: var(--backdrop-filter);
  box-shadow: var(--box-shadow);
  margin: 1rem;
  padding: 1rem;
  line-height: 1.7;
  text-align: center;
  width: 250px;
}
.services  .box-container .box img{
  width: 100px;
}
.services .box-container .box h4{
  text-transform: capitalize;
  font-size: 25px;
  color: var(--main-color);
  margin: 0.5rem;

}
/* الحاوية الرئيسية للخدمات */
.show-container-service {
    padding: 80px 10%;
    background-color: var(--white-alfa-25);
    direction: rtl;
}

/* تنسيق العنوان */
.show-container-service .heading {
    text-align: center;
    margin-bottom: var(--space);
}

.show-container-service .heading h1 {
    font-size: 2.5rem;
    color: var(--blue-opacity);
    margin-bottom: 0.5rem;
}

.show-container-service .heading p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* شبكة الكروت */
.show-container-service .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space);
    margin-top: 2rem;
}

/* تنسيق كارت الخدمة الفردي */
.show-container-service .box {
    background: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter);
    border: 1px solid var(--white-alfa-40);
    box-shadow: var(--box-shadow);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
}

.show-container-service .box:hover {
    transform: translateY(-10px);
    border-color: var(--main-color);
}

/* تنسيق الصورة */
.show-container-service .box .img-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.show-container-service .box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.show-container-service .box:hover .img-box img {
    transform: scale(1.1);
}

/* تنسيق المحتوى */
.show-container-service .box .content {
    padding: 2rem;
}

.show-container-service .box .title-service {
    font-size: 1.5rem;
    color: var(--blue-opacity);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* تنسيق الزر (عرض التفاصيل) */
.show-container-service .box .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--main-color);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.3s;
    border: 2px solid var(--main-color);
}

.show-container-service .box .btn:hover {
    background-color: transparent;
    color: var(--main-color);
    box-shadow: var(--box-shadow);
}

/* رسالة فارغة */
.empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space);
    background: var(--white-alfa-25);
    border-radius: 15px;
    color: var(--pink-color);
}

/* التجاوب */
@media (max-width: 768px) {
    .show-container-service {
        padding: 50px 5%;
    }
    .show-container-service .heading h1 {
        font-size: 2rem;
    }
}
 /*--------------------------- form login Sections*/

 .form-container{
    background-image: url('../image/login.jpg');
    
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4% 0;
 }
 .form-container form{
  background-color: var(--white-alfa-25);
  border: 2px solid var(--white-alfa-40);
  box-shadow: var(--box-shadow);
  backdrop-filter: var(--backdrop-filter);
  border-radius: 0.5rem;
  padding: 2rem;
 }
 .form-container .login{
  width: 50rem;
 }
 /* .form-container .register{
  width: 160rem;
 } */
  .form-container .inpult-field{
    margin-left: 1rem;
  }
 .form-container .register img{
  width: 180px;
  height: 180px;
  border-radius: 50%;
  text-align: center;
  padding: 10px;
  background-color: var(--main-color);
}
.form-container form h3{
  text-transform: capitalize;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--main-color);
  text-transform: capitalize;
  font-weight: bold;
}
.form-container form p{
  padding-top: 1rem;
  font-size: 1.2rem;
  text-transform: capitalize;
}
.form-container form span{
  color: red;
}
.form-container form .link{
  padding-bottom: 1rem;
  font-size: 1.2rem;
  text-transform: capitalize;
}
.form-container form .link a{
  color: var(--main-color);
}
.form-container form .link a:hover{
  color: red;
  text-decoration: underline;
}
.form-container form .box{
  background-color: var(--white-alfa-25);
  border: 2px solid var(--white-alfa-40);
  box-shadow: var(--box-shadow);
  backdrop-filter: var(--backdrop-filter);
  border-radius: 0.5rem;
  width: 90%;
  margin: 0.5rem 1rem;
  font-size: 1rem;
  padding: 1rem;

}
.form-container  form textarea{
  height: 20rem;
  resize: none;
}

.form-container .flex .col{
display: grid;
grid-template-columns: repeat(2,1fr);
}
.form-container .btn{
  width: 100%;
}
.iti{
  margin-top: 10px;
  margin-bottom: 10px;
  width: 450ox;
}
/*---------------------------------Team Sections---------------*/
/* الحاوية الرئيسية */
.show-container-team {
    padding: 80px 10%;
    background: var(--white-alfa-25);
    direction: rtl;
    text-align: center;
}

.show-container-team .heading {
    margin-bottom: 4rem;
}

.show-container-team h1 {
    font-size: 2.5rem;
    color: var(--blue-opacity);
    margin-bottom: 1rem;
}

.show-container-team p {
    color: #666;
    font-size: 1.1rem;
}

/* شبكة البطاقات */
.show-container-team .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* تنسيق بطاقة الطبيب */
.show-container-team .box {
    background: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter);
    border: 1px solid var(--white-alfa-40);
    border-radius: 20px;
    padding: 2rem;
    transition: 0.4s ease;
    box-shadow: var(--box-shadow);
}

.show-container-team .box:hover {
    transform: translateY(-10px);
    border-color: var(--main-color);
}

/* إطار الصورة الشخصية */
.show-container-team .box .image-box {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 20%;
    overflow: hidden;
    padding: 5px;
    background: #fff;
}

.show-container-team .box .image-box img {
    width: 80%;
    height: 100%;
}

/* محتوى البطاقة */
.show-container-team .box h3 {
    color: var(--blue-opacity);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.show-container-team .box .specialty {
    font-size: 1rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.show-container-team .box .specialty span {
    color: var(--pink-color);
    font-weight: 600;
}

/* زر عرض الملف */
.show-container-team .box .btn {
    display: block;
    width: 100%;
    background-color: var(--main-color);
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: 2px solid var(--main-color);
}

.show-container-team .box .btn:hover {
    background-color: transparent;
    color: var(--main-color);
}

/* رسالة فارغة */
.empty {
    grid-column: 1 / -1;
    padding: 2rem;
    background: var(--white-alfa-25);
    border-radius: 10px;
}

.view-container{
  padding: 100px;
  background-image: url('../image/bg.jpg');
  background-position: center;
  background-size: cover;

}
.view-container .box{
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 2;
  background-color: var(--white-alfa-25);
  box-shadow: var(--box-shadow);

}
.view-container .box .img-box{
  flex: 1 1 40rem;
  padding: 2rem;
  position: relative;
}

.view-container .box .detail{
  padding: 1rem;
  flex: 1 1 40rem;
}
.view-container .box img{
  width: 100%;

}
.view-container .box .name{
  text-decoration: cadetblue;
  font-size: 2rem;
  color: var(--main-color);
  font-weight: bold;
  text-align: left;

}

.view-container .box .price{
  font-size: 2rem;
  font-weight: bolder;
  color: var(--pink-color);

}

.view-container .box .service-detail{
  line-height: 2;
  color: gray;
}
.view-container .box .info{
  color: rgb(30, 28, 29);
  font-weight: bolder;
  font-size: 1.5rem;
  text-align: left;
}
.view-container .box .info span{
  color: crimson;
    font-size: 1rem;
    padding: 0 10px;

}

.view-container .box .employee_detail{
  line-height: 1.7;
  color: gray;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  text-align: left;
}

.services-contact {
    padding: 60px 10%;
    background: #f4f9fb;
    direction: rtl;
    text-align: center;
}

.services-contact .heading h1 {
    font-size: 2.5rem;
    color: #123f5a;
    margin-bottom: 1rem;
}

.services-contact .heading p {
    color: #526675;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* حاوية الصناديق */
.services-contact .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.services-contact .box-contact {
    background: #fff;
    border: 1px solid #d9e7ec;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: right;
    box-shadow: 0 14px 34px rgba(18, 63, 90, 0.08);
}

.services-contact .box-contact img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    padding: 12px;
    background: #e9f6f7;
    border-radius: 14px;
}

.services-contact .box-contact h4 {
    font-size: 1.25rem;
    color: #123f5a;
    margin-bottom: 0.5rem;
}

.services-contact .box-contact p {
    font-size: 1rem;
    color: #526675;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

/* تنسيق الصندوق الصغير */
.services-contact .boxs {
    background: var(--white-alfa-25);
    backdrop-filter: var(--backdrop-filter);
    border: 1px solid var(--white-alfa-40);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem; /* مسافة بين الأيقونة والنص */
    transition: 0.4s ease;
    text-align: right; /* محاذاة النص لليمين داخل الصندوق */
    box-shadow: var(--box-shadow);
}

.services-contact .boxs:hover {
    transform: translateY(-10px);
    border-color: var(--main-color);
    background: #fff; /* تفتيح الخلفية عند التحويم */
}

/* تنسيق الأيقونات */
.services-contact .boxs img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    padding: 10px;
    background: var(--white-alfa-40);
    border-radius: 12px;
}

/* تنسيق النصوص داخل الصناديق */
.services-contact .boxs h4 {
    font-size: 1.3rem;
    color: var(--main-color);
    margin-bottom: 0.5rem;
}

.services-contact .boxs p {
    font-size: 1rem;
    color: var(--blue-opacity);
    line-height: 1.4;
    font-weight: 500;
}

/* التجاوب */
@media (max-width: 768px) {
    .contact {
        padding: 40px 5%;
    }
    .contact .box-container {
        grid-template-columns: 1fr;
    }
    .services-contact {
        padding: 40px 5%;
    }
    .services-contact .box-contact {
        flex-direction: column;
        text-align: center;
    }
    .services-contact .boxs {
        flex-direction: column;
        text-align: center;
    }
}
/*-----------------------services sections----------------------*/

#box-container .title-service{
  color: #000!important;
}

/* Disable card animations */
.card-service,
.boxs,
.boxs > img,
.main-card-group .card,
.service-second .card,
.service-second .card img,
.mission-card,
.card-icon,
.card-icon img,
.choose .card,
.show-container-service .box,
.show-container-service .box .img-box img,
.show-container-team .box,
.services-contact .boxs {
    transition: none !important;
}

.card-service:hover,
.boxs:hover,
.boxs:hover > img,
.main-card-group .card:hover,
.service-second .card:hover,
.service-second .card:hover img,
.mission-card.active,
.mission-card:hover,
.mission-card:hover .card-icon,
.choose .card:hover,
.show-container-service .box:hover,
.show-container-service .box:hover .img-box img,
.show-container-team .box:hover,
.services-contact .boxs:hover {
    transform: none !important;
}

