/* 
 * Spring Florist Theme - Korean Airy Sky Blue Design
 * Dreamy clouds floating animation
 */

:root {
  --primary-color: #aad8ff;
  --primary-hover: #8FC4F0;
  --primary-soft: #C4E5FF;
  --butter-yellow: #F2D55C;
  --soft-mustard: #E6C14A;
  --sage-green: #B7D7B0;
  --grass-green: #9FBF8F;
  --moss-green: #8AA77A;
  --text-primary: #333333;
  --text-muted: #666666;
  --text-on-primary: #FFFFFF;
  --font-primary: 'Lora', serif;
  --font-heading: 'Tenor Sans', sans-serif;
}

/* ===== KOREAN AIRY SKY BLUE BACKGROUND ===== */
body {
  background: linear-gradient(180deg, 
    #87CEEB 0%,      /* Sky blue top */
    #aad8ff 20%,     /* Light sky */
    #B8E2FF 40%,     /* Soft blue */
    #C4E8FF 60%,     /* Lighter */
    #D4F1FF 80%,     /* Very light */
    #E8F6FF 100%     /* Almost white horizon */
  ) !important;
  color: var(--text-primary) !important;
  min-height: 100vh;
  position: relative;
  font-family: var(--font-primary) !important;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Cloud Layer 1 - Large fluffy clouds (slow) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: -100%;
  width: 300%;
  height: 100%;
  background-image: 
    /* Cloud 1 - Large fluffy */
    radial-gradient(ellipse 180px 90px at 10% 15%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(ellipse 150px 75px at 12% 18%, rgba(255, 255, 255, 0.8), transparent 70%),
    radial-gradient(ellipse 120px 60px at 8% 12%, rgba(255, 255, 255, 0.85), transparent 70%),
    
    /* Cloud 2 - Medium */
    radial-gradient(ellipse 200px 100px at 35% 8%, rgba(255, 255, 255, 0.85), transparent 70%),
    radial-gradient(ellipse 160px 80px at 37% 12%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(ellipse 140px 70px at 33% 6%, rgba(255, 255, 255, 0.8), transparent 70%),
    
    /* Cloud 3 - Wispy */
    radial-gradient(ellipse 250px 80px at 60% 20%, rgba(255, 255, 255, 0.7), transparent 70%),
    radial-gradient(ellipse 180px 60px at 62% 22%, rgba(255, 255, 255, 0.6), transparent 70%),
    
    /* Cloud 4 - Large cumulus */
    radial-gradient(ellipse 220px 110px at 85% 12%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(ellipse 180px 90px at 87% 15%, rgba(255, 255, 255, 0.8), transparent 70%),
    radial-gradient(ellipse 150px 75px at 83% 10%, rgba(255, 255, 255, 0.85), transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: cloudFloat1 80s linear infinite;
}

/* Cloud Layer 2 - Medium clouds (medium speed) */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background-image: 
    /* Cloud 5 */
    radial-gradient(ellipse 140px 70px at 15% 35%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(ellipse 100px 50px at 17% 38%, rgba(255, 255, 255, 0.65), transparent 70%),
    
    /* Cloud 6 */
    radial-gradient(ellipse 180px 90px at 45% 28%, rgba(255, 255, 255, 0.7), transparent 70%),
    radial-gradient(ellipse 140px 70px at 47% 31%, rgba(255, 255, 255, 0.6), transparent 70%),
    
    /* Cloud 7 */
    radial-gradient(ellipse 160px 80px at 75% 32%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(ellipse 120px 60px at 77% 35%, rgba(255, 255, 255, 0.65), transparent 70%),
    
    /* Small accent clouds */
    radial-gradient(ellipse 80px 40px at 25% 45%, rgba(255, 255, 255, 0.5), transparent 70%),
    radial-gradient(ellipse 100px 50px at 55% 42%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(ellipse 90px 45px at 90% 40%, rgba(255, 255, 255, 0.5), transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: cloudFloat2 60s linear infinite;
}

/* Floating cloud animations */
@keyframes cloudFloat1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(33.33%);
  }
}

@keyframes cloudFloat2 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

/* Extra floating cloud element */
.cloud-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cloud-overlay::before {
  content: '';
  position: absolute;
  top: 5%;
  left: -20%;
  width: 40%;
  height: 25%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.8) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatCloud 45s ease-in-out infinite;
}

.cloud-overlay::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -15%;
  width: 35%;
  height: 20%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.7) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatCloud 55s ease-in-out infinite reverse;
}

@keyframes floatCloud {
  0%, 100% { 
    transform: translateX(0) translateY(0);
    opacity: 0.8;
  }
  25% {
    transform: translateX(15%) translateY(-5%);
    opacity: 0.9;
  }
  50% { 
    transform: translateX(30%) translateY(0);
    opacity: 0.85;
  }
  75% {
    transform: translateX(15%) translateY(5%);
    opacity: 0.9;
  }
}

body > * {
  position: relative;
  z-index: 1;
}

/* ===== NAVBAR & HEADER ===== */
.navbar.bg-light,
header.bg-light,
.header-top,
.header-bottom {
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: none !important;
  box-shadow: 0 2px 20px rgba(135, 206, 235, 0.2) !important;
  backdrop-filter: blur(15px);
  position: relative;
  z-index: 1000;
}

.navbar {
  background: transparent !important;
  backdrop-filter: blur(10px);
  box-shadow: none !important;
  position: relative;
  z-index: 1000;
}

.dropdown-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(10px);
  z-index: 1050 !important;
  margin-top: 8px !important;
}

.dropdown-item {
  color: var(--text-primary) !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(212, 165, 165, 0.1) !important;
  color: var(--text-primary) !important;
  padding-left: 25px !important;
}

.navbar-nav .nav-link {
  color: var(--text-primary) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
  text-transform: capitalize;
  text-shadow: none;
  transition: all 0.3s ease;
  padding: 8px 16px !important;
}

.navbar-nav .nav-link:hover {
  color: #333333 !important;
  text-shadow: 0 0 8px rgba(51, 51, 51, 0.3);
}

.navbar-brand,
.navbar .logo-text,
header .navbar-brand {
  color: var(--text-primary) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0;
  text-shadow: none;
}

/* ===== RESPONSIVE PRODUCT GRID HELPERS ===== */
/* Improve product grid responsiveness without breaking Bootstrap */
@media (max-width: 1200px) {
  .col-lg-3 {
    flex: 0 0 calc(33.333% - 1rem) !important;
    max-width: calc(33.333% - 1rem) !important;
  }
}

@media (max-width: 768px) {
  .col-lg-3 {
    flex: 0 0 calc(50% - 1rem) !important;
    max-width: calc(50% - 1rem) !important;
  }
  
  .col-md-6 {
    flex: 0 0 calc(50% - 1rem) !important;
    max-width: calc(50% - 1rem) !important;
  }
}

@media (max-width: 576px) {
  .col-lg-3,
  .col-md-6,
  .col-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-common {
  background: #F2D55C !important;
  border: none !important;
  color: #333333 !important;
  border-radius: 5px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 3px 15px rgba(242, 213, 92, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-common:hover {
  background: #E6C14A !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(242, 213, 92, 0.4);
  color: #333333 !important;
}

.btn-outline-dark {
  background: transparent !important;
  border: 1px solid #333333 !important;
  color: #333333 !important;
  border-radius: 5px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  background: #333333 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .btn-primary,
  .btn-common,
  .btn-outline-dark {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .btn-sm {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* ===== CARDS ===== */
.card,
.product-item,
.post-item {
  background: rgba(255, 255, 255, 0.98) !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06) !important;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover,
.product-item:hover,
.post-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-5px);
}

/* ===== IMAGE HANDLING - UNIVERSAL ===== */
img {
  max-width: 100%;
  height: auto;
}

/* Product/Category Cards - Square with aspect ratio */
.card img,
.product-item img {
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s ease;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #f9f9f9;
}

/* Blog Post Images - Rectangular with aspect ratio */
.post-item img {
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s ease;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

/* Hover effect */
.card:hover img,
.product-item:hover img,
.post-item:hover img {
  transform: scale(1.05);
}

/* ===== SECTIONS - ALL TRANSPARENT ===== */
section,
.py-5,
#new-arrival,
#best-sellers,
.testimonial,
.collection,
.video {
  background: transparent !important;
}

/* Blog Section with White Background */
.blog {
  background: rgba(255, 255, 255, 0.9) !important;
  padding: 60px 0 !important;
  backdrop-filter: blur(10px);
}

.blog .container {
  padding: 0 30px;
}

.blog .post-item {
  margin-bottom: 30px;
}

.blog .post-content {
  padding: 20px;
}

/* ===== FOOTER ===== */
#footer {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(15px);
}

#footer h5 {
  color: var(--primary-color) !important;
  font-weight: 600;
}

#footer p,
#footer a,
#footer .text-muted {
  color: var(--text-primary) !important;
}

#footer a:hover {
  color: var(--primary-color) !important;
}

/* ===== BADGES ===== */
.badge.bg-success {
  background-color: var(--sage-green) !important;
}

.badge.bg-warning {
  background-color: var(--butter-yellow) !important;
  color: var(--text-primary) !important;
}

/* ===== WISHLIST BUTTON ===== */
.btn-icon.btn-wishlist {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 2px 8px rgba(170, 216, 255, 0.15);
}

.btn-icon.btn-wishlist:hover {
  background: var(--primary-color) !important;
  color: white !important;
}

/* ===== SWIPER NAVIGATION ===== */
.main-swiper .swiper-button-next,
.main-swiper .swiper-button-prev {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.9) !important;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
}

.main-swiper .swiper-button-next:hover,
.main-swiper .swiper-button-prev:hover {
  color: white !important;
  transform: scale(1.1);
}

.main-swiper .swiper-button-next::after,
.main-swiper .swiper-button-prev::after {
  font-size: 30px;
  font-weight: bold;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color) !important;
}

