/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 11, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: #c2c6d6;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-link:hover { color: #dce1fb; }

.nav-cta {
  color: #080B16;
  background: linear-gradient(135deg, #adc6ff, #4d8eff);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #c2c6d6;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 11, 22, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    gap: 1rem;
  }

  .nav-links.open { display: flex; }

  .nav-link, .nav-cta {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Brand colors and typography */
body {
  background: #080B16;
  color: #dce1fb;
  font-family: Inter, sans-serif;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Hero */
#hero {
  position: relative;
  text-align: center;
  padding: 3rem 0 2rem;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 22, 0.65);
  z-index: 1;
}

.hero-title-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

.wallpaper-slider {
  position: relative;
  z-index: 2;
  min-height: 140px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  width: 100%;
  margin-bottom: 0;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Simple mobile title — hidden on desktop */
.hero-title-mobile {
  display: none;
}

.mobile-it {
  display: inline-block;
  background: linear-gradient(135deg, #adc6ff, #3566b5, #3cd7ff, #4d8eff, #7ab0ff, #adc6ff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: itColorShift 5s ease infinite;
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) scale(0.8);
  filter: blur(8px);
}

.hero-title .char.char-it {
  /* gradient applied via JS */
}

.char-it-wrap {
  display: inline-block;
}

.hero-glow-line {
  height: 2px;
  margin: 1.5rem auto 0;
  background: linear-gradient(90deg, transparent, #4d8eff, #3cd7ff, #4d8eff, transparent);
  width: 0;
  opacity: 0;
}

.hero-tagline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #dce1fb;
  margin-top: 1.2rem;
  opacity: 0;
  text-shadow: 0 0 20px rgba(8, 11, 22, 0.8), 0 2px 4px rgba(8, 11, 22, 0.6);
}

/* Wallpaper slides */
.wallpaper-slider {
  position: relative;
  z-index: 2;
  min-height: 120px;
  margin-top: 2rem;
}

.wallpaper-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  text-align: center;
}

.wallpaper-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.wallpaper-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  color: #3cd7ff;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 20px rgba(8, 11, 22, 0.8);
}

.wallpaper-card p {
  color: #c2c6d6;
  font-size: 0.85rem;
  max-width: 500px;
  margin: 0 auto 0.6rem;
  text-shadow: 0 0 20px rgba(8, 11, 22, 0.8);
}

/* Hero benefits rotation */
.hero-benefits {
  position: relative;
  z-index: 2;
  min-height: 6rem;
  margin-top: 1.5rem;
}

.hero-benefit {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.hero-benefit.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.hero-benefit-title {
  font-family: 'Space Grotesk', monospace;
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #3cd7ff;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(8, 11, 22, 0.8), 0 2px 4px rgba(8, 11, 22, 0.6);
}

.hero-benefit-text {
  color: #dce1fb;
  font-size: 0.9rem;
  max-width: 550px;
  text-align: center;
  line-height: 1.5;
  text-shadow: 0 0 20px rgba(8, 11, 22, 0.8), 0 2px 4px rgba(8, 11, 22, 0.6);
}

/* Who we are — inside hero */
.hero-who {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  width: 100%;
  max-width: 900px;
}

.hero-who h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.pillars-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pillar-card {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 1rem;
  background: rgba(22, 29, 50, 0.4);
  border-radius: 6px;
}

.pillar-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.85rem;
  color: #c2c6d6;
  line-height: 1.5;
}

/* Who we are */
#who-we-are {
  padding: 5rem 2rem;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.who-label {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #3cd7ff;
  margin-bottom: 1rem;
}

#who-we-are h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  white-space: nowrap;
}

