/* =========================================
   1. VARIABLES & THEME
   ========================================= */
:root {
  /* Colors - Medical / Trustworthy Palette */
  --color-primary: #007EA7;
  /* Ocean Blue/Teal */
  --color-primary-dark: #005A75;
  /* Darker shade for hover */
  --color-secondary: #00A8E8;
  /* Lighter Blue */

  --color-text-main: #1A202C;
  /* Very dark blue/gray for text */
  --color-text-light: #4A5568;
  /* Lighter gray for subtitles */
  --color-bg-light: #F7FAFC;
  /* Off-white background */
  --color-bg-white: #FFFFFF;

  --color-accent: #38B2AC;
  /* Teal accent */
  --color-border: #E2E8F0;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* =========================================
   2. RESET & BASE
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  line-height: 1.6;
  background-color: var(--color-bg-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-text-main);
  margin-bottom: var(--spacing-xs);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================================
   3. UTILITIES & LAYOUT
   ========================================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-lg) 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

/* =========================================
   4. COMPONENTS
   ========================================= */

/* Header / Navbar */
.header {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  font-family: var(--font-heading);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-light);
}

.nav-link:hover {
  color: var(--color-primary);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  font-weight: 600;
}

.lang-switch a {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.lang-switch a.active {
  color: var(--color-primary);
  text-decoration: underline;
}

.lang-switch a:hover {
  color: var(--color-primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  z-index: 10;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-text-main);
}

.dropdown-item:hover {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
}


/* Hero Section */
.hero {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #E6FFFA 0%, #EBF8FF 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Placeholder for hero graphic */
.hero-graphic {
  width: 400px;
  height: 300px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 5rem;
  opacity: 0.8;
}

/* Services Section */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: var(--spacing-md);
}

.card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s;
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background-color: #1a202c;
  color: white;
  padding: var(--spacing-lg) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer a {
  color: #a0aec0;
  display: block;
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* simple hide for now, JS will toggle */
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-lg) 0;
  }

  .hero-graphic {
    margin-top: 2rem;
    width: 100%;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}