/* About Section Styles */
.org-intro {
  padding: 80px 5%;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* Text Content */
.intro-text {
  flex: 1;
  min-width: 300px;
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 1s ease-out forwards;
}

.intro-text h2 {
  font-size: 2.0rem;
  color: #000000;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 600;
}



.intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 30px;
  text-align: justify;
}

/* Button */
.intro-btn {
  display: inline-block;
  padding: 14px 35px;
  background: #DAC0A3;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid #DAC0A3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.intro-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transition: all 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.intro-btn:hover {
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(218, 192, 163, 0.3);
}

.intro-btn:hover::before {
  left: 0;
}

.intro-btn:active {
  transform: translateY(-1px);
}

/* Image */
.intro-image {
  flex: 1;
  min-width: 300px;
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 1s ease-out forwards;
  animation-delay: 0.3s;
}

.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  transform: perspective(1000px) rotateY(0deg);
}

.intro-image:hover img {
  transform: perspective(1000px) rotateY(-5deg) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .intro-container {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }
  
  .intro-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .intro-text p {
    text-align: center;
  }
  
  .intro-image {
    order: -1;
  }
  
  .intro-image img {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .org-intro {
    padding: 60px 4%;
  }
  
  .intro-text h2 {
    font-size: 2rem;
  }
  
  .intro-text p {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .intro-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .org-intro {
    padding: 50px 3%;
  }
  
  .intro-text h2 {
    font-size: 1.8rem;
  }
  
  .intro-text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .intro-btn {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
  
  .intro-image img {
    max-width: 300px;
  }
}

/* Optional: Add decorative elements */
.org-intro::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  background: rgba(218, 192, 163, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.org-intro::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 160px;
  height: 160px;
  background: rgba(218, 192, 163, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.intro-container > * {
  position: relative;
  z-index: 1;
}








/* Join Community Section Styles */
.join-community {
  padding: 80px 5%;
  background: #FFFFFF; /* Light beige background */
  position: relative;
  overflow: hidden;
}

.join-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* Image */
.join-image {
  flex: 1;
  min-width: 300px;
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 1s ease-out forwards;
}

.join-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.join-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Text Content */
.join-text {
  flex: 1;
  min-width: 300px;
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 1s ease-out forwards;
}

.join-text h2 {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 700;
}


.join-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 30px;
  text-align: justify;
}

/* Join Button */
.join-btn {
  display: inline-block;
  padding: 14px 35px;
  background: #DAC0A3;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  
  transition: all 0.3s ease;
}

.join-btn:hover {
  background: #DAC0A3;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.join-btn:active {
  transform: translateY(-1px);
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .join-container {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }
  
  .join-text h2::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  
  .join-text p {
    text-align: center;
  }
  
  .join-image {
    order: -1;
  }
  
  .join-image img {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .join-community {
    padding: 60px 4%;
  }
  
  .join-text h2 {
    font-size: 2rem;
  }
  
  .join-text p {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .join-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .join-community {
    padding: 50px 3%;
  }
  
  .join-text h2 {
    font-size: 1.8rem;
  }
  
  .join-text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .join-btn {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
  
  .join-image img {
    max-width: 300px;
  }
}















/* Gallery Sections Container */
.gallery-sections {
  padding: 80px 5%;
  background: #F8F5F0;
  position: relative;
}

/* Single Carousel Section */
.single-carousel-section {
  margin-bottom: 10px;
}

.single-carousel-section:last-child {
  margin-bottom: 0;
}

/* Section Header */
.single-carousel-section .section-header {
  text-align: center;
  margin-bottom: 20px;
}

.single-carousel-section .section-header h3 {
  font-size: 2.5rem;
  color: #000000;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

/* Continuous Carousel Container */
.continuous-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 20px 0;
}

/* Carousel Track */
.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

/* Reverse Carousel Track */
.continuous-carousel.reverse .carousel-track {
  animation: scroll-reverse 40s linear infinite;
}

/* Pause animation on hover */
.continuous-carousel:hover .carousel-track,
.continuous-carousel.reverse:hover .carousel-track {
  animation-play-state: paused;
}

/* Carousel Slide */
.carousel-slide {
  flex: 0 0 auto;
  width: 280px;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-slide:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.carousel-slide:hover img {
  transform: scale(1.1);
}

/* Animations */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-280px * 8 - 20px * 8));
  }
}

@keyframes scroll-reverse {
  0% {
    transform: translateX(calc(-280px * 8 - 20px * 8));
  }
  100% {
    transform: translateX(0);
  }
}


/* Responsive Design */
@media (max-width: 1200px) {
  .carousel-slide {
    width: 250px;
    height: 180px;
  }
  
  @keyframes scroll {
    100% {
      transform: translateX(calc(-250px * 8 - 20px * 8));
    }
  }
  
  @keyframes scroll-reverse {
    0% {
      transform: translateX(calc(-250px * 8 - 20px * 8));
    }
  }
}

@media (max-width: 992px) {
  .carousel-slide {
    width: 220px;
    height: 160px;
  }
  
  @keyframes scroll {
    100% {
      transform: translateX(calc(-220px * 8 - 20px * 8));
    }
  }
  
  @keyframes scroll-reverse {
    0% {
      transform: translateX(calc(-220px * 8 - 20px * 8));
    }
  }
}

@media (max-width: 768px) {
  .gallery-sections {
    padding: 60px 4%;
  }
  
  .single-carousel-section {
    margin-bottom: 20px;
  }
  
  .single-carousel-section .section-header h2 {
    font-size: 2rem;
  }
  
  .carousel-slide {
    width: 200px;
    height: 175px;
  }
  
  @keyframes scroll {
    100% {
      transform: translateX(calc(-200px * 8 - 20px * 8));
    }
  }
  
  @keyframes scroll-reverse {
    0% {
      transform: translateX(calc(-200px * 8 - 20px * 8));
    }
  }
  
  .gallery-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .carousel-slide {
    width: 180px;
    height: 130px;
  }
  
  @keyframes scroll {
    100% {
      transform: translateX(calc(-180px * 8 - 20px * 8));
    }
  }
  
  @keyframes scroll-reverse {
    0% {
      transform: translateX(calc(-180px * 8 - 20px * 8));
    }
  }
}

@media (max-width: 480px) {
  .gallery-sections {
    padding: 50px 3%;
  }
  
  .single-carousel-section {
    margin-bottom: 50px;
  }
  
  .single-carousel-section .section-header h2 {
    font-size: 1.8rem;
  }
  
  .carousel-slide {
    width: 160px;
    height: 120px;
  }
  
  @keyframes scroll {
    100% {
      transform: translateX(calc(-160px * 8 - 20px * 8));
    }
  }
  
  @keyframes scroll-reverse {
    0% {
      transform: translateX(calc(-160px * 8 - 20px * 8));
    }
  }
  
  .gallery-btn {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

/* Lightbox stays the same */

















/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  width: 90%;
  height: 90%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Lightbox Close Button */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: #DAC0A3;
  color: #000000;
  transform: rotate(90deg);
}

/* Lightbox Navigation Buttons */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-nav:hover {
  background: #DAC0A3;
  color: #000000;
  transform: translateY(-50%) scale(1.1);
}

.prev-lightbox {
  left: 20px;
}

.next-lightbox {
  right: 20px;
}

/* Lightbox Image Container */
.lightbox-image-container {
  position: relative;
  width: 100%;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Lightbox Title */
.lightbox-title {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  font-size: 1.5rem;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  margin-top: 20px;
}

/* Lightbox Counter */
.lightbox-counter {
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Lightbox Thumbnails */
.lightbox-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  padding: 10px;
  overflow-x: auto;
  max-width: 100%;
}

.lightbox-thumbnail {
  width: 80px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.lightbox-thumbnail:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.lightbox-thumbnail.active {
  opacity: 1;
  border: 2px solid #DAC0A3;
  transform: scale(1.05);
}

.lightbox-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
  .lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .lightbox-close {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .lightbox-title {
    font-size: 1.2rem;
    bottom: -40px;
  }
  
  .lightbox-thumbnail {
    width: 60px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .lightbox-close {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    top: 10px;
    right: 10px;
  }
  
  .lightbox-title {
    font-size: 1rem;
    padding: 10px;
    bottom: -35px;
  }
  
  .lightbox-counter {
    font-size: 1rem;
    top: -30px;
  }
}







/* POPUP WRAPPER */
/* POPUP WRAPPER */
.image-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  pointer-events: none;
}

.image-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

/* DARK OVERLAY */
.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
  z-index: 1;
}

/* POPUP CONTENT */
.popup-content {
  position: relative;
  width: 520px;
  max-width: 90%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  z-index: 2;
  animation: popupFade 0.35s ease;
}

/* IMAGE */
.popup-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CLOSE BUTTON */
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: #DAC0A3;
  color: #000;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  z-index: 3;
}

/* LOCK SCROLL */
body.popup-open {
  overflow: hidden;
}

/* FADE ANIMATION */
@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .popup-content {
    width: 90%;
  }
}