.who-it {
  display: inline-block;
  background: linear-gradient(135deg, #3cd7ff, #adc6ff, #7ab0ff, #3cd7ff, #adc6ff, #3cd7ff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: itColorShift 4s ease infinite;
}

@keyframes itColorShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.accent-bar {
  height: 3px;
  width: 5rem;
  background: linear-gradient(90deg, #adc6ff, #4d8eff);
  margin: 0.75rem 0 2rem;
}

.who-intro {
  color: #c2c6d6;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.who-intro em {
  font-style: normal;
  color: #3cd7ff;
  font-weight: 600;
}

.who-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #adc6ff, #4d8eff);
  color: #080B16;
}

.btn-primary:hover { filter: brightness(1.12); }

.btn-ghost {
  background: rgba(28, 37, 61, 0.7);
  color: #dce1fb;
  border: 1px solid rgba(66, 71, 84, 0.3);
}

.btn-ghost:hover { background: rgba(46, 52, 71, 0.8); }

.cta-link {
  color: #3cd7ff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.cta-link:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: #adc6ff;
}

a { color: #4d8eff; }

.saiba-btn {
  color: #3cd7ff;
  font-size: 0.8rem;
  cursor: pointer;
  background: none;
  border: 1px solid #424754;
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  margin-left: 0.4rem;
}

.saiba-btn:hover { border-color: #3cd7ff; }

/* Solutions — Geometric Design */
#solutions {
  position: relative;
  padding: 4rem 2rem;
  margin: 2rem -2rem;
  border-radius: 8px;
}

#solutions > h2 {
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

#solutions > p {
  text-align: center;
  color: #8c909f;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.solutions-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-group {
  position: relative;
  padding: 2rem;
  background: rgba(22, 29, 50, 0.5);
  border-radius: 8px;
  overflow: visible;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-header h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  margin: 0;
}

.service-header p {
  color: #c2c6d6;
  margin: 0;
}

.service-header-text p {
  color: #8c909f;
  font-size: 1rem;
  margin: 0.25rem 0 0;
}

/* Children carousel — infinite horizontal loop */
.carousel-wrapper {
  position: relative;
  overflow: visible;
  margin-top: 1.5rem;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-track .child-card {
  min-width: 180px;
  max-width: 200px;
  flex-shrink: 0;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: linear-gradient(180deg, rgba(22, 29, 50, 0.8) 0%, rgba(14, 20, 37, 0.95) 100%);
  border-radius: 8px;
  border-left: none;
  border-bottom: 3px solid rgba(77, 142, 255, 0.3);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  cursor: pointer;
}

.carousel-track .child-card:hover {
  border-bottom-color: #3cd7ff;
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 40px rgba(61, 215, 255, 0.12);
}

.carousel-track .child-card::before { display: none; }

.carousel-track .child-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #dce1fb;
}

.carousel-track .child-card p {
  font-size: 0.85rem;
  color: #c2c6d6;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .carousel-track .child-card { min-width: 160px; height: 230px; }
}

/* Carousel arrows */
.carousel-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  background: rgba(8, 11, 22, 0.7);
  border: none;
  color: #dce1fb;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}

.carousel-wrapper:hover .carousel-btn { opacity: 1; }

.carousel-btn-left { left: 0; border-radius: 0 4px 4px 0; }
.carousel-btn-right { right: 0; border-radius: 4px 0 0 4px; }

.carousel-btn:hover { background: rgba(8, 11, 22, 0.9); }

@media (max-width: 768px) {
  .carousel-btn { opacity: 1; width: 32px; font-size: 1.5rem; }
}

.child-card {
  position: relative;
  padding: 1.25rem;
  background: rgba(14, 20, 37, 0.7);
  border-radius: 6px;
  border-left: 2px solid rgba(77, 142, 255, 0.3);
  transition: border-color 0.3s, transform 0.2s;
  text-decoration: none;
  display: block;
}

.child-card:hover {
  border-left-color: #3cd7ff;
  transform: translateY(-2px);
}

/* Small diamond bullet */
.child-card::before {
  content: '';
  position: absolute;
  top: 1.4rem;
  left: -5px;
  width: 8px;
  height: 8px;
  background: #4d8eff;
  transform: rotate(45deg);
  border-radius: 1px;
}

.child-card h4 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  color: #dce1fb;
}

