:root{
  --primary: #0d6e6e;
  --secondary: #f5a623;
  --light: #f8f9fa;
  --dark: #333;
  --white: #fff;
  --gray: #6c757d;
  --success: #28a745;
  --error: #dc3545;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary);
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #0a5959;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: var(--secondary);
}

.btn-secondary:hover {
  background: #e6951a;
}

/* Header Styles */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.header-container {
  padding-bottom: 30%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  
}

.logo img {
  height: 60px;
  width: auto;
}
.logo span{
  color: var(--secondary);
}

.logo-text h1 {
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1.2;
}

.healthcare-subtext {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 5px;
}

nav {
  transition: all 0.3s ease;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(13, 110, 110, 0.8), rgba(13, 110, 110, 0.8)),
    url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 150px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Services Section */
.services {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* About Section */
.about {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--gray);
  font-size: 0.95rem;
}

.about-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.feature-icon {
  font-size: 20px;
  color: var(--secondary);
  margin-right: 15px;
  margin-top: 3px;
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Doctors Section */
.doctors {
  background: var(--light);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.doctor-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.doctor-image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.doctor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-image {
  transform: scale(1.05);
}

.doctor-details {
  padding: 20px;
  text-align: center;
}

.doctor-name {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 5px;
}

.doctor-specialty {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.doctor-qualification {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 0.85rem;
}

.appointment-btn {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--primary);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.appointment-btn:hover {
  background-color: #0a5959;
  transform: translateY(-2px);
}

/* Booking Section */
.booking {
  background: linear-gradient(rgba(13, 110, 110, 0.9), rgba(13, 110, 110, 0.9)),
    url("images/booking-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.booking-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.booking-form {
  background: var(--white);
  width: 100%;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  
}

.booking-form h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
}

.form-group textarea {
  min-height: 100%;
  resize: vertical;
}

.error-message {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
}

.booking-info {
  color: var(--white);
}

.booking-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.booking-info p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-icon {
  font-size: 20px;
  margin-right: 15px;
  color: var(--secondary);
}

.info-item h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.info-item p,
.info-item a {
  color: var(--white);
  opacity: 0.9;
  font-size: 0.9rem;
}

.contact-link {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* Alert Messages */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-weight: 500;
}

.alert.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert.error ul {
  margin-left: 20px;
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-details i {
  font-size: 20px;
  color: var(--secondary);
  margin-right: 15px;
  margin-top: 3px;
}

.contact-details a {
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary);
}

.contact-map {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: var(--white);
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary);
}

.footer-col p {
  margin-bottom: 20px;
  color: #aaa;
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.contact-info {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #aaa;
  font-size: 0.9rem;
}

.contact-info i {
  margin-right: 10px;
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.8rem;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .section-title h2 {
    font-size: 2.5rem;
  }

  .hero {
    padding: 180px 0 100px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .about {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }

  .about-image {
    flex: 1;
  }

  .about-content {
    flex: 1;
  }

  .booking-container {
    flex-direction: row;
  }

  .contact-container {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .mobile-menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.active {
    max-height: 500px;
    padding: 20px 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 250px;
    margin-bottom: 10px;
  }

  .logo img {
    height: 50px;
  }

  .logo-text h1 {
    font-size: 1.2rem;
  }

  .healthcare-subtext {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .section-title h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .doctor-image-container {
    height: 300px;
  }
}
/* -------doctor------ */
/* For whats aapp icon button */
/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 5px;
}

.whatsapp-tooltip {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}