/* ===== ADD TO CART LINKS ===== */
/* Removed - now using buttons instead */

/* ===== VIEW ALL LINKS ===== */
.btn-link,
a[href*="view-all"],
a[href*="VIEW ALL"] {
  color: #E8A5A5 !important;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-link:hover,
a[href*="view-all"]:hover,
a[href*="VIEW ALL"]:hover {
  color: #D88989 !important;
  text-decoration: underline;
}

/* ===== BANNER SECTION ===== */
#billboard {
  margin-top: 0 !important;
  padding: 0 !important;
  position: relative;
  z-index: 1;
}

.main-swiper {
  height: 90vh;
  min-height: 650px;
  position: relative;
  z-index: 1;
}

.banner-item {
  height: 90vh;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.banner-item .image-holder {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-item .banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-content {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  padding: 3rem 0 !important;
}

.banner-title {
  font-family: var(--font-heading) !important;
  font-size: 56px !important;
  font-weight: 700 !important;
  color: white !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-description {
  font-size: 18px !important;
  color: rgba(255,255,255,0.95) !important;
  text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .main-swiper,
  .banner-item {
    height: 60vh;
    min-height: 450px;
  }
  
  .banner-title {
    font-size: 36px !important;
  }
  
  .banner-description {
    font-size: 16px !important;
  }
}

/* ===== CLIENT/VENDOR LOGO BAR ===== */
.logo-bar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-top: 0 !important;
}

/* Desktop: logo-content-desktop tampil */
.logo-bar .logo-content-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

/* Mobile: sembunyikan desktop version */
@media (max-width: 767.98px) {
  .logo-bar .logo-content-desktop {
    display: none !important;
  }
}

.logo-bar .logo-card {
  width: 200px;
  aspect-ratio: 1 / 1;
  position: relative;
  background: rgba(232, 246, 255, 0.28);
  border-radius: 16px;
  box-shadow:
    0 10px 30px rgba(26, 69, 104, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.40);
}

.logo-bar .logo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0.02) 60%),
    radial-gradient(80% 60% at 25% 20%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%);
  opacity: 0.9;
  pointer-events: none;
}

