/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family:Georgia, 'Times New Roman', Times, serif;
  height: 100%;
}

/* Header */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 100%;
  z-index: 10;
  background-color: #9ba09b49;
}

.logo {
  height: 80px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-weight: bold;
  padding-bottom: 5px;
  transition: 0.3s ease;
}

.nav-links li a:hover,
.nav-links li.active a {
  color: #376847;
  border-bottom: 2px solid #4CAF50;
}

.user-icon {
  height: 50px;
  cursor: pointer;
}

/* SECTION TITLE */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #222;
  margin-top: 20px;
  font-family: 'Georgia', serif;
}

/* GALLERY PAGE */
.gallery-page {
  margin-top: 20px; /* Push content below header */
  padding: 20px;
  text-align: center; /* Center align text */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Adjust to 3 columns */
  gap: 20px; /* Space between images */
  max-width: 1200px;
  margin: 0 auto; /* Center the grid */
}

.gallery-item img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Cover the area without stretching */
}

/* Hero Section */
.gallery-hero {
  margin-bottom: 50px;
}

.gallery-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}

.gallery-hero p {
  font-size: 1.2rem;
  color: #555;
}

/* Grid Layout for Images */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  grid-template-rows: 250px 250px; /* 2 rows */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto; /* Center the grid */
}

/* GALLERY ITEMS */
.gallery-item {
  position: relative; /* Helps with positioning in the grid */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Specific item placements for larger images */
.gallery-item:nth-child(3) {
  grid-column: 3 / 5; /* Spans columns 3 and 4 */
  grid-row: 1;
}

.gallery-item:nth-child(4) {
  grid-column: 1 / 3; /* Spans columns 1 and 2 */
  grid-row: 2;
}

/* Remaining items */
.gallery-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.gallery-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.gallery-item:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.gallery-item:nth-child(6) {
  grid-column: 4;
  grid-row: 2;
}

.goals-section img.goals-icon {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin: 0 5px;
}