/* ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLES
   SMK TERATAI PUTIH GLOBAL 3 BEKASI
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  /* Color Tokens */
  --primary-navy: #0F2C59;
  --primary-navy-dark: #0A192F;
  --primary-navy-light: #1E3E62;
  --accent-gold: #F59E0B;
  --accent-gold-hover: #D97706;
  --accent-green: #10B981;
  --accent-blue: #3B82F6;
  
  /* Neutral Colors */
  --bg-slate: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 44, 89, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 44, 89, 0.1);
  --shadow-lg: 0 10px 30px rgba(15, 44, 89, 0.15);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.3);

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-navy);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-header {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 5rem 0;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-navy { color: var(--primary-navy); }
.text-green { color: var(--accent-green); }

.section-tag {
  display: none !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(15, 44, 89, 0.08);
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #FFFFFF;
}

.btn-navy {
  background: var(--primary-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(15, 44, 89, 0.25);
}

.btn-navy:hover {
  background: var(--primary-navy-light);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline-navy {
  background: transparent;
  border-color: var(--primary-navy);
  color: var(--primary-navy);
}

.btn-outline-navy:hover {
  background: var(--primary-navy);
  color: #FFFFFF;
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--primary-navy);
}

.btn-cbt {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-cbt:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  transform: scale(1.03);
}

/* ==========================================================================
   SEAMLESS HEADER & NAVIGATION SYSTEM
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 25px rgba(15, 44, 89, 0.08);
  transition: var(--transition-normal);
}

.top-bar {
  background: linear-gradient(90deg, #0A192F 0%, #0F2C59 50%, #0A192F 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.45rem 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-wrapper {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  white-space: nowrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.school-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(15, 44, 89, 0.2);
}

.school-logo.has-image {
  background: transparent;
  box-shadow: none;
}

.brand-text h1 {
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--primary-navy);
  letter-spacing: -0.2px;
  font-weight: 800;
}

.brand-text p {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-left: auto;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 1.02rem;
  color: #1E293B;
  position: relative;
  padding: 0.6rem 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.nav-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.35rem;
}

.nav-action-buttons .btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.dropdown-arrow {
  font-size: 0.7rem;
  color: #64748B;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-navy);
}

.nav-link:hover .dropdown-arrow {
  color: var(--primary-navy);
  transform: translateY(1px);
}

.nav-link.active {
  color: #5C938E;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #5C938E;
  border-radius: var(--radius-full);
}

/* Floating Dropdown Card Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(15, 44, 89, 0.16);
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin-bottom: 2px;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown-menu a i {
  display: none !important;
}

.dropdown-menu a:hover {
  background: rgba(15, 44, 89, 0.06);
  color: var(--primary-navy);
  padding-left: 1.1rem;
}

.nav-ppdb-btn {
  padding: 0.55rem 1.35rem !important;
  font-size: 0.85rem !important;
  border-radius: var(--radius-full) !important;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-navy);
}

/* ==========================================================================
   HERO BANNER & SLIDER
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  color: #FFFFFF;
  padding: 5rem 0 6rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(15, 44, 89, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: none !important;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Slider Container */
.hero-slider-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.slider-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.slider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.95), transparent);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  color: #FFFFFF;
}

.slider-caption {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ==========================================================================
   STATISTICS SECTION
   ========================================================================== */
.stats-section {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(15, 44, 89, 0.08);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-info h3 {
  font-size: 2rem;
  color: var(--primary-navy);
  margin-bottom: 0.1rem;
}

.stat-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   MAJORS & AXIOO CLASS CARDS (1 ROW 4 CARDS)
   ========================================================================== */
.majors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.major-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.major-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 44, 89, 0.2);
}

