* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* FIX: prevent horizontal scroll */
}

body {
  font-family: "Poppins", sans-serif !important;
  background: linear-gradient(135deg, var(--cream) 0%, #f0e8d9 100%);
  overflow-x: hidden; /* FIX: prevent horizontal scroll */
  line-height: 1.7;
  max-width: 100%;
}

/* top bar */
.top-bar {
  background: linear-gradient(135deg, #ff4d00, #cc3a00);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
}

.scroll-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.scroll-content {
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-size: 13px;
  font-weight: 600;
  padding-right: 40px;
  flex-shrink: 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
  @keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  @keyframes shimmer {
    0%   { background-position: -800px 0; }
    100% { background-position: 800px 0; }
  }
  @keyframes pulse-dot {
    0%, 100% { opacity:1; transform:scale(1); }
    50%       { opacity:0.4; transform:scale(0.6); }
  }
  @keyframes badge-bob {
    0%, 100% { transform:translateY(0); }
    50%       { transform:translateY(-2px); }
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  .tb-wrap {
    width: 100%;
    background: linear-gradient(90deg, #b83000 0%, #e84800 25%, #ff6010 50%, #e84800 75%, #b83000 100%);
    position: relative;
    height: 45px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

  /* shimmer sweep */
  .tb-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
    background-size: 600px 100%;
    animation: shimmer 2.5s linear infinite;
    pointer-events: none;
    z-index: 3;
  }

  /* left brand */
  .tb-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    background: rgba(0,0,0,0.20);
    border-right: 1px solid rgba(255,255,255,0.25);
    z-index: 4;
    white-space: nowrap;
  }
  .tb-brand .star { color: #FFD700; font-size: 15px; animation: badge-bob 2s ease-in-out infinite; display:inline-block; }
  .tb-brand span { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

  /* fade masks on scroll area */
  .tb-scroll-area {
    flex: 1;
    overflow: hidden;
    position: relative;
    z-index: 2;
  }
  .tb-scroll-area::before,
  .tb-scroll-area::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 40px;
    z-index: 5;
    pointer-events: none;
  }
  .tb-scroll-area::before { left: 0; background: linear-gradient(90deg, #c84000, transparent); }
  .tb-scroll-area::after  { right: 0; background: linear-gradient(270deg, #c84000, transparent); }

  /* the moving strip — contains two identical copies */
  .tb-track {
    display: flex;
    align-items: center;
    height: 40px;
    width: max-content;
    animation: marquee 22s linear infinite;
  }
  .tb-track:hover { animation-play-state: paused; }

  /* one copy of items */
  .tb-set {
    display: flex;
    align-items: center;
    height: 40px;
    flex-shrink: 0;
  }

  .tb-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    height: 100%;
    border-right: 1px solid rgba(255,255,255,0.13);
    white-space: nowrap;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 1.6s ease-in-out infinite;
  }
  .d-gold  { background: #FFD700; }
  .d-lime  { background: #aaff44; animation-delay: 0.4s; }
  .d-sky   { background: #7dd3fc; animation-delay: 0.8s; }
  .d-pink  { background: #f9a8d4; animation-delay: 1.2s; }
  .d-white { background: rgba(255,255,255,0.85); animation-delay: 0.2s; }

  .pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    animation: badge-bob 2s ease-in-out infinite;
    white-space: nowrap;
  }
  .pill-white {
    background: rgba(255,255,255,0.20);
    border: 1px solid rgba(255,255,255,0.40);
    color: #fff;
  }
  .pill-gold {
    background: rgba(255,215,0,0.22);
    border: 1px solid rgba(255,215,0,0.55);
    color: #FFE566;
    animation-delay: 0.6s;
  }
  .pill-lime {
    background: rgba(170,255,68,0.18);
    border: 1px solid rgba(170,255,68,0.45);
    color: #ccff77;
    animation-delay: 1s;
  }

  /* right live badge */
  .tb-live {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: rgba(0,0,0,0.22);
    border-left: 1px solid rgba(255,255,255,0.22);
    z-index: 4;
  }
  .live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #aaff44;
    animation: pulse-dot 1s ease-in-out infinite;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(170,255,68,0.25);
  }
  .tb-live span { font-size: 10px; font-weight: 800; color: #aaff44; letter-spacing: 0.1em; text-transform: uppercase; }

  /* page preview wrapper */
  .demo-wrap {
    overflow: hidden;
    border: 1px solid rgba(200,80,0,0.3);
    box-shadow: 0 4px 24px rgba(200,80,0,0.12);
  }
  .demo-page {
    background: #f5f5f0;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 13px;
    font-family: -apple-system, sans-serif;
  }
/* navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav-logo-icon img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.logo-text .title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #ff4d00;
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-size: 10px;
  color: #666;
  line-height: 1.3;
}

/* desktop nav */
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-right a,
.dropbtn {
  text-decoration: none;
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 8px;
}

.nav-right a:hover,
.dropbtn:hover {
  background: rgba(255, 77, 0, 0.08);
  color: #ff4d00;
}

.btn-enroll {
  background: linear-gradient(135deg, #ff4d00, #cc3a00) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 18px !important;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  padding: 8px;
  z-index: 1001;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
}

.dropdown-content a:hover {
  background: rgba(255, 77, 0, 0.08);
}

/* hamburger */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #ff4d00;
  margin: 6px 0;
  border-radius: 999px;
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* mobile menu */
.mobile-menu {
  display: none;
  background: #ffffff;
  border-top: 1px solid #eee;
  padding: 10px 16px 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu > a,
.mobile-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: #1f2937;
  background: #fff;
  border: none;
  border-bottom: 1px solid #f1f1f1;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-accordion {
  width: 100%;
}

.mobile-acc-content {
  display: none;
  padding: 6px 0 10px 14px;
  background: #fff7f3;
  border-radius: 10px;
  margin: 6px 0 10px;
}

.mobile-accordion.open .mobile-acc-content {
  display: block;
}

.mobile-accordion.open .mobile-acc-btn span {
  transform: rotate(45deg);
}

.mobile-acc-btn span {
  font-size: 22px;
  line-height: 1;
  transition: 0.3s;
  color: #ff4d00;
}

.mobile-acc-content a {
  display: block;
  text-decoration: none;
  color: #444;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-acc-content a:last-child {
  border-bottom: none;
}

.mobile-enroll {
  display: block;
  text-align: center;
  margin-top: 12px;
  text-decoration: none;
  background: linear-gradient(135deg, #ff4d00, #cc3a00);
  color: #fff !important;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
}

/* social icons */
.social-icons {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}

.social-icons .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}


.social-icons .linkedin i { color: #0a66c2; }
.social-icons .instagram i { color: #e4405f; }
.social-icons .facebook i { color: #1877f2; }
.social-icons .email i { color: #ff4d00; }
.social-icons .phone i { color: #22c55e; }
.social-icons .whatsapp i { color: #25d366; }


/* ============================================================
   FLOATING SOCIAL ICONS
============================================================ */

.social-icons {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 900;
}
.social-icons .icon {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #333;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 17px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transition: all 0.3s ease; border: 1.5px solid rgba(0,0,0,0.06);
}
.social-icons .icon:hover { color:#fff; transform:translateX(-5px) scale(1.1); }
.social-icons .linkedin:hover  { background:#0a66c2; }
.social-icons .instagram:hover { background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285aeb 90%); }
.social-icons .facebook:hover  { background:#1877f2; }
.social-icons .email:hover     { background:#ff4d00; }
.social-icons .phone:hover     { background:#22c55e; }
.social-icons .whatsapp:hover  { background:#25d366; }
.social-icons .linkedin   i { color:#0a66c2; }
.social-icons .instagram  i { color:#e4405f; }
.social-icons .facebook   i { color:#1877f2; }
.social-icons .email      i { color:#ff4d00; }
.social-icons .phone      i { color:#22c55e; }
.social-icons .whatsapp   i { color:#25d366; }
.social-icons .icon:hover i { color:white; }
.social-icons .whatsapp { animation: waPulse 2.5s ease-in-out infinite; }
@keyframes waPulse {
  0%,100% { box-shadow:0 6px 14px rgba(0,0,0,0.12),0 0 0 0 rgba(37,211,102,0); }
  50%     { box-shadow:0 6px 14px rgba(0,0,0,0.12),0 0 0 8px rgba(37,211,102,0.2); }
}

/* responsive */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-right {
    display: none;
  }

  .social-icons {
    display: none;
  }

  .logo-text .title {
    font-size: 14px;
  }

  .logo-text small {
    font-size: 9px;
  }
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}