/* Global Styles - Optimized Typography System */
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  background: #0f0f0f;
  color: #f5f5f5;
  overflow-x: hidden;
  /* Added standardized line height and letter spacing */
  line-height: 1.5;
  letter-spacing: 0.3px;
}

/* Create unified heading hierarchy with consistent scaling */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bebas Neue", cursive;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  font-family: "Poppins", sans-serif;
  /* Optimized body text line height */
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Create text size utility classes */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.4;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.5;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.4;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.9);
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.5rem; /* sebelumnya 1rem 2rem */
}

.logo {
  font-size: 2rem;
  color: #ff5e00;
}

.logo-img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1);
}

/* ... existing hamburger menu styles ... */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 101;
  background: none;
  border: none;
  padding: 8px;
  margin: 0;
  gap: 5px;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger:focus {
  outline: 2px solid #00ffff;
  outline-offset: 2px;
  border-radius: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #f5f5f5;
  transition: all 0.3s ease;
  border-radius: 2px;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  list-style: none;
  display: flex;
}

nav ul li a {
  color: #f5f5f5;
  margin: 0 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
  /* Added subtle letter spacing to nav links */
  letter-spacing: 0.02em;
  font-size: 1rem;
  font-weight: 500;
}

nav ul li a:hover {
  color: #00ffff;
}

/* Hero */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  padding: 0 2rem;
}

.hero-title {
  font-size: 4rem;
  color: #ffffff;
  text-shadow: 0 0 20px #ffffff;
  margin: 0;
  line-height: 1.2;
  /* Added letter spacing to hero title */
  letter-spacing: 0.08em;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin: 1rem 0;
  color: #e0e0e0;
  /* Optimized subtitle styling */
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
  font-size: 1rem;
  font-weight: 600;
  /* Added letter spacing to buttons */
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.primary {
  background: #ff5e00;
  color: #0f0f0f;
}

.secondary {
  border: 2px solid #00ffff;
  color: #00ffff;
  background: transparent;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ff5e00;
}

.secondary:hover {
  background: #00ffff;
  color: #0f0f0f;
  box-shadow: 0 0 15px #00ffff;
}

.lens-flare {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 94, 0, 0.5) 0%, transparent 70%);
  animation: flare 3s infinite;
}

@keyframes flare {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* Enhanced section padding with smoother responsive transitions */
section {
  padding: 5rem 2rem;
  min-height: 50vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  color: #00ffff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  margin-bottom: 2rem;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  color: #e0e0e0;
  text-align: center;
  /* Improved typography for readability */
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Improved grid gaps for better spacing consistency */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-box {
  background: rgba(255, 94, 0, 0.1);
  border: 2px solid #ff5e00;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-box:hover {
  background: rgba(255, 94, 0, 0.2);
  box-shadow: 0 0 20px rgba(255, 94, 0, 0.3);
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2.5rem;
  color: #ff5e00;
  margin-bottom: 1rem;
}

.stat-box h3 {
  font-size: 1.3rem;
  color: #ff5e00;
  margin: 0.5rem 0;
}

.stat-number {
  font-size: 2.5rem;
  color: #00ffff;
  font-weight: 700;
  margin: 0.5rem 0;
}

.counter {
  font-family: "Bebas Neue", cursive;
  font-size: inherit;
}

.stat-box p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #b0b0b0;
  margin: 0.5rem 0 0 0;
}

.services-section {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 2px solid rgba(0, 255, 255, 0.3);
}

.services-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #00ffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-card {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 94, 0, 0.1) 100%);
  border: 2px solid #00ffff;
  padding: 1.2rem 1rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.service-card:hover {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(255, 94, 0, 0.2) 100%);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 2rem;
  color: #00ffff;
  margin: 0;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.photos {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.photos img {
  max-width: 450px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.photos img:hover {
  box-shadow: 0 0 20px rgba(255, 187, 0, 0.3);
  transform: scale(1.02);
}

.member {
  flex: 0 0 280px;
  scroll-snap-align: start;
  flex-shrink: 0;
  text-align: center;
  background: rgba(15, 15, 15, 0.8);
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.member:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffff;
}

.member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #ff5e00;
}

.member h3 {
  margin: 0.5rem 0 0.25rem 0;
  font-size: 1.1rem;
}

.member p {
  font-size: 0.875rem;
  margin: 0.25rem 0;
  color: #ccc;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.socials a {
  color: #f5f5f5;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.socials a:hover {
  color: #00ffff;
  transform: scale(1.3);
  text-shadow: 0 0 10px #00ffff;
}

.project {
  flex: 0 0 280px;
  scroll-snap-align: start;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  background: rgba(30, 30, 30, 0.9);
}

.project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project:hover img {
  transform: scale(1.05);
}

.project h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  padding: 0 1rem;
}

.project p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  color: #a0a0a0;
  padding: 0 1rem;
}

