/* ============================================
   AAYAT CLINIC - Custom Professional Overrides
   Loaded AFTER Elementor CSS to take priority
   ============================================ */

/* ---------- TESTIMONIALS "WHAT PEOPLE SAY" ---------- */
.elementskit-testimonial-slider.ekit_testimonial_style_5 {
  padding: 20px 10px 40px;
}

.elementskit-single-testimonial-slider.elementskit-testimonial-slider-block-style-two {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 30px 28px !important;
  margin: 10px 15px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
  border-top: 4px solid #0C655E !important;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elementskit-single-testimonial-slider.elementskit-testimonial-slider-block-style-two:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14) !important;
}

/* Stars */
.elementskit-stars {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  gap: 4px;
}

.elementskit-stars li a i {
  font-size: 18px;
  color: #f5a623 !important;
  text-shadow: none;
}

/* Quote text */
.elementskit-commentor-content p {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #555 !important;
  font-style: italic;
  margin-bottom: 24px !important;
}

.elementskit-commentor-content p::before {
  content: '\201C';
  font-size: 40px;
  color: #0C655E;
  line-height: 0;
  vertical-align: -15px;
  margin-right: 4px;
}

/* Bio / Author area */
.elementskit-commentor-bio {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 18px;
}

.elementkit-commentor-details {
  display: flex;
  align-items: center;
  gap: 14px;
}

.elementskit-commentor-image img {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid #0C655E !important;
}

.elementskit-author-name {
  display: block;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #222 !important;
}

.elementskit-author-des {
  display: block;
  font-size: 13px !important;
  color: #999 !important;
  margin-top: 2px;
}

.elementskit-icon-content.elementskit-watermark-icon i {
  font-size: 40px !important;
  color: #e8f5f4 !important;
}

/* Section heading for testimonials */
.elementor-element-39d0b04 .elementor-heading-title {
  font-size: 36px !important;
  font-weight: 800 !important;
  letter-spacing: 2px;
  color: #1a1a2e !important;
  position: relative;
  padding-bottom: 16px;
}

.elementor-element-39d0b04 .elementor-heading-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0C655E, #14a899);
  border-radius: 2px;
}

/* ---------- HEADER IMPROVEMENTS ---------- */
.elementskit-nav-identity-panel {
  padding: 8px 0;
}

.ekit-menu-nav > li > a {
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  transition: color 0.25s ease !important;
}

.ekit-menu-nav > li > a:hover {
  color: #0C655E !important;
}

.elementskit-nav-logo img {
  max-height: 60px;
}

/* ---------- CYBERTEY FOOTER CREDIT ---------- */
.cybertey-credit {
  background: #111;
  text-align: center;
  padding: 14px 20px;
  font-size: 14px;
  color: #aaa;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.5px;
}

.cybertey-credit a {
  color: #0C655E;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.cybertey-credit a:hover {
  color: #14a899;
}

/* ---------- GENERAL PROFESSIONAL POLISH ---------- */
* {
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Doctors Section - Frontend */
.firebase-doctors-section {
  padding: 70px 20px;
  background: linear-gradient(135deg, #f8fffe 0%, #f0faf9 100%);
}

.firebase-doctors-section h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.firebase-doctors-section .section-subtitle {
  text-align: center;
  color: #888;
  font-size: 16px;
  margin-bottom: 50px;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.doctor-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(12, 101, 94, 0.15);
}

.doctor-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0C655E;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(12, 101, 94, 0.2);
}

.doctor-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px 0;
}

.doctor-card p {
  font-size: 14px;
  color: #888;
  margin: 0;
  font-style: italic;
}

.doctor-card .doctor-badge {
  display: inline-block;
  background: #e8f5f4;
  color: #0C655E;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 10px;
}

/* Videos Section - Frontend */
.firebase-videos-section {
  padding: 70px 20px;
  background: #fff;
}

.firebase-videos-section h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  background: #f9f9f9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.video-card iframe {
  border-radius: 0;
  display: block;
}

.video-card h4 {
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  text-align: center;
}
