/* ===== RESET & BASE ===== */
:root {
  --primary-color: #0070f3;
  --primary-dark: #0050b3;
  --primary-light: #69c0ff;
  --secondary-color: #36cfc9;
  --accent-color: #7c4dff;
  --text-color: #1f2937;
  --text-light: #4b5563;
  --text-lighter: #6b7280;
  --bg-color: #ffffff;
  --bg-light: #f9fafb;
  --bg-dark: #111827;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 10px;
  --border-radius-sm: 6px;
  --border-radius-lg: 16px;
  --section-padding: 100px 0;
  --section-padding-sm: 70px 0;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--text-color);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 15px;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-subtitle {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  position: relative;
  padding: 5px 15px;
  background-color: rgba(0, 112, 243, 0.1);
  border-radius: 20px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-divider {
  display: none;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 10px 20px rgba(0, 112, 243, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 15px 25px rgba(0, 112, 243, 0.3);
  transform: translateY(-3px);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
}

.highlight {
  color: var(--primary-color);
}

/* ===== HEADER ===== */
header {
  width: 100%;
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-info {
  display: flex;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: var(--text-lighter);
}

.info-item i {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--text-lighter);
  font-size: 16px;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-color);
}

.navbar {
  padding: 15px 0;
  background-color: var(--bg-color);
  position: relative;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-color);
}

.logo-icon {
  font-size: 24px;
  color: var(--primary-color);
}

.logo-text {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;

  border: 1px solid var(--border-color);
  font-size: 22px;
  cursor: pointer;
  color: var(--text-color);
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.menu-toggle:hover {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-item a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--primary-color);
}

.nav-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

.appointment-btn a {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius);
}

.appointment-btn a:hover {
  background-color: var(--primary-dark);
}

.appointment-btn a::after {
  display: none;
}

/* Mobile menu */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
  }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-color);
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
  }

  .menu-toggle:hover {
    color: var(--primary-color);
  }

  .menu-toggle.open {
    color: var(--primary-color);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 40px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-item a {
    display: flex;
    align-items: center;
    padding: 15px 0;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
  }

  .nav-item a::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 15px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
  }

  .nav-item a:hover::before,
  .nav-item a.active::before {
    opacity: 1;
    transform: scale(1);
  }

  .nav-item a::after {
    display: none;
  }

  .nav-item a:hover,
  .nav-item a.active {
    padding-left: 10px;
  }

  .appointment-btn {
    margin-top: 20px;
    width: 100%;
  }

  .appointment-btn a {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 15px;
    border-radius: 8px;
    background: var(--gradient-primary);
    box-shadow: 0 8px 15px rgba(0, 112, 243, 0.2);
  }

  /* overlay - menu is open */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* hero stats for mobile */
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  .stat-item {
    min-width: 80px;
    text-align: center;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-text {
    font-size: 13px;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 120px 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.05;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  opacity: 0.05;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 25px;
  line-height: 1.2;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

/* hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 100px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-text {
  font-size: 14px;
  color: var(--text-lighter);
  font-weight: 500;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

/* hero overlay-animated shapes */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.05) 0%, rgba(124, 77, 4dff, 0.05) 100%);
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.05;
  z-index: 0;
}

.shape-1 {
  top: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  bottom: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  animation: float 6s ease-in-out infinite;
  animation-delay: 1s;
}

.shape-3 {
  top: 40%;
  left: 15%;
  width: 100px;
  height: 100px;
  animation: float 4s ease-in-out infinite;
  animation-delay: 2s;
}

.shape-4 {
  bottom: 30%;
  right: 15%;
  width: 150px;
  height: 150px;
  animation: float 7s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 40px 30px;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient-primary);
  opacity: 0.05;
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--box-shadow-hover);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0, 112, 243, 0.2);
}

.feature-icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  background-color: white;
  border-radius: 18px;
  z-index: -1;
}

.feature-icon i {
  font-size: 32px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.feature-card h3 {
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
}

.experience-badge .years {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.experience-badge .text {
  font-size: 14px;
}

.about-text h3 {
  margin-bottom: 20px;
}

.about-features {
  margin: 30px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-feature i {
  color: var(--primary-color);
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--box-shadow-hover);
}

.service-card:hover::before {
  width: 100%;
  opacity: 0.05;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0, 112, 243, 0.2);
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  background-color: white;
  border-radius: 50%;
  z-index: -1;
}

.service-icon i {
  font-size: 28px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--primary-color);
}

