:root {
  --primary: #2c5282;
  --primary-light: #4299e1;
  --primary-dark: #1a365d;
  --secondary: #ecc94b;
  --dark: #1a202c;
  --light: #f7fafc;
  --gray: #e2e8f0;
  --dark-gray: #4a5568;
  --white: #ffffff;
  --footer-bg: #2d6a4f;
  --shadow-light: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-medium: 0 10px 15px rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  padding-top: 70px; /* Space for fixed navbar */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: 2.8rem; } /* Slightly larger for impact */
h2 { font-size: 2.2rem; margin-bottom: 1.5rem; text-align: center; } /* Centered headings */
h3 { font-size: 1.6rem; }

.subtitle {
  font-size: 1.1rem;
  color: var(--dark-gray);
  max-width: 700px;
  margin: 0 auto 3rem; /* More space below subtitle */
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px; /* Slightly more padding */
  border-radius: 8px; /* More rounded corners */
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-light); /* Add subtle shadow */
}

.btn.primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn.primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px); /* Lift effect on hover */
  box-shadow: var(--shadow-medium);
}

.btn.secondary {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn.secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn.link {
  color: var(--primary);
  padding: 0;
  background: transparent;
  position: relative;
  box-shadow: none; /* No shadow for link buttons */
}

.btn.link:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -3px; /* Adjust position */
  left: 0;
  background-color: var(--primary-light);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.btn.link:hover:after {
  transform: scaleX(1);
}

/* Navigation */
.navbar {
  background-color: var(--primary);
  color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem; /* Slightly larger logo text */
}

.logo-img {
  height: 45px; /* Slightly larger logo image */
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 25px; /* Increased gap */
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 10px 0; /* Adjusted padding */
  position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
  color: var(--secondary);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem; /* Larger hamburger icon */
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background-color: var(--primary-dark);
  padding: 15px;
  position: absolute;
  width: 100%;
  left: 0;
  top: 70px; /* Position below navbar */
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  transform: translateY(-100%);
  transition: transform 0.3s ease-out;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
  transform: translateY(0);
}

.mobile-link {
  display: block;
  color: var(--white);
  padding: 12px 15px; /* Adjusted padding */
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-link:last-child {
    border-bottom: none;
}

.mobile-link:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--secondary);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 100px 0; /* Adjusted padding */
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
}

.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Slower transition */
}

.hero-background-image.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    background-color: rgba(0,0,0,0.5); /* Semi-transparent overlay for text readability */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.hero h1 {
  font-size: 3.5rem; /* Larger hero heading */
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.tagline {
  font-size: 1.4rem; /* Larger tagline */
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* About Section */
.about {
  padding: 80px 0; /* More padding */
  background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; /* Increased gap */
    align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.mission-vision h3 {
  margin: 25px 0 10px;
  color: var(--primary-dark); /* Darker primary for headings */
}

.core-values-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.core-values-list li {
    background-color: var(--primary-light);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    display: inline-block; /* For horizontal flow */
    margin-right: 10px; /* Space between items */
    font-size: 0.95rem;
    box-shadow: var(--shadow-light);
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-illustration {
    width: 100%;
    max-width: 500px; /* Max width for image */
    height: 400px;
    border-radius: 10px;
    object-fit: cover; /* Ensure image covers area */
    box-shadow: var(--shadow-medium);
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted minmax */
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 35px; /* More padding */
  border-radius: 10px; /* More rounded */
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
}

.service-card:hover {
  transform: translateY(-8px); /* More pronounced lift */
  box-shadow: var(--shadow-medium);
}

.service-icon {
  font-size: 3rem; /* Larger icon */
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.service-card p {
  color: var(--dark-gray);
  margin-bottom: 25px; /* More space before button */
  flex-grow: 1; /* Allow paragraph to take available space */
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: var(--light); /* Light background for contrast */
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Adjusted minmax for better fit */
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px; /* More rounded */
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.blog-image {
    position: relative;
    height: 220px; /* Slightly taller image */
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08); /* More pronounced zoom */
}

.blog-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); /* Darker gradient */
    padding: 15px;
    color: white;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.blog-content {
    padding: 25px; /* More padding */
    flex-grow: 1; /* Allow content to grow */
    display: flex;
    flex-direction: column;
}

.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.author-avatar {
    width: 45px; /* Slightly larger avatar */
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 3px solid var(--primary-light); /* Thicker border */
}

.author-name {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.blog-content h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 1.4rem; /* Larger blog title */
}

.blog-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow paragraph to take available space */
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Push to bottom */
    padding-top: 15px;
    border-top: 1px solid var(--gray);
}

.comments {
    font-size: 0.9rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.comments i {
    margin-right: 5px;
    color: var(--primary-light);
}

/* Gallery Section (Carousel) */
.gallery {
    padding: 80px 0;
    background-color: var(--gray);
    position: relative;
}

.gallery-carousel {
    position: relative;
    width: 100%;
    height: 500px; /* Fixed height for the carousel */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 20px;
}

.gallery-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.gallery-carousel-item.active {
    opacity: 1;
}

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

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.carousel-nav button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    box-shadow: var(--shadow-light);
}

.carousel-nav button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.dots-container {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
}


/* Events Section */
.events {
    padding: 80px 0;
    background-color: var(--light);
}

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

.event-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column; /* Changed to column for better layout on smaller screens */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.event-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image-container img {
    transform: scale(1.08);
}

.event-date {
    background: var(--primary);
    color: white;
    padding: 15px;
    text-align: center;
    flex-shrink: 0; /* Prevent shrinking */
    border-bottom-left-radius: 10px; /* Rounded bottom corners */
    border-bottom-right-radius: 10px;
    margin-top: -10px; /* Overlap with image slightly */
    position: relative;
    z-index: 1;
}

.event-date .day {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-info h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.event-description {
    color: var(--dark-gray);
    margin-bottom: 15px;
    flex-grow: 1;
}

.event-info p {
    color: var(--dark-gray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.event-info i {
    color: var(--primary-light);
}

.event-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray);
}

.seats-remaining {
    font-size: 0.9rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Registration Modal (existing styles are fine, just ensuring consistency) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); /* Slightly darker overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(3px); /* Subtle blur */
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 35px; /* More padding */
    border-radius: 10px; /* More rounded */
    width: 90%;
    max-width: 550px; /* Slightly wider */
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px; /* Adjusted position */
    font-size: 1.8rem; /* Larger close button */
    cursor: pointer;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-dark);
}

.modal-content h3 {
    margin-bottom: 25px; /* More space */
    text-align: center;
    color: var(--primary-dark);
}

/* Form select styles - already good */
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: inherit;
    background-color: var(--white);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--light) 0%, var(--gray) 100%); /* Lighter gradient */
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 35px; /* More padding */
  border-radius: 10px; /* More rounded */
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push author to bottom */
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.testimonial-content {
  position: relative;
  margin-bottom: 25px; /* More space */
  flex-grow: 1; /* Allow content to grow */
}

