:root {
  --color-primary: #3B2A63;
  --color-primary-dark: #211644;
  --color-secondary: #FBC336;
  --color-accent: #5B2C92;
  --color-light: #F3EEFA;
  --color-white: #FFFFFF;
  --color-text: #4A4A4A;
  --color-text-light: #7A7A7A;
  --font-main: 'Quicksand', sans-serif;
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }

img { max-width: 100%; height: auto; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* --- Section header --- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.section-header .line {
  height: 2px;
  width: 40px;
  background-color: var(--color-primary);
  display: inline-block;
}

.section-header.align-left { justify-content: flex-start; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
}

.btn:active { transform: scale(0.95); }

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(59, 42, 99, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(59, 42, 99, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-light);
  color: var(--color-primary);
}

.btn-secondary:hover { background-color: #E2D6F5; transform: translateY(-2px); }

.btn-text {
  background: transparent;
  color: var(--color-primary);
  padding: 12px 10px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}

.btn-text:hover { border-bottom: 2px solid var(--color-primary); }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background-color: transparent;
  z-index: 1000;
  transition: padding var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo — shared by navbar and footer */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-chars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.logo-chars img {
  height: 36px;
  width: auto;
  transition: transform var(--transition-fast);
}

.logo-chars img:hover { transform: translateY(-3px); }

.logo-chars-lg img { height: 52px; }

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: 0.5px;
}

.logo-tagline {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1.5px;
}

.footer-wordmark .logo-name { font-size: 1.2rem; }
.footer-wordmark .logo-tagline { font-size: 0.65rem; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-primary);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-primary-dark);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  padding: 100px 0 0;
  background-color: var(--color-light);
  position: relative;
  overflow: hidden;
}

/* Sparkle decorations */
.sparkle {
  position: absolute;
  color: var(--color-primary);
  font-style: normal;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.sp-1 { top: 10%;  left: 36%;  font-size: 32px; opacity: 0.55; transform: rotate(15deg); }
.sp-2 { top: 18%;  left: 45%;  font-size: 16px; opacity: 0.8; }
.sp-3 { top: 65%;  left: -2%;  font-size: 24px; opacity: 0.6; }
.sp-4 { top: 12%;  right: 12%; font-size: 20px; opacity: 0.4; }
.sp-5 { bottom: 15%; left: 35%; font-size: 18px; opacity: 0.5; }
.sp-6 { top: 40%;  right: -2%; font-size: 28px; opacity: 0.3; }

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  align-items: center;
  position: relative;
}

.hero-content {
  padding-bottom: 60px;
  position: relative;
  z-index: 3;
}

.hero-content h1 {
  font-size: 4.8rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-chars {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 45px;
  margin-left: 10px;
}

.hero-chars .char {
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(59, 42, 99, 0.15));
  transition: transform var(--transition-normal);
}

.char-clapperboard { height: 90px; transform: rotate(-5deg); }
.char-star         { height: 85px; transform: translateY(-8px); }
.char-camera       { height: 80px; transform: rotate(5deg); }

.hero-chars .char:hover { transform: translateY(-10px) scale(1.05); }

/* Hero image — transparent cutout PNG */
.hero-image {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 1;
}

.hero-image > img {
  width: 125%;
  max-width: none;
  max-height: 680px;
  object-fit: contain;
  object-position: bottom right;
  mix-blend-mode: multiply;
  margin-right: -10%;
  transform: translateY(10px);
}

/* Small decorative dashes in the hero image area */
.hero-dash {
  position: absolute;
  background-color: var(--color-primary-dark);
  border-radius: 4px;
  opacity: 0.55;
}

.dash-1 { width: 22px; height: 4px; top: 22%;  right: -5%;  transform: rotate(-15deg); }
.dash-2 { width: 16px; height: 4px; top: 14%;  right: 2%;   transform: rotate(20deg); }
.dash-3 { width: 14px; height: 4px; top: 32%;  right: -2%;  transform: rotate(-45deg); }
.dash-4 { width: 12px; height: 3px; top: 8%;   right: 5%;   transform: rotate(45deg); }

/* Wave Dividers */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-bottom { 
  bottom: -1px; 
  transform: rotate(180deg); 
  z-index: 2; 
}
.wave-bottom .shape-fill { 
  fill: #FFFFFF; 
}

.wave-top { 
  top: -1px; 
  z-index: 2; 
}
.wave-top .shape-fill { 
  fill: #FFFFFF; 
}