.service-link:hover {
  color: var(--primary-dark);
}

/* ===== APPOINTMENT SECTION ===== */
.appointment {
  padding: var(--section-padding);
  background-color: var(--bg-light);
  background-image: linear-gradient(rgba(0, 119, 182, 0.05), rgba(0, 119, 182, 0.05));
}

.appointment-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.appointment-text {
  max-width: 500px;
}

.appointment-text p {
  margin-bottom: 30px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-info-item i {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-info-item h4 {
  margin-bottom: 5px;
}

.contact-info-item p {
  margin-bottom: 0;
  color: var(--text-lighter);
}

.appointment-form {
  background-color: var(--bg-color);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background-color: var(--bg-light);
  transition: var(--transition);
  font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 112, 243, 0.1);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--error-color);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
  border-color: var(--success-color);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

/* ===== DOCTORS SECTION ===== */
.doctors {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.doctor-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.doctor-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--box-shadow-hover);
}

.doctor-image {
  position: relative;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: var(--transition);
}

.doctor-card:hover .doctor-image img {
  transform: scale(1.05);
}

.doctor-social {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.doctor-card:hover .doctor-social {
  bottom: 0;
}

.doctor-social a {
  width: 40px;
  height: 40px;
  background-color: white;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.doctor-social a:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
}

.doctor-info {
  padding: 30px;
  text-align: center;
  position: relative;
}

.doctor-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.doctor-info h3 {
  margin-bottom: 5px;
  font-weight: 600;
}

.doctor-specialty {
  display: inline-block;
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 500;
  padding: 3px 15px;
  background-color: rgba(0, 112, 243, 0.1);
  border-radius: 20px;
}

.doctor-info p {
  margin-bottom: 0;
  font-size: 14px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  height: 300px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
}

.testimonial-content {
  background-color: var(--bg-color);
  padding: 90px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
  position: absolute;
  top: 10px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 20px rgba(0, 112, 243, 0.2);
}

.testimonial-content p {
  margin-bottom: 25px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-content p::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  background-color: rgba(0, 112, 243, 0.05);
  border-radius: 50%;
  z-index: -1;
}

.testimonial-content p::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background-color: rgba(0, 112, 243, 0.05);
  border-radius: 50%;
  z-index: -1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0;
}

.author-info span {
  font-size: 14px;
  color: var(--text-lighter);
}

.rating {
  margin-top: 5px;
  color: #ffc107;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
  width: 40px;
  height: 40px;
  background-color: var(--bg-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: var(--primary-color);
  color: white;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background-color: var(--primary-color);
}

/* ===== STATS SECTION ===== */
.stats {
  padding: var(--section-padding);
  background-color: var(--bg-dark);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stats .stat-item {
  padding: 20px;
}

.stats .stat-icon {
  font-size: 40px;
  color: var(--primary-light);
  margin-bottom: 15px;
}

.stats .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.stats .stat-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== BLOG SECTION ===== */
.blog {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.blog-meta span {
  font-size: 13px;
  color: var(--text-lighter);
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta i {
  color: var(--primary-color);
}

.blog-content h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.blog-content p {
  margin-bottom: 20px;
  font-size: 14px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--primary-color);
}

.blog-link:hover {
  color: var(--primary-dark);
}

.blog-more {
  text-align: center;
  margin-top: 40px;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--section-padding);
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.contact-bg-shape {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.05;
  z-index: 0;
}

.contact-bg-shape-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  opacity: 0.05;
  z-index: 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.contact-info-wrapper {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient-primary);
}

.contact-info-header {
  margin-bottom: 10px;
}

.contact-info-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-light);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 10px 20px rgba(0, 112, 243, 0.2);
}

