/* ===============================
   GLOBAL
================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* KUWAK BRAND COLORS */
  --primary: #8b2c8f;     /* Ungu KUWAK */
  --secondary: #e6007e;   /* Pink / Magenta */
  --accent: #b83280;      /* Ungu-pink lembut */

  /* Neutral */
  --text: #1f2937;
  --bg-soft: #faf5fb;     /* Soft ungu (bukan biru lagi) */
}


** {
  box-sizing: border-box;
}

/* Base typography scaling */
html{
  font-size: 16px;              /* ✅ naik sikit (default 16px) */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;             /* ✅ lebih kemas bila baca */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===============================
   NAVBAR
================================ */
.nav-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.nav-glass a {
  transition: 0.3s;
}

.nav-glass a:hover {
  opacity: 0.7;
}

.logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===============================
   BUTTONS
================================ */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-white {
  background: white;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;

  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;

  transition: all 0.25s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}


/* ===============================
   HERO
================================ */
.hero-section {
  background: linear-gradient(
    135deg,
    #5b4bb7 0%,
    var(--primary) 35%,
    var(--accent) 65%,
    var(--secondary) 100%
  );
}


.badge {
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}


.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.6px;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* ===============================
   STATS CARD
================================ */
.stats-card { background: rgba(255,255,255,0.95); 
  padding: 32px; 
  border-radius: 24px; 
  box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
}


.stat-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 20px;
  padding: 28px 24px;
  font-size: 2.1rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.35);
}

.stat-box span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 10px;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

/* ===============================
   SECTIONS
================================ */
.section {
  padding: 80px 24px;
}

.bg-soft {
  background: var(--bg-soft);
}

.section-badge {
  display: inline-block;
  background: rgba(139,44,143,0.12);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 16px;
}

/* ===============================
   CARDS
================================ */
.info-card,
.profile-card,
.industry-card,
.activity-card {
  background: white;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.info-card:hover,
.profile-card:hover,
.industry-card:hover,
.activity-card:hover {
  transform: translateY(-6px);
}

.info-card h3,
.profile-card h4 {
  font-weight: 700;
  margin-bottom: 8px;
}

.industry-card {
  font-weight: 600;
}

/* ===============================
   REGISTER
================================ */
.register-box {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent),
    var(--secondary)
  );
  color: white;
  padding: 64px 32px;
  border-radius: 32px;
}

/* ===============================
   FOOTER
================================ */
.footer {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  text-align: center;
  padding: 32px;
  font-size: 14px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
/* Navbar scroll effect */
#navbar.scrolled .nav-glass {
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
/* ===============================
   INDUSTRY CARDS (FINAL FIX)
================================ */

/* Override khas untuk industry sahaja */
.industry-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(102,126,234,0.25);
}

/* Icon bulat gradient */
.industry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
}

/* Gradient icon variants */
.gradient-purple {
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.gradient-pink {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}
.gradient-blue {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}
.gradient-green {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

/* Tajuk industri */
.industry-card h4 {
  font-weight: 600;
  margin-bottom: 12px;
}

/* Nombor besar */
.industry-count {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

/* Text kecil bawah */
.industry-card span {
  font-size: 0.85rem;
  color: #6b7280;
}
/* ===============================
   HERO ANIMATION
================================ */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-animate {
  animation: heroFade 0.9s ease-out both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.industry-card {
  cursor: pointer;
}

.year-btn {
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.year-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
