:root {
  --bg: #112630;
  --card: rgba(255, 255, 255, 0.05);
  --text: #d9e4ec;
  --muted: #8ea6b5;
  --accent: #f7b500;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  background: radial-gradient(120% 120% at 20% 20%, #193442 0%, #0f232d 35%, #0c1d25 70%, #0a1920 100%);
  color: var(--text);
  min-height: 100vh;
}

.glass {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.section-title {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.section-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  top: 12px;
  left: 0;
  color: rgba(255, 255, 255, 0.05);
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  pointer-events: none;
  letter-spacing: 0.2em;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

/* Accordion */
.acc-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.acc-header {
  cursor: pointer;
}

.acc-title {
  word-break: break-word;
}

.acc-content.collapsed {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  max-height: 0 !important;
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.acc-item.active .acc-content {
  max-height: 2000px;
}

/* Carousel */
.carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.15);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
  border-radius: 12px;
}

.slide-icon {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.carousel-slide:hover .slide-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .section-title::after {
    font-size: 36px;
    left: 0;
  }
}

/* Fix background blobs causing overflow on mobile */
@media (max-width: 768px) {
  .absolute.inset-0>div {
    width: 180px !important;
    height: 180px !important;
    top: auto !important;
    left: auto !important;
    right: -40px !important;
    bottom: -40px !important;
  }
}

@media (max-width: 480px) {
  .absolute.inset-0>div {
    display: none;
    /* Optional: completely hide blobs on very small screens */
  }
}

/* Make hero images fully responsive */
@media (max-width: 640px) {
  .aspect-[3/4] {
    width: 85vw !important;
    max-width: 280px;
    margin: 0 auto;
  }
}