/* =========================================
   CENTER HISTORY SECTION (history-section.css)
========================================= */
html {                      
    scroll-behavior: smooth;
}                           

.history-section,
.history-section * {
  box-sizing: border-box;
}

.history-section {
  width: 100%;
  padding: 68px 24px;
  background-color: #f7faf5;
  border-top: 1px solid #e6efe2;
  border-bottom: 1px solid #e6efe2;
  overflow: hidden;
}

.history-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.history-header {
  margin-bottom: 36px;
}

.history-sub-title {
  color: #a47a22;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.history-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #285b40;
  margin: 0;
}

/* History Cards Grid */
.history-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin: 0;
  align-items: stretch;
}

/* Individual Card Style */
.history-card {
  background: linear-gradient(145deg, #ffffff 0%, #fbfdf9 100%);
  border-radius: 14px;
  padding: 28px 24px;
  height: 100%;
  box-shadow: 0 6px 22px rgba(23, 53, 45, 0.05);
  border: 1px solid #dce8d5;
  border-left: 4px solid #285b40;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.history-card:hover {
  transform: translateY(-5px);
  border-color: rgba(164, 122, 34, 0.5);
  border-left-color: #a47a22;
  box-shadow: 0 12px 28px rgba(23, 53, 45, 0.1);
}

/* Year Stamp */
.history-year {
  display: inline-block;
  align-self: flex-start;
  color: #a47a22;
  background-color: rgba(164, 122, 34, 0.1);
  border: 1px solid rgba(164, 122, 34, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.6px;
}

/* Card Title */
.history-card-title {
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.35;
  color: #285b40;
  margin: 2px 0 0;
}

/* Card Description */
.history-card-desc {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* =========================================
   TABLET RESPONSIVE (<= 991px)
========================================= */

@media (max-width: 991px) {
  .history-section {
    padding: 54px 20px;
  }

  .history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .history-main-title {
    font-size: 1.95rem;
  }
}

/* =========================================
   MOBILE RESPONSIVE (<= 767px)
========================================= */

@media (max-width: 767px) {
  .history-section {
    padding: 44px 16px;
  }

  .history-header {
    margin-bottom: 26px;
  }

  .history-sub-title {
    font-size: 0.88rem;
    letter-spacing: 1.2px;
  }

  .history-main-title {
    font-size: 1.75rem;
  }

  .history-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .history-card {
    padding: 22px 20px;
    border-radius: 12px;
  }
}

/* =========================================
   SMALL MOBILE (<= 480px)
========================================= */

@media (max-width: 480px) {
  .history-section {
    padding: 36px 14px;
  }

  .history-main-title {
    font-size: 1.55rem;
  }

  .history-card {
    padding: 20px 16px;
  }

  .history-card-title {
    font-size: 1.05rem;
  }

  .history-card-desc {
    font-size: 0.9rem;
  }
}