/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #222;
  background-color: #fff;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1e40af;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.navbar {
  background-color: #1e3a8a;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Added logo styling for circular logo in navigation */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-brand h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #fff;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: #fff;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: #2563eb;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.3s;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  min-width: 160px;
}

.btn-primary {
  background-color: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background-color: #059669;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-outline:hover {
  background-color: #2563eb;
  color: #fff;
}

/* Sections */
section {
  padding: 4rem 0;
}

.text-center {
  text-align: center;
  margin-top: 2rem;
}

/* Leadership Section */
.leadership {
  background-color: #f8fafc;
}

.leadership h2 {
  text-align: center;
  color: #1e3a8a;
}

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

.leader-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.leader-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  border: 5px solid #2563eb;
}

.leader-card h3 {
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.role {
  color: #2563eb;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Upcoming Event Section */
.upcoming-event {
  background-color: #fff;
}

.upcoming-event h2 {
  text-align: center;
  color: #1e3a8a;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.event-details h3 {
  color: #1e3a8a;
  font-size: 1.8rem;
}

.event-date,
.event-location {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.event-description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* About Section */
.about {
  background-color: #f8fafc;
}

.about h2 {
  text-align: center;
  color: #1e3a8a;
  margin-bottom: 3rem;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.about-text h3 {
  color: #1e3a8a;
  margin-top: 2rem;
}

.about-text h3:first-of-type {
  margin-top: 0;
}

.values-list {
  list-style: none;
  padding-left: 0;
}

.values-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.values-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: bold;
  font-size: 1.3rem;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Gallery Preview Section */
.gallery-preview {
  background-color: #fff;
}

.gallery-preview h2 {
  text-align: center;
  color: #1e3a8a;
  margin-bottom: 2rem;
}

.slideshow-container {
  max-width: 900px;
  margin: 0 auto 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slide {
  display: none;
  animation: fadeIn 1s;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

@keyframes fadeIn {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Contact Section */
.contact {
  background-color: #f8fafc;
}

.contact h2 {
  text-align: center;
  color: #1e3a8a;
  margin-bottom: 2rem;
}

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

.contact-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.contact-number {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2563eb;
}

.contact-address {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-address h3 {
  color: #1e3a8a;
}

/* Footer */
.footer {
  background-color: #1e3a8a;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.3rem;
  margin-bottom: 0;
}

/* Members Page */
.members {
  background-color: #fff;
}

.members h2 {
  color: #1e3a8a;
  text-align: center;
  margin: 3rem 0 2rem;
}

.members h2:first-of-type {
  margin-top: 0;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.member-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 4px solid #2563eb;
}

.member-card h3 {
  color: #1e3a8a;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.member-role {
  color: #2563eb;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Added text-only member card style for members without photos */
.member-card-text-only {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #2563eb;
  min-height: 150px;
  max-height: 200px;
}

.member-card-text-only:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.member-card-text-only h3 {
  color: #1e3a8a;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.member-card-text-only .member-role {
  color: #2563eb;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.member-card-text-only p:not(.member-role) {
  color: #1e3a8a;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Gallery Page */
.gallery-section {
  background-color: #fff;
}

/* Updated gallery grid to accommodate more images */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-item p {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: #1e3a8a;
  margin: 0;
}

/* Added video section styling */
.video-section {
  background-color: #f8fafc;
  padding: 4rem 0;
  margin-top: 3rem;
  border-top: 3px solid #2563eb;
}

.video-section h2 {
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 2rem;
}

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

.video-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-item video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: #000;
}

.video-item p {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: #1e3a8a;
  margin: 0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #fff;
  padding: 1rem 0;
  font-size: 1.2rem;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #bbb;
}

/* Future Plans Page */
.future-plans {
  background-color: #fff;
}

.plan-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.plan-intro h2 {
  color: #1e3a8a;
}

.plan-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.plan-card.featured {
  border: 3px solid #2563eb;
}

.plan-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.plan-content h3 {
  color: #1e3a8a;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.plan-subtitle {
  color: #2563eb;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.plan-content h4 {
  color: #1e3a8a;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.services-list,
.jobs-list {
  list-style: none;
  padding-left: 0;
}

.services-list li,
.jobs-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.services-list li:before {
  content: "●";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-size: 1.5rem;
}

.jobs-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: bold;
}

.important-note {
  background: #fef3c7;
  border-left: 5px solid #f59e0b;
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 8px;
}

.important-note h4 {
  color: #92400e;
  margin-top: 0;
}

.additional-plans h2 {
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 2rem;
}

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

.plans-grid .plan-card {
  text-align: center;
}

.plans-grid .plan-card h3 {
  color: #1e3a8a;
}

.support-section {
  background: #f8fafc;
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.support-section h2 {
  color: #1e3a8a;
}

.contact-info {
  margin-top: 2rem;
}

.contact-info p {
  font-size: 1.3rem;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  body {
    font-size: 16px;
  }

  /* Navigation */
  .hamburger {
    display: flex;
  }

  /* Responsive logo styling */
  .nav-logo {
    width: 50px;
    height: 50px;
  }

  .nav-brand h2 {
    font-size: 1.2rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #1e3a8a;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }

  /* Hero */
  .hero {
    height: 500px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  /* Leadership Grid */
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  /* Event Card */
  .event-card {
    grid-template-columns: 1fr;
  }

  .event-image {
    height: 300px;
  }

  /* About Content */
  .about-content {
    grid-template-columns: 1fr;
  }

  /* Slideshow */
  .slide img {
    height: 300px;
  }

  /* Members Grid */
  .members-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Responsive video grid */
  .video-grid {
    grid-template-columns: 1fr;
  }

  /* Modal */
  .close {
    top: 10px;
    right: 20px;
    font-size: 40px;
  }

  /* Buttons */
  .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
  }

  /* Plans Grid */
  .plans-grid {
    grid-template-columns: 1fr;
  }

  /* Sections */
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  /* Smaller logo on mobile */
  .nav-logo {
    width: 45px;
    height: 45px;
  }

  .nav-brand h2 {
    font-size: 1rem;
  }

  .leader-photo {
    width: 140px;
    height: 140px;
  }

  .member-photo {
    width: 120px;
    height: 120px;
  }

  .slide img {
    height: 250px;
  }

  .contact-number {
    font-size: 1.2rem;
  }
}