/* --- Services (What We Do) --- */
.services {
  padding: 100px 0;
  background-color: var(--color-white);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  padding: 40px 20px 30px;
  border-radius: 20px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(59, 42, 99, 0.08);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: var(--color-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  color: var(--color-primary);
  overflow: hidden;
}

.icon-wrapper-yellow {
  background-color: #FFF2D1;
  color: var(--color-secondary);
}

.icon-wrapper-purple {
  background-color: #E2D6F5;
  color: var(--color-accent);
}

.service-brand-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.service-card p { flex: 1; }

.card-underline {
  display: block;
  width: 32px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  margin-top: 20px;
  opacity: 0.25;
}

.service-card:nth-child(2) .card-underline { background-color: var(--color-secondary); }
.service-card:nth-child(3) .card-underline { background-color: var(--color-accent); }

/* --- Why Join Section --- */
.why-join {
  padding: 120px 0;
  background-color: var(--color-light);
  position: relative;
}

.why-join-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-content > h2 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: var(--color-primary);
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefits-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.icon-circle.bg-purple { background-color: var(--color-primary); color: var(--color-white); }
.icon-circle.bg-light  { background-color: rgba(59, 42, 99, 0.1); color: var(--color-primary); }

.benefits-list h3 { font-size: 1.2rem; margin-bottom: 5px; }

/* Why image with decorations */
.why-image {
  position: relative;
  padding: 20px 20px 40px 20px;
}

.why-blob {
  position: absolute;
  inset: 0;
  background: var(--color-white);
  border-radius: 62% 38% 46% 54% / 55% 48% 52% 45%;
  z-index: 0;
  box-shadow: 0 20px 50px rgba(59, 42, 99, 0.07);
}

.why-image > img:not(.why-char-corner) {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  width: 100%;
  object-fit: cover;
}

.why-char-corner {
  position: absolute;
  bottom: 2px;
  left: -10px;
  height: 86px;
  width: auto;
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.why-star-outline {
  position: absolute;
  bottom: 10px;
  right: -4px;
  width: 52px;
  height: 52px;
  z-index: 3;
}

.why-sp-1 { top: -8px;  right: 18%; font-size: 18px; opacity: 0.5; color: var(--color-primary); }
.why-sp-2 { top: 28%;   right: -16px; font-size: 13px; opacity: 0.4; color: var(--color-primary); }
.why-sp-3 { bottom: 30%; left: -20px; font-size: 11px; opacity: 0.35; color: var(--color-primary); }

/* --- CTA Section --- */
.cta {
  background-color: var(--color-primary);
  padding: 80px 0;
  color: var(--color-white);
  position: relative;
}

.cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.cta-text h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.cta-text p { font-size: 1.1rem; opacity: 0.9; }

.cta-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-char {
  height: 130px;
  width: auto;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.15));
  position: relative;
  z-index: 1;
}

/* Decorative dashes around CTA star */
.cta-line {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.45);
  border-radius: 3px;
}

.cl-1 { width: 26px; height: 4px; top: 15%;  left: -20px; transform: rotate(-35deg); }
.cl-2 { width: 18px; height: 4px; top: 32%;  left: -28px; transform: rotate(-35deg); }
.cl-3 { width: 22px; height: 4px; top: 50%;  left: -24px; transform: rotate(-35deg); }
.cl-4 { width: 14px; height: 3px; top: 65%;  left: -16px; transform: rotate(-35deg); }

.cta-action {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* --- Footer --- */
footer {
  background-color: var(--color-light);
  padding: 80px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand { display: flex; flex-direction: column; gap: 0; }

.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.social-links { display: flex; gap: 15px; }

.social-links a {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-normal);
}

.social-links a:hover { background-color: var(--color-primary-dark); transform: translateY(-3px); }

.footer-links h3,
.footer-contact h3 { font-size: 1.2rem; margin-bottom: 20px; }

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--color-primary); }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(59, 42, 99, 0.1);
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* --- Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 22, 68, 0.8);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.modal-content {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(-20px);
  transition: transform var(--transition-normal);
}

.modal.show .modal-content { transform: translateY(0); }

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
}

.close-modal:hover { color: var(--color-primary-dark); }
.modal-content h2 { margin-bottom: 10px; }
.modal-content p { margin-bottom: 20px; color: var(--color-text-light); }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 42, 99, 0.1);
}

.modal-content .btn { width: 100%; justify-content: center; }

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-container, .why-join-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 { font-size: 3.5rem; }
  .hero-content p  { margin: 0 auto 30px; }
  .hero-buttons    { justify-content: center; }
  .hero-chars      { justify-content: center; margin-left: 0; }
  .hero-content { padding-bottom: 0; }
  
  .hero-image { 
    margin-top: 30px; 
    justify-content: center;
  }
  
  .hero-image > img {
    width: 100%;
    margin-right: 0;
    max-height: 400px;
    object-position: bottom center;
  }

  .why-content > h2 { font-size: 2.2rem; }
  .section-header   { justify-content: center; }
  .benefits-list li { text-align: left; }

  .cta-container { flex-direction: column; text-align: center; }
  .cta-action    { align-items: center; }

  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar .btn-primary { display: none; }

  .hero { padding: 120px 0 0; }
  .hero-content h1 { font-size: 2.8rem; }

  .logo-chars img      { height: 28px; }
  .logo-name           { font-size: 0.9rem; }
  .logo-tagline        { font-size: 0.5rem; }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links        { justify-content: center; }
  .footer-contact p    { justify-content: center; }
  .footer-logo-wrap    { align-items: center; }
  .logo-chars-lg img   { height: 40px; }
}
