/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #07b1d0f3;
  --secondary: #07b1d0;
  --accent: #07b1d0;
  --light: #f0f9f4;
  --dark: #0b2a25;
  --text: #333;
  --text-light: #666;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #f8fafc;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Top Bar Styles */
.topbar {
  background: var(--secondary);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-left {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-right span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-right i {
  font-size: 0.8rem;
  opacity: 0.9;
}

.phone {
  margin-right: 10px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Header Styles */
.site-header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.logo-image {
  height: clamp(60px, 10vw, 100px);
  width: auto;
  vertical-align: middle;
  margin: 0 5px;
}

.logo-text {
  color: var(--dark);
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}

.main-nav li {
  margin-left: 15px;
}

.main-nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.main-nav a:hover {
  color: var(--secondary);
}

.main-nav a.active {
  color: var(--secondary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* .btn-outline:hover {
  background: var(--text);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 178, 123, 0.2);
} */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Hero Carousel Section */
.hero-carousel {
  position: relative;
  height: 30vh;
  min-height: 400px;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel-slides {
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.carousel-content {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.carousel-content h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.carousel-content p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 700px;
  margin: 0 auto 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 20px;
  animation: fadeInUp 1s ease-out 0.6s both;
  flex-wrap: wrap;
}

.breadcrumb li {
  margin: 0 10px;
}

.breadcrumb a {
  color: var(--white);
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  color: var(--white);
  margin-left: 10px;
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
}

.carousel-nav button {
    background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.carousel-nav button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Doctors Section */
.doctors-section {
  padding: 80px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--dark);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.doctor-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
}

.doctor-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.doctor-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-image img {
  transform: scale(1.1);
}

.doctor-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(17, 102, 67, 0.8));
  padding: 20px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-overlay {
  transform: translateY(0);
}

.doctor-overlay .doctor-specialty {
  font-size: 1rem;
  margin-bottom: 5px;
  opacity: 0.9;
}

.doctor-overlay .doctor-experience {
  font-size: 0.9rem;
  opacity: 0.8;
}

.doctor-info {
  padding: 25px;
  text-align: center;
}

.doctor-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.doctor-info p {
  color: var(--dark);
  margin-bottom: 15px;
}

.doctor-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.doctor-social a {
  width: 40px;
  height: 40px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.doctor-social a:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-3px);
}

.doctor-social i{
  color: var(--white);
}

/* Specialties Section */
.specialties-section {
  padding: 80px 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.specialties-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.1;
}

.specialties-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.05;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.specialty-card {
  background: white;
  padding: 40px 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.specialty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.specialty-icon {
  width: 80px;
  height: 80px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--secondary);
  transition: all 0.4s ease;
}

.specialty-card:hover .specialty-icon {
  background: var(--secondary);
  color: white;
}

.specialty-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.specialty-card p {
  color: var(--dark);
  margin-bottom: 20px;
}

.specialty-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.specialty-link i {
  color: var(--secondary);
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.specialty-link:hover {
  color: var(--primary);
}

.specialty-link:hover i {
  transform: translateX(5px);
}

/* Leadership Team */
.leadership-section {
  padding: 80px 0;
  background: var(--white);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.leadership-content h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.leadership-content p {
  color: var(--dark);
  margin-bottom: 30px;
}

.leadership-list {
  list-style: none;
}

.leadership-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.leadership-list i {
  color: var(--dark);
  margin-right: 10px;
  margin-top: 5px;
  font-size: 1.2rem;
}

.leadership-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.leadership-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.leadership-image:hover img {
  transform: scale(1.05);
}

.btn-outlinee {
  background: var(--white);
  border: 2px solid var(--secondary);
  color: var(--dark);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.btn-outlinee:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: url("../images/IMG-20251102-WA0020.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  background-attachment: fixed;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(2.5rem, 4vw, 3rem);
  margin-bottom: 20px;
  
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: white;
  color: var(--dark);
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer with Logo */
.site-footer {
  background: var(--secondary);
  color: var(--text);
  padding: 30px 0 10px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 10px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--dark);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--dark);
}

.footer-col p {
  margin-bottom: 20px;
  color: var(--text);
}
/* .footer-col i {
  color: var(--white);
} */

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-image {
  height: 80px;
  width: auto;
  margin-right: 10px;
  color: var(--text);
}

.footer-logo-text {
  color: var(--text);
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.9rem;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--text);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--white);
  color: var(--secondary);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .carousel-content h1 {
    font-size: 2.2rem;
  }

  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(7, 177, 208, 0.95);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    backdrop-filter: blur(10px);
  }

  .main-nav.active ul {
    display: flex;
  }

  .main-nav a.active {
    color: var(--text);
  }

  .main-nav a:hover {
    color: var(--white);
  }

  .main-nav li {
    margin: 10px 0;
  }

  .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--secondary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
  }

  .btn-outline:hover {
    background: var(--text);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 178, 123, 0.2);
  }

  .topbar-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .top-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-carousel {
    height: 60vh;
    min-height: 400px;
  }

  .carousel-content h1 {
    font-size: 2rem;
  }

  .carousel-content p {
    font-size: 1rem;
  }

  .carousel-nav {
    display: none;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 15px;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .top-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-carousel {
    height: 50vh;
    min-height: 350px;
  }

  .carousel-content h1 {
    font-size: 1.8rem;
  }

  .carousel-content p {
    font-size: 0.9rem;
  }

  .section-header h2,
  .leadership-content h2,
  .cta-section h2 {
    font-size: 1.8rem;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .logo-image {
    height: 50px;
  }

  .doctor-image {
    height: 250px;
  }

  .specialty-card {
    padding: 30px 20px;
  }

  .btn-outline {
    padding: 6px 15px;
    font-size: 0.85rem;
  }
}
