/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f3f4f6;
  color: #333;
  line-height: 1.6;
}

/* ========== Header Section ========== */
.header-section {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: #a0aec0;
  background-image: url('Images/AboutBanner.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(41, 128, 185, 0.7), rgba(52, 152, 219, 0.7));
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  text-align: left;
  padding: 0 1rem 0 5%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========== Story Section ========== */
.story-section {
  background-color: #f3f4f6;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
}

.story-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.story-text {
  flex: 2;
  text-align: justify;
}

.story-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 1.5rem;
}

.story-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #555;
}

.story-image-placeholder {
  flex: 1.5;
  width: 100%;
  max-width: 400px;
  height: 400px;
  background-color: #a0aec0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* 🖥️ Desktop & Tablet: Row Layout */
@media (min-width: 768px) {
  .story-content-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    padding: 0 2rem;
  }

  .story-text {
    flex: 2;
  }

  .story-image-placeholder {
    flex: 1.2;
    max-width: 400px;
    height: 350px;
  }

  .story-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
  }
}

/* 📱 Mobile: Stacked Layout */
@media (max-width: 767px) {
  .story-content-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }

  .story-text {
    order: 2;
    text-align: left;
  }

  .story-image-placeholder {
    order: 1;
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
  }

  .story-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
  }

  .story-text h2 {
    text-align: center;
    font-size: 1.6rem;
  }

  .story-text p {
    font-size: 0.95rem;
    text-align: justify;
  }
}

/* ========== Checkup Section ========== */
.checkup-section-wrapper {
  background-color: #f3f4f6;
  padding: 4rem 0;
}

.checkup-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.checkup-column {
  background-color: #3498db;
  color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.checkup-column h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.checkup-column ul {
  list-style: none;
  padding: 0;
}

.checkup-column ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.5;
}

.checkup-column ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #ecf0f1;
  font-weight: bold;
}

/* ========== Responsive Media Queries ========== */

/* Tablets & Up */
@media (min-width: 768px) {
  .story-content-wrapper {
    flex-direction: row;
    align-items: center;
  }

  .checkup-content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .header-section {
    height: 250px;
    background-position: top;
  }

  .header-content {
    font-size: 2rem;
    text-align: center;
    justify-content: center;
    padding: 0 1rem;
  }

  .story-image-placeholder {
    max-width: 100%;
    height: 250px;
  }

  .story-text h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .story-text p {
    font-size: 0.95rem;
    text-align: left;
  }

  .checkup-column h3 {
    font-size: 1.5rem;
  }

  .checkup-column ul li {
    font-size: 0.95rem;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .header-section {
    height: 200px;
  }

  .header-content {
    font-size: 1.2rem;
    padding: 0 1rem;
  }

  .story-text h2 {
    font-size: 1.4rem;
  }

  .story-text p {
    font-size: 0.9rem;
  }

  .story-image-placeholder {
    height: 200px;
  }

  .checkup-column {
    padding: 1rem;
  }

  .checkup-column h3 {
    font-size: 1.3rem;
  }

  .checkup-column ul li {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}
