* {
  box-sizing: border-box;
}

/* Mengaktifkan kesan smooth scroll apabila link menu diklik */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f5f7fb;
  
  /* Subtle Modern Tech Dot Matrix Background Pattern from member file */
  background-image: radial-gradient(rgba(43, 89, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  
  color: #222;
  overflow-x: hidden;
  position: relative;
}

/* ================= AMALAN ANIMASI UTAMA (KEYFRAMES) ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(30px, 20px); }
}

@keyframes infiniteScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1.25rem)); }
}

/* Animasi Pergerakan Slaid Skrin Telefon (3 Gambar) */
@keyframes phoneSlider {
  0%, 28% { transform: translateX(0); }
  33%, 61% { transform: translateX(-33.3333%); }
  66%, 94% { transform: translateX(-66.6666%); }
  100% { transform: translateX(0); }
}

/* Animasi Indicator Dots Ikut Gambar Semasa */
@keyframes activeDot1 {
  0%, 28%, 100% { background-color: #2b59ff; transform: scale(1.25); }
  33%, 94% { background-color: rgba(11, 31, 58, 0.3); transform: scale(1); }
}

@keyframes activeDot2 {
  0%, 28%, 66%, 100% { background-color: rgba(11, 31, 58, 0.3); transform: scale(1); }
  33%, 61% { background-color: #2b59ff; transform: scale(1.25); }
}

@keyframes activeDot3 {
  0%, 61%, 100% { background-color: rgba(11, 31, 58, 0.3); transform: scale(1); }
  66%, 94% { background-color: #2b59ff; transform: scale(1.25); }
}

/* Animasi Khas Pop-Up Slaid Untuk Kad Skor SUS */
@keyframes metricCardReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animasi Kilauan Shimmer Pada Teks Skor */
@keyframes scoreShimmer {
  0% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.01); }
  100% { opacity: 0.9; transform: scale(1); }
}


/* ================= BACKGROUND GLOW BLOBS ================= */
.bg-glow-1, .bg-glow-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.5;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

.bg-glow-1 {
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(43, 89, 255, 0.12) 0%, transparent 70%);
}

.bg-glow-2 {
  bottom: 100px;
  right: -150px;
  background: radial-gradient(circle, rgba(11, 31, 58, 0.1) 0%, transparent 70%);
  animation-delay: 2s;
}


/* ================= NAVBAR / HEADER ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 3px 15px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: fadeIn 0.8s ease forwards;
}

.navbar h2 {
  font-size: 25px;
  color: white;
  letter-spacing: 1px;
  margin: 0;
}

.navbar ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  font-size: 15px;
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar a {
  color: white;
  text-decoration: none;
  display: inline-block;
}

.navbar li:hover, .navbar a:hover {
  color: #60a5fa;
}

.navbar li:hover {
  transform: translateY(-2px);
}


/* ================= MAIN CONTAINER ================= */
.container {
  padding: 40px 100px 60px;
  max-width: 1200px;
  margin: auto;
  position: relative;
  scroll-margin-top: 75px;
}

.section-border-top {
  border-top: 1px solid #e2e8f0;
  margin-top: 30px;
  padding-top: 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
}


/* ================= HEADING ================= */
h1 {
  font-size: 45px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #0b1f3a;
}

h3 {
  color: #2b59ff;
  font-weight: 500;
  margin-bottom: 25px;
}

.section-title {
  font-size: 36px;
  color: #0b1f3a;
  margin: 0 0 15px 0;
  font-weight: 600;
  position: relative;
  display: inline-block;
}


/* ================= DESCRIPTION ================= */
.desc {
  max-width: 700px;
  margin: auto;
  color: #666;
  line-height: 1.8;
  font-size: 16px;
}


/* ================= PROJECT INFO BOX (SUB-PAGE) ================= */
.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 40px auto 20px;
  text-align: left;
}

.info > div {
  background: white;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(43, 89, 255, 0.06);
  border-top: 4px solid #2b59ff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.info > div:hover {
  transform: translateY(-10px);
  border-color: #2b59ff;
  box-shadow: 0 15px 35px rgba(43, 89, 255, 0.2);
}

.info h4 {
  margin: 0 0 10px 0;
  color: #2b59ff;
  font-size: 16px;
  font-weight: 600;
}

.info p {
  margin: 0;
  color: #5f6b7a;
  line-height: 1.7;
}


