/* ===== BASE STYLES ===== */
:root {
  --primary-color: #00b37e; /* Main green from logo */
  --secondary-color: #0d47a1; /* Blue from logo */
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f9fbfd;
  --white: #ffffff;
  --accent-gradient: linear-gradient(135deg, #4dd0e1 0%, #b2ff59 100%);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links li a {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--secondary-color);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icon.whatsapp {
  background-color: #25d366;
}

.social-icon.facebook {
  background-color: #1877f2;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: #f0f0f0;
  padding: 10px;
  border-radius: 8px;
}

.hamburger span {
  height: 2px;
  width: 20px;
  background-color: #333;
  margin-bottom: 4px;
  border-radius: 2px;
}

.hamburger span:last-child {
  margin-bottom: 0;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--white);
}

.hero img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--secondary-color);
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero h1 span.highlight {
  color: #e91e63; /* Pink accent from screenshot */
  font-weight: 800;
  display: block;
}

/* ===== QUICK LINKS (SERVICES) ===== */
.quick-links-section {
  padding: 60px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.service-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card img {
  height: 80px;
  margin: 0 auto 20px;
}

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

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

.btn {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

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

/* ===== DIAGNOSTICS HERO ===== */
.diagnostics-hero {
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 24px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  padding: 40px 60px;
  color: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.diagnostics-text h2 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
}

.diagnostics-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.diagnostics-image img {
  max-height: 350px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.5rem;
  margin: 60px 0 40px;
}

/* ===== SPECIALISTS GRID ===== */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.doctor-img {
  position: relative;
  background: linear-gradient(135deg, #e0f2f1 0%, #a5d6a7 100%);
  padding-top: 20px;
}

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

.doctor-info {
  padding: 15px;
}

.doctor-info h3 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== ACERCA DE (ABOUT) ===== */
.about-section {
  display: flex;
  gap: 50px;
  margin: 60px 0;
}

.about-title {
  flex: 1;
}

.about-title h2 {
  font-size: 3.5rem;
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.1;
}

.about-content {
  flex: 2;
}

.about-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ===== IMAGE BANNERS (Lab, Ambulance, Insurance) ===== */
.banner-section {
  width: 100%;
  position: relative;
  margin: 60px 0;
}

.banner-section img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cccccc;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #cccccc;
}

/* Prevent default mobile browser styling on phone links */
a[href^="tel:"] {
  color: inherit !important;
  text-decoration: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .hamburger {
    display: flex;
  }

  .about-section {
    flex-direction: column;
    gap: 20px;
  }

  .diagnostics-hero {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  
  .diagnostics-image {
    justify-content: center;
    margin-top: 20px;
  }
}
