/* -------------------- الخط العام -------------------- */
* {
    font-family: 'Cairo', sans-serif !important;
}

/* -------------------- تأثير اسم العيادة -------------------- */
.text-gradient {
    background: linear-gradient(45deg, #0d6efd, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    overflow: hidden;
}

.text-gradient::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1), rgba(255,255,255,0.4));
    transform: skewX(-25deg);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* -------------------- Navbar -------------------- */
.navbar-nav .nav-link {
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 8px 12px;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd;
}

/* -------------------- أزرار -------------------- */
.btn-success {
    border-radius: 30px;
    transition: transform 0.3s ease;
}

.btn-success:hover {
    transform: scale(1.05);
}

/* -------------------- Swiper -------------------- */
.swiper {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 50px;
}

.swiper-slide {
    width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.swiper-slide h5 {
    margin-top: 10px;
    font-weight: bold;
}

/* -------------------- Cards -------------------- */
.service-card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.5);
}

/* -------------------- Logo Circle -------------------- */
.logo-circle {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: var(--card-shadow);
}

.logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 114, 255, 0.25);
}

/* -------------------- Sections -------------------- */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* -------------------- Branch Buttons -------------------- */
.branch-btn {
    width: 100%;
    padding: 14px;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    cursor: pointer;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.05rem;
}

.branch-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.2);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8f9ff, #e6f0ff);
}

/* -------------------- Branches Grid -------------------- */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 2.5rem;
}

/* -------------------- Footer Animations -------------------- */
footer h5 {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

footer h5::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    bottom: 0;
    left: -100%;
    transition: 0.5s;
}

footer h5:hover::after {
    left: 0;
}

footer ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.5em;
    cursor: pointer;
    transition: 0.3s;
}

footer ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s;
}

footer ul li:hover::before {
    opacity: 1;
    transform: translateX(0);
}

footer a {
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: #ffeb3b;
    text-shadow: 0 0 5px #ffeb3b;
}

/* Fade-in animation for columns */
footer .col-md-4 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

footer .col-md-4:nth-child(1) { animation-delay: 0.2s; }
footer .col-md-4:nth-child(2) { animation-delay: 0.4s; }
footer .col-md-4:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------- Responsive -------------------- */
@media (max-width: 992px) {
    .logo-circle { width: 280px; height: 280px; margin-bottom: 3rem; }
    .branches-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 15px; margin-top: 2rem; }
    .order-mobile-first { order: -1; }
}

@media (max-width: 576px) {
    .logo-circle { width: 240px; height: 240px; }
    .section-title { font-size: 2rem; }
    .branches-title { font-size: 1.6rem; }
}

/* -------------------- watsn Up -------------------- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* لون واتساب */
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: white;
}



/* navbarــــــــــــــــــــــــــــــــــــــــــــ */

.insurance-section {
  background: linear-gradient(135deg, #0f172a, #1e3a8a, #0ea5e9);
  color: white;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  margin: 120px  0;
}

.text-gradient {
  background: linear-gradient(90deg, #06b6d4, #3b82f6, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logos-marquee {
  overflow-x: auto; /* يسمح بالسحب أفقياً */
  overflow-y: hidden; /* يمنع السحب عمودياً */
  cursor: grab; /* شكل اليد عند السحب */
  
}
/* للشريط الأفقي في المتصفح */
.logos-marquee::-webkit-scrollbar {
  height: 6px; /* تصغير ارتفاع الشريط */
}

.logos-marquee::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1); /* خلفية خفيفة */
  border-radius: 10px;
}

.logos-marquee::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3); /* الشريط نفسه شفاف */
  border-radius: 10px;
}

/* للحفاظ على السحب سلس */
.logos-marquee {
  scrollbar-width: thin; /* للمتصفحات الأخرى مثل Firefox */
  scrollbar-color: rgba(255,255,255,0.3) rgba(255,255,255,0.1);
}


.logos-marquee:active {
  cursor: grabbing; /* شكل اليد أثناء السحب */
}

.logos-track {
  display: flex;
  gap: 50px;
  width: max-content;
  /* شيلنا أي حركة تلقائية */
}

.logo-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 20px 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo-card:hover {
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.logo-card img {
  height: 60px;
  object-fit: contain;
  filter: grayscale(70%) brightness(0.9);
  transition: filter 0.3s ease;
}

.logo-card:hover img {
  filter: grayscale(0%) brightness(1.1);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}








/* أزرار عائمة على الشمال */
.float-left {
    position: fixed;
    left: 20px;
    bottom: 20px; /* يمكنك ضبط المسافة عن الأسفل */
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* زر الطوارئ */
.emergency-call {
    background: #ff3b3b;
    margin-bottom: 10px; /* مسافة بين الزرين */
    animation: pulse 1.5s infinite;
}

/* زر الاتصال */
.call-now {
    background: #28a745;
}

/* تأثير النبض */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 59, 59, 0.4);}
    50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(255, 59, 59, 0.6);}
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 59, 59, 0.4);}
}

.float-left i {
    margin-right: 8px;
    font-size: 1.2rem;
}
.call-now {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #0d6efd; /* لون أزرق Bootstrap */
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 1000;
}

.call-now:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}



