/* --- Basic Reset & Setup --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette - Customize these! */
  --primary-color: #005a9c; /* Professional Blue */
  --secondary-color: #0d92ca; /* Lighter Blue */
  --accent-color: #fdb813; /* Gold/Yellow Accent */
  --light-gray-color: #f4f4f4; /* Light background */
  --medium-gray-color: #e9e9e9; /* Slightly darker gray for borders/cards */
  --dark-gray-color: #333;
  --text-color: #333;
  --white-color: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white-color);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  overflow: hidden;
}

/* Headings & Text */
h1,
h2,
h3 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 600; /* Slightly less bold default */
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3rem); /* Responsive font size */
  font-weight: 700; /* Bolder h1 */
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  text-align: center;
  margin-bottom: 2.5rem; /* Increased spacing */
  color: var(--primary-color);
  position: relative;
  padding-bottom: 0.5rem;
}
/* Optional: Add subtle underline effect to H2 */
h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

h3 {
  font-size: 1.4rem;
  color: var(--secondary-color);
}

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

.section-padding {
  padding: 80px 0; /* Increased padding */
}

.bg-light {
  background-color: var(--light-gray-color);
}

.subtitle {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  margin-top: -1.5rem; /* Pull closer to heading */
  margin-bottom: 3rem; /* Increased spacing */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.mt-2 {
  margin-top: 2rem !important;
} /* Utility class */

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 30px; /* Consistent padding */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.5; /* Ensure consistent line height */
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--dark-gray-color);
}

.btn-primary:hover {
  background-color: #e4a60b;
  color: var(--dark-gray-color);
}

#coordinator {
  opacity: 0.8; /* Slightly less opaque initially */
  transform: translateY(10px) scale(0.98); /* Slightly moved down and scaled down */
  transition: none; /* Ensure GSAP controls the animation */
}

/* ... other coordinator section styles ... */

/* Navigation Bar Removed */

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.8),
    rgba(40, 167, 69, 0.8)
  ); /* Or your preferred gradient */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  ); /* Subtle light spots */
  opacity: 0.8;
  animation: subtlePulse 10s linear infinite alternate; /* Initial subtle pulse */
  z-index: 2; /* Above the main background */
}

@keyframes subtlePulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.hero-content h1 {
  margin-bottom: 1rem;
}


.hero-content .subtitle {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #eee;
  margin-top: 0; /* Reset margin */
}

.hero-logo {
  max-height: 90px;
  margin-bottom: 1rem;
}

.launch-info {
  background: rgba(0, 0, 0, 0); /* Removed inner background */
  padding: 0; /* Removed inner padding */
  margin: 1.5rem 0;
  display: inline-block;
}

.launch-info p {
  margin-bottom: 0.75rem;
  font-weight: 400; /* Normal weight */
  font-size: 1.05rem;
}
.launch-info p strong {
  font-weight: 600;
}
.launch-info p:last-child {
  margin-bottom: 0;
}

.launch-info a {
  color: var(--accent-color); /* Make links stand out */
  font-weight: 600;
}
.launch-info a:hover {
  text-decoration: underline;
}

#hero .btn-primary {
  margin-top: 1rem; /* Space above button */
}

/* --- About Section (Revised) --- */
#about {
  /* Now has bg-light */
  border-bottom: 1px solid var(--medium-gray-color); /* Subtle separator */
}

.about-layout {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  align-items: center;
  gap: 3rem; /* Increased gap */
}

.about-image-container {
  flex: 1 1 300px; /* Flex properties for responsiveness */
  min-width: 280px;
}

.about-text-container {
  flex: 1 1 400px; /* Text takes slightly more space */
}

.about-text-container h2 {
  text-align: left; /* Align heading left */
  margin-bottom: 1.5rem;
}
.about-text-container h2::after {
  left: 0; /* Align underline left */
  transform: translateX(0);
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Softer shadow */
  display: block;
}

/* --- Objectives Section --- */
#objectives {
  background-color: var(--white-color); /* White background */
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.objective-item {
  text-align: center;
  padding: 2rem 1.5rem; /* Increased padding */
  background: var(--white-color);
  border-radius: 8px;
  border: 1px solid var(--medium-gray-color); /* Subtle border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.objective-item i {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 2.5rem; /* Slightly larger icons */
}

.objective-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: #555; /* Slightly lighter text */
}

/* --- Structure Section (Revised) --- */
#structure {
  /* bg-light */
  border-bottom: 1px solid var(--medium-gray-color);
}

.structure-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.structure-card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--medium-gray-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.structure-card h3 {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  display: inline-block; /* Fit border to text */
  margin-bottom: 1.5rem;
}