.testimonial-content i {
  color: var(--primary-light);
  opacity: 0.3;
  font-size: 2.5rem; /* Larger quote icon */
  position: absolute;
  top: 0;
  left: 0;
}

.testimonial-content p {
  padding-left: 45px; /* More padding for text */
  font-style: italic;
  color: var(--dark-gray);
  line-height: 1.7; /* Better readability */
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px; /* More space */
  padding-top: 15px;
  border-top: 1px solid var(--gray); /* Separator line */
}

.testimonial-author img {
  width: 55px; /* Slightly larger avatar */
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--primary-light); /* Thicker border */
}

.author-info h4 {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.author-info span {
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.rating {
  margin-left: auto;
  color: #fbbf24; /* Star color */
  font-size: 1.1rem; /* Larger stars */
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-form {
  max-width: 650px; /* Slightly wider form */
  margin: 0 auto;
  background-color: var(--gray);
  padding: 40px; /* More padding */
  border-radius: 10px; /* More rounded */
  box-shadow: var(--shadow-medium);
}

.form-group {
  margin-bottom: 25px; /* More space */
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600; /* Bolder labels */
  color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px; /* More padding */
  border: 1px solid var(--dark-gray); /* Darker border */
  border-radius: 6px; /* More rounded */
  font-family: inherit;
  background-color: var(--white);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px; /* Taller textarea */
}

/* Footer - already good, minor adjustments */
.footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 60px 0 30px; /* More padding */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Adjusted minmax for better fit */
  gap: 40px; /* More gap */
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px; /* More space */
  color: var(--white);
  font-size: 1.4rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px; /* More space */
}

.footer-section ul li a {
  color: rgba(255,255,255,0.85); /* Slightly brighter */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--secondary); /* Highlight on hover */
}

.footer-section p {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start; /* Align icon to top of text */
  gap: 10px;
  color: rgba(255,255,255,0.85);
}

.footer-section p i {
    font-size: 1.1rem;
    color: var(--secondary); /* Highlight icons */
}

.footer .logo img {
    max-width: 100px; /* Adjusted logo size for footer */
    height: auto;
    margin-bottom: 10px;
}

.footer .logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; /* Larger social icons */
  height: 40px;
  background-color: rgba(255,255,255,0.15); /* Slightly more visible background */
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary); /* Highlight on hover */
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15); /* Slightly more visible border */
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 65px; /* Adjust for mobile navbar height */
  }
  
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero {
      min-height: 500px;
      padding: 80px 0;
  }

  .hero h1 {
      font-size: 2.5rem;
  }

  .tagline {
      font-size: 1.2rem;
  }

  .hero-content {
      padding: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn.primary, .btn.secondary {
    width: 80%; /* Make buttons wider on mobile */
    max-width: 300px;
  }

  .blog-grid,
  .events-grid,
  .testimonials-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.3rem; }

  .subtitle {
      margin-bottom: 2rem;
  }

  .gallery-carousel {
      height: 350px; /* Shorter carousel on mobile */
  }

  .event-card {
      flex-direction: column; /* Stack date and info for events */
  }

  .event-date {
      width: 100%;
      border-radius: 10px 10px 0 0; /* Rounded top corners */
      margin-top: 0;
      padding: 15px 0;
  }

  .event-info {
      padding: 20px;
  }
  .contact-form {
      padding: 30px;
  }

  .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
  }

  .footer-section {
      align-items: center;
  }

  .footer-section .logo {
      align-items: center;
  }

  .footer-section p {
      justify-content: center;
  }

  .social-links {
      justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  
  .hero-content {
    padding: 20px;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .container {
    width: 95%;
  }

  .blog-image, .event-image-container {
      height: 180px;
  }
}

/* In css/styles.css or a new specific CSS file */

.core-values-list {
    list-style: none; /* Remove default bullet points */
    padding: 0;
    margin: 0;
    display: flex; /* Arrange items in a row */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 15px; /* Space between the list items */
    justify-content: center; /* Center the items if they don't fill the row */
}

.core-values-list li {
    display: flex; /* Use flexbox for icon and text alignment */
    align-items: center; /* Vertically center the icon and text */
    background-color: #f9f9f9; /* Light background for each value item */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 8px; /* Slightly rounded corners for the container */
    padding: 10px 15px; /* Padding inside each value item */
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
}

.core-value-icon {
    font-size: 1.8em; /* Adjust the size of the icon */
    color: #28a745; /* Example color: a green similar to your badge image */
    margin-right: 10px; /* Space between the icon and the text */
}

/* Optional: Adjust for smaller screens */
@media (max-width: 768px) {
    .core-values-list li {
        font-size: 1em;
        padding: 8px 12px;
    }
    .core-value-icon {
        font-size: 1.5em; /* Smaller icon on mobile */
        margin-right: 8px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO — uniform across blog, events, gallery, services
   ═══════════════════════════════════════════════════════════════ */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
    padding: 60px 0 48px;
    text-align: center;
    color: #fff;
    margin-top: 0;
}

.page-hero h2,
.page-hero h1 {
    color: #fff !important;
    margin-bottom: 10px;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.page-hero .subtitle,
.page-hero p {
    color: rgba(255,255,255,0.84);
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADER — consistent h2 + subtitle blocks
   ═══════════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-header h2 {
    margin-bottom: 10px;
    color: var(--primary);
}

.section-header .subtitle {
    color: var(--dark-gray, #4a5568);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   GALLERY SLIDESHOW (homepage)
   ═══════════════════════════════════════════════════════════════ */
.gallery-section {
    padding: 80px 0 0;
    background: var(--white);
}

.gallery-slideshow {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #1a202c;
    margin-top: 32px;
}

.gallery-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.gallery-slide.active { opacity: 1; }

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.45);
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.25s;
    backdrop-filter: blur(4px);
}

.gallery-arrow:hover {
    background: rgba(0,0,0,0.72);
    transform: translateY(-50%) scale(1.08);
}

.gallery-arrow-prev { left: 20px; }
.gallery-arrow-next { right: 20px; }

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.68));
    color: #fff;
    padding: 32px 28px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
    pointer-events: none;
}

#gallery-caption-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.gallery-caption-cat {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--secondary, #ecc94b);
    color: var(--dark, #1a202c);
    padding: 3px 10px;
    border-radius: 12px;
}

.gallery-dots {
    position: absolute;
    bottom: 16px;
    right: 22px;
    display: flex;
    gap: 7px;
    z-index: 10;
}

.gallery-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    padding: 0;
}

.gallery-dot.active {
    background: var(--secondary, #ecc94b);
    width: 24px;
    border-radius: 5px;
}

/* ═══════════════════════════════════════════════════════════════
   ADMIN LOGIN MODAL — solid, fully blocks page
   ═══════════════════════════════════════════════════════════════ */
#login-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #0d1b2a !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

body.not-logged-in .admin-sidebar,
body.not-logged-in .admin-main-content,
body.not-logged-in header {
    visibility: hidden;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES SECTION — fix transparent header
   ═══════════════════════════════════════════════════════════════ */
.services-section {
    padding: 80px 0;
    background: var(--light, #f7fafc);
}

.services-section .section-header {
    background: #fff;
    padding: 28px 24px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border-left: 4px solid var(--primary);
    text-align: left;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .gallery-slideshow { height: 280px; }
    .gallery-arrow { width: 38px; height: 38px; font-size: 0.9rem; }
    .gallery-arrow-prev { left: 10px; }
    .gallery-arrow-next { right: 10px; }
    #gallery-caption-title { font-size: 0.9rem; }
}