/* style.css */
/* ==========================
   Base Styles
========================== */
body {
  font-family: "Inter", sans-serif;
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.7;
}

/* Text & Background Colors */
.text-primary {
  color: #007bff !important;
}
.bg-primary-soft {
  background-color: #f0f7ff;
}

/* ==========================
   Navbar
========================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* ==========================
   Buttons
========================== */
.btn-primary {
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 30px;
  transition: 0.3s;
}
.btn-outline-primary {
  border-color: #007bff;
  color: #007bff;
}

/* Filter Buttons */
.filter-btn {
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 500;
  border: 1px solid #dee2e6;
  background: white;
  transition: 0.3s;
}
.filter-btn.active,
.filter-btn:hover {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

/* ==========================
   Hero Sections
========================== */
.about-hero,
.careers-hero,
.services-hero,
.job-header {
  padding: 60px 0;
  position: relative;
}

.about-hero {
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}
.careers-hero {
  background: #001d3d;
  color: white;
  overflow: hidden;
}
.careers-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1576091160607-2d0d053eca6d?auto=format&fit=crop&w=800&q=80")
    center/cover no-repeat;
  opacity: 0.2;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.services-hero {
  background: #0056b3;
  color: white;
  overflow: hidden;
}
.services-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(100px, -100px);
}
.job-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #eee;
}

/* ==========================
   Cards
========================== */
.card,
.team-card,
.branch-card,
.contact-info-card,
.benefit-card,
.job-card,
.cta-card,
.feature-box,
.service-box,
.summary-card,
.doctor-card,
.booking-container,
.schedule-container {
  border-radius: 20px;
  background: #fff;
  border: 1px solid #eee;
  padding: 25px;
  transition: 0.3s;
  overflow: hidden;
}

.card,
.branch-card,
.contact-info-card,
.benefit-card,
.job-card,
.feature-box,
.service-box,
.doctor-card,
.booking-container {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card:hover,
.team-card:hover,
.branch-card:hover,
.contact-info-card:hover,
.benefit-card:hover,
.job-card:hover,
.feature-box:hover,
.service-box:hover,
.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Team Section */
.team-card {
  border-radius: 20px;
}
.team-card:hover {
  transform: translateY(-10px);
}
.team-img {
  height: 350px;
  object-fit: cover;
}

/* Doctor Card */
.doctor-img-container {
  position: relative;
  overflow: hidden;
  height: 300px;
}
.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.doctor-card:hover .doctor-img {
  scale: 1.05;
}
.specialty-badge {
  background: #f0f7ff;
  color: #007bff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 5px 15px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 10px;
}
.social-links a {
  color: #adb5bd;
  margin: 0 8px;
  font-size: 1rem;
  transition: 0.3s;
}
.social-links a:hover {
  color: #007bff;
}

/* Benefit Cards */
.benefit-card i {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 15px;
  display: block;
}

/* Job List */
.job-tag {
  background: #f0f7ff;
  color: #007bff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.job-card:hover {
  transform: translateX(5px);
}

/* Branch Cards */
.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Contact Cards */
.contact-icon {
  width: 50px;
  height: 50px;
  background: #007bff;
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* ==========================
   Form Styles
========================== */
.form-section,
.application-container {
  padding: 40px;
}
.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #495057;
}
.form-control,
.form-select {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  background-color: #fcfcfc;
  transition: 0.3s;
}
.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.1);
  background-color: #fff;
}
.upload-area {
  border: 2px dashed #d1d8e0;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: 0.3s;
}
.upload-area:hover {
  border-color: #007bff;
  background: #f0f7ff;
}

/* Time Slot Buttons */
.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.time-btn {
  border: 1px solid #dee2e6;
  background: white;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  transition: 0.3s;
}
.time-btn:hover {
  border-color: #007bff;
  color: #007bff;
}
.time-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

/* Step Indicators */
.step-indicator,
.step-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.step-indicator {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 10px;
}
.step.active {
  background: #007bff;
}
.step-circle {
  width: 50px;
  height: 50px;
  background: #007bff;
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* ==========================
   Tables & Schedule
========================== */
.schedule-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.table thead th {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 20px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.table tbody td {
  padding: 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}
.time-slot {
  font-weight: 600;
  color: #444;
}
.status-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}
.bg-available {
  background-color: #e8f5e9;
  color: #2e7d32;
}
.bg-emergency {
  background-color: #fff3e0;
  color: #ef6c00;
}

/* ==========================
   Lists
========================== */
.list-custom {
  list-style: none;
  padding-left: 0;
}
.list-custom li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.list-custom li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #007bff;
}

/* Service List */
.service-list-group .list-group-item {
  border: none;
  padding: 15px 20px;
  font-weight: 600;
  color: #555;
  border-radius: 8px !important;
  margin-bottom: 5px;
  transition: 0.3s;
}
.service-list-group .list-group-item.active {
  background-color: #007bff;
  color: white;
}
.service-list-group .list-group-item:hover:not(.active) {
  background-color: #f8f9fa;
  color: #007bff;
  padding-left: 25px;
}

/* Accordion */
.accordion-button:not(.collapsed) {
  background-color: #f0f7ff;
  color: #007bff;
}

/* Nav Pills */
.nav-pills .nav-link {
  color: #666;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 25px;
  transition: 0.3s;
}
.nav-pills .nav-link.active {
  background-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* ==========================
   Misc / Utilities
========================== */
.section-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 25px;
  font-weight: 700;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #007bff;
}

.map-placeholder,
.map-container {
  background-color: #e9ecef;
  border-radius: 20px;
  overflow: hidden;
}
.map-placeholder {
  height: 200px;
}
.map-container {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.summary-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.summary-icon {
  width: 45px;
  height: 45px;
  background: #f0f7ff;
  color: #007bff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.2rem;
}

.service-box {
  border: 1px solid #eee;
  border-radius: 20px;
  background: white;
  transition: 0.3s;
  overflow: hidden;
}
.service-box:hover {
  border-color: #007bff;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}
.service-icon-large {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 20px;
}

.service-list li i {
  color: #28a745;
  margin-right: 10px;
  font-size: 0.8rem;
}

/* Hover effect for nav links */
.navbar-nav .nav-link.rounded-hover {
  transition: all 0.3s;
}
.navbar-nav .nav-link.rounded-hover:hover {
  background-color: #007bff;
  color: #fff !important;
  border-radius: 10px;
  transform: translateY(-2px);
}

/* Top row buttons hover */
.navbar .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.navbar .btn-outline-primary:hover {
  background-color: #007bff;
  color: #fff;
}

/* Navbar 2 background for contrast */
.bg-primary-soft {
  background-color: #f0f7ff !important;
}

/* Make navbar shadow soft */
nav.sticky-top {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .nav-mobile-btn {
    width: 40px;
    height: 40px;
  }
}

/* ==========================
   Stats Section Enhanced
========================== */
.stats-section {
  background: linear-gradient(135deg, #f0f7ff, #e6f0ff);
  position: relative;
}

.stat-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 20px;
  transition: 0.4s ease;
  border: 1px solid #eef2f7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background: #f0f7ff;
  color: #007bff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: 0.3s;
}

.stat-box:hover .stat-icon {
  background: #007bff;
  color: #fff;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #007bff;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6c757d;
  margin-bottom: 0;
}
