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

:root {
  --primary: #045d5e;
  --primary-dark: #006062;
  --primary-light: #00857d;
  --orange: #fc7300;
  --orange-light: #fda459;
  --bg: #ffffff;
  --text-dark: #3f3f46;
  --text-muted: #71717a;
  --text-body: #52525b;
  --text-neutral: #515151;
  --border: #f0f1f1;
  --green-bg: #e7fae7;
  --green-bg-alt: #eefbef;
  --green-text: #4f6b50;
  --orange-bg: #fff1e6;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 135px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
}

/* ChatUAPP icon hover rotate */
.chat-icon-img {
  transition: transform 0.6s ease;
  border-radius: 50%;
}

.chat-btn:hover .chat-icon-img {
  transform: rotate(360deg);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links li a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-md);
  transition: background 0.2s;
}

.nav-links li a:hover {
  background: #f4f4f5;
}

.nav-links li a svg {
  width: 20px;
  height: 20px;
}

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

.hamburger-btn {
  background: var(--border);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 36px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sign-in-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--primary);
  border-radius: 36px;
  padding: 4px 12px 4px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

.sign-in-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  padding: 8px;
}

.chat-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: white;
  border-radius: 36px;
  padding: 8px 12px;
  border: 1px solid var(--border);
}

.chat-icon {
  display: flex;
  align-items: center;
}

.chat-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

.chat-try {
  font-weight: 400;
  color: var(--text-muted);
}

.chat-uapp {
  font-weight: 700;
  color: var(--primary-dark);
}

.mobile-menu-btn {
  display: none;
}

.mobile-menu {
  display: none;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-actions {
  padding-top: 16px;
  display: flex;
  gap: 12px;
}

/* ===== Hero Section ===== */
.hero-content {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-left {
  flex: 0 0 588px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
}

.text-orange {
  color: var(--orange);
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--text-body);
  max-width: 448px;
  margin-top: -16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dark);
  color: white;
  font-size: 14px;
  font-weight: 400;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  transition: background 0.2s;
  width: fit-content;
}

.btn-primary:hover {
  background: var(--primary);
}

.btn-with-arrow svg {
  transition: transform 0.2s;
}

.btn-with-arrow:hover svg {
  transform: translateX(3px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  background: rgba(236, 241, 233, 0.48);
  padding: 11px;
  border-radius: 11px;
  display: flex;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-light);
}

.stat-label {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.hero-right {
  flex: 1;
  position: relative;
  min-height: 361px;
  overflow: visible;
}

.avatar-group {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 20px;
  z-index: 3;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid white;
  overflow: hidden;
  margin-right: -9px;
  position: relative;
}

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

.avatar-count {
  background: #ececed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-count span {
  font-size: 18px;
  font-weight: 600;
  color: #100c20;
}

.students-badge {
  position: absolute;
  right: -10px;
  bottom: -14px;
  background: linear-gradient(to right, var(--orange), var(--orange-light));
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  transform: rotate(-10deg);
  z-index: 2;
}

.hero-cards-carousel {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  padding: 16px 0;
  margin: -16px 0;
  mask-image: linear-gradient(to right, black 0%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 85%, transparent 100%);
}

.hero-cards-track {
  display: flex;
  gap: 21px;
  animation: heroScroll 25s linear infinite;
  width: max-content;
}

.hero-cards-track:hover {
  animation-play-state: paused;
}

@keyframes heroScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero-course-card {
  flex: 0 0 380px;
  background: white;
  border: 0.5px solid #e6efef;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  min-width: 380px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hcc-header {
  display: flex;
  gap: 8px;
}

.hcc-uni-logo {
  width: 48px;
  height: 48px;
  background: #013359;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.hcc-info {
  flex: 1;
  min-width: 0;
}

.hcc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-neutral);
  line-height: 1.3;
  letter-spacing: -0.16px;
}

.hcc-uni {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-neutral);
  line-height: 1.3;
  letter-spacing: -0.14px;
}

.hcc-divider {
  height: 1px;
  background: #e6efef;
}

.hcc-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hcc-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hcc-detail-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #5d5d5d;
}

.hcc-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: #5d5d5d;
}

.hcc-tags {
  display: flex;
  gap: 6px;
}

