/* =====================================================
   GLOBAL
===================================================== */

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #071e16, #0f5132);
  color: #fff;
  padding-top: 90px;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.loaded {
  opacity: 1;
}

/* Floating Light Background */
body::before {
  content: '';
  position: fixed;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  z-index: -1;
  background: radial-gradient(circle, rgba(0,255,157,0.15) 0%, transparent 70%);
  animation: floatLight 8s ease-in-out infinite alternate;
}

@keyframes floatLight {
  from { transform: translateY(0); }
  to   { transform: translateY(50px); }
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
  padding: 20px 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  will-change: padding, background;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(0,0,0,0.85) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
  font-size: 1.4rem;
  transition: 0.4s ease;
}

.navbar.scrolled .navbar-brand {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .navbar { padding: 15px 0; }
  .navbar.scrolled { padding: 8px 0; }
}

/* Animated Underline */
.navbar-nav .nav-link {
  position: relative;
  color: #fff !important;
  transition: 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00ff9d, #198754);
  box-shadow: 0 0 8px #00ff9d;
  transition: width 0.4s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}


/* =====================================================
   SECTION & HERO
===================================================== */

.hero,
.section {
  padding: 80px 0;
}

.hero-title {
  font-weight: 700;
  font-size: 3rem;
  background: linear-gradient(90deg, #00ff9d, #198754);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Slides */
.hero-slide,
.hero-2,
.hero-3,
.hero-4,
.hero-5 {
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-slide {
  background:
    linear-gradient(rgba(7,30,22,0.8), rgba(15,81,50,0.9)),
    url('img/hero-1.webp');
}

.hero-2 {
  background:
    linear-gradient(rgba(7,30,22,0.8), rgba(15,81,50,0.9)),
    url('img/hero-2.webp');
}

.hero-3 {
  background:
    linear-gradient(rgba(7,30,22,0.8), rgba(15,81,50,0.9)),
    url('img/hero-3.webp');
}

.hero-4 {
  background:
    linear-gradient(rgba(7,30,22,0.8), rgba(15,81,50,0.9)),
    url('img/hero-4.webp');
}

.hero-5 {
  background:
    linear-gradient(rgba(7,30,22,0.8), rgba(15,81,50,0.9)),
    url('img/hero-5.webp');
}

@media (max-width: 768px) {
.hero-slide,
.hero-2,
.hero-3,
.hero-4,
.hero-5 {
    min-height: 85vh;
    background-position: center top;
  }
}
.carousel-item {
  min-height: 100vh;
}

.hero-slide {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(2);
}


/* =====================================================
   GLASS CARD
===================================================== */

.glass {
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(15px);
  box-shadow: 0 0 25px rgba(0,255,157,0.1);
  transition: 0.4s;
}

.glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(0,255,157,0.25);
}


/* =====================================================
   GALLERY
===================================================== */

.gallery img {
  border-radius: 20px;
  cursor: pointer;
  transition: 0.4s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0,255,157,0.5);
}


/* =====================================================
   STATISTIC
===================================================== */

.stat-card {
  position: relative;
  text-align: center;
}

.progress-ring {
  transform: rotate(-90deg);
}

.ring-bg,
.ring-progress {
  fill: none;
  stroke-width: 10;
}

.ring-bg {
  stroke: rgba(255,255,255,0.1);
}

.ring-progress {
  stroke: #00ff9d;
  stroke-dasharray: 377; /* 2πr = 2 × 3.14 × 60 */
  stroke-dashoffset: 377;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.8s ease;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 150px;
  height: 150px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,157,0.25) 0%, transparent 70%);
  z-index: -1;
}

.counter {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #00ff9d, #198754);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* =====================================================
   REVEAL ANIMATION
===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}


/* =====================================================
   TIMELINE
===================================================== */

.timeline-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 25px;
  border-left: 3px solid #00ff9d;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 5px;
  left: -7px;
  width: 12px;
  height: 12px;
  background: #00ff9d;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff9d;
}


/* =====================================================
   PARTICLES
===================================================== */

#particles-js {
  position: fixed;
  inset: 0;
  z-index: -1;
}


/* =====================================================
   LOADER
===================================================== */

#loader-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #071e16;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s;
}

#loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.logo-animate span {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 4px;
  background: linear-gradient(90deg, #00ff9d, #198754);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowText 2s ease-in-out infinite alternate;
}

@keyframes glowText {
  from { filter: drop-shadow(0 0 5px #00ff9d); }
  to   { filter: drop-shadow(0 0 20px #00ff9d); }
}

.loading-bar {
  width: 250px;
  height: 4px;
  margin: 20px auto;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
}

.loading-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #00ff9d, #198754);
  animation: loadingAnim 2.5s ease forwards;
}

@keyframes loadingAnim {
  from { width: 0%; }
  to   { width: 100%; }
}


/* =====================================================
   PAGE TRANSITION
===================================================== */

#page-transition {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  z-index: 9998;
  background: linear-gradient(135deg, #071e16, #0f5132);
  transition: left 0.6s ease;
}

#page-transition.active {
  left: 0;
}


/* =====================================================
   PREMIUM FOOTER
===================================================== */

.footer-premium {
  background: linear-gradient(135deg, #051a14, #0c3f2b);
  position: relative;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #00ff9d;
  padding-left: 5px;
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
}


/* ===============================
   WHATSAPP FLOATING BUTTON
================================= */

.wa-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #00ff9d, #198754);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 0 15px rgba(0,255,157,0.5);
  transition: 0.3s ease;
  animation: waPulse 2s infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0,255,157,0.8);
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0,255,157,0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0,255,157,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0,255,157,0);
  }
}


.about-logo {
  width: 320px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(0,255,157,0.6));
}
@media (max-width: 768px) {
  .about-logo {
    width: 90px;
  }
}