.child-card p {
  font-size: 0.85rem;
  color: #8c909f;
  margin: 0;
  line-height: 1.5;
}

/* Benefits icon images */
.benefit-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: brightness(1.1);
}

/* Service Detail Modal */
.svc-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 22, 0.85);
  backdrop-filter: blur(10px);
  z-index: 200;
  justify-content: center;
  align-items: center;
}

.svc-modal-overlay.active { display: flex; }

.svc-modal {
  background: linear-gradient(180deg, #161D32 0%, #0E1425 100%);
  border-radius: 8px;
  padding: 2rem;
  max-width: 520px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  text-align: center;
}

.svc-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: #8c909f;
  font-size: 1.2rem;
  cursor: pointer;
}

.svc-modal-close:hover { color: #dce1fb; }

.svc-modal h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  color: #3cd7ff;
  margin-bottom: 1rem;
}

.svc-modal p {
  color: #c2c6d6;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.svc-modal .nav-cta {
  display: inline-block;
  margin-top: 0.5rem;
}

/* Contact Modal — Minimal */
.contact-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 22, 0.88);
  backdrop-filter: blur(12px);
  z-index: 200;
  justify-content: center;
  align-items: center;
}

.contact-modal-overlay.active { display: flex; }

.contact-modal {
  background: linear-gradient(180deg, #161D32 0%, #0E1425 100%);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
}

.contact-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: #8c909f;
  font-size: 1.2rem;
  cursor: pointer;
}

.contact-modal-close:hover { color: #dce1fb; }

.contact-modal h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  color: #adc6ff;
  margin-bottom: 0.25rem;
}

.contact-modal-sub {
  color: #8c909f;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form input {
  background: rgba(8, 11, 22, 0.5);
  border: 1px solid rgba(66, 71, 84, 0.4);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  color: #dce1fb;
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus { border-color: #4d8eff; }
.contact-form input::placeholder { color: rgba(140, 144, 159, 0.5); }

.contact-submit {
  background: linear-gradient(135deg, #adc6ff, #4d8eff);
  color: #080B16;
  border: none;
  border-radius: 4px;
  padding: 0.8rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-submit:hover { opacity: 0.85; }
.contact-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.contact-msg {
  font-size: 0.85rem;
  min-height: 1.2rem;
  margin-top: 0.5rem;
}

.contact-msg-success { color: #3cd7ff; }
.contact-msg-error { color: #ff6b6b; }

/* Contact Section */
#contact {
  padding: 5rem 2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

#contact h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-sub {
  color: #8c909f;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.contact-row {
  display: flex;
  gap: 0;
  border: 1px solid rgba(66, 71, 84, 0.4);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.contact-row:focus-within { border-color: #4d8eff; }

.contact-row input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.9rem 1rem;
  color: #dce1fb;
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}

.contact-row input::placeholder { color: rgba(140, 144, 159, 0.5); }
.contact-row input + input { border-left: 1px solid rgba(66, 71, 84, 0.3); }

.contact-submit {
  background: linear-gradient(135deg, #adc6ff, #4d8eff);
  color: #080B16;
  border: none;
  padding: 0 1.5rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.contact-submit:hover { opacity: 0.85; }
.contact-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.contact-msg {
  text-align: center;
  font-size: 0.85rem;
  min-height: 1.2rem;
  margin-top: 0.75rem;
}

.contact-msg-success { color: #3cd7ff; }
.contact-msg-error { color: #ff6b6b; }

@media (max-width: 480px) {
  .contact-row { flex-direction: column; }
  .contact-row input + input { border-left: none; border-top: 1px solid rgba(66, 71, 84, 0.3); }
  .contact-submit { padding: 0.9rem; }
}