.tag {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.14px;
}

.tag-green {
  background: var(--green-bg);
  color: var(--green-text);
}

/* ===== Hero Background Shape ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 24px;
  background: linear-gradient(to bottom, #fffcfa, white);
}

.hero-bg-shape {
  position: absolute;
  width: 942px;
  height: 942px;
  top: -100px;
  left: -480px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  transform: rotate(-74deg);
  border-radius: 60px;
  overflow: hidden;
}

.hero-bg-grad {
  position: absolute;
  inset: 8.8% 14.81%;
}

.hero-bg-grad-masked {
  -webkit-mask-image: url('assets/mesh-grad-2.png');
  mask-image: url('assets/mesh-grad-2.png');
  -webkit-mask-size: 1167px 1167px;
  mask-size: 1167px 1167px;
  -webkit-mask-position: -118px -157px;
  mask-position: -118px -157px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero-bg-mesh {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ===== Hero Slider ===== */
.hero-slider {
  overflow: hidden;
  position: relative;
}

.hero-slides {
  display: flex;
  transition: transform 0.6s ease;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.hero-slide .hero-right {
  overflow: visible;
}

.hero-dots {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 12px 0 24px;
}

.hero-dots .dot {
  cursor: pointer;
}

.dot {
  width: 24px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border);
  transition: background 0.3s;
}

.dot.active {
  background: #019088;
}

/* ===== Slide 2: Chat Mockup ===== */
.slide2-left {
  flex: 0 0 480px;
}

.slide2-right {
  flex: 1;
  min-height: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ChatUAPP Try button (pill style like navbar) */
.btn-chatuapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border-radius: 36px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--border);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  width: fit-content;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.btn-chatuapp:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(4, 93, 94, 0.1);
}

.btn-chatuapp-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: transform 0.6s ease;
}

.btn-chatuapp:hover .btn-chatuapp-icon {
  transform: rotate(360deg);
}

/* Large blurred background decoration behind chat */
.chat-bg-decoration {
  position: absolute;
  width: 340px;
  height: 340px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 115, 0, 0.25) 0%, rgba(4, 93, 94, 0.2) 35%, rgba(33, 150, 243, 0.15) 60%, transparent 80%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.chat-mockup {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 480px;
  border: 1px solid #e6efef;
  position: relative;
  z-index: 1;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark);
}

.chat-msg-user {
  align-self: flex-end;
  background: #ebf2f2;
  border-radius: 12px 12px 4px 12px;
}

.chat-msg-assistant {
  align-self: flex-start;
  background: #f8f9fa;
  border-radius: 12px 12px 12px 4px;
  display: flex;
  gap: 8px;
  max-width: 90%;
}

.chat-assistant-avatar {
  flex-shrink: 0;
  margin-top: 2px;
}

.chat-assistant-avatar img {
  border-radius: 50%;
}

.chat-input-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f4f4f5;
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input-placeholder {
  font-size: 14px;
  color: #a1a1aa;
}

.chat-input-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.chat-action-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.chat-plus-btn {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
}

.chat-action-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-send-btn {
  background: var(--primary-dark) !important;
  border-radius: 50%;
}

.chat-send-btn:hover {
  background: var(--primary) !important;
}

.chat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(4, 93, 94, 0.04);
  border: 0.85px solid rgba(37, 37, 37, 0.12);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
}

.chat-pill img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ===== Slide 3: Service Cards ===== */
.slide3-left {
  flex: 0 0 480px;
}

