/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  /* Brand palette derived from logo */
  --color-primary: #6b7192;
  --color-primary-600: #5d6386;
  --color-primary-700: #4a4f6d;
  --color-primary-200: #c7cbe1;
  --color-primary-100: #e6e8f3;
  --color-footer-bg: #2f3552;
  --color-footer-chip: #3a4060;
  --color-footer-muted: #bfc3d9;
  --color-gold: #ffd700;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
  margin-bottom: 1rem;
  color: #666;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(107, 113, 146, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  padding-left: 0;
  position: relative;
  left: -20px;
}

.logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  max-width: none;
}

.logo-text {
  font-weight: 600;
  font-size: 1.2rem;
  color: #333;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(47, 53, 82, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 1rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1.5rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e6e8f3;
}

/* Enable dropdown open on mobile when JS toggles .active */
.dropdown .dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  position: relative;
  z-index: 2000;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  height: 120vh;
  min-height: 900px;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-image {
  position: absolute;
  object-position: top;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;

}

.hero-image img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  display: block;
}

/* Hero logo removed */

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: #333;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Programs Section */
.programs-section {
  padding: 100px 0;
  background: #ffffff;
  margin-top: 0;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.program-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.program-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
}
.program-card-uk::before {
  background: linear-gradient(135deg, #cf142b 0%, #012169 100%); /* Red to Navy (UK flag) */
}

.program-card-ireland::before {
  background: linear-gradient(135deg, #ff883e 0%, #169b62 100%); /* Orange to Green (Ireland flag) */
}

.program-card-malta::before {
  background: linear-gradient(135deg, #ffffff 0%, #c8102e 100%); /* White to Red (Malta flag) */
}

.program-card-scotland::before {
  background: linear-gradient(135deg, #005eb8 0%, #005eb8 100%); /* Blue (Scotland flag) */
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.program-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-card h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.program-card p {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.7;
  font-family: 'Kalam', cursive;
}

.program-features {
  list-style: none;
  padding: 0;
  /* text-align: center; */
}

.program-features li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.program-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-content h2 {
  color: #333;
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 10px;
  transition: background 0.3s ease;
  opacity: 0;
  transform: translateX(-30px);
}

.feature-item.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.feature-item:hover {
  background: #f8f9fa;
}

.feature-item i {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.feature-item h4 {
  color: #333;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: #666;
  margin: 0;
}

.features-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: #f8f9fa;
}

/* Alternate testimonials sections for proper color alternation */
.testimonials-section:nth-child(odd) {
  background: #ffffff;
}

/* Ensure Educational Partner Testimonials has gray background */
#partner-testimonials.testimonials-section {
  background: #f8f9fa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.quote-icon {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
}

.author-info h4 {
  color: #333;
  margin-bottom: 0.2rem;
}

.author-info span {
  color: #666;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  color: #333;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #666;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #666;
  margin: 0;
}

.contact-item a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.site-footer {
  background: var(--color-footer-bg);
  color: white;
  padding: 60px 0 20px;
  position: relative;
  z-index: 100;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-logo {
  height: auto !important;
  width: auto !important;
  max-width: 200px !important;
  max-height: 80px !important;
  object-fit: contain !important;
  margin-bottom: 1rem;
  display: block;
  /* margin-left: auto; */
  margin-right: auto;
  /* Ensure the logo maintains its natural aspect ratio */
  object-position: center;
  /* Prevent any grid or flexbox stretching */
  flex-shrink: 0;
  /* Override any conflicting styles */
  aspect-ratio: auto;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* Ensure all links in footer are white */
.site-footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Ensure the logo section doesn't stretch */
.footer-section:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
  }

  /* Desktop: align social media icons to the left */
  @media (min-width: 768px) {
    .social-links {
      justify-content: flex-start;
    }
  }

.social-link {
  width: 40px;
  height: 40px;
  background: var(--color-footer-chip);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-footer-chip);
  color: var(--color-footer-muted);
}

/* Mobile App Promo */
.mobile-app-promo {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  color: white;
  padding: 60px 0;
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.promo-text h3 {
  color: white;
  margin-bottom: 1rem;
}

.promo-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.promo-images {
  display: flex;
  gap: 1rem;
}

.mobile-app-img {
  height: 300px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Responsive Design */

/* Logo positioning for different screen sizes */
@media (max-width: 1200px) {
  .logo-section {
    left: -15px;
  }
}

@media (max-width: 1024px) {
  .logo-section {
    left: -10px;
  }
  
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .gallery-item {
    height: 220px;
  }
  
  /* Adjust special sizing for tablet */
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6),
  .gallery-item:nth-child(11),
  .gallery-item:nth-child(16) {
    grid-column: span 2;
    grid-row: span 2;
    height: 280px;
  }
  
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(8),
  .gallery-item:nth-child(13),
  .gallery-item:nth-child(18) {
    grid-column: span 2;
    height: 220px;
  }
  
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(10),
  .gallery-item:nth-child(15),
  .gallery-item:nth-child(20) {
    grid-row: span 2;
    height: 280px;
  }
}

@media (max-width: 1024px) {
  .camps-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  /* Enforce mobile-only section color alternation across pages */
  /* index.html */
  .programs-section { background-color: #ffffff !important; }
  .features-section { background-color: #f8f9fa !important; }

  /* travel-camps.html */
  #uk-camps.camps-section { background-color: #ffffff !important; }
  #uk-camps.camps-section .container { background-color: #ffffff !important; }
  #ireland-camps.camps-section { background-color: #f8f9fa !important; }
  #malta-camps.camps-section { background-color: #ffffff !important; }
  #scotland-camps.camps-section { background-color: #f8f9fa !important; }

  /* travel-camps: soften shadows for UK camp cards on mobile */
  #uk-camps .camps-grid { padding-bottom: 16px; overflow: visible; }
  #uk-camps .camp-card { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important; }
  #uk-camps .camp-card:hover { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important; transform: none; }

  /* travel-camps: apply same subtle shadows to other regions */
  #ireland-camps .camps-grid { padding-bottom: 16px; overflow: visible; }
  #malta-camps .camps-grid { padding-bottom: 16px; overflow: visible; }
  #scotland-camps .camps-grid { padding-bottom: 16px; overflow: visible; }

  #ireland-camps .camp-card,
  #malta-camps .camp-card,
  #scotland-camps .camp-card { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important; }

  #ireland-camps .camp-card:hover,
  #malta-camps .camp-card:hover,
  #scotland-camps .camp-card:hover { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important; transform: none; }

  /* team.html */
  .team-section { background-color: #ffffff !important; }
  .responsibilities-section { background-color: #f8f9fa !important; }
  .values-section { background-color: #ffffff !important; }

  /* why-evmaria.html */
  .services-section,
  .mission-section,
  .advantages-section,
  .stats-section,
  .modern-photo-section,
  .approach-section,
  .quality-section { background-color: #f8f9fa !important; }

  /* why-evmaria: subtle shadows on all cards/images */
  .advantage-card,
  .stat-card,
  .approach-step,
  .quality-item,
  .feature-highlight,
  .pillar,
  .services-image img,
  .service-image-top,
  .service-image-main,
  .service-image-bottom { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important; }

  .advantage-card:hover,
  .stat-card:hover,
  .approach-step:hover,
  .quality-item:hover,
  .feature-highlight:hover,
  .pillar:hover,
  .services-image img:hover,
  .service-image-top:hover,
  .service-image-main:hover,
  .service-image-bottom:hover { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important; transform: none; }

  /* testimonials.html */
  #testimonials.services-section { background-color: #ffffff !important; }
  .partner-gallery { background-color: #f8f9fa !important; }
  #partner-testimonials.testimonials-section { background-color: #ffffff !important; }

  /* contact.html */
  .contact-info-section { background-color: #ffffff !important; }
  .contact-form-section { background-color: #f8f9fa !important; }
  .faq-section { background-color: #ffffff !important; }
  .map-section { background-color: #f8f9fa !important; }

  /* global: add consistent bottom padding at end of sections on mobile */
  section > .container { padding-bottom: 16px !important; overflow: visible; }

  /* team.html: make all cards' shadows subtle on mobile */
  .team-card,
  .value-card,
  .responsibility-card { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important; }
  .team-card:hover,
  .value-card:hover,
  .responsibility-card:hover { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important; transform: none; }

  /* team.html: enforce section backgrounds (mobile only) */
  .team-section { background-color: #ffffff !important; }
  .responsibilities-section { background-color: #f8f9fa !important; }
  .values-section { background-color: #f8f9fa !important; }

  /* team.html: subtle shadow for main team image on mobile */
  .team-main-image { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important; }
  .team-main-image:hover { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important; }
  /* Prevent nested scrolling in Programs section on mobile */
  .programs-section,
  .programs-section .container,
  .programs-section .programs-grid {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    -webkit-overflow-scrolling: auto !important;
  }
  /* Travel Camps: eliminate inner white gaps so media touches rounded edges */
  .camp-card {
    padding: 0 !important;       /* remove inner gutter creating white border */
  }

  .camp-image {
    margin: 0 !important;        /* ensure no outer gap */
    line-height: 0 !important;   /* avoid baseline gaps */
  }

  .camp-image img {
    display: block !important;   /* remove inline image gaps */
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .camp-content {
    margin: 0 !important;        /* ensure background reaches card edge */
    padding: 1.5rem !important;  /* keep readable inner spacing */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  /* Logo positioning for mobile devices */
  .logo-section {
    left: -5px;
    margin-left: 0;
  }
  
  /* Hide desktop gallery on mobile testimonials page */
  .partner-gallery .gallery-grid {
    display: none;
  }
  
  /* Show mobile slideshow on mobile */
  .mobile-testimonials-slideshow {
    display: block !important;
  }
  
  /* Mobile slideshow adjustments */
  .slideshow-slide {
    height: 250px;
  }
  
  .slide-caption {
    display: none; /* Hide captions on mobile */
  }
  
  .slide-caption h3 {
    display: none; /* Hide headings on mobile */
  }
  
  .slide-caption p {
    display: none; /* Hide descriptions on mobile */
  }
  
  .slideshow-nav {
    width: 40px;
    height: 40px;
  }
  
  .slideshow-prev {
    left: 8px;
  }
  
  .slideshow-next {
    right: 8px;
  }

  /* Ensure slideshow is visible on mobile */
  .hero-slider,
  .slider {
    display: block !important;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(47, 53, 82, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1;
    max-height: 0;
    overflow: hidden;
  }
  
  .main-nav.active .nav-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 500px;
    overflow: visible;
  }
  
  .main-nav.active .nav-list li {
    padding: 0.5rem 2rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero {
    height: 55vh;
    min-height: 450px;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 0.8rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  /* Make hero buttons full-width for easier tapping */
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Remove dropdown submenu from mobile completely */
  .main-nav .dropdown-menu,
  .main-nav.active .dropdown-menu,
  .dropdown .dropdown-menu,
  .dropdown .dropdown-menu.active {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Hide dropdown arrow on mobile */
  .dropdown .nav-link i.fas.fa-chevron-down {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .promo-content {
    flex-direction: column;
    text-align: center;
  }
  
  .promo-images {
    justify-content: center;
  }
  
  .mobile-app-img {
    height: 200px;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
  }
  
  .quality-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .gallery-item {
    height: 180px;
  }
  
  /* Reset special sizing for mobile */
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6),
  .gallery-item:nth-child(11),
  .gallery-item:nth-child(16),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(8),
  .gallery-item:nth-child(13),
  .gallery-item:nth-child(18),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(10),
  .gallery-item:nth-child(15),
  .gallery-item:nth-child(20) {
    grid-column: span 1;
    grid-row: span 1;
    height: 180px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Center footer logo on mobile */
  .footer-logo {
    margin: 0 auto 1rem;
    max-width: 180px !important;
    max-height: 70px !important;
  }

  /* Center Evmaria Services Ltd. text on mobile - specific targeting */
  .footer-section:first-child p:first-of-type {
    text-align: center !important;
    margin: 0 auto !important;
  }

  /* Remove unnecessary social-section on mobile */
  .social-section {
    display: none;
  }
  
  /* Ensure no stray submenu spacing on mobile */
  .dropdown-menu { display: none !important; }

  /* Services Section Mobile */
  .services-content {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    text-align: center;
  }

  .services-text {
    order: 1;
  }

  .services-image {
    order: 2;
    margin-top: 0 !important;
  }

  .service-image-top,
  .service-image-main,
  .service-image-bottom {
    margin-left: 0 !important;
    max-width: 100%;
    height: 250px;
  }

  .service-features {
    gap: 1rem;
  }

  .feature-highlight {
    padding: 1rem;
  }

  .service-cta {
    padding: 1.5rem;
  }

  /* Mission Section Mobile */
  .mission-content {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .mission-statement {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .mission-pillars {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .pillar {
    padding: 1.5rem;
  }

  .advantages-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    max-width: 100%;
  }

  .approach-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .quality-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* Fix horizontal scroll issues */
  .container {
    overflow-x: hidden;
  }

  .services-section,
  .mission-section,
  .advantages-section,
  .approach-section,
  .quality-section,
  .stats-section {
    overflow-x: hidden;
  }

  /* Ensure footer is always visible on mobile */
  .site-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 100 !important;
    margin-top: 0 !important;
    padding-top: 2rem !important;
  }

  /* Ensure footer content is always visible */
  .footer-content {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Make sure footer sections are visible */
  .footer-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Force footer to be at the bottom and visible */
  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .main-content {
    flex: 1;
  }

  .site-footer {
    margin-top: auto !important;
  }
}

@media (max-width: 480px) {
  /* Logo positioning for very small screens */
  .logo-section {
    left: 0;
    margin-left: 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .hero {
    height: 60vh;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 0.6rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
    margin-bottom: 1.2rem;
  }
  
  .hero-buttons {
    gap: 0.6rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .program-card,
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Smooth scrolling for anchor links */
html {
  scroll-padding-top: 80px;
}

/* Placeholder images */
img[src*="evmaria-logo"] {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  width: 100px;
  height: 100px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  /* object-fit: contain; */
}

img[src*="travel-elements"] {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  min-height: 300px;
}

img[src*="student-"] {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
}

/* Additional responsive hero styles */
@media (min-width: 1200px) {
  .hero {
    height: 55vh;
    min-height: 550px;
  }
  
  .hero-title {
    font-size: clamp(3rem, 4vw, 5rem);
  }
  
  .hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
  }
}



@media (max-width: 360px) {
  .hero {
    height: 65vh;
    min-height: 450px;
  }
  
  .hero-title {
    font-size: clamp(1.2rem, 8vw, 1.8rem);
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.7rem, 4vw, 0.9rem);
    margin-bottom: 1rem;
  }
  
  .hero-buttons {
    gap: 0.5rem;
  }
}

/* Additional styles for new pages */

/* Camps Section */
.camps-section {
  padding: 100px 0;
  background: #ffffff;
  text-align: center;
}

/* Alternate camps sections for proper color alternation */
.camps-section:nth-child(even) {
  background: #f8f9fa;
}

.camps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.camp-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.camp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.camp-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.camp-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.camp-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.camp-location {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.camp-description {
  color: #666;
  margin-bottom: 1.5rem;
}

.camp-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.camp-features li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
  text-align: left;
}

.camp-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.camp-content .btn {
  margin-top: auto;
  align-self: flex-start;
  margin-top: 1.5rem;
}

.camp-card h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.camp-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.camp-features {
  margin-bottom: 1.5rem;
  flex: 1;
  text-align: left;
}

/* Team Section */
.team-section {
  padding: 100px 0;
  text-align:center;
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
}

.team-position {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-description {
  color: #666;
  margin-bottom: 1.5rem;
}

.team-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.expertise-tag {
  background: #f8f9fa;
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.team-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.team-social .social-link {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-social .social-link:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Values Section */
.values-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

/* Join Team Section */
/* .join-team-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  color: white;
  text-align: center;
} */

.join-team-content {
  max-width: 900px;   /* keeps it from stretching too wide */
  margin: 0 auto;     /* centers the whole block */
  text-align: center; /* centers all text */
}

.join-team-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.join-team-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/* .join-team-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
} */

/* Mission Section */
/* Mission Section */
.mission-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.mission-content {
  max-width: 1000px;
  margin: 0 auto;
}

.mission-statement {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
  margin-bottom: 3rem;
  font-style: italic;
}

.mission-text h3 {
  color: #333;
  margin-bottom: 1.5rem;
}

.mission-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.mission-list li {
  padding: 0.75rem 0;
  color: #666;
  position: relative;
  padding-left: 2rem;
}

.mission-list li i {
  color: var(--color-primary);
  position: absolute;
  left: 0;
  top: 0.75rem;
}

.mission-image {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* Center vertically with the text column */
  margin-top: 0;
}

.mission-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-left: 100px;
}

/* Advantages Section */
.advantages-section {
  padding: 100px 0;
  background: #ffffff;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.advantage-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: #ffffff;
}

/* Testimonials page specific styling */
#testimonials.services-section {
  padding: 6rem 0 0 0;
}

.services-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.services-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

       .service-intro h3 {
         color: #2c3e50;
         font-size: 2.5rem;
         margin-bottom: 1.5rem;
       }

       .service-intro p {
         font-size: 1.3rem;
         line-height: 1.8;
         color: #555;
       }

.service-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

       .feature-content h4 {
         color: #2c3e50;
         margin-bottom: 0.5rem;
         font-size: 1.3rem;
       }

       .feature-content p {
         color: #666;
         font-size: 1.1rem;
         line-height: 1.6;
         margin-bottom: 0;
       }

.service-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  color: white;
}

       .service-cta h4 {
         color: white;
         margin-bottom: 1.5rem;
         font-size: 1.4rem;
       }

.service-cta .btn {
  background: white;
  color: var(--color-primary);
  font-weight: 600;
}

.service-cta .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.services-image {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* Offset images to start where the first paragraph begins (after the h3). 2.5rem * 1.2 (line-height) + 1.5rem margin */
  margin-top: calc(2.5rem * 1.2 + 1.5rem);
}

.services-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-image-top,
.service-image-main,
.service-image-bottom {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-left: 100px;
}

/* Updated Mission Section */
.mission-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pillar {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pillar-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

       .pillar h4 {
         color: #2c3e50;
         margin-bottom: 1rem;
         font-size: 1.4rem;
       }

       .pillar p {
         color: #666;
         font-size: 1.1rem;
         line-height: 1.6;
         margin-bottom: 0;
       }

/* Stats Section */
.stats-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* Approach Section */
.approach-section {
  padding: 100px 0;
  background: #ffffff;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.approach-step {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.approach-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Quality Section */
.quality-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.quality-item {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.quality-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.quality-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Partner Gallery */
.partner-gallery {
  padding: 0 0 4rem 0;
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 200px;
}

/* Create variety in gallery layout */
.gallery-item:nth-child(1),
.gallery-item:nth-child(6),
.gallery-item:nth-child(11),
.gallery-item:nth-child(16) {
  grid-column: span 2;
  grid-row: span 2;
  height: 300px;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(8),
.gallery-item:nth-child(13),
.gallery-item:nth-child(18) {
  grid-column: span 2;
  height: 200px;
}

.gallery-item:nth-child(5),
.gallery-item:nth-child(10),
.gallery-item:nth-child(15),
.gallery-item:nth-child(20) {
  grid-row: span 2;
  height: 300px;
}

.gallery-item:hover {
  transform: translateY(-3px); /* Reduced lift for lighter effect */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); /* Lighter shadow */
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease; /* Added filter transition for subtle brightness effect */
  display: block;
  margin: 0 auto;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.02); /* Reduced scale for subtler effect */
  filter: brightness(1.05); /* Subtle brightness increase */
}

.gallery-overlay {
  display: none; /* Hide the text overlay completely */
}

.gallery-item:hover .gallery-overlay {
  display: none; /* Ensure it stays hidden on hover */
}

.gallery-overlay h3 {
  display: none; /* Hide the heading */
}

.gallery-overlay p {
  display: none; /* Hide the paragraph */
}

/* Mobile Testimonials Slideshow */
.mobile-testimonials-slideshow {
  display: none; /* Hidden by default, shown only on mobile */
  margin-top: 2rem;
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-height: 300px;
}

.slideshow-track {
  display: flex;
  transition: transform 0.4s ease;
}

.slideshow-slide {
  min-width: 100%;
  position: relative;
  height: 300px;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
}

.slide-caption h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.slide-caption p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e9ecef;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.slideshow-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
  left: 12px;
}

.slideshow-next {
  right: 12px;
}

.slideshow-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slideshow-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow-dots button.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* Featured Testimonial */
.featured-testimonial {
  padding: 80px 0;
  background: #f8f9fa;
}

.featured-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.featured-content blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.featured-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.featured-author .author-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

.rating {
  color: #ffd700;
  margin-top: 0.5rem;
}

/* Video Testimonials */
.video-testimonials {
  padding: 100px 0;
  background: white;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.video-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.video-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.video-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: #333;
}

.video-card p {
  padding: 0 1.5rem 1.5rem;
  color: #666;
}

/* Share Story Section */
.share-story-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  color: white;
  text-align: center;
}

.share-story-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.share-story-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.share-story-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Info Section */
.contact-info-section {
  padding: 6rem 0;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

/* Contact Form Section */
.contact-form-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #666;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}

.checkbox-label a {
  color: var(--color-primary);
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Enhanced Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #f44336;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.form-group input:focus.error,
.form-group select:focus.error,
.form-group textarea:focus.error {
  border-color: #f44336;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

.field-error {
  color: #f44336;
  font-size: 0.875rem;
  margin-top: 5px;
  display: block;
  animation: fadeInError 0.3s ease;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form loading state */
.contact-form button[type="submit"]:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.contact-form button[type="submit"]:disabled:hover {
  background: #ccc;
  transform: none;
}

/* Form success state */
.form-group input.success,
.form-group select.success,
.form-group textarea.success {
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Enhanced form styling */
.contact-form {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.form-group input,
.form-group select,
.form-group textarea {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(107, 113, 146, 0.2);
  transform: translateY(-2px);
}

/* Add extra right padding to select dropdowns to move arrow away from edge */
.form-group select {
  padding-right: 4rem !important;
}

/* Submit button enhancement */
.contact-form button[type="submit"] {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.contact-form button[type="submit"]:hover::before {
  left: 100%;
}

/* Form row responsive improvements */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* FAQ Section */
.faq-section {
  background: #ffffff;
  padding: 48px 0 32px 0;
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
  overflow: visible;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.faq-item:hover {
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.10);
}

.faq-question {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 20px 28px 20px 28px;
  border-radius: 12px;
  margin-bottom: 0;
  transition: background 0.2s, color 0.2s;
  font-weight: 600;
  font-size: 1.15em;
  color: #1a237e;
  position: relative;
  z-index: 2;
  box-shadow: none;
}

.faq-question.open, .faq-question:hover {
  background: #e3eaff;
  color: #0d133d;
}

.faq-answer-row {
  display: table-row;
  width: 100%;
}

.faq-answer {
  display: none;
  padding: 0 28px 0 28px;
  background: linear-gradient(120deg, #fafdff 80%, #e3eaff 100%);
  border-radius: 0 0 12px 12px;
  font-size: 1.08em;
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Georgia', serif;
  font-style: italic;
  font-weight: 500;
  color: #3a2e5c;
  text-shadow: 0 1px 0 #fff, 0 1px 8px #e3eaff44;
  letter-spacing: 0.03em;
  word-spacing: 0.08em;
  line-height: 1.8;
  box-shadow: 0 2px 12px 0 rgba(76, 110, 245, 0.06);
  border-top: 1px solid #e3eaff;
  animation: fadeInFaq 0.35s cubic-bezier(.4,1.4,.6,1);
  margin-top: 0;
  margin-top: 0;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.faq-answer p {
  margin: 0;  /* removes default top/bottom margins */
}

@keyframes fadeInFaq {
  from { opacity: 0; transform: translateY(-12px);}
  to { opacity: 1; transform: translateY(0);}
}

.faq-question .fa-chevron-down {
  margin-left: 16px;
  font-size: 1.1em;
  color: #4b5cff;
  transition: transform 0.2s, color 0.2s;
}

.faq-question.open .fa-chevron-down {
  transform: rotate(180deg);
  color: #1a237e;
}

/* Social Section */
.social-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.social-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.social-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .mission-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .camps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .camp-card,
  .team-card,
  .value-card,
  .advantage-card,
  .stat-card,
  .approach-step,
  .quality-item,
  .contact-card,
  .social-card {
    padding: 1.5rem;
  }
}

/* Coming Soon Badge for Malta */
.coming-soon-badge {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(107, 113, 146, 0.3);
  animation: pulse 2s infinite;
}

.coming-soon-badge i {
  font-size: 1.2rem;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Camp Detail Content Enhancements */
.camp-detail-content h3 {
  color: #333;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.5rem;
}

.camp-detail-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.camp-detail-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.camp-detail-content p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #555;
}

.camp-detail-content strong {
  color: var(--color-primary);
  font-weight: 600;
  
  .mission-image {
    gap: 1rem;
  }
  
  .mission-image img {
    height: 200px;
  }
}

.team-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  margin-top: 3rem;
}

/* Ensure the main team image fills its column (override generic .team-image styles) */
.team-content .team-image {
  width: 100%;
  height: auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin-left: 0;
}

.team-content .team-image img {
  width: 100%;
  height: auto;
  display: block;
}

.team-description h3 {
  font-size: 2rem;
  text-align:center;
  color: #1a237e;
  margin-bottom: 1.5rem;
}

.team-description p {
  font-size: 1.2rem;
  text-align:center;
  line-height: 1.8;
  color: #555;
}

.team-main-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  object-position: center;
  margin-top: 20px;
  display: block;
}

/* Responsibilities Section */
.responsibilities-section {
  padding: 100px 0;
  background: #ffffff;
}

/* University Camp Detail Pages */
.camp-detail-content {
  padding: 6rem 0 60px 0;
}

.camp-detail-header p {
  color: white;
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.responsibilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.responsibility-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.responsibility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.responsibility-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.responsibility-card h3 {
  font-size: 1.4rem;
  color: #1a237e;
  margin-bottom: 1rem;
}

.responsibility-card p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* Responsive adjustments for team sections */
@media (max-width: 768px) {
  .team-content {
    gap: 1.5rem;
    text-align: center;
  }
  
  .team-description h3 {
    font-size: 1.8rem;
  }
  
  .team-description p {
    font-size: 1.1rem;
  }
  
  .team-main-image {
    height: 260px;
  }
  
  .responsibilities-grid {
    grid-template-columns: 1fr;
  }
  
  .responsibility-card {
    padding: 2rem;
  }
}

/* Features Section - New Layout */
.features-layout {
  margin-top: 0;
}

.top-image,
.bottom-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 3rem;
}

.top-image img,
.bottom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.features-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.features-column {
  display: flex;
  flex-direction: column;
}

.features-column .features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.features-column .feature-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.features-column .feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.features-column .feature-item i {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.features-column .feature-item h4 {
  color: var(--color-primary-700);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.features-column .feature-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments for new features layout */
@media (max-width: 1024px) {
  .features-two-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .top-image,
  .bottom-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .features-two-columns {
    gap: 1.5rem;
  }
  
  .top-image,
  .bottom-image {
    height: 200px;
    margin-bottom: 2rem;
  }
  
  .features-column .feature-item {
    padding: 1.25rem;
  }
}

/* Popup Modal */
.popup-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

.popup-content {
  position: relative;
  background-color: white;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.4s ease;
  overflow: hidden;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.popup-close:hover {
  color: #000;
  background: white;
  transform: scale(1.1);
}

.popup-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-text {
  padding: 2rem;
  text-align: center;
}

.popup-text h3 {
  color: #1a237e;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.popup-text p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.popup-text .btn {
  margin-top: 1rem;
}

.popup-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.popup-buttons .btn {
  margin-top: 0;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive adjustments for popup */
@media (max-width: 768px) {
  .popup-content {
    margin: 10% auto;
    width: 95%;
  }
  
  .popup-image {
    height: 200px;
  }
  
  .popup-text {
    padding: 1.5rem;
  }
  
  .popup-text h3 {
    font-size: 1.5rem;
  }
  
  .popup-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .popup-buttons .btn {
    width: 100%;
  }
}

/* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 55vh;
  min-height: 480px;
}

.slider {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.slider-arrow.prev {
  left: 30px;
}

.slider-arrow.next {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.slider-dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots button:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

.slider-dots button.active {
  background: white;
  border-color: white;
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Camp Gallery (Slider) */
.camp-gallery {
  margin-top: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}

.camp-gallery-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e9ecef;
}

.camp-gallery-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #333;
}

.camp-gallery-viewport {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.camp-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.camp-gallery-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.camp-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.camp-gallery .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid #e9ecef;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: var(--color-primary);
}

.camp-gallery .nav-btn:hover {
  background: #fff;
}

.camp-gallery .nav-prev { left: 12px; }
.camp-gallery .nav-next { right: 12px; }

.camp-gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.camp-gallery-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
}

.camp-gallery-dots button.active {
  background: var(--color-primary);
}

@media (max-width: 768px) {
  .camp-gallery-viewport { height: 280px; }
}

/* Lightbox for Gallery */
.camp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.camp-lightbox.open { display: flex; }

.camp-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.camp-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.camp-lightbox .lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.camp-lightbox .lb-prev { left: -64px; }
.camp-lightbox .lb-next { right: -64px; }

.camp-lightbox .lb-close {
  position: absolute;
  top: -56px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 768px) {
  .camp-lightbox .lb-prev { left: -44px; }
  .camp-lightbox .lb-next { right: -44px; }
}

/* Camps: remove gallery header bar and unify theme */
.camp-gallery-header { display: none; }

/* Force dedicated camp pages to use main theme color */
.camp-detail-header { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-600) 100%) !important; }
.camp-detail-body h3 { color: var(--color-primary) !important; }
.back-button:hover { background: var(--color-primary) !important; }

/* Modern Photo Section - Center photos vertically and horizontally */
.modern-photo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.modern-photo-section .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.modern-photo {
  width: 400px;
  height: 260px;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  object-fit: cover;
}

.modern-photo:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for modern photo section */
@media (max-width: 768px) {
  .modern-photo-section .container {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }
  
  .modern-photo {
    width: 100%;
    max-width: 480px;
    height: auto;
    aspect-ratio: 16/10;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  }

  .modern-photo:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    transform: none;
  }
}