/* Smart City Solutions — dark panel, gradient title, bordered video, caption overlay, CTA */

.smart-video-section {
  position: relative;
  background: #0a0b18;
  padding: clamp(3rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
  overflow: hidden;
}

.smart-video-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

/* Sharp horizontal split: top half white, bottom half medium blue (matches reference) */
.smart-video-section .scroll-main-title {
  font-family:
    "Inter",
    -apple-system,
    "Segoe UI",
    sans-serif;
  /* font-size: clamp(1.65rem, 4.2vw, 2.65rem); */
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.12;
  text-transform: uppercase;
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(
    to bottom,
    #ffffff 0,
    #ffffff 50%,
    #4873b7 50%,
    #4873b7 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.smart-video-panel {
  position: relative;
  margin: 0 auto;
}

.smart-video-dots {
  position: absolute;
  right: clamp(-0.25rem, 1vw, 0.5rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 3;
  pointer-events: none;
}

.smart-video-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(200, 200, 196, 0.95);
  flex-shrink: 0;
}

.smart-video-dots span.is-active {
  background: transparent;
  border: 1.5px solid rgba(200, 200, 196, 0.95);
}

.smart-video-section .smart-video-container {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  /* border: 1px solid rgba(130, 175, 235, 0.75); */
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #05060f;
}

.smart-video-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smart-video-caption-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1rem, 4vw, 2.5rem)
    clamp(1.25rem, 3.5vw, 2rem);
  background: linear-gradient(
    to top,
    rgba(10, 11, 24, 0.94) 0%,
    rgba(10, 11, 24, 0.55) 45%,
    rgba(10, 11, 24, 0.12) 78%,
    transparent 100%
  );
  pointer-events: none;
}

.smart-video-section .scroll-subtitle {
  margin: 0 auto;
  /* max-width: 56em; */
  font-family:
    "Inter",
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: clamp(1.78rem, 1.25vw, 0.94rem);
  font-weight: 400;
  line-height: 1.65;
  color: #ffffff;
  text-align: center;
  pointer-events: auto;
}

.smart-video-section .cta-button.scroll-cta-button {
  margin: clamp(1.35rem, 3.5vw, 2.25rem) auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 3.15rem;
  border: none;
  border-radius: 6px;
  background: #4873b7;
  color: #ffffff !important;
  font-family:
    "Inter",
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.smart-video-section .cta-button.scroll-cta-button:hover {
  background: #4a6fa3;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .smart-video-dots {
    right: 0.35rem;
    gap: 7px;
  }

  .smart-video-dots span {
    width: 6px;
    height: 6px;
  }

  .smart-video-section .scroll-subtitle {
    font-size: clamp(0.72rem, 3.2vw, 0.85rem);
    line-height: 1.55;
  }
}

/* Minds Section - Background image card with right overlay content panel */
.minds-section {
  position: relative;
  max-width: 1260px;
  margin: clamp(2rem, 5vw, 4rem) auto;
  border-radius: 22px;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 11, 20, 0.2) 0%,
      rgba(8, 11, 20, 0.42) 58%,
      rgba(8, 11, 20, 0.72) 100%
    ),
    url("../../images/minds-section-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: clamp(393px, 76vw, 612px);
  box-shadow: 0 14px 42px rgba(8, 10, 20, 0.26);
}

.minds-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: inherit;
  padding: clamp(1rem, 2.2vw, 2rem);
}

.minds-content {
  width: min(100%, 480px);
  padding: clamp(1.4rem, 2.8vw, 2.1rem);
  border-radius: 11px;
  background: linear-gradient(
    180deg,
    rgba(18, 35, 67, 0.8) 0%,
    rgba(8, 13, 25, 0.82) 100%
  );
  border: 1px solid rgba(107, 157, 225, 0.22);
  backdrop-filter: blur(1px);
  height: 400px;
}

.minds-content h1 {
  margin: 0 0 1rem;
  background: linear-gradient(90deg, #5477ad 0%, #ffffff 50%, #324784 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family:
    "Inter",
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: clamp(5rem, 2.9vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-align: center;
}

.minds-content p {
  margin: 0;
  color: rgba(239, 244, 252, 0.94);
  font-family:
    "Inter",
    -apple-system,
    Aeonik,
    "Segoe UI",
    sans-serif;
  font-size: clamp(1.5rem, 1.08vw, 1.06rem);
  line-height: 1.62;
  text-align: center;
  margin-top: 3rem;
}

.minds-btn {
  margin: 1.15rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 1.43rem 2.1rem;
  border: 1px solid rgba(98, 148, 214, 0.8);
  border-radius: 10px;
  background-image: linear-gradient(90deg, #ffffff 0%, #324784 100%);
  background-origin: border-box;
  -webkit-background-clip: text, padding-box;
  background-clip: text, padding-box;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family:
    "Inter",
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    transform 0.18s ease;
}

.minds-btn:hover {
  background-image:
    linear-gradient(90deg, #ffffff 0%, #324784 100%),
    linear-gradient(rgba(31, 61, 111, 0.62), rgba(31, 61, 111, 0.62));
  border-color: rgba(138, 183, 241, 0.95);
}

.minds-btn:active {
  transform: translateY(1px);
}

@media (max-width: 900px) {
  .minds-section {
    min-height: clamp(300px, 60vw, 470px);
    background-position: 34% center;
  }

  .minds-container {
    justify-content: center;
    align-items: flex-end;
    padding: 3rem;
  }

  .minds-content {
    width: min(80%, 560px);
    height: 300px;
  }
}

@media (max-width: 640px) {
  .minds-section {
    border-radius: 12px;
    background-position: 26% center;
  }

  .minds-content h1 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .minds-content p {
    font-size: 0.93rem;
    line-height: 1.58;
  }
}