/* ================= TEXT SECTION ================= */
.text {
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 850px;
  margin: 50px auto;
  line-height: 1.9;
  color: #555;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  text-align: left;
}

.text p {
  margin-bottom: 25px;
}


/* ================= PROJECT GALLERY & IMAGES ================= */
.project-gallery {
  display: grid;
  gap: 24px;
  margin: 40px auto 0;
  max-width: 950px;
}

.gallery-item {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.gallery-item h4 {
  margin-top: 0;
  color: #0b1f3a;
}

.gallery-item p {
  color: #5f6b7a;
  margin-bottom: 16px;
  line-height: 1.7;
}

.project-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  background: #f8fafc;
  transition: 0.3s;
}

.project-image:hover {
  transform: scale(1.03);
}

/* Styling Gambar Telefon Pintar (Asal) */
.phone-image {
  width: 280px;
  max-width: 100%;
  display: block;
  margin: 30px auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  transition: 0.3s;
}

.phone-image:hover {
  transform: scale(1.03);
}

/* ================= KOTAK BARIS MELINTANG (BULLETPROOF HORIZONTAL FIX) ================= */
.phone-image-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important; /* Menghalang keras imej pecah turun ke bawah */
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 35px auto 10px !important;
}

/* Mematikan paksa block layout & auto-margins kawan kau yang merosakkan baris melintang */
.phone-image-row .phone-image {
  display: inline-block !important;
  width: 24% !important; /* Memotong saiz tepat bagi muat 4 gambar sebaris */
  max-width: 24% !important;
  height: auto !important;
  margin: 0 !important; /* BUANG MARGIN AUTO MENEGAK */
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
  transition: transform 0.3s ease !important;
}

.phone-image-row .phone-image:hover {
  transform: scale(1.05) translateY(-4px) !important;
}


/* ================= UTILITY IMAGE PLACEHOLDER ================= */
.image-placeholder {
  width: 100%;
  height: 420px;
  border: 3px dashed #2b59ff;
  border-radius: 20px;
  margin: 35px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7faff;
  transition: .3s;
}

.image-placeholder:hover {
  background: #eef5ff;
}

.image-placeholder span {
  color: #2b59ff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .5px;
}


/* ================= USABILITY EVALUATION METRIC ================= */
.metric-section {
  margin: 60px auto 40px;
  max-width: 850px;
  text-align: center;
}

.metric-section-title {
  font-size: 20px;
  color: #1e3a2f;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: 0.2px;
}

.metric-card {
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 45px 50px;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0,0,0,0.02);
  animation: metricCardReveal 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.metric-icon {
  color: #6e5d1e;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
}

.metric-icon svg {
  width: 100%;
  height: 100%;
}

.metric-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #062318;
  margin: 0 0 35px 0;
  min-height: auto;
}

.metric-score {
  font-size: 52px;
  font-weight: 600;
  color: #6e5d1e;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  animation: scoreShimmer 3s ease-in-out infinite;
}

.metric-badge-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.metric-benchmark {
  color: #555c58;
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}


/* ================= HOME PAGE / HERO ================= */
#home-section {
  position: relative;
  overflow: hidden;
  max-width: none;
  width: 100%;
  margin-bottom: 20px;
  padding-left: 0;
  padding-right: 0;
}

#home-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('bg2.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(6px);
  opacity: 0.32;
  z-index: -2;
  transform: scale(1.06); 
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  padding: 60px 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero > div:first-child {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(43, 89, 255, 0.15);
  color: #2b59ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  margin-top: 0;
  margin-bottom: 18px;
  max-width: 20ch;
  line-height: 1.3;
}

.hero-copy {
  max-width: 620px;
  color: #22252a;
  line-height: 1.9;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: linear-gradient(135deg, #2b59ff, #163b70);
  color: white;
  box-shadow: 0 12px 28px rgba(43, 89, 255, 0.22);
}

.btn-secondary {
  background: white;
  color: #0b1f3a;
  border: 1px solid rgba(11, 31, 58, 0.12);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.15);
}

.home-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-logo {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 20px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 24px;
}


/* ================= 3. GOALS & OBJECTIVES STYLING ================= */
.hero-section {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease forwards;
}

.tagline {
  color: #2b59ff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.main-title {
  font-size: 2.8rem;
  color: #0b1f3a;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.goal-box {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 850px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.goal-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(43, 89, 255, 0.1);
  border-color: rgba(43, 89, 255, 0.3);
}

