/* Color Variables */
:root {
  --primary-green: #047857; /* Equivalent to green-700 */
  --body-bg: #f3f4f6;
  --card-bg: #ffffff;
  --text-dark: #1f2937;
  --text-gray-700: #4b5563;
  --light-green-bg: #d1fae5;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-color: #e5e7eb;
}

/* Base Styles */
body {
  background-color: var(--body-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
}

.main-container {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 1rem; /* px-4 py-16 */
}

.content-wrapper {
  max-width: 72rem; /* max-w-6xl equivalent */
  margin-left: auto;
  margin-right: auto;
}

/* Heading */
.main-heading {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700; /* font-bold */
  color: var(--primary-green);
  margin-bottom: 2rem; /* mb-8 */
  text-align: center;
}

/* Intro Card */
.intro-card, .facility-section-card, .resources-card, .highlights-card {
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem; /* mb-8 */
}

.card-body {
  padding: 1.5rem; /* p-6 */
}

.card-body.pt-6 {
  padding-top: 1.5rem;
}

.card-body.pt-0 {
  padding-top: 0;
}

.intro-text {
  font-size: 1.125rem; /* text-lg */
  text-align: center;
  line-height: 1.625; /* leading-relaxed */
  margin-bottom: 1.5rem; /* mb-6 */
  color: var(--text-gray-700);
}

.image-wrapper {
  width: 100%;
  height: 16rem; /* h-64 */
  border-radius: 0.5rem;
  overflow: hidden;
}

.intro-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Facility Section Headers */
.section-header {
  display: flex;
  flex-direction: column;
  padding: 1.5rem; /* p-6 */
}

.section-title {
  font-weight: 600; /* font-semibold */
  letter-spacing: -0.025em; /* tracking-tight */
  font-size: 1.5rem; /* text-2xl */
  color: var(--primary-green);
  text-align: center;
  margin: 0;
}

/* Facility/Lab Item Grid */
.facility-grid {
  display: grid;
  gap: 1.5rem; /* gap-6 */
}

@media (min-width: 768px) {
  .facility-grid {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
}

@media (min-width: 1024px) {
  .facility-grid {
    grid-template-columns: repeat(3, 1fr); /* lg:grid-cols-3 */
  }
}

/* Individual Facility Item Card */
.facility-item-card {
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.facility-item-card:hover {
  box-shadow: var(--shadow-lg);
  /* transform: translateY(-3px); */
}

.item-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem; /* p-6 */
  text-align: center;
}

.item-icon-img {
  height: 6rem; /* h-24 */
  width: 6rem; /* w-24 */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.75rem; /* mb-3 */
  border-radius: 0.5rem; /* rounded-lg */
  object-fit: cover;
}

.item-title {
  font-weight: 600; /* font-semibold */
  font-size: 1.25rem; /* text-xl */
  color: var(--primary-green);
  margin-top: 0;
  margin-bottom: 0;
}

.item-description-wrapper {
  padding: 1.5rem; /* p-6 */
  padding-top: 0; /* pt-0 */
}

.item-description {
  text-align: center;
  color: var(--text-gray-700);
  font-size: 1rem;
  margin: 0;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  gap: 2rem; /* gap-8 */
  margin-bottom: 2rem; /* mb-8 */
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr); /* md:grid-cols-3 */
  }
}

.stat-box {
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding: 1.5rem; /* p-6 */
}

.stat-number {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
  color: var(--primary-green);
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--text-gray-700);
  margin: 0;
}

/* Resources & Equipment Section */
.resources-grid {
  display: grid;
  gap: 2rem; /* gap-8 */
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
}

.resources-title {
  font-weight: 600;
  font-size: 1.5rem; /* text-2xl */
  color: var(--primary-green);
  margin-bottom: 1rem; /* mb-4 */
  margin-top: 0;
}

.resources-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
  color: var(--text-gray-700);
}

.resources-list li {
  margin-bottom: 0.5rem; /* space-y-2 */
}

/* Learning Environment Highlights */
.highlights-card.mt-8 {
    margin-top: 2rem;
}

.highlight-features-grid {
  display: grid;
  gap: 1.5rem; /* gap-6 */
}

@media (min-width: 768px) {
  .highlight-features-grid {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
}

@media (min-width: 1024px) {
  .highlight-features-grid {
    grid-template-columns: repeat(4, 1fr); /* lg:grid-cols-4 */
  }
}

.highlight-feature {
  text-align: center;
}

.feature-icon-wrapper {
  background-color: var(--light-green-bg);
  width: 4rem; /* w-16 */
  height: 4rem; /* h-16 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.75rem; /* mb-3 */
}

.feature-icon {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
  color: var(--primary-green);
}

.feature-title {
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.5rem; /* mb-2 */
  margin-top: 0;
}

.feature-description {
  font-size: 0.875rem; /* text-sm */
  color: var(--text-gray-700);
  margin: 0;
}