/* ========================================
   CRITICAL SCROLL FIX
   ======================================== */
html {
  height: 100%;
  overflow-y: scroll !important;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
:root {
  --blue: #0d6efd;
  --primary: #0d6efd;
  --warning: #ffc107;
  --success: #198754;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #212529;
  background-color: #fff;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.font-sora {
  font-family: 'Sora', sans-serif;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  transition: all 0.3s ease;
  z-index: 1000;
  background-color: #000 !important;
  padding: 0.5rem 0;
}

.navbar .container {
  position: relative;
}

.navbar-brand {
  padding: 0.5rem 0;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* Logo styling moved to inline style in HTML */

.navbar-light .navbar-brand,
.navbar-light .nav-link,
.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
  color: #fff !important;
}

.navbar-toggler {
  border: 2px solid #fff !important;
  padding: 0.5rem 0.75rem;
  z-index: 1;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 1.5em;
  height: 1.5em;
}

.brand-text strong,
.brand-text small {
  color: #fff !important;
}

.brand-text small.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

@media (max-width: 991px) {
  .navbar-brand {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto;
  }
}

/* Responsive navbar text */
@media (min-width: 992px) {
  .brand-text-short {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .brand-text-full {
    display: none !important;
  }
  .brand-text-short {
    display: block !important;
  }
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--blue) !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  background: linear-gradient(135deg, #0a1628 0%, #1a2f5a 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Hero text animation */
.hero-text-animate {
  opacity: 0;
  transform: translateX(-30px);
  animation: heroFadeIn 0.4s ease forwards;
}

.hero-text-animate:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-text-animate:nth-child(2) {
  animation-delay: 0.2s;
}

.hero-text-animate:nth-child(3) {
  animation-delay: 0.3s;
}

.hero-text-animate:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.badge-pill-custom {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-img {
  width: 100%;
  height: auto;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-badge-card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  max-width: 280px;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
}

/* Ensure all images load */
.brand-logo, .footer-logo {
  display: block;
  height: auto;
}

/* ========================================
   SECTIONS
   ======================================== */
.py-section {
  padding: 80px 0;
  position: relative;
  display: block;
}

.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.eyebrow {
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.service-card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
}

/* ========================================
   COMMERCIAL BANNER
   ======================================== */
.commercial-banner {
  background: linear-gradient(135deg, #0a1628 0%, #1a2f5a 100%);
}

.commercial-copy {
  min-height: 300px;
}

.commercial-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   DARK BLUE SECTION
   ======================================== */
.bg-dark-blue {
  background: linear-gradient(135deg, #1a2f5a 0%, #1e3a6f 100%);
}

/* ========================================
   STEP CARDS
   ======================================== */
.step-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.step-num {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: var(--warning);
  color: #000;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.gallery-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Ensure images load properly */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   AREA BADGES
   ======================================== */
.area-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.area-badge:hover {
  background: var(--blue);
  color: white;
}

/* ========================================
   TESTIMONIAL CARDS
   ======================================== */
.testimonial-card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stars {
  color: #ffc107;
  font-size: 1.25rem;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-accordion .accordion-button {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: #3b82f6;
}

.faq-accordion .accordion-item {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-accordion .accordion-body {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, #0a1628 0%, #1a2f5a 100%);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  display: block;
  width: 100%;
}

.footer-logo {
  filter: brightness(0) invert(1);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in from left/right animation */
.fade-slide {
  opacity: 0;
  transform: translateX(-50px) !important;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-slide.is-visible {
  opacity: 1;
  transform: translateX(0) !important;
}

/* Alternate from right for even items - IMPORTANT */
.fade-slide:nth-child(2n) {
  transform: translateX(50px) !important;
}

.fade-slide:nth-child(2n).is-visible {
  transform: translateX(0) !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .py-section {
    padding: 60px 0;
  }
  
  .hero-badge-card {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 40px 0;
  }
  
  .py-section {
    padding: 40px 0;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.object-fit-cover {
  object-fit: cover;
}

.z-1 {
  z-index: 1;
}

/* ========================================
   FINAL SCROLL INSURANCE
   ======================================== */
section, main, footer, .container {
  position: relative;
  display: block;
}

.modal {
  z-index: 9999;
}


/* ========================================
   MODAL LIGHTBOX
   ======================================== */
.modal-content {
  background: transparent !important;
  border: none !important;
}

.modal-body img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  display: block;
}

.btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* ========================================
   IMAGE LOADING
   ======================================== */
img {
  max-width: 100%;
  height: auto;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([loading]) {
  opacity: 1;
}


/* ========================================
   BLUE BACKGROUND SECTIONS
   ======================================== */
.bg-blue {
  background: linear-gradient(135deg, #0a1628 0%, #1a2f5a 100%);
}

.bg-blue .eyebrow {
  color: #fbbf24 !important;
}

.bg-blue h2,
.bg-blue h3,
.bg-blue h4,
.bg-blue h5,
.bg-blue h6 {
  color: #fff !important;
}

.bg-blue p,
.bg-blue .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

.bg-blue .area-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  color: #fff;
}

.bg-blue .area-badge:hover {
  background: #fff;
  color: #0c1e47;
}

.bg-blue .testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.bg-blue .testimonial-card .card-body {
  color: #fff;
}

.bg-blue .testimonial-card .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.bg-blue .testimonial-card .border-top {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.bg-blue .testimonial-card strong {
  color: #fff !important;
}

.bg-blue .testimonial-card small {
  color: rgba(255, 255, 255, 0.6) !important;
}


/* Service cards on blue background */
.bg-blue .service-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.bg-blue .service-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.bg-blue .service-card .card-title {
  color: #fff !important;
}

.bg-blue .service-card .card-text {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ========================================
   FLOATING ACTION BUTTONS
   ======================================== */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 15px;
  pointer-events: none;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  position: relative;
  pointer-events: auto;
  transform: translateX(0) !important;
  opacity: 1 !important;
}

.floating-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.floating-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.floating-phone {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.floating-btn svg {
  width: 40px;
  height: 40px;
}

.floating-btn-text {
  display: none;
}

/* Animasi pulse */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

.floating-whatsapp {
  animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-btn {
    width: 65px;
    height: 65px;
  }
  
  .floating-btn svg {
    width: 32px;
    height: 32px;
  }
}

/* ========================================
   WHATSAPP CHAT WIDGET
   ======================================== */
.whatsapp-chat-widget {
  position: fixed;
  bottom: 120px;
  right: 30px;
  z-index: 999;
  font-family: 'Inter', sans-serif;
  pointer-events: none;
}

.wa-chat-box {
  width: 350px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.wa-chat-box.active {
  transform: scale(1);
}

.wa-chat-header {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  padding: 5px;
  object-fit: contain;
}

.wa-header-text strong {
  display: block;
  color: white;
  font-size: 1rem;
  margin-bottom: 2px;
}

.wa-header-text small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
}

.wa-close-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.wa-close-btn:hover {
  transform: rotate(90deg);
}

.wa-chat-body {
  padding: 20px;
  background: #f0f0f0;
  min-height: 150px;
}

.wa-message {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.wa-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 0;
  border-color: transparent white transparent transparent;
}

.wa-message p {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.5;
}

.wa-message p:last-of-type {
  margin-bottom: 15px;
}

.wa-message small {
  color: #999;
  font-size: 0.75rem;
}

.wa-chat-footer {
  padding: 15px 20px;
  background: white;
  border-top: 1px solid #e0e0e0;
}

.wa-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.wa-send-btn:hover {
  background: linear-gradient(135deg, #128C7E 0%, #0d6e5c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.wa-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: none;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  animation: pulse-wa 2s infinite;
  pointer-events: auto;
}

.wa-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.wa-notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff3b30;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  border: 2px solid white;
}

@keyframes pulse-wa {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .whatsapp-chat-widget {
    bottom: 100px;
    right: 20px;
  }
  
  .wa-chat-box {
    width: calc(100vw - 40px);
    max-width: 350px;
  }
  
  .wa-toggle-btn {
    width: 55px;
    height: 55px;
  }
  
  .wa-toggle-btn svg {
    width: 26px;
    height: 26px;
  }
}

/* ========================================
   MARQUEE TICKER (HERO)
   ======================================== */
.marquee-container {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
  border-bottom: 3px solid #f59e0b;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-content span {
  display: inline-block;
  padding: 0 3rem;
  font-weight: 600;
  font-size: 1rem;
  color: #000;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* ========================================
   FOOTER MARQUEE
   ======================================== */
.footer-marquee {
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  padding: 15px 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-marquee-content {
  display: flex;
  animation: marquee-footer 25s linear infinite;
  white-space: nowrap;
}

.footer-marquee-content span {
  display: inline-block;
  padding: 0 2rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes marquee-footer {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.footer-marquee:hover .footer-marquee-content {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .marquee-content span {
    font-size: 0.875rem;
    padding: 0 2rem;
  }
  
  .footer-marquee-content span {
    font-size: 0.85rem;
    padding: 0 1.5rem;
  }
}

/* ========================================
   FADE IN ANIMATION ON SCROLL
   ======================================== */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   COUNTER ANIMATION
   ======================================== */
.counter {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
}

/* ========================================
   LOGO CAROUSEL
   ======================================== */
.logo-carousel-section {
  overflow: hidden;
  background: #f8f9fa;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-carousel-track {
  display: flex;
  animation: logo-scroll 20s linear infinite;
  width: fit-content;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3rem;
  min-width: 200px;
}

.logo-item img {
  max-height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%) opacity(1) !important;
  transform: scale(1.1);
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-carousel:hover .logo-carousel-track {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-item {
    padding: 0 2rem;
    min-width: 150px;
  }
  
  .logo-item img {
    max-height: 50px;
  }
  
  .logo-item span {
    font-size: 1.5rem !important;
  }
}

/* ========================================
   GALLERY CARD WITH TEXT OVERLAY
   ======================================== */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  /* Hapus opacity 0 dan transform default */
}

.gallery-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Alternate animation from right for even items */
.col-md-6:nth-child(2n) .gallery-card,
.col-lg-4:nth-child(2n) .gallery-card {
  transform: translateX(50px) !important;
}

.col-md-6:nth-child(2n) .gallery-card.is-visible,
.col-lg-4:nth-child(2n) .gallery-card.is-visible {
  transform: translateX(0) !important;
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.1);
}

.gallery-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 80%, transparent 100%);
  padding-bottom: 2rem;
}

.gallery-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.gallery-card-text {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-card-text {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card .btn {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease 0.1s;
}

.gallery-card:hover .btn {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card .btn-warning {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border: none;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  display: inline-flex;
  align-items: center;
}

.gallery-card .btn-warning:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-card {
    height: 350px;
  }
  
  .gallery-card-title {
    font-size: 1.1rem;
  }
  
  .gallery-card-text {
    font-size: 0.85rem;
    opacity: 1;
    transform: translateY(0);
  }
  
  .gallery-card .btn {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }
}

/* ========================================
   TRUST BADGES
   ======================================== */
.trust-badge {
  background: white;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid #f0f0f0;
}

.trust-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.trust-icon {
  font-size: 3rem;
  line-height: 1;
}

.trust-badge h6 {
  color: #212529;
  font-size: 1rem;
}

.trust-badge p {
  font-size: 0.875rem;
  line-height: 1.4;
}

/* ========================================
   VIDEO TESTIMONIALS
   ======================================== */
.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumb-img {
  transform: scale(1.1);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-card:hover .video-play-btn {
  background: rgba(255, 193, 7, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 1.5rem;
}

.video-info h6 {
  color: #212529;
  font-size: 1rem;
}

.video-info p {
  font-size: 0.875rem;
  line-height: 1.4;
}

/* ========================================
   BOOKING FORM
   ======================================== */
.booking-form-card {
  background: white;
  position: relative;
  z-index: 1;
}

.booking-form-card .form-label {
  color: #212529;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: block;
  pointer-events: none;
}

.booking-form-card .form-control,
.booking-form-card .form-select {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
  cursor: text !important;
}

.booking-form-card .form-select {
  cursor: pointer !important;
}

.booking-form-card .form-control:focus,
.booking-form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  outline: none;
}

.booking-form-card .form-control:disabled,
.booking-form-card .form-select:disabled {
  background-color: #e9ecef;
  opacity: 1;
}

.booking-form-card .btn-warning {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto !important;
}

.booking-form-card .btn-warning:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.booking-form-card .text-danger {
  color: #dc3545 !important;
}

/* Ensure form inputs are clickable */
#bookingForm input,
#bookingForm select,
#bookingForm textarea {
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
}

/* Responsive */
@media (max-width: 768px) {
  .booking-form-card {
    padding: 1.5rem !important;
  }
  
  .booking-form-card .btn-warning {
    font-size: 1rem;
    padding: 0.75rem !important;
  }
}




/* ========================================
   MOBILE FIX - FORCE SHOW GALLERY
   ======================================== */
@media (max-width: 768px) {
  .gallery-card {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  
  .col-md-6:nth-child(2n) .gallery-card,
  .col-lg-4:nth-child(2n) .gallery-card {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
}


/* ========================================
   SIMPLE FADE IN ANIMATION FOR GALLERY (NO JS)
   ======================================== */
#galeri .col-md-6 .gallery-card,
#galeri .col-lg-4 .gallery-card {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease-out;
}

#galeri .col-md-6:nth-child(even) .gallery-card,
#galeri .col-lg-4:nth-child(even) .gallery-card {
  transform: translateX(60px);
}

#galeri .gallery-card.animated {
  opacity: 1;
  transform: translateX(0);
}
