/* =========================
   COLOR VARIABLES
   ========================= */
:root {
  --color-bg: #f8f7ff;
  --color-bg-alt: #ffffff;
  --color-nav-bg: rgba(255, 255, 255, 0.92);
  --color-text: #1a1040;
  --color-text-muted: #6b6490;
  --color-accent: #7c3aed;
  --color-accent-light: #ede9fe;
  --color-accent-mid: #a78bfa;
  --color-accent-dark: #5b21b6;
  --color-border: #e5e0f9;
  --color-white: #ffffff;
  --color-footer-bg: #1a1040;
  --font-family-titles: "Monoton", cursive;
  --font-family-main: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 4px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 4px 24px rgba(124, 58, 237, 0.10);
  --shadow-lg: 0 8px 40px rgba(124, 58, 237, 0.13);
}

/* =========================
   BASE
   ========================= */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
}

/* =========================
   NAVIGATION
   ========================= */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem 2rem;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-family-main);
  letter-spacing: 0.01em;
}

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

nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--color-accent);
}

.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--color-accent-dark) !important;
  color: var(--color-white) !important;
  transform: translateY(-1px);
}

.lang-options {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-options a {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lang-options a:hover {
  opacity: 1;
}

/* =========================
   BURGER
   ========================= */
.burger {
  display: none;
  background: var(--color-accent-light);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 6px 10px;
  font-size: 1.1rem;
  transition: background 0.2s;
  line-height: 1;
}

.burger:hover {
  background: var(--color-border);
}

@media (max-width: 700px) {
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 58px;
    right: 0;
    left: 0;
    background: var(--color-bg-alt);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
  }

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

  .nav-links a {
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .nav-cta {
    margin: 0.75rem 1.5rem;
    width: auto !important;
  }

  .lang-dropdown {
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: center;
  }
}

/* =========================
   SECTIONS
   ========================= */

/* All sections are opaque by default so they cover the fixed video */
section {
  position: relative;
  background: var(--color-bg);
  padding: 80px 20px 100px;
  text-align: center;
}

section.alt-bg {
  background: var(--color-bg-alt);
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--color-text);
  font-family: var(--font-family-main);
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
  padding-bottom: 0.55rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 99px;
  background: var(--color-accent);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* =========================
   HERO / VIDEO
   ========================= */

/* The video is fixed behind everything */
#video-section {
  position: relative;
  height: 68vh;
  min-height: 480px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* let fixed video show through */
  padding: 0;
}

#video-section video {
  position: fixed;   /* stays in place while scrolling */
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;       /* behind everything */
}

/* Purple overlay — covers the full hero section */
#video-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.72) 0%, rgba(26, 16, 64, 0.65) 100%);
  z-index: 0;
}

.overlay {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  text-align: center;
  animation: fadeInUp 0.9s ease;
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.overlay h1 {
  font-family: var(--font-family-titles);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: normal;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.overlay p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
}

/* =========================
   SPARKLE BUTTON (Hero CTA)
   ========================= */
.btn-sparkle-wrap {
  position: relative;
  display: inline-block;
}

.btn-sparkle {
  padding: 0.85rem 2.2rem;
  font-family: var(--font-family-main);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1040;
  background: #e0c9ff;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.btn-sparkle:hover {
  background: #ffffff;
  color: #5b21b6;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.45), 0 6px 28px rgba(124, 58, 237, 0.25);
}

.btn-sparkle::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.0) 20%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.0) 80%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: shinePass 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shinePass {
  0%,  10% { left: -100%; opacity: 0; }
  12%      { opacity: 1; }
  55%      { left: 160%; opacity: 1; }
  57%, 100%{ left: 160%; opacity: 0; }
}

.sparkle {
  position: absolute;
  background: #fff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: sparklePop 1.8s ease-in-out infinite;
  opacity: 0;
  pointer-events: none;
}