.view-btn {
  display: inline-block;
  margin: 0 1rem 1rem 1rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid #00ffff;
  color: #00ffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.view-btn:hover {
  background: #00ffff;
  color: #0f0f0f;
  box-shadow: 0 0 15px #00ffff;
  transform: translateY(-2px);
}

.news {
  background: #0f0f0f;
  padding: 5rem 2rem;
}

.post {
  flex: 0 0 280px;
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.post:hover {
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  transform: translateY(-5px);
}

.post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.post h3 {
  font-size: 1.2rem;
  color: #ff5e00;
  padding: 1rem 1rem 0 1rem;
  margin: 0;
  flex-grow: 0;
}

.post-date {
  font-size: 0.875rem;
  color: #999;
  padding: 0.5rem 1rem 0 1rem;
  margin: 0;
}

.post p {
  padding: 0.5rem 1rem;
  color: #ccc;
  flex-grow: 1;
  font-size: 0.95rem;
}

.btn-read-more {
  display: inline-block;
  margin: 0 1rem 1rem 1rem;
  padding: 0.7rem 1.5rem;
  background: transparent;
  border: 2px solid #00ffff;
  color: #00ffff;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  z-index: 15;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-read-more:hover {
  background: #00ffff;
  color: #0f0f0f;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.join {
  background: linear-gradient(135deg, rgba(15, 15, 15, 1) 0%, rgba(26, 26, 26, 0.95) 100%);
  padding: 6rem 2rem;
  border-top: 2px solid rgba(0, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 94, 0, 0.2);
}

.join-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.join h2 {
  font-size: 3rem;
  color: #00ffff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  margin-bottom: 1rem;
}

.join-tagline {
  font-size: 1.3rem;
  color: #f5f5f5;
  font-style: italic;
  margin: 1rem 0;
}

.join-description {
  font-size: 1rem;
  color: #ccc;
  margin: 2rem 0 3rem 0;
}

.btn-join {
  display: inline-block;
  padding: 1rem 3rem;
  background: #ff5e00;
  color: #0f0f0f;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-join:hover {
  background: #e54700;
  box-shadow: 0 0 30px rgba(255, 94, 0, 0.5);
  transform: scale(1.05);
}

.contact {
  background: #0f0f0f;
  padding: 5rem 2rem;
}

.contact h2 {
  font-size: 2.5rem;
  color: #00ffff;
  text-align: center;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  margin-bottom: 1rem;
}

.contact > .container > p {
  text-align: center;
  color: #ccc;
  margin-bottom: 3rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item h4 {
  font-size: 1.2rem;
  color: #ff5e00;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: #ccc;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 2px solid #00ffff;
  border-radius: 50%;
  color: #00ffff;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.5rem;
}

.social-icon:hover {
  background: #00ffff;
  color: #0f0f0f;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  transform: scale(1.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-input {
  padding: 1rem;
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  color: #f5f5f5;
  border-radius: 4px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: #777;
}

.form-input:focus {
  outline: none;
  border-color: #00ffff;
  background: rgba(30, 30, 30, 0.95);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3), inset 0 0 10px rgba(0, 255, 255, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.btn-send {
  padding: 1rem;
  background: #ff5e00;
  color: #0f0f0f;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-send:hover {
  background: #e54700;
  box-shadow: 0 0 20px rgba(255, 94, 0, 0.5);
  transform: scale(1.02);
}

footer {
  background: #0a0a0a;
  border-top: 2px solid rgba(0, 255, 255, 0.2);
  padding: 1.5rem 2rem 1rem 2rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
  flex-wrap: wrap;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-logo-img {
  height: 35px;
  width: auto;
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.1);
}

.footer-logo span {
  font-size: 0.9rem;
  color: #999;
}

.footer-socials-section {
  display: flex;
  align-items: center;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 2px solid #00ffff;
  border-radius: 50%;
  color: #00ffff;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.1rem;
}

.footer-social-icon:hover {
  background: #00ffff;
  color: #0f0f0f;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 0;
}

.footer-bottom p {
  color: #777;
  font-size: 0.85rem;
  margin: 0;
}

/* Fixed carousel container with better button alignment and spacing */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  width: 100%;
  justify-content: center;
}

.carousel-wrapper {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  flex: 1;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.carousel-wrapper::-webkit-scrollbar {
  height: 6px;
}

.carousel-wrapper::-webkit-scrollbar-track {
  background: rgba(0, 255, 255, 0.1);
  border-radius: 10px;
}

.carousel-wrapper::-webkit-scrollbar-thumb {
  background: #00ffff;
  border-radius: 10px;
}

/* Improved carousel button styling and removed conflicting margins */
.carousel-btn {
  background: transparent;
  border: 2px solid #00ffff;
  color: #00ffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 20;
  position: relative;
  padding: 0;
  margin: 0;
}

.carousel-btn:hover {
  background: #00ffff;
  color: #0f0f0f;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  transform: scale(1.1);
}

.carousel-btn:focus {
  outline: 2px solid rgba(0, 255, 255, 0.5);
  outline-offset: 2px;
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-btn i {
  font-size: 1.2rem;
}

.carousel-btn.prev {
  margin-right: 0;
}

.carousel-btn.next {
  margin-left: 0;
}

/* Music Player */
.music-player {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1.5px solid #404040;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  font-size: 1.3rem;
  color: #a0a0a0;
}

.music-player:hover {
  background: #242424;
  border-color: #505050;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.music-player.playing {
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  }
}

/* Comprehensive responsive media queries */

/* Ultra-wide screens (1920px and above) */
@media (min-width: 1920px) {
  section {
    padding: 6rem 4rem;
  }

  .carousel-wrapper {
    gap: 2rem;
  }

  .stats-grid,
  .services-grid {
    gap: 2.5rem;
  }
}

/* Large desktop (1200px - 1919px) */
@media (max-width: 1919px) and (min-width: 1200px) {
  section {
    padding: 5.5rem 3rem;
  }

  .carousel-wrapper {
    gap: 1.75rem;
  }

  .stats-grid,
  .services-grid {
    gap: 2rem;
  }
}

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
  .container {
    padding: 0 1.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    gap: 2rem;
  }

  nav ul li a {
    margin: 0 0.75rem;
    font-size: 0.95rem;
  }
}

/* Large Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  section {
    padding: 4rem 1.5rem;
  }

  .overlay {
    padding: 0 1.5rem;
  }

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

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .buttons {
    gap: 0.75rem;
  }

  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-box {
    padding: 1.5rem;
  }

  .stat-icon {
    font-size: 2rem;
  }

  .stat-box h3 {
    font-size: 1.1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-card {
    padding: 1rem;
    min-height: 90px;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }

  .photos img {
    max-width: 350px;
  }

  .join h2 {
    font-size: 2.5rem;
  }

  .contact h2 {
    font-size: 2rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn i {
    font-size: 1rem;
  }

  .member {
    flex: 0 0 240px;
  }

  .member img {
    width: 120px;
    height: 120px;
  }

  .member h3 {
    font-size: 1rem;
  }

  .project {
    flex: 0 0 240px;
  }

  .post {
    flex: 0 0 240px;
  }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
  section {
    padding: 3rem 1rem;
  }

  .container {
    padding: 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(15, 15, 15, 0.98);
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
  }

  .nav-menu.active {
    max-height: 100vh;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
  }

  .nav-menu li {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    animation: slideInMenu 0.3s ease forwards;
  }

  .nav-menu.active li {
    animation: slideInMenu 0.4s ease forwards;
  }

  .nav-menu li:nth-child(1) {
    animation-delay: 0.05s;
  }
  .nav-menu li:nth-child(2) {
    animation-delay: 0.1s;
  }
  .nav-menu li:nth-child(3) {
    animation-delay: 0.15s;
  }
  .nav-menu li:nth-child(4) {
    animation-delay: 0.2s;
  }
  .nav-menu li:nth-child(5) {
    animation-delay: 0.25s;
  }
  .nav-menu li:nth-child(6) {
    animation-delay: 0.3s;
  }

  @keyframes slideInMenu {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav ul li a {
    margin: 0;
    display: block;
    font-size: 1.1rem;
    color: #f5f5f5;
  }

  nav ul li a:hover {
    color: #00ffff;
  }

  .hero {
    height: 80vh;
    margin-top: 60px;
  }

   .overlay {
    top: 48%;
    left: 50%;
    transform: translate(-50%, -48%);
  }

  .hero-title {
    font-size: 2,2rem;
    text-shadow: 0 0 15px #ffffff;
    white-space: nowrap;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 90%;
    margin: 0.8rem auto;
  }

  .buttons .btn {
    width: auto;
    min-width: 180px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    text-align: center;
  }

  .buttons .primary {
    background: #ff5e00;
  }

  .buttons .primary {
    background: #ff5e00;
  }

  .buttons .secondary {
    border: 2px solid #00ffff;
  }

  .about-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-box {
    padding: 1.2rem;
  }

  .stat-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .stat-box h3 {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-box p {
    font-size: 0.75rem;
  }

  .services-section h2 {
    font-size: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1rem;
    min-height: 80px;
  }

  .service-card h3 {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .photos {
    gap: 0.5rem;
  }

  .photos img {
    max-width: 100%;
    max-height: 300px;
  }

  .join h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }

  .join-tagline {
    font-size: 1.1rem;
  }

  .join-description {
    font-size: 0.9rem;
    margin: 1.5rem 0 2rem 0;
  }

  .contact h2 {
    font-size: 1.5rem;
  }

  .contact > .container > p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info-item h4 {
    font-size: 1rem;
  }

  .info-item p {
    font-size: 0.9rem;
  }

  .social-icons {
    gap: 1rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .contact-form {
    gap: 1rem;
  }

  .form-input {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  textarea.form-input {
    min-height: 100px;
  }

  .btn-send {
    padding: 0.75rem;
    font-size: 1rem;
  }

  .carousel-container {
    gap: 0;
    margin: 1.5rem 0;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    display: none;
  }

  .carousel-wrapper {
    gap: 1rem;
    padding: 0.75rem 0;
  }

  .member {
    flex: 0 0 160px;
    padding: 1rem;
  }

  .member img {
    width: 100px;
    height: 100px;
  }

  .member h3 {
    font-size: 0.9rem;
  }

  .member p {
    font-size: 0.75rem;
  }

  .socials {
    gap: 1rem;
  }

  .socials a {
    font-size: 1rem;
    width: 32px;
    height: 32px;
  }

  .project {
    flex: 0 0 70%;
    max-width: 70%;
    margin: 0 auto;
    border-radius: 12px;
  }

  .project img {
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  }

  .project h3 {
    font-size: 0.95rem;
    text-align: center;
    margin: 0.75rem 0 0.25rem;
  }

  .project p {
    font-size: 0.8rem;
    line-height: 1.4;
    padding: 0 0.75rem;
    max-height: 3.2em; /* batasi 2 baris */
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .view-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    margin: 0.75rem auto 1rem;
    display: block;
  }

  .post {
    flex: 0 0 160px;
  }

  .post h3 {
    font-size: 0.95rem;
    padding: 0.75rem 0.75rem 0 0.75rem;
  }

  .post-date {
    padding: 0.25rem 0.75rem 0 0.75rem;
    font-size: 0.75rem;
  }

  .post p {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .btn-read-more {
    margin: 0 0.75rem 0.75rem 0.75rem;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .footer-content {
    gap: 1rem;
  }

  .footer-logo-img {
    height: 30px;
  }

  .footer-logo span {
    font-size: 0.8rem;
  }

  .footer-social-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }

  .music-player {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  .logo-img {
    height: 40px;
  }

    nav {
    padding: 0.4rem 1.25rem;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  section {
    padding: 2rem 0.75rem;
  }

  h1 {
    font-size: 1.75rem;
    letter-spacing: 0.04em;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 0.875rem;
  }

  .hero {
    height: 70vh;
    margin-top: 60px;
  }

  .hero-title {
    font-size: 1.8rem;
    text-shadow: 0 0 10px #ffffff;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }

  .about-description {
    font-size: 0.85rem;
  }

  .stat-box {
    padding: 1rem;
  }

  .stat-icon {
    font-size: 1.8rem;
  }

  .stat-box h3 {
    font-size: 0.9rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .join-tagline {
    font-size: 1rem;
  }

  .member {
    flex: 0 0 140px;
  }

  .member img {
    width: 90px;
    height: 90px;
  }

  .project {
    flex: 0 0 140px;
  }

  .post {
    flex: 0 0 140px;
  }

  .music-player {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* Adjust Join Our Community button specifically for mobile */
@media (max-width: 767px) {
  .btn-join {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    border-radius: 3px;
    width: auto;
    min-width: 140px;
  }
}

@media (max-width: 480px) {
  .btn-join {
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    min-width: 120px;
  }
}

/* === FIX BTS GALLERY IMAGE SIZE === */
.bts-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.bts-gallery img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(0, 255, 255, 0.2);
  display: block;
  transition: transform 0.3s ease;
}

.bts-gallery img:hover {
  transform: scale(1.03);
}

/* Responsiveness */
@media (max-width: 1024px) {
  .bts-gallery img {
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .bts-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .bts-gallery img {
    max-height: 220px;
  }
}

@media (max-width: 480px) {
  .bts-gallery {
    grid-template-columns: 1fr;
  }
  .bts-gallery img {
    max-height: 200px;
  }
}

.scroll-down {
  margin-top: 3rem;
  text-align: center;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  animation: fadeInUp 2s ease-in-out;
  position: relative;
}

.scroll-down span {
  display: block;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-down .arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px; /* lebih rapat dari sebelumnya */
}

.scroll-down i {
  font-size: 1rem;
  opacity: 0;
  animation: arrowBounce 2s infinite;
  color: #ffffff;
}

.scroll-down i:nth-child(1) {
  animation-delay: 0s;
}
.scroll-down i:nth-child(2) {
  animation-delay: 0.3s;
}
.scroll-down i:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes arrowBounce {
  0%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(4px); /* sebelumnya 6px */
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Scroll Down Mobile Adjustment === */
@media (max-width: 767px) {
  .scroll-down {
    margin-top: 2rem;
    font-size: 0.8rem; /* teks lebih kecil */
  }

  .scroll-down span {
    letter-spacing: 1px;
    margin-bottom: 6px;
  }

  .scroll-down .arrows i {
    font-size: 0.7rem; /* ukuran panah lebih kecil */
  }
}

@media (max-width: 480px) {
  .scroll-down {
    font-size: 0.7rem;
    margin-top: 1.5rem;
  }

  .scroll-down .arrows i {
    font-size: 0.6rem;
    gap: 0; /* rapatin antar panah */
  }
}
