/* Color Variables */
:root {
  --military-primary: #17633e;
  --military-secondary: #ffb300;
  --military-gold: #ffd600;
  --card-bg: #ffffff;
  --card-foreground: #1f2937;
  --body-bg: #f8fafc;
  --text-gray-900: #111827;
  --text-gray-700: #4b5563;
  --text-gray-600: #57606f;
  --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;
  --secondary-bg-opacity: rgba(255, 179, 0, 0.1);
  --gold-bg-opacity: rgba(255, 214, 0, 0.1);
}

/* Base Styles */
body {
  background-color: var(--body-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-gray-900);
}

.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;
}

/* Headings */
.main-heading {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700; /* font-bold */
  color: var(--military-primary);
  margin-bottom: 2rem; /* mb-8 */
  text-align: center;
}

.card-title-center {
  font-weight: 600; /* font-semibold */
  letter-spacing: -0.025em; /* tracking-tight */
  font-size: 1.5rem; /* text-2xl */
  color: var(--military-primary);
  text-align: center;
  margin: 0;
}

.card-title-left {
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: 1.5rem;
  color: var(--military-primary);
  text-align: left;
  margin: 0;
}

/* General Card Styling */
.intro-card, .photo-gallery-card, .stats-card, .info-card, .development-program-card {
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--card-foreground);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem; /* mb-8 (adjusted for layout) */
}

.photo-gallery-card {
  margin-bottom: 3rem; /* mb-12 */
}

.development-program-card {
  margin-top: 2rem; /* mt-8 */
}

.card-header {
  display: flex;
  flex-direction: column;
  padding: 1.5rem; /* p-6 */
}

.card-body {
  padding: 1.5rem; /* p-6 */
}

.card-body.pt-6 {
  padding-top: 1.5rem;
}

.card-body.pt-0 {
  padding-top: 0;
}

/* Intro Text */
.intro-text {
  font-size: 1.125rem; /* text-lg */
  text-align: center;
  line-height: 1.625; /* leading-relaxed */
  margin: 0;
  color: var(--text-gray-700);
}

/* Photo Gallery */
.card-subtitle-center {
  text-align: center;
  color: var(--text-gray-700);
  margin: 0;
}

.photo-grid {
  display: grid;
  gap: 1rem; /* gap-4 */
}

@media (min-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr); /* sm:grid-cols-2 */
  }
}

@media (min-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr); /* md:grid-cols-3 */
  }
}

@media (min-width: 1024px) {
  .photo-grid {
    grid-template-columns: repeat(4, 1fr); /* lg:grid-cols-4 */
  }
}

.photo-item {
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.photo-item:hover {
  box-shadow: var(--shadow-lg);
}

.photo-img {
  width: 100%;
  height: 12rem; /* h-48 */
  object-fit: cover;
  transition: transform 0.3s;
}

.photo-item:hover .photo-img {
  transform: scale(1.05);
}

/* Sports Statistics */
.stats-grid {
  display: grid;
  gap: 1.5rem; /* gap-6 */
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr; /* Default grid, original was a single item */
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr); /* Adjusted for better layout if stats were multiple */
  }
}

.stat-box {
  background-color: var(--secondary-bg-opacity); /* bg-military-secondary/10 */
  padding: 1.5rem; /* p-6 */
  border-radius: 0.5rem;
}

.stat-title {
  font-weight: 700;
  font-size: 1.25rem; /* text-xl */
  color: var(--military-primary);
  margin-bottom: 0.5rem;
}

.stat-number {
  font-weight: 600;
  color: var(--military-secondary);
  margin-bottom: 0.5rem;
}

.stat-description {
  font-size: 0.875rem; /* text-sm */
  color: var(--text-gray-700);
  margin: 0;
}

/* Facilities & Achievements */
.facilities-achievements-grid {
  display: grid;
  gap: 2rem; /* gap-8 */
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .facilities-achievements-grid {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
}

.facilities-list, .achievements-list {
  list-style-type: none; /* Remove default bullet */
  padding-left: 0;
  margin: 0;
}

.facilities-list li, .achievements-list li {
  margin-bottom: 0.75rem; /* space-y-3 */
  color: var(--text-gray-700);
  line-height: 1.5;
}

/* Sports Development Program */
.program-grid {
  display: grid;
  gap: 1.5rem; /* gap-6 */
  text-align: center;
}

@media (min-width: 768px) {
  .program-grid {
    grid-template-columns: repeat(4, 1fr); /* md:grid-cols-4 */
  }
}

.program-box {
  padding: 1.5rem; /* p-6 */
  border-radius: 0.5rem;
}

.gold-bg-box {
  background-color: var(--gold-bg-opacity);
}

.secondary-bg-box {
  background-color: var(--secondary-bg-opacity);
}

.program-number {
  font-weight: 700;
  font-size: 1.5rem; /* text-2xl */
  color: var(--military-secondary);
  margin-bottom: 0.5rem;
}

.program-title {
  font-weight: 600;
  color: var(--military-primary);
  margin-bottom: 0.25rem;
}

.program-description {
  font-size: 0.875rem; /* text-sm */
  color: var(--text-gray-600);
  margin: 0;
}