.slide3-right {
  flex: 1;
  min-height: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-cards {
  display: flex;
  gap: 16px;
  width: 100%;
}

.service-card {
  flex: 1;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 217px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-card-blue {
  background: linear-gradient(180deg, rgb(210, 237, 245) 0%, rgb(233, 248, 252) 100%);
}

.service-card-purple {
  background: linear-gradient(180deg, rgb(255, 232, 205) 0%, rgb(255, 245, 235) 100%);
}

.service-card-yellow {
  background: linear-gradient(180deg, rgb(210, 238, 236) 0%, rgb(235, 248, 247) 100%);
}

.service-card-icon {
  font-size: 40px;
  line-height: 1;
}

.service-card-icon-bottom {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-illust {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.service-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}

/* ===== Explore Search ===== */
.explore-search {
  padding: 24px 0 48px;
}

.section-title-sm {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-full);
  padding: 8px 8px 8px 24px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.search-input-wrap svg {
  flex-shrink: 0;
}

.search-input {
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  width: 100%;
  color: var(--text-dark);
}

.search-input::placeholder {
  color: #a1a1aa;
}

.search-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid #e4e4e7;
  padding-left: 16px;
}

.search-select {
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-dark);
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  min-width: 160px;
}

.search-btn {
  background: var(--primary-dark);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.search-btn:hover {
  background: var(--primary);
}

/* ===== Fields Section ===== */
.fields-section {
  padding: 52px 0 68px;
}

.fields-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.fields-text {
  flex: 0 0 300px;
  padding-top: 48px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 32px;
}

.fields-carousel-wrap {
  flex: 1;
  overflow: hidden;
}

.fields-carousel {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
}

.field-card {
  flex: 0 0 270px;
  height: 304px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.field-card-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-card-content {
  background: white;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.field-card-courses {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
}

.field-card-bottom {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.field-card-bottom h3 {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.field-arrow {
  font-size: 20px;
  color: var(--text-dark);
  flex-shrink: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.carousel-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #e4e4e7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: #f4f4f5;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-dots .dot {
  width: 16px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border);
}

.carousel-dots .dot:first-child {
  width: 16px;
}

.carousel-dots .dot.active {
  background: var(--orange);
}

.carousel-dots .dot:not(.active) {
  width: 6px;
}

/* ===== Trending Section ===== */
.trending-section {
  padding: 52px 0;
  background: #fafafa;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-header .section-title {
  margin-bottom: 4px;
  font-size: 28px;
}

.flag {
  font-size: 24px;
}

.section-header .section-desc {
  font-size: 16px;
  margin-bottom: 0;
}

.section-nav-arrows {
  display: flex;
  gap: 16px;
}

.nav-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid #d4d4d8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.nav-arrow:hover {
  background: #f4f4f5;
  border-color: #a1a1aa;
}

.courses-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.courses-carousel::-webkit-scrollbar {
  display: none;
}

.course-card {
  flex: 0 0 280px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
}

.course-card-img {
  height: 185px;
  overflow: hidden;
  background: var(--primary-dark);
}

.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.university-info {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  margin-top: -50px;
  position: relative;
  z-index: 1;
}

.uni-logo-sm {
  width: 48px;
  height: 48px;
  background: #f5f4f4;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #c62828;
  flex-shrink: 0;
}

.uni-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-neutral);
  letter-spacing: -0.14px;
  line-height: 1.3;
}

.uni-location {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-neutral);
  letter-spacing: -0.12px;
  line-height: 1.3;
}

.course-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-neutral);
  letter-spacing: -0.16px;
  line-height: 1.3;
}

.course-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.14px;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.badge-green {
  background: var(--green-bg-alt);
  color: var(--green-text);
}

.badge-orange {
  background: var(--orange-bg);
  padding: 4px;
  border-radius: var(--radius-full);
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}

.view-all-link:hover {
  color: var(--primary-dark);
}

/* ===== Suggested Section ===== */
.suggested-section {
  padding: 52px 0 80px;
  position: relative;
}

.suggested-box {
  background: #f0f5f0;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 32px;
  overflow: hidden;
  position: relative;
  min-height: 425px;
  align-items: center;
}

.suggested-left {
  flex: 0 0 338px;
  z-index: 2;
}

.suggested-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.suggested-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.suggested-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.suggested-desc {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 32px;
}

.suggested-cards {
  flex: 1;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  z-index: 2;
  mask-image: linear-gradient(to right, black 0%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 85%, transparent 100%);
}

.suggested-cards::-webkit-scrollbar {
  display: none;
}

.suggested-nav-arrows {
  display: flex;
  gap: 12px;
  position: absolute;
  right: 36px;
  bottom: 36px;
  z-index: 3;
}

.suggested-nav-arrows .nav-arrow {
  width: 42px;
  height: 42px;
  background: white;
  border: 1px solid #d4d4d8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .navbar-inner {
    padding: 16px 40px;
  }

  .hero-left {
    flex: 0 0 auto;
    max-width: 480px;
  }

  .slide2-left,
  .slide3-left {
    flex: 0 0 auto;
    max-width: 420px;
  }
}

