/* =========================================================
   slider.css — FULL PASTE-READY (CLEAN & RESPONSIVE)
   - Uses the SAME responsive container system as nav.css
   - Full-bleed background + centered responsive content
   - Desktop: 2-column layout
   - Tablet: stacks
   - Mobile: phone-friendly typography, CTAs, arrows, dots
   ========================================================= */

/* ---------------------------------------------------------
   Container system (keep here for safety even if also in nav.css)
--------------------------------------------------------- */
:root {
  /* Container system */
  --container-min: 320px;
  --container-max: 1400px;
  --content-max: 1180px;
  --container-padding: 0 auto;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  width: 100%;
  min-width: var(--container-min);
  background: #0d220a;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 12px;
}

.hero-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
  width: 100%;
  flex-wrap: nowrap;
}

.hero-slide {
  flex: 0 0 100%;
  padding: 0; /* padding lives on hero-viewport */
}

/* content width control */
.hero-grid {
  max-width: 100%;
  width: var(--content-max);
  margin: 0 auto;
  padding: 0 8px;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  justify-content: space-between;
  gap: clamp(14px, 3vw, 48px);
}

.hero-copy { 
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  padding-top: 8px;
}

.hero-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(34px, 2.5rem, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 600;
  color: #c7d2fe;
  opacity: 0.95;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-text {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: #e0e7ff;
  max-width: 600px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-text p {
  padding: 0 12px;
  text-align: match-parent;
  color: #e0e7ff;
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;

  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: #fff;

  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: 1px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  margin-bottom: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(99, 102, 241, 0.8);
}

.hero-btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.hero-btn--ghost {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  color: #e0e7ff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-btn--ghost:hover {
  background: rgba(51, 65, 85, 0.7);
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(180px, 24vw, 460px);
  padding: 8px 16px 10px 16px;
  position: relative;
  margin-bottom: 10px;
}

.hero-media img {
  width: min(auto, 100%);
  max-height: 280px;
  height: auto;
  display: flex;
  object-fit: contain;
  align-items: center;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
  padding-top: 20px;
  padding-bottom: 6px;
  padding-right: 10px;
  padding-left: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
  animation: fadeIn 0.8s ease-out 0.3s backwards;
}

.hero-media img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.35));
}

/* Bottom navigation arrows */
.hero-arrow {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  transform: none;

  width: 42px;
  height: 42px;
  border-radius: 999px;

  border: 1px solid rgba(148, 163, 184, 0.3);
  cursor: pointer;

  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  color: #e0e7ff;
  font-size: 28px;
  line-height: 1;

  display: grid;
  place-items: center;

  transition: transform 140ms ease, background 180ms ease;
  user-select: none;
}

.hero-arrow:hover {
  background: rgba(59, 130, 246, 0.6);
  border-color: rgba(99, 102, 241, 0.6);
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.hero-arrow:active { transform: scale(1.0); }

.hero-arrow:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.35);
  outline-offset: 2px;
}

.hero-arrow--left { order: 0; }
.hero-arrow--right { order: 2; }

/* Dots */
.hero-dots {
  position: relative;
  order: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 12px;
}

/* Position viewport children (arrows + dots) at bottom center */
.hero-viewport {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  outline: none;
  display: flex;
  flex-direction: column;
}

/* Create a flex container at the bottom for arrows + dots */
.hero-viewport::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
}

.hero-viewport > .hero-dots {
  position: absolute;
  bottom: 18px;
}

.hero-viewport > .hero-arrow {
  position: absolute;
  bottom: 8px;
}

.hero-viewport > .hero-arrow--left {
  left: calc(50% - 115px);
}

.hero-viewport > .hero-arrow--right {
  right: calc(50% - 115px);
}

