/* Base Styles */
:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --secondary: #f5f5f5;
  --text-dark: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --border-radius: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style-position: inside;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}

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

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

.btn-rounded {
  border-radius: 9999px;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 1rem 0;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: auto;
}

.nav-links {
  display: none;
}

.nav-links a {
  margin: 0 1rem;
  font-weight: 500;
  color: var(--gray-700);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
}

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

.hero-text {
  margin-bottom: 2rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.hero-text h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--gray-600);
  font-weight: 300;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.doctor-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 400px;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.shape-decoration {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 4rem;
  height: 4rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* About Section */
.about {
  padding: 4rem 0;
  background-color: var(--gray-50);
}

.about h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 4rem;
  color: var(--gray-900);
}

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

.about-content h3 {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.bio {
  margin-bottom: 2rem;
}

.bio p {
  margin-bottom: 1rem;
  color: var(--gray-700);
  font-size: 1.125rem;
  line-height: 1.7;
}

.publications, .conferences {
  margin-top: 2rem;
}

.publications h4, .conferences h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.publications ul, .conferences ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.publications li, .conferences li {
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.two-columns {
  column-count: 1;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: #fff;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 4rem;
  color: var(--gray-900);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.service-card p {
  color: var(--gray-600);
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background-color: var(--gray-50);
}

.testimonials h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 4rem;
  color: var(--gray-900);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
}

.stars {
  color: var(--primary);
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--gray-900);
  font-style: normal;
}

/* Image Section */
.image-section {
  padding: 4rem 0;
  background-color: var(--white);
}

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

.main-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

/* FAQ Section */
.faq {
  padding: 4rem 0;
  background-color: var(--white);
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 4rem;
  color: var(--gray-900);
}

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

.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}

.accordion-button {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-900);
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-button::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
}

.accordion-button.active::after {
  content: '-';
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
  padding: 0 0 1.25rem 0;
  max-height: 1000px;
}

.accordion-content p {
  color: var(--gray-700);
}

/* Contact Section */
.contact {
  padding: 4rem 0;
  background-color: var(--gray-50);
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 4rem;
  color: var(--gray-900);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

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

.icon {
  margin-right: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.info-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--gray-700);
}

.map {
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.2);
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: 3rem 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.current-date {
  text-align: center;
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.update-label {
  font-weight: 500;
  opacity: 0.8;
  margin-right: 0.5rem;
}

.update-date {
  font-weight: 600;
}

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

.social-links a {
  color: var(--white);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom a {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* Media Queries */
@media (min-width: 640px) {
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-text h2 {
    font-size: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .two-columns {
    column-count: 2;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .hero-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  
  .hero-text {
    width: 50%;
    margin-bottom: 0;
  }
  
  .hero-image {
    width: 45%;
  }
  
  .doctor-image {
    height: 500px;
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-logo {
    margin-bottom: 0;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-bottom p {
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .doctor-image {
    height: 600px;
  }
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    margin-bottom: 8px;
    justify-content: flex-end;
}
.language-switcher a {
    color: #e91e63;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.language-switcher a:hover {
    color: #ad1457;
}
.language-switcher .active {
    color: #333;
    font-weight: bold;
    cursor: default;
}

/* Working Hours Section */
.working-hours {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.working-hours h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
}

.hours-content {
    max-width: 600px;
    margin: 0 auto;
}

.hours-content p {
    font-size: 1.2rem;
    color: #666;
    margin: 10px 0;
    line-height: 1.6;
}