:root {
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --secondary-color: #2ecc71;
  --secondary-dark: #27ae60;
  --accent-color: #1abc9c;
  --accent-dark: #16a085;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #e6e9ed;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --shadow-light: rgba(0, 0, 0, 0.05);
  --success-color: #2ecc71;
  --error-color: #e74c3c;
  --warning-color: #f39c12;
  --info-color: #3498db;
  
  --transition-slow: 0.5s ease;
  --transition-medium: 0.3s ease;
  --transition-fast: 0.2s ease;
  
  --border-radius-small: 4px;
  --border-radius-medium: 8px;
  --border-radius-large: 12px;
  
  --font-family-primary: 'Montserrat', sans-serif;
  --font-family-secondary: 'Raleway', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
  overflow-x: hidden;
  min-height: 100vh;
}

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

section {
  padding: 5rem 1rem;
}

.separator {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 1rem auto 3rem;
  border-radius: 4px;
}

.highlight {
  color: var(--primary-color);
}

/* Header Styles */
header {
  background-color: var(--bg-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow-light);
  transition: all var(--transition-medium);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.2;
}

.logo p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-cta {
  background-color: var(--primary-color);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-small);
  transition: background-color var(--transition-fast) !important;
}

.nav-cta:hover {
  background-color: var(--primary-dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* Floating Contact */
.floating-contact {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
}

.whatsapp-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  font-size: 1.8rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  color: white;
}

.appointment-btn {
  display: none;
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-medium);
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
}

.appointment-btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 6rem;
  background-color: var(--bg-light);
}

.hero-content {
  display: flex;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-medium);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-align: center;
}

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

.primary-btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.secondary-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.doctor-placeholder {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-large);
  box-shadow: 0 5px 20px var(--shadow-light);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 1rem;
  color: var(--text-light);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

/* About Section */
.about {
  background-color: var(--bg-color);
  padding: 5rem 1rem;
}

.about-content {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  align-items: center;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.doctor-title {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.credential span {
  font-size: 1rem;
}

/* Services Section */
.services {
  background-color: var(--bg-light);
  padding: 5rem 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius-large);
  padding: 2rem;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.service-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-svg {
  width: 64px;
  height: 64px;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 800 400"><rect fill="%233498db" width="800" height="400"/></svg>');
  background-size: cover;
  background-position: center;
  padding: 5rem 1rem;
  text-align: center;
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-color);
  padding: 5rem 1rem;
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-container {
  position: relative;
  min-height: 350px;
  margin-bottom: 2rem;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
  transform: translateX(50px);
}

.testimonial.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.testimonial-content {
  background-color: white;
  border-radius: var(--border-radius-large);
  padding: 2.5rem;
  box-shadow: 0 5px 15px var(--shadow-light);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-size: 2rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 50%;
  background-color: var(--bg-light);
}

.author-avatar svg {
  width: 100%;
  height: 100%;
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.stars {
  color: #f39c12;
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.prev-btn, .next-btn {
  background-color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 1rem;
  box-shadow: 0 2px 5px var(--shadow-light);
  transition: all var(--transition-fast);
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px var(--shadow-color);
}

.dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--bg-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/* Blog Section */
.blog {
  background-color: var(--bg-light);
  padding: 5rem 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.blog-card {
  background-color: white;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: all var(--transition-medium);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.blog-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-content h3 {
  color: var(--primary-color);
}

.blog-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.read-more {
  font-weight: 500;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.read-more i {
  transition: transform var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover i {
  transform: translateX(5px);
}

.blog-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* FAQ Section */
.faq {
  background-color: var(--bg-color);
  padding: 5rem 1rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  background-color: white;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
}

.faq-toggle {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.faq-toggle.active {
  transform: rotate(45deg);
}

.faq-answer {
  background-color: var(--bg-light);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.faq-answer.active {
  padding: 1.2rem;
  max-height: 300px;
}

.faq-answer p {
  color: var(--text-light);
}

/* Contact Section */
.contact {
  background-color: var(--bg-light);
  padding: 5rem 1rem;
}

.contact-container {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.contact-info {
  flex: 1;
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: 0 5px 15px var(--shadow-light);
}

.contact-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.info-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.info-item p {
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

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

.contact-form-container {
  flex: 1.5;
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: 0 5px 15px var(--shadow-light);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-small);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
}

.map-placeholder {
  position: relative;
  width: 100%;
  height: 300px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-light);
}

.map-svg {
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-medium);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-pin i {
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 4rem 1rem 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: white;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer-column a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-column li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-column i {
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  color: white;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-text h2 {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .hero-content,
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text,
  .about-text {
    order: 2;
  }
  
  .hero-image,
  .about-image {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .hero-cta,
  .credentials {
    justify-content: center;
  }
  
  .credential {
    justify-content: center;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .appointment-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  #navbar {
    position: relative;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 5px 10px var(--shadow-light);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-medium);
    opacity: 0;
    visibility: hidden;
  }
  
  .nav-links.active {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-text {
    font-size: 0.9rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 1rem;
  }
  
  .header-container {
    padding: 0.8rem 1rem;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .about-text h3 {
    font-size: 1.8rem;
  }
  
  .testimonial-content {
    padding: 1.5rem;
  }
  
  .footer-column {
    min-width: 100%;
  }
}

