:root {
  --orange: #FF6B00;
  --yellow: #F5A200;
  --purple: #7C3AED;
  --blue: #0070E0;
  --green: #00A844;
  --red: #E8002D;
  --pink: #D6006A;
  --bg: #F9F6FF;
  --bg2: #FFFFFF;
  --text: #1A0A2E;
  --text-muted: #6B5C8A;
  --border: rgba(124, 58, 237, 0.12);
  --shadow: 0 4px 24px rgba(26, 10, 46, 0.07);
  --shadow-lg: 0 12px 48px rgba(26, 10, 46, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 100px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(26, 10, 46, 0.05);
  transition: all 0.3s;
}

nav.scrolled {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}


.nav-logo {
  position: absolute;
  left: 10px;
  top: -12px;
  z-index: 1001;
  transition: all 0.3s ease;
}

.nav-logo img {
  height: 120px;
  width: auto;
  padding: 5px;
  transition: height 0.3s ease;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
}



.nav-links {
  display: flex;
  gap: 15px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
  border-radius: 1px;
}

.nav-links a:hover {
  color: var(--orange);
}

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

.nav-links a.active {
  color: var(--orange);
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--red)) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 800 !important;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 0, 0.45) !important;
}

.nav-cta::after {
  display: none !important;
}

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

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--purple);
  border-radius: 2px;
  transition: all 0.3s;
}

.index-page .hamburger span {
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* HERO (Common for subpages) */
.sub-hero {
  padding: 140px 40px 80px;
  background: linear-gradient(160deg, #fff 0%, #F0EAFF 40%, #FFF3E6 80%, #fff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* SECTIONS */
section {
  padding: 80px 40px;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

h1,
h2,
h3 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--orange), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 1.8rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--orange);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-muted);
}

/* FOOTER */
footer {
  background: var(--text);
  color: white;
  padding: 60px 40px 28px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.footer-logo-text {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 1.5rem;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 300px;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.social-btn:hover {
  background: rgba(255, 107, 0, 0.3);
  border-color: var(--orange);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 1.05rem;
  color: var(--yellow);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--yellow);
}

/* CHATBOT */
.chatbot-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-fab:hover {
  transform: scale(1.1) rotate(5deg);
}

.chatbot-container {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  height: 500px;
  max-height: calc(100vh - 120px);
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 2000;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.chatbot-container.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.chatbot-header {
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  padding: 8px 12px;
  line-height: 1;
  position: relative;
  z-index: 2001;
}

#chatbot-close:hover {
  opacity: 1;
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8f9fa;
}

.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.chat-msg.bot {
  background: white;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.chat-msg.user {
  background: var(--purple);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.chatbot-input {
  display: flex;
  padding: 14px;
  background: white;
  border-top: 1px solid var(--border);
  gap: 8px;
}

#chatbot-input-field {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 10px 16px;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

#chatbot-input-field:focus {
  border-color: var(--purple);
}

#chatbot-send {
  background: var(--purple);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

#chatbot-send:hover {
  background: #5b21b6;
  transform: scale(1.05);
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 4px 8px;
  align-items: center;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #cbd5e1;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@media(max-width: 600px) {
  .chatbot-container {
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }
  .chatbot-fab {
    bottom: 20px;
    right: 20px;
  }
}

/* Modal Facebook */
.fb-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33, 20, 56, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

.fb-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.fb-modal-content {
  background: white;
  border-radius: 28px;
  width: min(480px, 100%);
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 90vh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(40px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fb-modal-overlay.active .fb-modal-content {
  transform: translateY(0) scale(1);
}

.fb-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.fb-modal-close:hover {
  transform: scale(1.1);
}

.fb-modal-header {
  height: 240px;
  background: #f0f7ff;
}

.fb-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-modal-body {
  padding: 32px;
  text-align: center;
}

.fb-modal-body h3 {
  margin: 0 0 12px;
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 1.6rem;
  color: var(--text);
}

.fb-modal-body p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1877F2;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: 99px;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-facebook:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(24, 119, 242, 0.4);
}

@media (max-width: 600px) {
  .fb-modal-overlay { padding: 16px; }
  .fb-modal-header { height: 160px; }
  .fb-modal-body { padding: 24px 20px; }
  .fb-modal-body h3 { font-size: 1.4rem; margin-bottom: 8px; }
  .fb-modal-body p { font-size: 0.95rem; margin-bottom: 20px; }
  .btn-facebook { padding: 12px 20px; font-size: 1rem; width: 100%; }
}

/* GRID SYSTEMS */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CONTENT CARDS */
.card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

  @media(max-width:850px) {
    section {
      padding: 60px 24px;
    }
  
    nav {
      padding: 0 15px;
      height: 80px;
      justify-content: flex-end;
    }
  
    .nav-links {
      display: none;
    }
  
    .nav-logo {
      left: 15px;
      top: 5px;
      z-index: 1000;
    }
  
    .nav-logo img {
      height: 70px;
      width: auto;
    }
  
    .hamburger {
      display: flex;
      background: transparent;
      border: none;
      padding: 10px;
      margin-left: auto;
      z-index: 1001;
    }

  footer {
    padding: 40px 24px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}