/* Base Styles */
:root {
  --primary: #2B4C7E;    /* Deep navy */
  --secondary: #88A2AA;  /* Muted sage */
  --accent: #D98F4E;     /* Warm copper */
  --text: #2C3539;       /* Charcoal */
  --light: #F5F7FA;      /* Off-white */
  --background: #E6EFF5; /* Subtle blue-gray */
  --shadow: rgba(43, 76, 126, 0.025); /* Very subtle shadow */
}

html, body {
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

body {
  background: var(--background);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding-top: 70px;
}

/* Hero Section */
.hero-section {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(43, 76, 126, 0.9), rgba(43, 76, 126, 0.7)), url('https://www.mnthen.com/images/bg/bg.jpg') center/cover no-repeat;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  text-shadow: 2px 2px 8px var(--shadow);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 3rem;
  text-shadow: 1px 1px 4px var(--shadow);
  line-height: 1.6;
}

/* Content Section */
.content-section {
  padding: 8rem 2rem;
  background-color: var(--light);
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-image {
  width: 100%;
  height: 400px;
  background-color: var(--secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px var(--shadow);
}

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

.content-text {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
  padding: 4rem 2rem;
  background: white;
}

.timeline-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  padding: 1.5rem;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-date {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: var(--light);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow);
}

.timeline-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
  }

  .timeline::before {
    left: 20px;
  }
}

/* Feature Section */
.feature-section {
  padding: 8rem 2rem;
  background-color: var(--light);
  text-align: center;
}

.feature-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
}

.feature-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 8rem 2rem;
  background-color: var(--light);
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
}

.cta-text {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: #1a3b6d; /* Slightly darker shade of primary color */
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-container {
    grid-template-columns: 1fr;
  }

  .content-image {
    height: 300px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
  }

  .feature-title, .cta-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
  }

  .feature-text, .cta-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 60vh;
    padding: 1rem;
  }

  .content-section, .feature-section, .cta-section {
    padding: 4rem 1rem;
  }

  .content-image {
    height: 250px;
  }

  .timeline-section {
    padding: 2rem 1rem;
  }

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

  .timeline-content h3 {
    font-size: 1.25rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }
}