.goal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: #2b59ff;
}

.goal-text {
  font-size: 1.15rem;
  color: #5f6b7a;
  line-height: 1.8;
  text-align: left;
}

.goal-text strong {
  color: #2b59ff;
  font-weight: 600;
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.objective-card {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  animation: fadeInUp 1s ease forwards;
}

.objective-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(43, 89, 255, 0.1);
  border-color: rgba(43, 89, 255, 0.3);
}

.icon-wrapper-goal {
  width: 60px;
  height: 60px;
  background-color: rgba(43, 89, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.objective-card:hover .icon-wrapper-goal {
  background-color: #2b59ff;
  transform: scale(1.05) rotate(5deg);
}

.icon-wrapper-goal svg {
  width: 28px;
  height: 28px;
  color: #2b59ff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.objective-card:hover .icon-wrapper-goal svg {
  color: #ffffff;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #0b1f3a;
  font-weight: 600;
}

.card-desc {
  color: #5f6b7a;
  font-size: 0.95rem;
  line-height: 1.7;
}

.outcomes-container {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  text-align: left;
  margin-bottom: 4rem;
}

.outcomes-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 14px;
  background-color: rgba(248, 250, 252, 0.8);
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.outcome-item:hover {
  background-color: #ffffff;
  border-color: rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  transform: translateX(6px);
}

.status-badge {
  background-color: #dcfce7;
  color: #16a34a;
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.outcome-content h4 {
  font-size: 1.1rem;
  color: #0b1f3a;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.outcome-content p {
  color: #5f6b7a;
  font-size: 0.95rem;
  margin: 0;
}


/* ================= PROTOTYPE GRID ================= */
.prototype-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 25px;
}

.prototype-card {
  display: block;
  text-decoration: none;
  text-align: left;
}

.prototype-img-box {
  width: 100%;
  height: 200px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.01);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.prototype-icon {
  width: 70px;
  height: 70px;
  display: block;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.prototype-icon path {
  fill: #0b1f3a !important;
}

.prototype-card:hover .prototype-img-box {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(11, 31, 58, 0.08);
  border-color: rgba(43, 89, 255, 0.15);
}

.prototype-card:hover .prototype-icon { transform: scale(1.1); }

.prototype-info { margin-top: 12px; padding-left: 4px; }

.prototype-info span {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.2px;
  transition: color 0.3s ease;
}

.prototype-card:hover .prototype-info span { color: #2b59ff; }

.placeholder-card { 
  opacity: 1 !important; 
}

.placeholder-card .prototype-icon { 
  opacity: 1 !important; 
}


/* ================= LIVE DEMO SECTION ================= */
.demo-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
  background: white;
  padding: 60px 50px;
  border-radius: 32px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.02);
}

.phone-container { display: flex; justify-content: center; }

.phone-mockup {
  position: relative;
  width: 290px;
  height: 590px;
  background: #000;
  border: 11px solid #0b1f3a;
  border-radius: 42px;
  box-shadow: 0 25px 60px -10px rgba(11, 31, 58, 0.25);
  overflow: hidden;
}

.phone-speaker {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 4px;
  background: #1e293b;
  border-radius: 10px;
  z-index: 12;
}

.phone-dynamic-island {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 85px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 11;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
}

/* TRACK BINGKAI SLIDER (3 GAMBAR) */
.phone-slider-track {
  display: flex;
  width: 300%;
  height: 100%;
  animation: phoneSlider 12s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}

.phone-slide {
  width: 33.3333%;
  height: 100%;
  flex-shrink: 0;
}

.phone-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FLOATING DOTS AREA */
.phone-slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.6);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.phone-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.phone-dot.dot-1 { animation: activeDot1 12s cubic-bezier(0.85, 0, 0.15, 1) infinite; }
.phone-dot.dot-2 { animation: activeDot2 12s cubic-bezier(0.85, 0, 0.15, 1) infinite; }
.phone-dot.dot-3 { animation: activeDot3 12s cubic-bezier(0.85, 0, 0.15, 1) infinite; }

.demo-features-list { display: flex; flex-direction: column; gap: 30px; text-align: left; }

.demo-feature-item { padding: 10px 10px 10px 24px; border-left: 3px solid #e2e8f0; transition: 0.3s; }

.demo-feature-item:hover { border-left-color: #2b59ff; padding-left: 28px; }

.demo-feature-item h4 { margin: 0 0 8px 0; color: #0b1f3a; font-size: 18px; }

.demo-feature-item p { margin: 0; color: #5f6b7a; font-size: 14.5px; line-height: 1.7; }


/* ================= 6. INFINITE MARQUEE ONLY STYLING ================= */
.testimonials-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.marquee-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 2rem 0;
}

.marquee-wrapper::before, .marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.marquee-wrapper::before { left: 0; background: linear-gradient(to right, #f5f7fb 10%, transparent); }

.marquee-wrapper::after { right: 0; background: linear-gradient(to left, #f5f7fb 10%, transparent); }

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: infiniteScroll 30s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.rating-card {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 2rem;
  width: 420px;
  white-space: normal;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.rating-card:nth-child(odd) { transform: rotate(1.2deg); }

.rating-card:nth-child(even) { transform: rotate(-1.2deg); }

.rating-card:hover {
  transform: translateY(-12px) scale(1.03) rotate(0deg) !important;
  box-shadow: 0 20px 30px -10px rgba(43, 89, 255, 0.15);
  border-color: rgba(43, 89, 255, 0.4);
  z-index: 10;
}

.card-top-marquee {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.user-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #0b1f3a;
}

.star-container {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 1px;
  display: flex;
}

.rating-comment {
  color: #5f6b7a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}


/* ================= TEAM MEMBER SECTION ================= */
.member-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.member-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  text-align: left;
  border: 1px solid rgba(0,0,0,0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card:hover {
  transform: translateY(-10px);
  border-color: rgba(43, 89, 255, 0.3);
  box-shadow: 0 24px 48px rgba(11, 31, 58, 0.1);
}

.member-img-box {
  width: 100%;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #eef2f7;
}

.member-img-box img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }

.member-card:hover .member-img-box img { transform: scale(1.15) rotate(1deg); }

.member-id { font-size: 13px; color: #94a3b8; font-weight: 500; margin: 0 0 6px 0; }

.member-card h3 { font-size: 18px; color: #0b1f3a; margin: 0 0 15px 0; font-weight: 600; min-height: 52px; }

.member-meta { font-size: 14px; color: #5f6b7a; line-height: 1.8; border-top: 1px dashed #e2e8f0; padding-top: 12px; margin-bottom: 20px; }

.member-meta strong { color: #0b1f3a; }

.btn-portfolio { display: inline-block; color: #2b59ff; text-decoration: none; font-weight: 600; font-size: 14px; }


/* ================= SUB-PAGE NAVIGATION ACTIONS (BUTTONS) ================= */
.project-navigation-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 60px auto 20px;
  max-width: 950px;
  width: 100%;
}

.project-navigation-actions .btn {
  min-width: 180px;
  text-align: center;
  white-space: nowrap;
}


/* ================= FOOTER ================= */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 80px;
  background: linear-gradient(135deg,#163b70,#0b1f3a);
  color: white;
  font-size: 14px;
  margin-top: 95px;
}

.footer p { margin: 0; }


/* ================= RESPONSIVE DESIGN BREAKPOINTS ================= */
@media(max-width:1024px) {
  .member-grid, .objectives-grid { 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
  }
  .prototype-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:768px) {
  .navbar { padding: 20px 30px; flex-direction: column; gap: 15px; }
  .navbar ul { flex-wrap: wrap; justify-content: center; }
  .container { padding: 60px 24px 40px; }
  
  .hero { 
    grid-template-columns: 1fr; 
    padding-left: 24px; 
    padding-right: 24px; 
  }
  
  .feature-grid, .member-grid, .prototype-grid, .demo-wrapper, .objectives-grid { 
    grid-template-columns: 1fr; 
  }
  
  .demo-wrapper, .outcomes-container, .rating-card { padding: 30px 20px; }
  .rating-card { width: 320px; }
  .prototype-img-box { height: 160px; padding: 15px; }
  .project-image { max-height: 260px; }
  h1 { font-size: 35px; }
  .main-title { font-size: 2.2rem; }
  .footer { flex-direction: column; gap: 15px; text-align: center; padding: 30px; }
  
  /* Responsive susunan butang sub-page */
  .project-navigation-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
  }
  .project-navigation-actions .btn {
    width: 100%;
    min-width: initial;
  }
  .project-navigation-actions .btn-primary {
    order: -1;
  }
  
  .metric-card {
    padding: 30px 25px;
  }
  .metric-score {
    font-size: 40px;
  }
}