/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  color: #2c1810;
  background-color: #f5f5f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
}

/* Navigation */
header {
  background-color: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.nav-button {
  padding: 0.75rem 2rem;
  border: 2px solid #2c1810;
  background-color: #ffffff;
  color: #2c1810;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-button:hover {
  background-color: #f5f5f0;
}

.nav-button.active {
  background-color: #4a1c10;
  color: #ffffff;
  border-color: #4a1c10;
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("public/medical-office-desk-stethoscope-clipboard.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 900px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: transparent;
  color: #d4a574;
  border: 2px solid #d4a574;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #d4a574;
  color: #2c1810;
}

/* Page Hero */
.page-hero {
  background-color: #4a1c10;
  color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  letter-spacing: 2px;
}

/* Content Section */
.content-section {
  padding: 4rem 2rem;
}

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

.container h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #4a1c10;
  text-align: center;
}

.container p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.features {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.feature-card {
  flex: 1;
  min-width: 280px;
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #4a1c10;
}

.feature-card p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Services */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-item {
  padding: 2rem;
  background-color: #ffffff;
  border-left: 4px solid #4a1c10;
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #4a1c10;
}

.service-item p {
  text-align: left;
  margin-bottom: 0;
}

/* Added two-column layout for story introduction */
.story-intro {
  padding: 4rem 2rem;
  background-color: #ffffff;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.story-title h1 {
  font-size: 2.5rem;
  color: #4a1c10;
  line-height: 1.3;
}

.story-text p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  text-align: left;
}

/* Added team section with grid layout */
.team-section {
  padding: 4rem 2rem;
  background-color: #f5f5f0;
}

.team-title {
  font-size: 3rem;
  color: #d4a574;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.team-member {
  background-color: #e8dcc8;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Story */
.story-content h2 {
  text-align: left;
  font-size: 2rem;
  margin-top: 2rem;
}

.story-content p {
  text-align: left;
}

.values-list {
  list-style: none;
  margin: 2rem 0;
}

.values-list li {
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #ffffff;
  border-left: 4px solid #d4a574;
  font-size: 1.125rem;
}

/* Building Section */
.building-section {
  padding: 4rem 2rem;
  background-color: #f5f5f0;
}

.building-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.building-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.building-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: left;
}

.section-title {
  font-size: 2.5rem;
  color: #4a1c10;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

/* Values Section */
.values-section {
  padding: 4rem 2rem;
  background-color: #ffffff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  background-color: #f5f5f0;
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid #d4a574;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.value-card h3 {
  font-size: 1.5rem;
  color: #4a1c10;
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 1rem;
  text-align: left;
  margin-bottom: 0;
  line-height: 1.7;
}

/* Milestones Section */
.milestones-section {
  padding: 4rem 2rem;
  background-color: #4a1c10;
}

.milestones-section .section-title {
  color: #d4a574;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #d4a574;
}

.milestone {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.milestone .year {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #d4a574;
  min-width: 80px;
  text-align: right;
}

.milestone p {
  font-size: 1.125rem;
  color: #ffffff;
  padding: 1rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin: 0;
  text-align: left;
  flex: 1;
}

.milestone::after {
  content: '';
  position: absolute;
  left: 74px;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  background-color: #d4a574;
  border-radius: 50%;
  border: 3px solid #4a1c10;
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  text-align: left;
}

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

.info-item strong {
  display: block;
  color: #4a1c10;
  margin-bottom: 0.5rem;
  font-family: "Cinzel", serif;
}

.contact-form {
  background-color: #ffffff;
  padding: 2rem;
  border: 1px solid #e0e0e0;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #4a1c10;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a1c10;
}

.submit-button {
  background-color: #4a1c10;
  color: #ffffff;
  padding: 1rem 2rem;
  border: none;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #2c1810;
}

/* Added modern contact page styles */
.contact-hero-section {
  padding: 4rem 2rem;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f0;
}

.contact-box {
  background-color: #d4a574;
  padding: 3rem 4rem;
  border-radius: 20px;
  max-width: 1000px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-title {
  font-size: 3.5rem;
  color: #4a1c10;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.contact-subtitle {
  font-size: 1.125rem;
  color: #2c1810;
  text-align: center;
  margin-bottom: 2.5rem;
}

.modern-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.modern-contact-form input,
.modern-contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 4px;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  background-color: #ffffff;
}

.modern-contact-form input::placeholder,
.modern-contact-form textarea::placeholder {
  color: #999;
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus {
  outline: 2px solid #4a1c10;
}

.modern-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.modern-submit-button {
  background-color: #4a1c10;
  color: #d4a574;
  padding: 1rem 3rem;
  border: 2px solid #d4a574;
  font-family: "Cinzel", serif;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  margin-top: 0.5rem;
}

.modern-submit-button:hover {
  background-color: #2c1810;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
}

.faq-item {
  background-color: #ffffff;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #4a1c10;
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #4a1c10;
}

.faq-item p {
  text-align: left;
  margin-bottom: 0;
}

.faq-item ul {
  padding-left: 12rem;
}

/* Footer */
footer {
  background-color: #d4a574;
  padding: 1rem 1rem;
  text-align: center;
  color: #2c1810;
}

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

.footer-logo img {
  height: 9rem;
  width: auto;
  display: block;
}

footer p {
  font-family: "Cinzel", serif;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  margin: 0;
  color: #2c1810;
}

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

.social-links a {
  color: #2c1810;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  font-family: "Cinzel", serif;
}

.social-links a:hover {
  background-color: #4a1c10;
  color: #d4a574;
  transform: translateY(-2px);
}

/* Services page specific styles */
.services-welcome {
  padding: 4rem 2rem;
  background-color: #ffffff;
}

.services-main-title {
  font-size: 3rem;
  color: #4a1c10;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.services-intro-box {
  max-width: 900px;
  margin: 0 auto;
  background-color: #f5f5f0;
  padding: 3rem;
  border-radius: 8px;
}

.services-lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4a1c10;
  margin-bottom: 1.5rem;
  text-align: center;
}

.services-intro-box > p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  text-align: center;
}

.benefits-list {
  list-style: none;
  margin-top: 2rem;
}

.benefits-list li {
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  background-color: #ffffff;
  border-left: 4px solid #d4a574;
  font-size: 1.125rem;
  font-weight: 500;
  color: #2c1810;
}

.quality-services-section {
  padding: 2rem 2rem 4rem; /* Reduced padding-top to bring sections closer together */
  background-color: #f5f5f0;
}

.section-heading {
  font-size: 2.5rem;
  color: #d4a574;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.section-intro {
  font-size: 1.125rem;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.detailed-services-list {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.detailed-services-list li {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background-color: #ffffff;
  border-left: 4px solid #4a1c10;
  font-size: 1.125rem;
  line-height: 1.6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.vision-section {
  padding: 4rem 2rem;
  background-color: #ffffff;
}

.vision-intro {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.vision-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.vision-card {
  background-color: #f5f5f0;
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid #d4a574;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.vision-card h3 {
  font-size: 1.5rem;
  color: #4a1c10;
  margin-bottom: 1rem;
}

.vision-card p {
  font-size: 1rem;
  text-align: left;
  margin-bottom: 0;
  line-height: 1.7;
}

.vision-card-full {
  grid-column: 1 / -1;
  text-align: center;
  border-top-color: #4a1c10;
}

.vision-card-full p {
  text-align: center;
}

.conclusion-section {
  padding: 4rem 2rem;
  background-color: #4a1c10;
  color: #ffffff;
}

.conclusion-section .section-heading {
  color: #d4a574;
}

.conclusion-text {
  font-size: 1.25rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .features {
    flex-direction: column;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-logo img {
    height: 7rem;
  }

  .navigation {
    flex-direction: column;
    align-items: center;
  }

  .nav-button {
    width: 200px;
    text-align: center;
  }

  /* Added responsive styles for story page */
  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-title h1 {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .team-title {
    font-size: 2rem;
  }

  /* Added responsive styles for modern contact page */
  .contact-box {
    padding: 2rem 1.5rem;
  }

  .contact-title {
    font-size: 2.25rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modern-submit-button {
    width: 100%;
  }

  /* Updated responsive styles for services page */
  .services-main-title {
    font-size: 2rem;
  }

  .services-intro-box {
    padding: 2rem 1.5rem;
  }

  .section-heading {
    font-size: 2rem;
  }

  .vision-points {
    grid-template-columns: 1fr;
  }

  .vision-card-full {
    grid-column: 1;
  }

  .benefits-list li,
  .detailed-services-list li {
    font-size: 1rem;
    padding: 1rem;
  }

  .conclusion-text {
    font-size: 1.125rem;
  }

  /* Building section responsive */
  .building-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .building-text p {
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Timeline responsive */
  .timeline::before {
    left: 20px;
  }

  .milestone {
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 50px;
  }

  .milestone .year {
    text-align: left;
    min-width: auto;
  }

  .milestone::after {
    left: 14px;
  }
}
