@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --primary: #2BBFA5;
  --secondary: #3F2D7D;
  --accent: #6FD3C2;
  --bg-white: #FFFFFF;
  --bg-light: #F5F7F8;

  --text-main: #333333;
  --text-light: #555555;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--accent);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(43, 191, 165, 0.4);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--secondary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--secondary);
  color: var(--bg-white);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  padding: 5px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 80px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--secondary);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--secondary);
}

.call-btn i {
  color: var(--primary);
  font-size: 1.2rem;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, rgba(245, 247, 248, 0.8) 0%, rgba(111, 211, 194, 0.1) 100%);
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: scale(1.10);
}

/* Trust Bar */
.trust-bar {
  background-color: var(--primary);
  padding: 40px 0;
  color: var(--bg-white);
  margin-top: -30px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-item i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--bg-white);
}

.trust-item h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

/* Section Headers */
.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}

/* About Preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
}

.about-feature i {
  color: var(--primary);
}

/* Services Overview */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(43, 191, 165, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--bg-white);
}

.service-card h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.services-cta {
  margin-top: 50px;
  text-align: center;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.stars {
  color: #FFC107;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
}

.patient-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.patient-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
}

.patient-name h5 {
  margin: 0;
  font-size: 1.05rem;
}

/* Appointment CTA Section */
.appointment-cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  margin: 40px 20px;
}

.appointment-cta-section h2 {
  color: var(--bg-white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.appointment-cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.appointment-cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary);
}

.btn-white:hover {
  background-color: var(--secondary);
  color: var(--bg-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
}

.btn-outline-white:hover {
  background-color: var(--bg-white);
  color: var(--primary);
}

/* Contact Preview */
.contact-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(43, 191, 165, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-details p,
.contact-details a {
  color: var(--text-light);
  line-height: 1.5;
}

.map-container {
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--primary);
  transform: scale(0.97);
}

/* Footer */
.footer {
  background-color: var(--secondary);
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about img {
  width: 195px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
}

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--accent);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: all 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
  color: white;
}

/* Internal Pages Header */
.page-header {
  background: linear-gradient(135deg, var(--secondary) 0%, #2A1D54 100%);
  padding: 150px 0 80px;
  text-align: center;
  color: white;
}

.page-header h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: white;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* Responsive Variables & Media Queries */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .header-cta .btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: 60px;
  }

  .logo {
    order: 1;
    margin-right: auto;
    display: flex;
    align-items: center;
  }

  .logo img {
    width: 118px;
    height: auto;
  }

  .header-cta {
    order: 2;
    margin-right: 15px;
  }

  .header-cta .call-btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
    order: 3;
    font-size: 1.4rem;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    transition: 0.4s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 28px;
    line-height: 1.3;
    padding: 0 16px;
  }

  .hero-text h1 span {
    color: var(--secondary);
    font-weight: 800;
  }

  .mobile-break {
    display: block;
  }

  .hero-text p {
    margin: 0 auto 30px;
    padding: 0 16px;
    max-width: 340px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-md);
  }

  .hero-btns .btn-secondary {
    color: var(--primary);
    border: 2px solid var(--primary);
    background-color: rgba(43, 191, 165, 0.05);
  }

  .trust-bar {
    margin-top: 30px;
  }

  .about-preview {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .appointment-cta-section {
    margin: 0;
    border-radius: 0;
  }

  .contact-preview {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .appointment-cta-btns {
    flex-direction: column;
  }

  .mobile-sticky-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--bg-white);
  }

  .floating-whatsapp {
    bottom: 85px;
  }

  body {
    padding-bottom: 60px;
  }
}

/* Sticky Bottom Bar Global Hidden */
.mobile-sticky-bar {
  display: none;
}

.mobile-break {
  display: none;
}