.contact-card-content h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-card-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.contact-hours {
  background-color: var(--bg-light);
  padding: 25px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-hours h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.contact-hours h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.hours-grid {
  display: grid;
  gap: 15px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: white;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.hours-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hours-item .day {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.hours-item .day i {
  color: var(--primary-color);
}

.hours-item .time {
  font-weight: 600;
  color: var(--primary-color);
}

.hours-item.emergency {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hours-item.emergency .day i {
  color: var(--error-color);
}

.hours-item.emergency .time {
  color: var(--error-color);
}

.contact-social {
  background-color: var(--bg-light);
  padding: 25px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-social h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.contact-social h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
  transform: translateY(-5px);
  background: var(--gradient-primary);
  color: white;
}

.contact-form-wrapper {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: var(--gradient-primary);
  opacity: 0.05;
  border-radius: 0 0 0 100%;
}

.contact-form-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: var(--gradient-secondary);
  opacity: 0.05;
  border-radius: 0 100% 0 0;
}

.form-header {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.form-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-wrapper label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
}

.input-field {
  position: relative;
  display: flex;
  align-items: center;
}

.input-field i {
  position: absolute;
  left: 15px;
  color: var(--primary-color);
  font-size: 18px;
}

.input-field input,
.input-field textarea {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background-color: var(--bg-light);
  transition: all 0.3s ease;
  font-size: 15px;
}

.input-field input:focus,
.input-field textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 112, 243, 0.1);
  background-color: white;
}

.textarea-field i {
  top: 15px;
}

.form-footer {
  margin-top: 10px;
}

.form-footer .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-footer .btn i {
  font-size: 18px;
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .input-group {
    grid-template-columns: 1fr;
  }
}

/* ===== MAP ===== */
.map {
  height: 450px;
}

.map-container {
  width: 100%;
  height: 100%;
}

.map-container iframe {
  border: none;
}

/* ===== NEWSLETTER YOUB CAN ADD THIS 
.newsletter {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: white;
  z-index: 1;
}

.newsletter-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("");
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
  z-index: -2;
}

.newsletter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.8) 0%, rgba(124, 77, 255, 0.8) 100%);
  z-index: -1;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
}

.newsletter-text h2 {
  color: white;
  margin-bottom: 15px;
  font-size: 2.5rem;
  font-weight: 700;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 1.1rem;
  max-width: 500px;
}

.newsletter-form {
  width: 100%;
}

#newsletterForm {
  width: 100%;
}

.newsletter-form-group {
  display: flex;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 12px;
}

.newsletter-form-group:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.newsletter-form-group input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 15px 20px;
  font-size: 16px;
  border-radius: 50px;
  outline: none;
}

.newsletter-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form-group .btn {
  margin: 0;
  border-radius: 50px;
  padding: 12px 25px;
  background: white;
  color: var(--primary-color);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 140px;
  justify-content: center;
}

.newsletter-form-group .btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.newsletter-form-group .btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.newsletter-form-group .btn:hover i {
  transform: translateX(3px);
}

.newsletter-privacy {
  text-align: left;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  padding-left: 20px;
}

@media (max-width: 992px) {
  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .newsletter-text p {
    margin: 0 auto;
  }

  .newsletter-privacy {
    text-align: center;
    padding-left: 0;
  }
}

@media (max-width: 576px) {
  .newsletter-form-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 15px;
  }

  .newsletter-form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 15px 20px;
  }

  .newsletter-form-group .btn {
    width: 100%;
    justify-content: center;
  }

  .newsletter {
    padding: 60px 0;
  }

  .newsletter-text h2 {
    font-size: 2rem;
  }
} ===== */

/* ===== FOOTER ===== */
.footer {
  background-color: #023047;
  color: white;
  padding-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about {
  color: white;
}

.about-column {
  grid-column: span 1;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.footer-logo .logo-icon {
  color: var(--primary-light);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
}

.footer-column h3 {
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--box-shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero {
    padding: 80px 0;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero .container,
  .about-content,
  .appointment-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 2rem;
  }

  .experience-badge {
    bottom: 20px;
    right: 20px;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header-top {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item a {
    display: block;
    padding: 10px 0;
    width: 100%;
  }

  .appointment-btn {
    margin-top: 20px;
  }

  .appointment-btn a {
    width: 100%;
    text-align: center;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  /* hero stats for mobile */
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  .stat-item {
    min-width: 80px;
    text-align: center;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-text {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* hero stats for small mobile */
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-left: 0;
  }

  .stat-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    width: auto;
  }

  .stat-number {
    font-size: 2rem;
    margin-bottom: 5px;
  }

  .stat-text {
    font-size: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-form form {
    flex-direction: column;
  }

  .testimonial-form {
    flex-direction: column;
  }

  .testimonial-slider {
    height: 400px;
  }
}

/* glass morphism effect */
.appointment-form,
.contact-form,
.newsletter-form form {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* hover animation to all elements */
.btn,
.feature-card,
.service-card,
.doctor-card,
.blog-card,
.nav-item a {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* pulse animation to the call-to-action buttons */
.btn-primary {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 112, 243, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 112, 243, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 112, 243, 0);
  }
}

/* scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