.hero-viewport > .hero-dots {
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.hero-dot {
  width: 36px;
  height: 5px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  cursor: pointer;

  background: rgba(148, 163, 184, 0.4);
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-dot.is-active {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  border-color: rgba(99, 102, 241, 0.8);
  transform: scaleX(1.15);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-dot:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.35);
  outline-offset: 2px;
}

/* =========================================================
   RESPONSIVE: Tablet + down
   ========================================================= */
@media (min-width: 901px) and (max-width: 1200px) {
  .hero-viewport {
    overflow: hidden;
    padding: 10px 0 60px;
  }

  .hero-track {
    width: 100%;
    flex-wrap: nowrap;
  }

  .hero-slide {
    flex: 0 0 100%;
    width: 100%;
  }

  .hero-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    padding: 0 30px;
    gap: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  .hero-media {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .hero-media img {
    max-width: 350px;
    max-height: 300px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-cta {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-btn {
    min-width: 140px;
    min-height: 46px;
    padding: 0.7rem 1.2rem;
  }

  .hero-viewport > .hero-arrow--left {
    left: calc(50% - 100px);
  }
  
  .hero-viewport > .hero-arrow--right {
    right: calc(50% - 100px);
  }

  .hero-slider {
    padding-top: 0;
    padding-bottom: 12px;
  }

  .hero-copy { 
    max-width: 100%; 
    text-align: center;
  }
}
/* =========================================================
   RESPONSIVE: Phone
   ========================================================= */
@media (max-width: 900px) {
  .hero-media img {
    width: min(300px, 100%);
  }
  .hero-slider {
    padding-top: 0;
    padding-bottom: 10px;
  }

  .hero-viewport {
    padding: 10px 16px 56px;
    overflow: hidden;
  }

  .hero-track {
    width: 100%;
    flex-wrap: nowrap;
  }

  .hero-slide {
    flex: 0 0 100%;
    width: 100%;
  }

  .hero-grid {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    gap: 20px;
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
  }

  .hero-copy { 
    max-width: 100%;
    text-align: center;
  }

  .hero-media {
    order: -1;
    min-height: 200px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .hero-media img {
    width: 100%;
    max-width: 340px;
    max-height: 260px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: clamp(28px, 4.2vw, 38px);
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-cta {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-btn {
    flex: 1 1 auto;
    min-width: 130px;
    min-height: 44px;
    border-radius: 12px;
  }

  /* arrows smaller */
  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .hero-viewport > .hero-arrow--left { left: calc(50% - 80px); }
  .hero-viewport > .hero-arrow--right { right: calc(50% - 80px); }

  .hero-dots {
    bottom: 16px;
    gap: 8px;
  }

  .hero-dot {
    width: 28px;
    height: 4px;
  }
}

/* =========================================================
   RESPONSIVE: Small phones
   ========================================================= */
@media (max-width: 420px) {
  .hero-viewport {
    padding: 8px 12px 52px;
  }

  .hero-title { 
    font-size: 26px;
    margin-bottom: 16px;
  }

  .hero-subtitle { 
    font-size: 15px;
    margin-bottom: 10px;
  }

  .hero-text {
    font-size: 14px;
  }

  .hero-media { 
    min-height: 180px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .hero-media img {
    max-width: 280px;
    max-height: 220px;
    margin: 0 auto;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .hero-viewport > .hero-arrow--left { left: calc(50% - 70px); }
  .hero-viewport > .hero-arrow--right { right: calc(50% - 70px); }

  .hero-dot { 
    width: 24px;
    height: 3px;
  }

  .hero-btn {
    min-width: 110px;
    font-size: 14px;
  }
}

/* =========================================================
   NEW: Large Hero Section (photo + about + contained slider)
   ========================================================= */

.hero-large {
  width: 100%;
  min-width: var(--container-min);
  background: linear-gradient(135deg, #0a0b22 0%, #12102e 50%, #0a1228 100%);
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  padding: 6px 0 28px;
  position: relative;
}

.hero-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-large-inner {
  max-width: var(--maxnav);
  margin: 0 auto;
  padding: 4px 0 10px;
}

/* Top row layout */
.hero-large-top {
  width: 100%;
  max-width: var(--maxnav);
  margin: 26px auto;
  padding-top: 30px;
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 8px;
}

/* Photo */
.hero-large-photo img {
  width: 180px;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.hero-large-photo img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.4);
  border-color: rgba(99, 102, 241, 0.6);
}

/* Right text */
.hero-large-title {
  margin: 0 0 20px 0;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: start;
  padding: 0 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-large-subtitle {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #a5a0a0;
  padding: 0 14px;
  text-align: left;
}
.hero-large-text {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #e0e7ff;
  max-width: 1100px;
  text-align: justify;
  padding: 0 14px 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Slider wrapper (contained, not full width) */
.hero-large-sliderWrap {
  width: 100%;
  max-width: var(--maxnav);
  margin: 16px auto 6px auto;
  padding: 0;
  
}

/* Make slider contained and “card-like” */
.hero-slider--contained {
  border-top: none;
  padding-top: 0;
  padding-bottom: 8px;
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* IMPORTANT: remove the max-width centering from viewport so it fits wrapper */
.hero-slider--contained .hero-viewport {
  max-width: 100%;
}

/* Keep arrows inside the contained slider - centered with dots */
.hero-slider--contained .hero-viewport > .hero-arrow--left { left: calc(50% - 145px); }
.hero-slider--contained .hero-viewport > .hero-arrow--right { right: calc(50% - 145px); }

/* =========================================================
   Responsive: stack photo above text
   ========================================================= */
@media (max-width: 820px) {
  .hero-large-top {
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
  }

  .hero-large-photo {
    display: flex;
    justify-content: center;
    max-width: 240px;
    margin: 0 auto;
  }

  .hero-large-title,
  .hero-large-text {
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .hero-large-photo {
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
}



