/* ==========================================================================
   Jivisha Clinic Theme Main Styling System
   ========================================================================== */

/* 1. Header & Navigation */
.jivisha-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 132, 180, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.jivisha-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.jivisha-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.jivisha-logo-title {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.5px;
}

.jivisha-logo-title span {
  color: #0A84B4;
}

.jivisha-nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jivisha-nav-link {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s ease;
}

.jivisha-nav-link:hover,
.jivisha-nav-link.active {
  color: #0A84B4;
}

.jivisha-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0A84B4 0%, #086990 100%);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 20px -6px rgba(10, 132, 180, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -6px rgba(10, 132, 180, 0.5);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.08);
}

/* Mobile Toggle */
.jivisha-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #0F172A;
  cursor: pointer;
}

/* 2. Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #F0FDF4 0%, #F8FAFC 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(10, 132, 180, 0.2);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #0A84B4;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(10, 132, 180, 0.08);
}

.hero-title {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  color: #0F172A;
  margin-top: 0;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, #0A84B4 0%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 18px;
  color: #475569;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #E2E8F0;
}

.stat-item h4 {
  font-size: 32px;
  font-weight: 800;
  color: #0A84B4;
  margin: 0;
}

.stat-item p {
  font-size: 14px;
  color: #64748B;
  margin: 4px 0 0;
}

.hero-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

/* 3. Doctors Section */
.doctors-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0A84B4;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: #0F172A;
  margin: 8px 0 16px;
}

.doctors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.doctor-card {
  background: #F8FAFC;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #E2E8F0;
  display: flex;
  gap: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(10, 132, 180, 0.15);
  background: #FFFFFF;
}

.doctor-img {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid #0A84B4;
  flex-shrink: 0;
}

.doctor-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
}

.doctor-role {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #0A84B4;
  background: #E0F2FE;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.doctor-degrees {
  font-size: 13px;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 12px;
}

.doctor-bio {
  font-size: 14px;
  color: #475569;
  margin-bottom: 16px;
}

/* 4. Treatments Grid & Tabs */
.treatments-section {
  padding: 100px 0;
  background: #F8FAFC;
}

.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background: #0A84B4;
  color: #FFFFFF;
  border-color: #0A84B4;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #0A84B4;
  box-shadow: 0 16px 30px -10px rgba(10, 132, 180, 0.15);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: #E0F2FE;
  color: #0A84B4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.service-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px;
}

.service-card p {
  font-size: 14px;
  color: #64748B;
  margin: 0 0 20px;
}

/* 5. Floating Booking Modal & WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* Modal Overlay */
.jivisha-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.jivisha-modal-overlay.active {
  display: flex;
}

.jivisha-modal-content {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 15px;
  box-sizing: border-box;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: #0A84B4;
  box-shadow: 0 0 0 3px rgba(10, 132, 180, 0.15);
}

/* 6. Footer */
.jivisha-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 26px;
  margin: 0 0 16px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 18px;
  margin: 0 0 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #0A84B4;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 32px;
  text-align: center;
  font-size: 14px;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-grid, .doctors-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .jivisha-nav-list {
    display: none;
  }
  .jivisha-mobile-toggle {
    display: block;
  }
}