.structure-card ul {
  list-style: none; /* Remove default bullets */
  padding-left: 0;
}

.structure-card ul li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 25px; /* Space for custom bullet */
  font-size: 0.95rem;
  color: #444;
}
/* Custom bullet point */
.structure-card ul li::before {
  content: "\f0da"; /* Font Awesome chevron right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.structure-card p {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #555;
}

/* --- Coordinator Section --- */
#coordinator {
  /* White background */
  border-bottom: 1px solid var(--medium-gray-color);
}

.coordinator-layout {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping */
  align-items: center;
  gap: 2rem;
}

.coordinator-photo {
  width: 200px; /* Slightly larger */
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--secondary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0; /* Prevent shrinking */
}

.coordinator-layout div {
  /* Text container */
  flex: 1 1 400px; /* Allow text to grow */
}

.coordinator-layout h2 {
  text-align: left;
}
.coordinator-layout h2::after {
  left: 0;
  transform: translateX(0);
}

.coordinator-layout blockquote {
  font-style: italic;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 5px solid var(--accent-color);
  background-color: var(--light-gray-color); /* Subtle background */
  border-radius: 0 5px 5px 0;
  color: #555;
  font-size: 1.05rem;
}

.coordinator-layout p strong {
  display: block;
  margin-top: 1rem;
  font-size: 1.2rem; /* Slightly larger name */
  color: var(--primary-color);
}

/* --- Contact Section (Revised) --- */
#contact {
  /* bg-light */
  /* No border needed if footer follows */
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-block {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--medium-gray-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.contact-block h3 {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.contact-block p {
  margin-bottom: 1rem; /* Increased spacing */
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.contact-block i {
  /* Using fa-fw (fixed width) class in HTML helps alignment */
  margin-right: 12px; /* Consistent spacing */
  color: var(--primary-color);
  font-size: 1.2rem; /* Slightly larger icons */
  text-align: center;
}

.contact-block a {
  word-break: break-word; /* Better break for long links */
  font-weight: 500; /* Make links slightly bolder */
}
.contact-block a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 1.5rem;
}
.social-icon {
  font-size: 1.8rem; /* Larger social icons */
  margin-right: 15px;
  color: var(--primary-color);
  transition: color 0.3s ease;
}
.social-icon:hover {
  color: var(--secondary-color);
}

/* Optional Contact Form Styles (Remain mostly same) */
#contact-form {
  margin-top: 3rem; /* ... */
}

/* --- Footer --- */
footer {
  background: var(--dark-gray-color);
  color: var(--white-color);
  text-align: center;
  padding: 25px 0; /* Slightly more padding */
  margin-top: 0; /* Removed top margin as contact section now has bg */
}
footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
footer a {
  color: var(--accent-color);
}
footer a:hover {
  color: var(--white-color);
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  h2 {
    margin-bottom: 2rem;
  }
  .subtitle {
    margin-bottom: 2rem;
  }

  .about-layout {
    gap: 1.5rem;
  }
  .about-text-container h2 {
    text-align: center;
  }
  .about-text-container h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .coordinator-layout {
    text-align: center;
  }
  .coordinator-photo {
    margin: 0 auto 1.5rem auto; /* Center photo */
  }
  .coordinator-layout h2 {
    text-align: center;
  }
  .coordinator-layout h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .structure-columns {
    grid-template-columns: 1fr;
  }
  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .section-padding {
    padding: 40px 0;
  }
  h1 {
    font-size: 1.8rem;
  } /* Adjusted clamp in main styles */
  h2 {
    font-size: 1.6rem;
  } /* Adjusted clamp */
  .hero-content {
    padding: 1.5rem;
    width:75%;
  }
  .hero-content .subtitle {
    font-size: 1.1rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .about-layout {
    gap: 1rem;
  }
  .about-image-container,
  .about-text-container {
    flex-basis: 100%;
  } /* Stack columns */

  .structure-card,
  .contact-block {
    padding: 1.5rem;
  }

  .coordinator-photo {
    width: 150px;
    height: 150px;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  height: 100%;
  background-size: cover;
  background-position: center;
  /* Add your background image here */
  background-image: url("/images/gemos.jpg"); /* Replace with your actual image path */
  filter: blur(2px); /* Adjust the blur radius as needed */
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6); /* Dark semi-transparent overlay */
}

.launch-headline,
.announcement,
.tagline,
.intro,
.key-info p,
.explore-button {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none; /* Don't interfere with clicks */
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.08); /* Subtle light color */
  border-radius: 50%;
  opacity: 0;
}