.sparkle:nth-child(1) { top: -8px;    left: 10px;   animation-delay: 0s;    width: 10px; height: 10px; }
.sparkle:nth-child(2) { top: -5px;    right: 18px;  animation-delay: 0.5s;  width: 7px;  height: 7px;  }
.sparkle:nth-child(3) { bottom: -6px; left: 28px;   animation-delay: 0.9s;  width: 9px;  height: 9px;  }
.sparkle:nth-child(4) { bottom: -4px; right: 10px;  animation-delay: 1.3s;  width: 6px;  height: 6px;  }
.sparkle:nth-child(5) { top: 50%;     left: -10px;  animation-delay: 0.3s;  width: 8px;  height: 8px;  }

@keyframes sparklePop {
  0%,  100% { opacity: 0;   transform: scale(0)   rotate(0deg);  }
  30%        { opacity: 1;   transform: scale(1.3) rotate(20deg); }
  60%        { opacity: 0.6; transform: scale(0.9) rotate(40deg); }
}

/* =========================
   ICONS / FEATURES
   ========================= */
.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

.icon-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-mid);
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 1.1rem;
}

.icon-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.icon-box p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =========================
   ABOUT
   ========================= */
.about-content {
  max-width: 720px;
  margin: auto;
  text-align: left;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  background: var(--color-accent-light);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 2rem 2rem 2rem 2.5rem;
  position: relative;
}

.about-quote {
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.18;
  font-family: Georgia, serif;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  user-select: none;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: auto;
  align-items: stretch;
}

.testimonial {
  display: flex;
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  text-align: left;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.97rem;
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex: 1;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.testimonial-author-row img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent-light);
}

.testimonial-author-row span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* =========================
   CONTACT / FORM SECTION
   ========================= */

/* Section itself is transparent — fixed video shows through */
#form-section {
  background: transparent;
  padding: 0;
}

/* Full-bleed purple overlay, identical to the hero */
.form-overlay {
  width: 100%;
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.72) 0%, rgba(26, 16, 64, 0.65) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 100px;
}

/* The card itself is fully white, same as original */
.contact-card {
  max-width: 560px;
  width: 100%;
  padding: 2.5rem;
  background: var(--color-bg-alt);       /* solid white */
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: left;
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.9s ease;
}

.contact-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.contact-card h2 {
  font-family: var(--font-family-main);
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.contact-card p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.email-btn {
  display: block;
  background: var(--color-accent);
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  padding: 0.85rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  margin: 1.2rem 0;
}

.email-btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

.contact-divider {
  height: 1px;
  background: var(--color-border);
  margin: 1.2rem 0;
}

.contact-remind {
  font-weight: 600;
  color: var(--color-text) !important;
  font-size: 0.95rem !important;
  margin-bottom: 0.5rem !important;
}

.contact-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.2rem;
}

.contact-card ul li {
  padding: 0.35rem 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.contact-card .small-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--color-footer-bg);
  color: rgba(255,255,255,0.55);
  padding: 3rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-logo {
  font-family: var(--font-family-main);
  color: var(--color-accent-mid);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

footer p {
  margin-bottom: 0.4rem;
}

footer a {
  color: var(--color-accent-mid);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE / MOBILE
   ========================= */
@media (max-width: 700px) {
  .logo {
    font-size: 0.95rem;
  }

  #video-section {
    height: auto;
    min-height: 520px;
    padding: 5rem 1rem 3rem;
  }

  .overlay {
    padding: 1.5rem 1rem;
  }

  .overlay h1 {
    font-size: 1.8rem;
  }

  .overlay p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  section {
    padding: 60px 16px 70px;
  }

  #form-section {
    padding: 0;
  }

  .form-overlay {
    padding: 60px 16px 70px;
  }

  .icons-grid {
    grid-template-columns: 1fr;
  }

  .icon-box {
    padding: 1.4rem;
  }

  .about-content {
    font-size: 0.97rem;
    padding: 1.5rem 1.2rem 1.5rem 1.8rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.8rem 1.2rem;
  }

  .btn-sparkle {
    width: 100%;
    font-size: 1.05rem;
  }
}