.logo-bar .logo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.logo-bar .logo-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 14px 36px rgba(26, 69, 104, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  background: rgba(232, 246, 255, 0.36);
}

.logo-bar .logo-image {
  max-height: 85px;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.95;
  transition: all 0.3s ease;
  filter: grayscale(10%);
}

.logo-bar .logo-image:hover {
  opacity: 1;
  transform: translateY(-5px);
  filter: grayscale(0%);
}

.logo-bar .logo-link {
  display: inline-block;
  text-decoration: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6,
.section-title,
.display-header {
  font-family: var(--font-heading) !important;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0;
  line-height: 1.3;
}

h1, .display-header {
  font-size: 48px;
  font-weight: 700;
  color: #6B5548;
}

h2, .section-title {
  font-size: 32px;
  margin-bottom: 15px;
  color: #6B5548;
}

h3 {
  font-size: 22px;
}

p {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.card-title,
.product-title {
  font-family: var(--font-primary) !important;
  font-weight: 400;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.card-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ===== PRICES ===== */
.product-price,
.price,
.money {
  color: #333333 !important;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-primary);
  text-shadow: none;
}

.old-price,
.was-price {
  color: #999999;
  text-decoration: line-through;
  font-size: 15px;
  font-weight: 400;
}

/* ===== ICONS ===== */
.icon,
.feature-icon,
.service-icon {
  color: #D4A5A5;
  font-size: 42px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.icon:hover,
.feature-icon:hover {
  transform: scale(1.05);
  color: #C49090;
}

/* ===== BADGES ===== */
.badge.product-badge {
  background: #D4A5A5 !important;
  color: white !important;
  font-weight: 400;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.badge.sale {
  background: #E8A5A5 !important;
  color: white !important;
}

/* ===== NEW SEASON FLOWERS - MOBILE SWIPER ===== */
/* Desktop: tampilkan grid, sembunyikan swiper */
.new-arrivals-grid {
  display: flex;
}
.new-arrivals-mobile-swiper {
  display: none !important;
}

/* Mobile: sembunyikan grid, tampilkan swiper */
@media (max-width: 991.98px) {
  .new-arrivals-grid {
    display: none !important;
  }
  .new-arrivals-mobile-swiper {
    display: block !important;
  }
  .new-arrivals-mobile-swiper .swiper-slide {
    width: 70%;
    max-width: 280px;
  }
  .new-arrivals-mobile-swiper .product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .new-arrivals-mobile-swiper .swiper-pagination {
    position: relative;
    margin-top: 20px;
  }
  .new-arrivals-mobile-swiper .swiper-pagination-bullet {
    background: var(--butter-yellow);
    opacity: 0.5;
  }
  .new-arrivals-mobile-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--soft-mustard);
  }
}

/* ===== CLIENT/VENDOR LOGOS - MOBILE SWIPER ===== */
/* Sembunyikan old desktop flex version */
.logo-content-desktop {
  display: none !important;
}

/* ===== TESTIMONIALS (ADD-ON ONLY) ===== */
/* Keep existing `.testimonial-item` card styling; just tidy layout */
.testimonials .section-header {
  margin-top: 2rem !important;
}

.testimonial-swiper .testimonial-item blockquote {
  font-size: 1.2em;
  line-height: 1.55;
}

.testimonial-swiper .testimonial-item blockquote > p.testimonial-text {
  margin: 0;
  font-style: italic;
  color: #666;
}

.testimonials .testimonial-rating i {
  line-height: 1;
}

.testimonials .customer-info {
  margin-top: 1.25rem !important;
}

.testimonials .customer-info .text-start {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  padding-top: 0;
  gap: 6px;
}

.testimonials .review-title {
  font-weight: 600;
  letter-spacing: 0.6px;
}

.testimonials .verified-buyer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.45);
}

.testimonials .verified-buyer i {
  color: #18a058;
  font-size: 1.05rem;
}

@media only screen and (max-width: 1199px) {
  .testimonial-swiper .testimonial-item blockquote {
    font-size: 1.05em;
  }
}

@media only screen and (max-width: 999px) {
  .testimonial-swiper .swiper-slide {
    width: 80% !important;
    opacity: 0.18;
  }

  .testimonial-swiper .swiper-slide-active {
    opacity: 1;
  }
}

/* Desktop Swiper - tampilkan di semua ukuran */
.logo-desktop-swiper {
  display: block !important;
  padding: 1.5rem 40px 2rem;
}

.logo-desktop-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.logo-desktop-swiper .logo-card {
  width: 100%;
  max-width: 220px;
  height: 140px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(232, 246, 255, 0.30);
  border-radius: 16px;
  padding: 20px;
  box-shadow:
    0 6px 18px rgba(26, 69, 104, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: all 0.3s ease;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.40);
}

.logo-desktop-swiper .logo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0.02) 60%),
    radial-gradient(80% 60% at 25% 20%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%);
  opacity: 0.9;
  pointer-events: none;
}