@media (max-width: 1024px) {
  .navbar-inner {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger-btn {
    display: none;
  }

  .chat-btn {
    display: none;
  }

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

  .mobile-menu.active {
    display: block;
  }

  .hero-content {
    flex-direction: column;
    gap: 32px;
  }

  .hero-left {
    flex: none;
    max-width: 100%;
    gap: 32px;
  }

  .slide2-left,
  .slide3-left {
    flex: none;
    max-width: 100%;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-top: -8px;
  }

  .hero-right {
    min-height: 300px;
    width: 100%;
  }

  .slide2-right,
  .slide3-right {
    width: 100%;
    min-height: auto;
  }

  .chat-mockup {
    max-width: 100%;
  }

  .service-cards {
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 140px;
  }

  .avatar-group {
    position: relative;
    top: auto;
    right: auto;
  }

  .hero-cards-carousel {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 16px;
  }

  .hero-course-card {
    flex: 0 0 calc(100% - 40px);
  }

  .fields-layout {
    flex-direction: column;
  }

  .fields-text {
    flex: none;
    padding-top: 0;
  }

  .field-card {
    flex: 0 0 230px;
    height: 280px;
  }

  .search-bar {
    flex-wrap: wrap;
    border-radius: var(--radius-md);
    padding: 16px;
    gap: 16px;
  }

  .search-input-wrap {
    flex: 1 1 100%;
  }

  .search-select-wrap {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #e4e4e7;
    padding-top: 12px;
    flex: 1;
  }

  .search-select {
    min-width: 120px;
  }

  .suggested-box {
    flex-direction: column;
    min-height: auto;
  }

  .suggested-left {
    flex: none;
  }

  .suggested-nav-arrows {
    position: static;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }

  .section-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .navbar-inner {
    padding: 12px 16px;
  }

  .nav-right {
    display: none;
  }

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

  .hero {
    padding: 32px 0 16px;
  }

  .hero-title {
    font-size: 30px;
  }

  .service-cards {
    gap: 12px;
  }

  .service-card {
    min-height: 160px;
    padding: 16px;
  }

  .service-card-illust {
    width: 60px;
    height: 60px;
  }

  .service-card-title {
    font-size: 13px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    gap: 8px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 14px;
  }

  .hero-cards-track {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hero-cards-track::-webkit-scrollbar {
    display: none;
  }

  .hero-course-card {
    flex: 0 0 300px;
  }

  .section-title-sm {
    font-size: 18px;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-select-wrap {
    border-left: none;
    border-top: 1px solid #e4e4e7;
    padding-left: 0;
    padding-top: 12px;
    width: 100%;
  }

  .search-select {
    width: 100%;
    min-width: unset;
  }

  .fields-section {
    padding: 32px 0 48px;
  }

  .field-card {
    flex: 0 0 200px;
    height: 260px;
  }

  .field-card-bottom h3 {
    font-size: 16px;
  }

  .courses-carousel {
    gap: 16px;
  }

  .course-card {
    flex: 0 0 260px;
  }

  .trending-section {
    padding: 32px 0;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .section-header .section-title {
    font-size: 22px;
  }

  .suggested-section {
    padding: 32px 0 60px;
  }

  .suggested-box {
    padding: 24px;
    gap: 24px;
  }

  .suggested-title {
    font-size: 26px;
  }

  .suggested-desc {
    font-size: 16px;
  }

  .course-card {
    flex: 0 0 240px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-course-card {
    flex: 0 0 280px;
  }

  .field-card {
    flex: 0 0 180px;
    height: 240px;
  }

  .field-card-bottom h3 {
    font-size: 14px;
  }

  .field-card-courses span {
    font-size: 12px;
  }

  .course-card {
    flex: 0 0 220px;
  }

  .course-card-img {
    height: 140px;
  }

  .university-info {
    margin-top: -40px;
    padding: 6px;
  }

  .uni-logo-sm {
    width: 40px;
    height: 40px;
  }

  .suggested-box {
    padding: 16px;
  }

  .suggested-title {
    font-size: 22px;
  }
}