.major-card.axioo-card {
  background: linear-gradient(135deg, #0A192F 0%, #0F2C59 100%);
  color: #FFFFFF;
  border: 2px solid var(--accent-gold);
}

.major-card.axioo-card h3 {
  color: #FFFFFF;
}

.major-card.axioo-card p {
  color: rgba(255, 255, 255, 0.85);
}

.major-badge {
  align-self: flex-start;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.badge-reguler {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.badge-axioo {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.major-icon {
  font-size: 2.5rem;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
}

.axioo-card .major-icon {
  color: var(--accent-gold);
}

.major-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.major-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.major-features {
  margin-bottom: 1.5rem;
}

.major-features li {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.major-features i {
  color: var(--accent-green);
}

.axioo-card .major-features i {
  color: var(--accent-gold);
}

/* ==========================================================================
   FACILITIES SHOWCASE (4 LABS)
   ========================================================================== */
.lab-showcase-bg {
  background: #0A192F;
  color: #FFFFFF;
  position: relative;
}

.lab-showcase-bg .section-title {
  color: #FFFFFF;
}

.lab-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.lab-tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-slate);
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lab-showcase-bg .lab-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lab-tab-btn:hover, .lab-tab-btn.active {
  background: var(--accent-gold);
  color: #FFFFFF;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.lab-display-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  backdrop-filter: blur(10px);
}

.lab-img-wrapper {
  position: relative;
  height: 100%;
  min-height: 380px;
}

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

.lab-content {
  padding: 2.5rem 2rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lab-title-group h3 {
  color: #FFFFFF;
  font-size: 2rem;
}

.lab-title-group p {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.lab-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.spec-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-gold);
}

.spec-box h4 {
  color: #FFFFFF;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.spec-box ul {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.spec-box li {
  margin-bottom: 0.3rem;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
  cursor: pointer;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 35px rgba(15, 44, 89, 0.14);
  border-color: rgba(66, 133, 244, 0.5);
}

.review-link-badge {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-color);
  font-size: 0.8rem;
  font-weight: 700;
  color: #4285F4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.testimonial-card:hover .review-link-badge {
  color: var(--primary-navy);
}

.quote-icon {
  font-size: 2rem;
  color: rgba(15, 44, 89, 0.15);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.author-avatar-initial {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.author-info h4 {
  font-size: 0.95rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   NEWS & ANNOUNCEMENTS
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.05);
}

.news-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.news-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
}

.news-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.news-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.news-link {
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.news-link:hover {
  color: var(--accent-gold);
}

/* News Search & Filter Controls */
.filter-bar {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.search-box {
  position: relative;
  flex-grow: 1;
  max-width: 450px;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.1);
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.category-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cat-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-slate);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cat-btn.active, .cat-btn:hover {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
}

/* ==========================================================================
   PPDB BANNER & FORM STYLES
   ========================================================================== */
.ppdb-cta-banner {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D97706 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.ppdb-cta-banner h2 {
  color: #FFFFFF;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.1);
}

/* ==========================================================================
   CBT MODAL STYLES
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 520px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-20px);
  transition: var(--transition-normal);
}

.modal-backdrop.show .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--primary-navy);
}

.cbt-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cbt-option-card {
  background: var(--bg-slate);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition-fast);
}

.cbt-option-card:hover {
  border-color: var(--accent-blue);
  background: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cbt-option-card i {
  font-size: 2.5rem;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}

.cbt-option-card h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.cbt-option-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.footer {
  background: var(--primary-navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 1.5rem 0;
  border-top: 4px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.social-btn:hover {
  background: var(--accent-gold);
  color: #FFFFFF;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 140px;
  margin-top: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE FRIENDLY)
   ========================================================================== */
@media (max-width: 1200px) {
  .majors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lab-display-card {
    grid-template-columns: 1fr;
  }
  .lab-content {
    padding: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #FFFFFF;
    flex-direction: column;
    padding: 2rem;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cbt-options-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SCROLL REVEAL TRANSITION ANIMATION SYSTEM (Lightweight GPU-only)
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease-out,
              transform 0.65s ease-out;
  will-change: opacity, transform;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delays for Grid Cards */
.majors-grid .major-card:nth-child(1) { transition-delay: 0.05s; }
.majors-grid .major-card:nth-child(2) { transition-delay: 0.12s; }
.majors-grid .major-card:nth-child(3) { transition-delay: 0.19s; }
.majors-grid .major-card:nth-child(4) { transition-delay: 0.26s; }

.testimonial-grid .testimonial-card:nth-child(1) { transition-delay: 0.05s; }
.testimonial-grid .testimonial-card:nth-child(2) { transition-delay: 0.12s; }
.testimonial-grid .testimonial-card:nth-child(3) { transition-delay: 0.19s; }

.news-grid .news-card:nth-child(1) { transition-delay: 0.05s; }
.news-grid .news-card:nth-child(2) { transition-delay: 0.12s; }
.news-grid .news-card:nth-child(3) { transition-delay: 0.19s; }
