body {
    font-family: 'Inter', sans-serif;
    background-color: #222222; /* slate-50 */
    scroll-behavior: smooth;
}

/* Satisfy font definition */
@font-face {
    font-family: 'Satisfy';
    src: url('./Satisfy-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}

/* Satisfy font for tracking-wide class with sentence case styling */
.tracking-wide {
    font-family: 'Satisfy', cursive;
    /* text-transform: lowercase; */
}

/* .tracking-wide::first-letter {
    text-transform: uppercase;
} */

/* Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Button transition */
.btn-transition {
    transition: all 0.3s ease;
}

.btn-transition:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Programs Section Scroll Indicators - Visible only on small devices */
.scroll-btn {
    background: #19c206;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(25, 194, 6, 0.3);
}

.scroll-btn:hover {
    background: #16a805;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(25, 194, 6, 0.4);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-btn svg {
    width: 20px;
    height: 20px;
}

/* Dots indicator */
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.dot:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.dot.active {
    background: #19c206;
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(25, 194, 6, 0.4);
}

/* Hide scroll indicators on large screens (1024px and above) */
@media (min-width: 1024px) {
    .scroll-btn,
    #program-dots {
        display: none !important;
    }
}

.cta-button {
    transition: all 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.sticky-nav-wrapper {
    /* not sticky anymore — this wrapper creates the top 'cover' area */
    position: relative;
    width: 100%;
    top: 0;
    z-index: 50;
    /* subtle gradient header background for depth */
    background: linear-gradient(180deg, rgba(6, 95, 70, 0.06), rgba(255,255,255,0));
    padding: 0.1rem 0 3rem; 
    pointer-events: auto;
  }
  
  /* The curved container that visually sits on top of the header area */
  .curved-nav {
    position: relative;
    width: 100%;
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    background-color: rgb(255, 255, 255);
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 10px;
    padding-top: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
  }



.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    border: none;
    object-fit: cover;
    pointer-events: none; /* Disable interaction with video */
}

/* Hide YouTube branding and controls overlay */
.hero-video-iframe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}
.swiper-slide {
    background: transparent; /* Slides are transparent to show video */
}
.swiper-pagination-bullet-active {
    background-color: #ffffff !important; /* White for better visibility on video */
}
.swiper-pagination-bullet {
    background-color: rgba(255,255,255,0.5);
}
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
/* Scroll indicator styling */
.scroll-indicator {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}
.scroll-indicator:hover {
    transform: scale(1.1);
    opacity: 0.8;
}
.scroll-gif {
    width: 60px;
    height: 60px;
    /* filter: brightness(0) invert(1); Makes the gif white for visibility on video background */
}
@media (max-width: 768px) {
    .scroll-gif {
        width: 50px;
        height: 50px;
    }
}
/* Tournament Slider Styling */
.tournament-bg {
    background: linear-gradient(to bottom, white 0%, #e2e2e2 60%, #c8c8c8 100%) !important;
}
.tournament-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: #f8fafc;
}
.tournament-swiper {
    width: 100%;
    height: 100%;
}
.tournament-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}
.tournament-swiper .swiper-slide img {
    transition: transform 0.6s ease;
}
.tournament-swiper .swiper-slide img:hover {
    transform: scale(1.03);
}
.tournament-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.tournament-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.tournament-pagination .swiper-pagination-bullet-active {
    background: #10b981;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}
@media (max-width: 768px) {
    .tournament-slider-container {
        min-height: 300px;
    }
    .tournament-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
}
/* Hero section full viewport height */
.hero-full-height {
    height: 100vh;
    min-height: 100vh;
}

/* Fix for mobile viewport height issues */
@supports (-webkit-touch-callout: none) {
    .hero-full-height {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }
}

/* Fallback for older browsers and ensure minimum height */
@media screen and (max-height: 600px) {
    .hero-full-height {
        min-height: 600px;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .curved-nav {
      width: 100%;
      top: 0px;
    }
  }
  
  @media (max-width: 768px) {
    .sticky-nav-wrapper {
      padding: 0rem 0 2rem;
    }
  
    .curved-nav {
      width: 100%;
      top: 0px; 
      padding: 0.4rem;
    }
  
    /* make mobile menu container sit inside the curved nav flow */
    .curved-nav .w-full.mx-auto.px-6.py-3 {
      padding-left: 0.75rem;
      padding-right: 0.75rem;
    }
  }

/* Improved section spacing and structure */
.section-padding {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

/* Partners section styles */
.partners-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-scroll {
    display: flex;
    gap: 3rem;
    padding: 0 2rem;
    width: max-content;
    animation: scroll-partners 30s linear infinite;
}

/* .partners-scroll:hover {
    animation-play-state: paused;
} */

.partners-logo {
    height: 80px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partners-logo:hover {
    filter: grayscale(100%);
    opacity: 1;
    transform: scale(1.05);
}

/* Auto-scroll animation */
@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Hide scrollbar completely for auto-scrolling */
.partners-container::-webkit-scrollbar {
    display: none;
}

.partners-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Ensure proper spacing for 5 logos visible */
@media (min-width: 768px) {
    .partners-container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .partners-scroll {
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    .partners-logo {
        height: 60px;
    }
    
    .partners-scroll {
        gap: 2rem;
    }
}

/* Custom scrollbar for carousel */
.carousel-container::-webkit-scrollbar {
    height: 8px;
}

.carousel-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.carousel-container::-webkit-scrollbar-thumb {
    background-color: #19c206;
    border-radius: 10px;
}

/* NGO Objectives Section */
.objectives-section {
    min-height: 100vh;
    display: block; /* FIXED: was flex (broke swiper transitions) */
    position: relative;
    overflow: hidden;
  }
  
  .objectives-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.782)), 
                      url('https://placehold.co/1200x400/374151/9CA3AF?text=ACPSEA');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  
  .objectives-section .container {
    position: relative;
    z-index: 2;
  }
  
  .objectives-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .objectives-slider .swiper-wrapper {
    display: flex;
  }
  
  .objectives-slider .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .objectives-item {
    display: flex;
    align-items: center;
    min-height: 500px;
  }
  
  .objectives-item.row {
    margin-left: 0;
    margin-right: 0; /* FIXED Bootstrap margin conflict */
  }
  
  .objectives-item img {
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
  }
  
  .objectives-list {
    list-style: none;
    padding: 0;
  }
  
  .objectives-list li {
    display: flex;
    align-items: flex-start;
    /* margin-bottom: 1rem; */
    font-size: 1rem;
    line-height: 3rem;
  }
  
  .objectives-list li i {
    font-size: 1.2rem;
    flex-shrink: 0;
    /* margin-right: 0.5rem; */
  }
  
  .objectives-pagination .swiper-pagination-bullet {
    background: rgba(39, 255, 1, 0.574);
    opacity: 1;
    width: 6px;
    height: 6px;
    margin: 0 6px;
    transition: all 0.3s ease;
  }
  
  .objectives-pagination .swiper-pagination-bullet-active {
    background: #19c206;
    transform: scale(1.3);
  }
  
  @media (max-width: 768px) {
    .objectives-section {
      padding: 3rem 0;
      min-height: auto;
    }
  
    .objectives-item {
      flex-direction: column;
      min-height: auto;
    }
  
    .objectives-item img {
      height: 250px;
      margin-bottom: 2rem;
    }
  
    .objectives-bg {
      background-attachment: scroll;
    }

    .objectives-list, li {
       
        font-size: 0.6rem;
        /* line-height: 2rem; */
      }
  }

/* Operations Section - Similar to Objectives but Independent */
.operations-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.operations-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.782)), 
                    url('https://placehold.co/1200x400/374151/9CA3AF?text=ACPSEA');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.operations-section .container {
  position: relative;
  z-index: 2;
}

.operations-list {
  list-style: none;
  padding: 0;
}

.operations-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6rem;
}

.operations-list li i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .operations-section {
    padding: 3rem 0;
  }

  .operations-bg {
    background-attachment: scroll;
  }

  .operations-list li {
    font-size: 0.9rem;
    line-height: 1.5rem;
    margin-bottom: 0.875rem;
  }
}

  
  