/* --- General & Variables --- */
:root {
  --color-primary: #14b8a6; /* Teal 500 */
  --color-primary-dark: #0d9488; /* Teal 600 */
  --color-text: #374151; /* Gray 700 */
  --color-text-light: #6b7280; /* Gray 500 */
  --color-dark: #111827; /* Gray 900 */
  --color-light: #f9fafb; /* Gray 50 */
  --color-white: #ffffff;
  --color-border: #e5e7eb; /* Gray 200 */
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
}

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

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-dark);
}

.logo-icon {
  color: var(--color-primary);
}

.logo-text {
  margin-left: 12px;
  font-size: 24px;
  font-weight: 700;
}

.nav {
  display: none;
}

.nav-link {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.menu-button {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

.close-icon {
  display: none;
}

.nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  padding: 16px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  align-items: center;
  gap: 16px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: calc(100vh - 80px);
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  background-image: url("../images/bright-modern-hospital-reception.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

/* --- General Section Styling --- */
.section {
  padding: 96px 0;
}

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

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: #d1d5db; /* Gray 300 */
}

.section-paragraph {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

/* --- Grid Layout --- */
.grid-two-cols {
  display: grid;
  gap: 64px;
  align-items: center;
}

/* --- About Section --- */
.about-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  gap: 32px;
}

.service-card {
  background-color: var(--color-white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.service-icon-wrapper {
  margin-bottom: 16px;
  color: var(--color-primary);
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

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

/* --- Doctors Section --- */
.doctors-grid {
  display: grid;
  gap: 40px;
  text-align: center;
}

.doctor-image-wrapper {
  width: 288px;
  height: 288px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.doctor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-image {
  transform: scale(1.1);
}

.doctor-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
}

.doctor-specialty {
  color: var(--color-primary);
  font-weight: 500;
}

/* --- Contact Section --- */
.contact-info,
.contact-form {
  background-color: #1f2937; /* Gray 800 */
  padding: 32px;
  border-radius: 8px;
}

.contact-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-item {
  margin-bottom: 16px;
  font-size: 18px;
}

.form-input {
  width: 100%;
  padding: 12px;
  background-color: #374151; /* Gray 700 */
  border: 1px solid #4b5563; /* Gray 600 */
  border-radius: 6px;
  color: var(--color-white);
  margin-bottom: 16px;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.form-button {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* --- Footer --- */
.footer {
  background-color: #1f2937; /* Gray 800 */
  color: var(--color-white);
  padding: 32px 0;
  text-align: center;
}

/* --- Responsive Design --- */
@media (min-width: 768px) {
  .nav {
    display: flex;
    gap: 32px;
  }
  .menu-button {
    display: none;
  }
  .hero-title {
    font-size: 60px;
  }
  .hero-subtitle {
    font-size: 24px;
  }
  .grid-two-cols {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .doctors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
