/* =========================
   SECTION
========================= */
.doctor-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #e6f9f7 0%, #e6f9f7 100%);
}

.auto-container {
    max-width: 1200px;
    margin: auto;
    position: relative;
    padding: 0 15px;
}

/* =========================
   SCROLL
========================= */
.doctor-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 5px;
}

.doctor-scroll::-webkit-scrollbar {
    display: none;
}

/* =========================
   CARD LAYOUT (IMPORTANT)
========================= */

/* Desktop → 4 cards */
.doctor-card {
    flex: 0 0 25%;
    max-width: 25%;
    min-width: 25%;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

/* Tablet → 2 cards */
@media (max-width: 992px) {
    .doctor-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Mobile → 1 card */
@media (max-width: 576px) {
    .doctor-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Hover */
.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* =========================
   IMAGE
========================= */
.doc-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
}

.doc-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    transition: 0.3s ease;
}

.doctor-card:hover .doc-img img {
    transform: scale(1.04);
}

/* =========================
   BADGES
========================= */
.verified-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #22c55e;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
}

.availability {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* =========================
   CONTENT
========================= */
.doc-content {
    padding: 16px;
}

/* HEADER */
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.top h4 {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* RATING */
.rating {
    font-size: 12px;
    font-weight: 500;
    background: #fef3c7;
    color: #92400e;
    padding: 3px 8px;
    border-radius: 6px;
}

/* TEXT */
.special {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.total-exp {
    font-size: 13px;
    font-weight: 500;
    color: #4f46e5;
    margin-bottom: 8px;
}

.location {
    font-size: 13px;
    color: #374151;
    margin-bottom: 12px;
}

/* EXPERIENCE */
.experience {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.exp-item {
    background: #f9fafb;
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
}

.exp-item strong {
    display: block;
    font-size: 12px;
    color: #111827;
}

.exp-item span {
    font-size: 11px;
    color: #6b7280;
}

.exp-item small {
    font-size: 10px;
    color: #9ca3af;
}

/* =========================
   BUTTON
========================= */
.btn-primary {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    background: #4f46e5;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #4338ca;
}

/* =========================
   SCROLL BUTTONS
========================= */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 10;
}

.scroll-btn.left {
    left: -20px;
}

.scroll-btn.right {
    right: -20px;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .scroll-btn {
        display: none;
    }
}

.services-section {
  padding: 60px 20px;
  background: #f9fbfb;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #6b7280;
  margin-bottom: 40px;
}

.services-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-card {
  background: #fff;
  padding: 30px;
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.icon {
  font-size: 32px;
  color: #2aa198;
  margin-bottom: 15px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: #555;
}

.explore-link {
  display: inline-block;
  margin-top: 15px;
  color: #2aa198;
  font-weight: 500;
  text-decoration: none;
}


body {
  font-family: 'Inter', sans-serif;
  background: #f4f7fb;
}

/* Section */
.testimonials {
  padding: 80px 20px;
  text-align: center;
}

.testimonials h2 {
  font-size: 32px;
  font-weight: 700;
}

.subtitle {
  color: #6b7280;
  margin-top: 10px;
}

/* Slider */
.slider {
  overflow: hidden;
  margin-top: 40px;
}

.slider-track {
  display: flex;
  gap: 25px;
  animation: scroll 30s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}

/* Card */
.card {
  min-width: 320px;
  padding: 25px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

/* Text */
.message {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
}

.user {
  margin-top: 15px;
  font-weight: 600;
}

.role {
  font-size: 13px;
  color: #9ca3af;
}

/* Stars */
.stars {
  color: #fbbf24;
  margin-top: 8px;
}

/* Scroll animation */
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Mobile */
@media (max-width: 768px) {
  .card {
    min-width: 260px;
  }
}

/* Remove extra vertical spacing */
.testimonials {
  padding: 40px 0 !important; /* reduce top/bottom space */
  margin: 0;
}

/* Remove heading gaps */
.testimonials h2 {
  margin: 0;
  margin-bottom: 8px;
}

.testimonials .subtitle {
  margin: 0;
  margin-bottom: 20px;
}


/* Remove card gaps */
.slider-track {
  gap: 0 !important; /* 🔥 removes space between cards */
}

/* Optional: small controlled spacing instead of full gap */
.card {
  margin-right: 10px; /* clean controlled spacing */
}

/* Remove bottom space */
.slider {
  margin: 0;
}

/* Container */
/* Stats Section */
section[style*="background:#f8fbfb"] .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Process Section */
.process-style-two .container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}

/* Testimonials Section */
.testimonials .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center;
}
/* Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
}

.section-subtitle {
    margin-top: 10px;
    font-size: 16px;
    color: #64748b;
}


/* SECTION REFINEMENT */
.process-style-two {
    padding: 40px 0 !important;
    position: relative;
}
.services-grid.centered {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
/* Card */
.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 30px 25px;
    text-align: left;
    transition: all 0.35s ease;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* Hover Glow */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, #00c6ff, #ffffff);
    opacity: 0;
    transition: 0.4s;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.08;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #39cabb, #39cabb);
    color: white;
    font-size: 24px;
    
    margin: 0 auto 20px; /* 🔥 THIS centers it */
}

/* Text */
.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0f172a;
    text-align: center;
}

.service-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* Explore Link */
.explore-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: #39cabb;
    text-decoration: none;
    gap: 6px;
    transition: 0.3s;
}

.explore-link span {
    transition: transform 0.3s ease;
}

.explore-link:hover span {
    transform: translateX(6px);
}

.explore-link:hover {
    color: #39cabb;
}


/* TITLE SPACING FIX */
.section-title {
    margin-bottom: 8px !important;
}

.section-subtitle {
    margin-bottom: 20px !important;
}
