/* ============================================================
   BALANJU DESIGN SYSTEM
   Original brand identity — Electric Indigo + Coral + Amber + Mint
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables — Balanju Brand Colors ── */
:root {
  /* Brand palette — 100% original, not inspired by any other company */
  --indigo: #6C3DE8;
  /* Electric Indigo  — primary */
  --coral: #FF4D6D;
  /* Coral Pink       — energy */
  --amber: #FF9F1C;
  /* Warm Amber       — warmth */
  --mint: #00C9A7;
  /* Mint Teal        — growth */

  /* Aliases used across components */
  --blue: var(--indigo);
  --red: var(--coral);
  --yellow: var(--amber);
  --green: var(--mint);

  --bg: #FFFFFF;
  --bg-grey: #F7F7FB;
  --text-dark: #1A1128;
  --text-mid: #3D3552;
  --text-grey: #6B6380;
  --border: #E4E0EF;

  --shadow-sm: 0 1px 3px rgba(108, 61, 232, .08), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 16px rgba(108, 61, 232, .10);
  --shadow-lg: 0 8px 32px rgba(108, 61, 232, .12);
  --shadow-xl: 0 20px 60px rgba(108, 61, 232, .15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --nav-h: 64px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Typography ── */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  color: var(--text-grey);
  line-height: 1.75;
}

/* ── Layout Utilities ── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid {
  display: grid;
}

.text-center {
  text-align: center;
}

.gap-sm {
  gap: 12px;
}

.gap-md {
  gap: 24px;
}

.gap-lg {
  gap: 40px;
}

/* ── Colorful Logo ── */
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo span:nth-child(1) {
  color: var(--indigo);
}

.logo span:nth-child(2) {
  color: var(--coral);
}

.logo span:nth-child(3) {
  color: var(--amber);
}

.logo span:nth-child(4) {
  color: var(--mint);
}

.logo span:nth-child(5) {
  color: var(--indigo);
}

.logo span:nth-child(6) {
  color: var(--coral);
}

.logo span:nth-child(7) {
  color: var(--amber);
}

.logo-dot {
  color: var(--indigo);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-grey);
  color: var(--text-dark);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 2px 8px rgba(108, 61, 232, 0.35);
}

.btn-primary:hover {
  background: #5a2fd4;
  box-shadow: 0 4px 16px rgba(108, 61, 232, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--indigo);
  border: 1.5px solid var(--indigo);
}

.btn-outline:hover {
  background: rgba(108, 61, 232, 0.06);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-grey);
  color: var(--text-dark);
}

.btn-ghost:hover {
  background: var(--border);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

/* ── Cards ── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

/* ── Section Labels ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--indigo);
  background: rgba(108, 61, 232, 0.08);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

/* ── Colorful Underline Accent ── */
.color-bar {
  display: flex;
  gap: 4px;
  margin: 16px 0;
}

.color-bar span {
  height: 4px;
  border-radius: 2px;
  flex: 1;
}

.color-bar span:nth-child(1) {
  background: var(--indigo);
}

.color-bar span:nth-child(2) {
  background: var(--coral);
}

.color-bar span:nth-child(3) {
  background: var(--amber);
}

.color-bar span:nth-child(4) {
  background: var(--mint);
}

/* ── Product Icon Circle ── */
.product-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(108, 61, 232, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0, 201, 167, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 60% 70%, rgba(255, 159, 28, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* ── Floating Blobs ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: blobFloat 8s ease-in-out infinite;
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--indigo);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--mint);
  bottom: 0px;
  left: -80px;
  animation-delay: -3s;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: var(--coral);
  top: 40%;
  right: 20%;
  animation-delay: -5s;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 15px) scale(0.97);
  }
}

/* ── Icon Scroll Strip (like Google) ── */
.icon-strip {
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}

.icon-strip::before,
.icon-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.icon-strip::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.icon-strip::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.icon-strip-inner {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollStrip 25s linear infinite;
}

.icon-strip-inner:hover {
  animation-play-state: paused;
}

.strip-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 1px solid var(--border);
  background: white;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: var(--transition);
}

.strip-icon:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

@keyframes scrollStrip {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ── Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-grey);
  font-weight: 500;
}

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: var(--transition);
}

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

.product-card:hover::before {
  opacity: 1;
}

.product-card[data-color="blue"]::before {
  background: var(--indigo);
}

.product-card[data-color="red"]::before {
  background: var(--coral);
}

.product-card[data-color="yellow"]::before {
  background: var(--amber);
}

.product-card[data-color="green"]::before {
  background: var(--mint);
}

.product-card h3 {
  margin: 10px 0 8px;
}

.product-card p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* ── Filter Pills ── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-pill {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.filter-pill.active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: white;
  box-shadow: 0 2px 8px rgba(108, 61, 232, 0.3);
}

/* ── Team Cards ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.team-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.82rem;
  color: var(--text-grey);
}

/* ── Values ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.value-card {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 10px;
  color: white;
}

.value-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.timeline-year {
  min-width: 80px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--indigo);
  padding-top: 8px;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--indigo);
  border: 3px solid white;
  box-shadow: var(--shadow-sm);
}

/* ── Contact Form ── */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(108, 61, 232, 0.12);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Footer ── */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 32px;
}

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

.footer h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.7);
}

.social-link:hover {
  background: var(--indigo);
  color: white;
  transform: translateY(-2px);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: var(--bg-grey);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(108, 61, 232, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── Hamburger Menu ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile Nav Drawer ── */
.mobile-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 12px 32px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mobile-nav a:hover {
  background: var(--bg-grey);
  color: var(--indigo);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-right .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .timeline::before {
    display: none;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
  }

  .timeline-dot {
    display: none;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Gradient BG Utility — Balanju Brand ── */
.bg-gradient-blue {
  background: linear-gradient(135deg, #6C3DE8, #5a2fd4);
}

/* Indigo */
.bg-gradient-red {
  background: linear-gradient(135deg, #FF4D6D, #e03057);
}

/* Coral  */
.bg-gradient-yellow {
  background: linear-gradient(135deg, #FF9F1C, #e88a10);
}

/* Amber  */
.bg-gradient-green {
  background: linear-gradient(135deg, #00C9A7, #00a88c);
}

/* Mint   */
.bg-light {
  background: var(--bg-grey);
}

/* ── Notification / Toast ── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--text-dark);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.1rem;
}