.logo-desktop-swiper .logo-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 10px 30px rgba(26, 69, 104, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  background: rgba(232, 246, 255, 0.40);
}

.logo-desktop-swiper .logo-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(10%);
  transition: filter 0.3s ease;
}

.logo-desktop-swiper .logo-card:hover .logo-image {
  filter: grayscale(0%);
}

/* Mobile Swiper */
.logo-mobile-swiper {
  display: none !important;
}

/* Mobile: sembunyikan desktop swiper, tampilkan mobile swiper */
@media (max-width: 767.98px) {
  .logo-desktop-swiper {
    display: none !important;
  }
  .logo-content-desktop {
    display: none !important;
  }
  .logo-mobile-swiper {
    display: block !important;
    padding: 0 10px;
  }
  .logo-mobile-swiper .swiper-slide {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .logo-mobile-swiper .logo-card {
    width: 140px;
    height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(232, 246, 255, 0.30);
    border-radius: 12px;
    padding: 12px;
    box-shadow:
      0 6px 16px rgba(26, 69, 104, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.40);
  }

  .logo-mobile-swiper .logo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.10) 38%, rgba(255, 255, 255, 0.02) 60%),
      radial-gradient(80% 60% at 25% 20%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%);
    opacity: 0.9;
    pointer-events: none;
  }
  .logo-mobile-swiper .logo-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .logo-mobile-swiper .swiper-pagination {
    position: relative;
    margin-top: 15px;
  }
  .logo-mobile-swiper .swiper-pagination-bullet {
    background: var(--butter-yellow);
    opacity: 0.5;
  }
  .logo-mobile-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--soft-mustard);
  }
}

