:root {
  --primary: #0a626e;
  --secondary: #138496;
  --accent: #f6da08;
  --light: #f8f9fa;
  --radius: 12px;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.bg-gradient-primary {
  background: linear-gradient(90deg, #203b3f, #086372) !important;
}
.navbar-brand img.logo {
  height: 50px;
  transition: .3s;
}
.navbar-brand img.logo:hover { transform: scale(1.05); }
.nav-link {
  font-weight: 500;
  color: var(--light) !important;
  transition: .3s;
}
.nav-link:hover { color: var(--accent) !important; }

/* Hero */
.hero_section {
  background: url('../images/bg.jpg') center/cover no-repeat;
  min-height: 100vh;
  position: relative;
}
.hero_overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 98, 110, 0.7);
  z-index: 1;
}
.hero_section .container {
  position: relative;
  z-index: 2;
}
.btn-accent {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border-radius: var(--radius);
  transition: .3s;
}
.btn-accent:hover {
  background: #ffe84d;
  transform: translateY(-3px);
}

/* Section Titles */
.section-title {
  font-weight: 700;
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  height: 3px;
  width: 60%;
  margin: 8px auto 0;
  background: var(--accent);
  border-radius: 3px;
}

/* Departments */
.card-dept {
  background: #0a626e;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: .3s;
  color: #fff;
}
.card-dept:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,.15); }
.card-dept img {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
  max-height: 78px;
}

/* Doctors */
.doctor-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: .3s;
}
.doctor-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,.15); }
.doctor-card img { width: 100px; }



/* --- Doctors Section --- */
.section-title {
  color: #0a626e;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-underline {
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0a626e, #138496);
  margin: 10px auto 0;
  border-radius: 3px;
}

.doctor-card {
  transition: all 0.35s ease;
  cursor: pointer;
  border: 1px solid rgba(10, 98, 110, 0.1);
  position: relative;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.doctor-card img {
  max-width: 110px;
  transition: transform 0.3s ease;
}

.doctor-card:hover img {
  transform: scale(1.1);
}

.doctor-card h5 i,
.doctor-card p i {
  color: #0a626e;
}

.doctor-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 98, 110, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.doctor-card:hover .doctor-overlay {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .doctor-card img {
    max-width: 90px;
  }
}

.section-title {
  color: #0a626e;
  font-weight: 700;
  letter-spacing: 1px;
}
.section-underline {
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0a626e, #138496);
  margin: 10px auto 0;
  border-radius: 3px;
}
.doctor-card {
  transition: all 0.35s ease;
  cursor: pointer;
  border: 1px solid rgba(10, 98, 110, 0.1);
  position: relative;
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.doctor-card img {
  max-width: 110px;
  transition: transform 0.3s ease;
}
.doctor-card:hover img {
  transform: scale(1.1);
}
.text-success i { color: #28a745 !important; }
.text-primary i { color: #0a626e !important; }
.text-danger i { color: #dc3545 !important; }
.text-warning i { color: #f6c23e !important; }





/* Footer */
.footer_section {
      background: linear-gradient(90deg, #000000, #093c44);
}
.text-accent { color: var(--accent) !important; }
.footer_section a { text-decoration: none; color: #fff; }
.footer_section a:hover { color: var(--accent); }
