@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #2E8B57; --primary-dark: #1C5E3D; --primary-light: #EAF7EE;
  --accent: #10B981; --navy: #0F172A; --slate-50: #F8FAFC; --slate-100: #F1F5F9;
  --slate-200: #E2E8F0; --slate-300: #CBD5E1; --slate-400: #94A3B8;
  --slate-500: #64748B; --slate-600: #475569; --slate-700: #334155;
  --slate-800: #1E293B; --red: #EF4444; --orange: #F97316; --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06); --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.1); --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: 'Inter', sans-serif; color: var(--slate-700); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; image-rendering: high-quality; -webkit-font-smoothing: antialiased; }
button { cursor: pointer; font-family: inherit; border: none; }
input, select, textarea { font-family: inherit; }

/* === UTILITY === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--slate-50); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.nav-mobile-only { display: none !important; }

@media (max-width: 991px) {
  .nav-mobile-only { display: block !important; list-style: none !important; }
}

.page-wrap { padding-top: 24px; padding-bottom: 60px; min-height: calc(100vh - 72px); }

/* === SEARCH BAR === */
.search-bar { position: relative; }
.search-bar__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--slate-400); font-size: 16px; pointer-events: none; z-index: 1; }
.search-bar input { width: 100%; padding: 16px 20px 16px 48px; border: 2px solid var(--slate-200); border-radius: 14px; font-size: 15px; font-weight: 500; color: var(--navy); background: #fff; transition: all var(--transition); outline: none; }
.search-bar input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(46,139,87,.1); }
.search-bar input::placeholder { color: var(--slate-400); font-weight: 500; }

/* === PAGE LOADER === */
.page-loader { display: flex; align-items: center; justify-content: center; padding: 60px; grid-column: 1 / -1; }
.loader { width: 40px; height: 40px; border: 4px solid var(--slate-200); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }

/* === ANIMATIONS === */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-left { opacity: 0; transform: translateX(-30px); transition: all .6s ease; }
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right { opacity: 0; transform: translateX(30px); transition: all .6s ease; }
.slide-right.visible { opacity: 1; transform: translateX(0); }
.scale-in { opacity: 0; transform: scale(.9); transition: all .5s ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }
.stagger-5 { transition-delay: .5s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .7; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* === TOAST === */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(80px); padding: 14px 28px; border-radius: 12px; color: #fff; font-weight: 700; font-size: 14px; z-index: 9999; opacity: 0; transition: all .4s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--success { background: var(--primary); }
.toast--error { background: var(--red); }

/* === NAVBAR === */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.3s ease; padding: 10px 0; background: #ffffff; border-bottom: 1px solid rgba(226,232,240,0.6); }
.navbar.scrolled { padding: 6px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-bottom: none; }

.navbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; max-width: 1240px; margin: 0 auto; }
.navbar__logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; color: var(--navy); letter-spacing: -0.5px; }
.navbar__logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; box-shadow: 0 4px 12px rgba(46,139,87,0.25); }

.navbar__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.navbar__links li { position: relative; list-style: none; }
.navbar__links a { color: var(--slate-600); font-weight: 700; font-size: 14px; transition: all 0.2s ease; padding: 8px 16px; border-radius: 10px; display: block; text-decoration: none; white-space: nowrap; }
.navbar__links a:not(.btn):hover { background: rgba(46,139,87,0.08); color: var(--primary); }
.navbar__links a:not(.btn).active { background: var(--primary-light); color: var(--primary); }

.navbar__actions { display: flex; gap: 10px; align-items: center; }
.navbar__hamburger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; background: transparent; border-radius: 10px; font-size: 20px; color: var(--navy); border: none; cursor: pointer; z-index: 1002; }

@media (max-width: 991px) {
  .navbar__hamburger { display: flex; }
  .navbar__links { position: fixed; top: -100vh; left: 0; width: 100%; background: #fff; display: grid !important; grid-template-columns: 1fr 1fr 1fr; padding: 70px 16px 24px; gap: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.12); transition: top 0.4s ease; z-index: 1001; border-radius: 0 0 24px 24px; list-style: none !important; margin: 0; }
  .navbar__links.open { top: 0; }
  .navbar__links li { list-style: none !important; display: block !important; }
  .navbar__links a { font-size: 12px; font-weight: 700; padding: 12px 8px; text-align: center; border-radius: 12px; background: #F8FAFC; border: 1px solid #E2E8F0; color: var(--slate-700); display: block; white-space: nowrap; }
  .navbar__links a:not(.btn):hover, .navbar__links a:not(.btn).active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
  .navbar__actions { display: none; }
  .navbar__links .btn { width: 100%; justify-content: center; font-size: 12px; padding: 12px 8px; }
  .navbar__links li.nav-mobile-only { display: block !important; list-style: none !important; }
  .navbar__links li:has(button) { grid-column: 1 / -1; }
  .navbar__links button { width: 100%; padding: 12px; text-align: center; border-radius: 12px; background: #FEF2F2; border: 1px solid #FECACA; font-size: 13px; color: #EF4444; font-weight: 700; cursor: pointer; }
}

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 12px; font-weight: 800; font-size: 14px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px; position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s ease; }
.btn:hover::before { left: 100%; }

.btn--primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 4px 15px rgba(46, 139, 87, 0.2); border: none; }
.btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 25px rgba(46, 139, 87, 0.4); }

.btn--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--outline:hover { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border-color: transparent; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3); }

.btn--ghost { background: transparent; color: var(--slate-600); }
.btn--ghost:hover { background: var(--slate-100); color: var(--primary); transform: translateY(-2px); }

.btn--sm { padding: 8px 20px; font-size: 12px; border-radius: 10px; }
.btn--lg { padding: 16px 36px; font-size: 15px; border-radius: 14px; }
.btn--full { width: 100%; justify-content: center; }
.btn--danger { background: linear-gradient(135deg, var(--red), #F87171); color: #fff; box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2); border: none; }
.btn--danger:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4); }
.btn:disabled { opacity: .5; pointer-events: none; }

/* === HERO === */
.hero { min-height: 90vh; height: auto; padding-top: 120px; padding-bottom: 80px; display: flex; align-items: center; background: linear-gradient(135deg, var(--navy) 0%, #1a3a2a 50%, var(--primary-dark) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -30%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(46,139,87,.15) 0%, transparent 70%); }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(16,185,129,.1) 0%, transparent 70%); }
.hero__content { position: relative; z-index: 2; max-width: 640px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(46,139,87,.2); border: 1px solid rgba(46,139,87,.3); border-radius: 100px; color: var(--accent); font-weight: 700; font-size: 13px; margin-bottom: 24px; animation: pulse 3s ease infinite; }
.hero__title { font-size: clamp(36px, 5vw, 56px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; }
.hero__title span { background: linear-gradient(135deg, var(--accent), #6EE7B7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero__subtitle { font-size: 18px; color: var(--slate-400); line-height: 1.7; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; margin-top: 56px; }
.hero__stat-num { font-size: 32px; font-weight: 900; color: #fff; }
.hero__stat-label { font-size: 13px; color: var(--slate-400); font-weight: 600; }

/* === SECTION HEADER === */
.section-header { margin-bottom: 48px; }
.section-header h2 { font-size: 32px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.section-header p { color: var(--slate-500); font-size: 16px; }
.section-header--between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

/* === CARDS === */
.card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.card__img { width: 100%; height: 200px; object-fit: cover; background: var(--slate-100); transition: transform .5s ease; }
.card:hover .card__img { transform: scale(1.05); }
.card__img-wrap { overflow: hidden; }
.card__body { padding: 20px; }
.card__tag { display: inline-block; padding: 4px 12px; background: var(--primary-light); color: var(--primary); font-size: 11px; font-weight: 800; border-radius: 6px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.card__title { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.card__meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate-500); margin-bottom: 6px; }
.card__desc { font-size: 14px; color: var(--slate-500); line-height: 1.5; margin-bottom: 16px; }

/* === ST-CARD (Uniform University/Scholarship Cards) === */
.st-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.st-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.st-card__img { width: 100%; height: 200px; overflow: hidden; background: linear-gradient(135deg, var(--primary), var(--accent)); flex-shrink: 0; }
.st-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; display: block; }
.st-card:hover .st-card__img img { transform: scale(1.05); }
.st-card__body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.st-card__tag { display: inline-block; padding: 3px 10px; background: var(--primary-light); color: var(--primary); font-size: 10px; font-weight: 800; border-radius: 6px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; align-self: flex-start; }
.st-card__title { font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.35; margin-bottom: 10px; word-wrap: break-word; overflow-wrap: break-word; }
.st-card__info { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--slate-600); margin-bottom: 5px; font-weight: 600; }
.st-card__info i { width: 14px; text-align: center; flex-shrink: 0; }
.st-card__deadline { color: var(--red); font-weight: 800; }
.st-card__deadline i { color: var(--red); }
.st-card__fee { color: #16A34A; font-weight: 800; }
.st-card__fee i { color: #16A34A; }
.st-card__action { padding: 12px 18px; text-align: center; font-weight: 800; font-size: 13px; color: #fff; background: var(--primary); border-top: 1px solid var(--slate-200); transition: background var(--transition); flex-shrink: 0; }
.st-card:hover .st-card__action { background: var(--primary-dark); }

/* === GRID === */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* === FORM === */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; color: var(--slate-700); margin-bottom: 8px; }
.form-input { width: 100%; padding: 14px 18px; border: 2px solid var(--slate-200); border-radius: 12px; font-size: 15px; background: var(--slate-50); transition: all var(--transition); outline: none; }
.form-input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(46,139,87,.1); }

/* === AUTH === */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%); padding: 24px; position: relative; overflow: hidden; }
.auth-wrap::before { content: ''; position: absolute; top: -20%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(46,139,87,.2), transparent 70%); animation: float 8s ease-in-out infinite; }
.auth-card { background: #fff; border-radius: 24px; padding: 48px; width: 100%; max-width: 460px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.auth-card h1 { font-size: 28px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.auth-card p { color: var(--slate-500); margin-bottom: 32px; }

/* === BANNER SLIDER === */
.banner-slider { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(135deg, var(--primary), var(--accent)); }
.banner-slider__track { display: flex; will-change: transform; transition: transform .7s cubic-bezier(.25,.1,.25,1); }
.banner-slider__slide { min-width: 100%; position: relative; flex-shrink: 0; background: linear-gradient(135deg, var(--primary), var(--accent)); aspect-ratio: auto; max-height: 450px; display: flex; align-items: center; justify-content: center; }
.banner-slider__slide img { width: 100%; height: 100%; max-height: 450px; object-fit: cover; display: block; }
.banner-slider__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.4;
  overflow: hidden;
  white-space: normal !important;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.banner-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.banner-slider__dot { width: 10px; height: 10px; border-radius: 5px; background: var(--slate-300); border: none; cursor: pointer; transition: all var(--transition); }
.banner-slider__dot.active { width: 28px; background: var(--primary); }

/* === SEARCH === */
.search-bar { position: relative; max-width: 500px; }
.search-bar input { width: 100%; padding: 16px 20px 16px 52px; border: 2px solid var(--slate-200); border-radius: 16px; font-size: 15px; background: #fff; outline: none; transition: all var(--transition); }
.search-bar input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(46,139,87,.1); }
.search-bar__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--slate-400); font-size: 18px; }

/* === DETAIL PAGE (PREMIUM LANDSCAPE) === */
.detail-hero { height: 360px; background-size: cover; background-position: center; position: relative; border-radius: 24px; overflow: hidden; margin-bottom: 32px; }
.detail-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), transparent 60%); }
.detail-hero__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; z-index: 2; }
.detail-section { background: #fff; border: 1px solid rgba(226,232,240,.6); border-radius: 20px; padding: 28px; margin-bottom: 24px; box-shadow: 0 4px 20px rgba(0,0,0,.03); transition: all .4s cubic-bezier(.4,0,.2,1); position: relative; overflow: hidden; }
.detail-section:hover { box-shadow: 0 10px 40px rgba(0,0,0,.08); transform: translateY(-2px); border-color: rgba(46,139,87,.2); }
.detail-section h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }

/* Left Panel Sticky */
.left-panel-sticky { position: sticky; top: 100px; }

/* Premium Hero Image inside card */
.hero-image-wrap { width: 100%; height: 240px; overflow: hidden; position: relative; border-radius: 20px 20px 0 0; background: var(--slate-50); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s ease; }
.detail-section:hover .hero-image-wrap img { transform: scale(1.05); }

/* Premium Info Rows */
.premium-info-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 12px; font-size: 13px; transition: background .3s; }
.premium-info-row:hover { background: var(--slate-50); }
.premium-info-label { color: var(--slate-500); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.premium-info-value { font-weight: 800; color: var(--navy); }

/* About Section */
.about-text { color: var(--slate-600); line-height: 1.8; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.about-text.expanded { -webkit-line-clamp: unset; }
.see-more-btn { background: none; color: var(--primary); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 8px; margin-top: 8px; background: var(--primary-light); transition: all .3s; }
.see-more-btn:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }

/* Premium Expandable Sections (Accordions) */
.exp-section { background: transparent; border: none; border-radius: 12px; overflow: hidden; transition: all .25s ease; margin-bottom: 2px; box-shadow: none; }
.exp-section:hover { box-shadow: none; border-color: transparent; transform: none; }
.exp-header { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; transition: all .2s ease; user-select: none; background: #fff; border: none; }
.exp-header:hover { background: #F8FAFC; }
.exp-header .icon { font-size: 16px; color: var(--primary); width: 36px; height: 36px; border-radius: 10px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; }
.exp-header:hover .icon { background: var(--primary); color: #fff; }
.exp-header h3 { flex: 1; font-size: 15px; font-weight: 800; color: var(--navy); margin: 0; }
.exp-header .arrow { color: var(--slate-400); font-size: 12px; transition: transform .3s ease; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--slate-50); display: flex; align-items: center; justify-content: center; }
.exp-header.open .arrow { transform: rotate(180deg); background: var(--primary); color: #fff; }
.exp-header.open { background: #fff; border-bottom: none; }
.exp-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: #fafbfc; }
.exp-body.open { max-height: 2000px; overflow-y: auto; }
.exp-body::-webkit-scrollbar { width: 5px; }
.exp-body::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.exp-body::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }
.exp-body::-webkit-scrollbar-thumb:hover { background: #94A3B8; }
.exp-body__inner { padding: 16px 18px; }

/* Apply Bar (Glassmorphic) */
.apply-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.98); border-top: none; z-index: 100; box-shadow: 0 -4px 20px rgba(0,0,0,.05); padding: 12px 0; }
.apply-bar__inner { display: flex; align-items: center; gap: 16px; padding: 0 20px; }
.apply-bar__inner .btn { border-radius: 12px; padding: 12px 36px; font-weight: 800; font-size: 14px; box-shadow: 0 6px 20px rgba(249,115,22,.25); transition: all .2s; }
.apply-bar__inner .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(249,115,22,.35); }

/* Apply Overlay (loading/success modal) */
.apply-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.8); z-index: 9998; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all .3s ease; }
.apply-overlay.show { opacity: 1; pointer-events: all; }
.apply-dialog { background: #fff; border-radius: 24px; padding: 48px; text-align: center; max-width: 380px; width: 90%; box-shadow: var(--shadow-lg); }
.apply-dialog h4 { font-size: 20px; font-weight: 900; color: var(--navy); margin: 16px 0 8px; }
.apply-dialog p { color: var(--slate-500); font-size: 14px; }
.apply-dialog .spinner { width: 48px; height: 48px; border: 4px solid var(--slate-200); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto; }
.apply-dialog .success-icon { font-size: 56px; color: var(--accent); animation: scale-in .4s ease; }

/* Detail page responsive */
@media (max-width: 900px) {
  .detail-page-grid { flex-direction: column !important; }
  .left-panel-sticky { position: relative; top: 0; width: 100% !important; min-width: unset !important; }
}

/* === QUICK STATS === */
.quick-stat { padding: 24px; border-radius: 20px; text-align: center; transition: all var(--transition); }
.quick-stat:hover { transform: translateY(-4px); }
.quick-stat__icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 24px; }
.quick-stat__num { font-size: 28px; font-weight: 900; margin-bottom: 4px; }
.quick-stat__label { font-size: 13px; font-weight: 600; opacity: .8; }

/* === STATUS === */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.status--applied { background: #FFF7ED; color: var(--orange); }
.status--selected { background: #ECFDF5; color: var(--accent); }
.status--rejected { background: #FEF2F2; color: var(--red); }
.status--test, .status--interview, .status--admit { background: var(--primary-light); color: var(--primary); }

/* === TABS === */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--slate-200); margin-bottom: 24px; }
.tab-btn { padding: 12px 20px; font-weight: 700; font-size: 14px; color: var(--slate-500); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); }
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* === PROGRAM LIST === */
.prog-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid var(--slate-200); border-radius: 12px; margin-bottom: 8px; transition: all var(--transition); cursor: pointer; }
.prog-item:hover { border-color: var(--primary); background: var(--primary-light); transform: translateX(4px); }
.prog-item.selected { border-color: var(--primary); background: var(--primary-light); }
.prog-item__name { font-weight: 700; font-size: 14px; color: var(--navy); }
.prog-item__dur { font-size: 12px; color: var(--slate-500); font-weight: 600; }
.prog-item__fee { font-weight: 800; color: var(--primary); font-size: 14px; }

/* === NOTIFICATION === */
.notif-item { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--slate-200); border-radius: 16px; margin-bottom: 12px; background: #fff; transition: all var(--transition); }
.notif-item:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.notif-item.unread { background: var(--primary-light); border-color: rgba(46,139,87,.2); }
.notif-item__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 22px; }
.notif-item__title { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.notif-item__body { font-size: 13px; color: var(--slate-500); line-height: 1.4; }
.notif-item__time { font-size: 11px; color: var(--slate-400); font-weight: 600; margin-top: 6px; }

/* === EDU DOCS === */
.doc-field { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--slate-200); border-radius: 14px; margin-bottom: 10px; background: #fff; transition: all var(--transition); }
.doc-field:hover { border-color: var(--primary); transform: translateX(4px); }
.doc-field input[type="file"] { display: none; }

/* === FOOTER === */
.footer { background: var(--navy); color: var(--slate-400); padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__title { color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 16px; }
.footer__link { display: block; color: var(--slate-400); font-size: 14px; margin-bottom: 10px; transition: color var(--transition); }
.footer__link:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; text-align: center; font-size: 13px; }

/* === LOADER === */
.loader { width: 36px; height: 36px; border: 3px solid var(--slate-200); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; }
.page-loader { display: flex; align-items: center; justify-content: center; min-height: 300px; }

/* === EMPTY STATE === */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state__icon { font-size: 64px; margin-bottom: 16px; opacity: .3; }
.empty-state__title { font-size: 18px; font-weight: 800; color: var(--slate-600); margin-bottom: 8px; }
.empty-state__desc { font-size: 14px; color: var(--slate-400); }

/* === LANDING PARTICLES === */
.hero-particles{position:absolute;inset:0;overflow:hidden;z-index:1}
.hero-particles span{position:absolute;width:6px;height:6px;background:rgba(110,231,183,.4);border-radius:50%;animation:particleFloat 8s infinite ease-in-out}
.hero-particles span:nth-child(2){width:4px;height:4px;left:20%;animation-delay:1s;animation-duration:10s}
.hero-particles span:nth-child(3){width:8px;height:8px;left:40%;animation-delay:2s;animation-duration:7s}
.hero-particles span:nth-child(4){width:3px;height:3px;left:60%;animation-delay:3s;animation-duration:9s}
.hero-particles span:nth-child(5){width:5px;height:5px;left:80%;animation-delay:0.5s;animation-duration:11s}
.hero-particles span:nth-child(6){width:7px;height:7px;left:90%;animation-delay:4s;animation-duration:6s}
@keyframes particleFloat{0%{transform:translateY(100vh) scale(0);opacity:0}10%{opacity:1}90%{opacity:1}100%{transform:translateY(-10vh) scale(1);opacity:0}}

/* === SLIDE UP ANIMATION === */
@keyframes slideUp{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}
.slide-up{animation:slideUp .8s ease forwards;opacity:0}

/* === TYPING CURSOR === */
.typing-cursor{display:inline-block;width:3px;height:1em;background:var(--accent);margin-left:4px;animation:blink 1s step-end infinite;vertical-align:text-bottom}
@keyframes blink{50%{opacity:0}}

/* === STATS COUNTER === */
.stat-counter{text-align:center;padding:32px 20px}
.stat-counter__num{font-size:42px;font-weight:900;background:linear-gradient(135deg,var(--primary),var(--accent));-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin-bottom:4px}
.stat-counter__label{font-size:14px;color:var(--slate-500);font-weight:600}

/* === TESTIMONIAL === */
.testimonial-card{background:#fff;border:1px solid var(--slate-200);border-radius:20px;padding:32px;transition:all .4s ease;position:relative}
.testimonial-card:hover{transform:translateY(-8px);box-shadow:0 20px 50px rgba(0,0,0,.1);border-color:var(--primary)}
.testimonial-card__stars{color:#F59E0B;font-size:14px;margin-bottom:12px}
.testimonial-card__text{color:var(--slate-600);font-size:14px;line-height:1.8;margin-bottom:20px;font-style:italic}
.testimonial-card__author{display:flex;align-items:center;gap:12px}
.testimonial-card__avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--accent));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:16px}
.testimonial-card__name{font-weight:800;font-size:14px;color:var(--navy)}
.testimonial-card__role{font-size:12px;color:var(--slate-400)}

/* === MARQUEE === */
.marquee-wrap{overflow:hidden;padding:24px 0;background:var(--slate-50);border-top:1px solid var(--slate-200);border-bottom:1px solid var(--slate-200)}
.marquee-track{display:flex;gap:48px;animation:marqueeScroll 20s linear infinite;width:max-content}
.marquee-item{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px;color:var(--slate-400);white-space:nowrap}
.marquee-item i{color:var(--primary);font-size:20px}
@keyframes marqueeScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* === FAQ === */
.faq-item{background:#fff;border:1px solid var(--slate-200);border-radius:16px;margin-bottom:12px;overflow:hidden;transition:all .3s}
.faq-item:hover{border-color:var(--primary)}
.faq-q{padding:20px 24px;font-weight:800;font-size:15px;color:var(--navy);cursor:pointer;display:flex;justify-content:space-between;align-items:center}
.faq-q i{color:var(--primary);transition:transform .3s}
.faq-item.open .faq-q i{transform:rotate(180deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease}
.faq-item.open .faq-a{max-height:200px}
.faq-a p{padding:0 24px 20px;color:var(--slate-500);font-size:14px;line-height:1.8}

/* === GLOBAL OVERFLOW PREVENTION === */
html, body { overflow-x: hidden; max-width: 100vw; }
.container { overflow-wrap: break-word; word-wrap: break-word; }

/* === MOBILE NAV ANIMATION === */
@keyframes navLinkFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.navbar__links.open li { animation: navLinkFade .4s ease forwards; }
.navbar__links.open li:nth-child(1) { animation-delay: .05s; }
.navbar__links.open li:nth-child(2) { animation-delay: .1s; }
.navbar__links.open li:nth-child(3) { animation-delay: .15s; }
.navbar__links.open li:nth-child(4) { animation-delay: .2s; }
.navbar__links.open li:nth-child(5) { animation-delay: .25s; }
.navbar__links.open li:nth-child(6) { animation-delay: .3s; }

/* === RESPONSIVE — TABLET (1024px) === */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__content { max-width: 540px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 28px; }
  .banner-slider__slide { aspect-ratio: 16 / 7; }
  .quick-stat { padding: 20px 16px; }
  .quick-stat__num { font-size: 24px; }
}

/* === RESPONSIVE — MOBILE (768px) === */
@media (max-width: 768px) {
  /* ── MODERN SIDE-DRAWER MOBILE MENU ── */
  .navbar__links {
    display: flex !important; position: fixed !important; top: 73px !important; right: 0 !important; bottom: 0 !important; left: auto !important;
    width: 280px !important; max-width: 85vw !important; background: #fff !important;
    flex-direction: column !important; justify-content: flex-start !important; align-items: stretch !important;
    gap: 8px !important; z-index: 999 !important; padding: 24px 20px !important; list-style: none !important;
    transform: translateX(100%) !important; transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: -10px 10px 40px rgba(0,0,0,.15) !important; border-left: 1px solid rgba(226,232,240,.6) !important;
  }
  .navbar__links.open { transform: translateX(0) !important; }
  .hidden-mobile { display: none !important; }
  .navbar__links li { opacity: 1 !important; width: 100%; text-align: left; animation: none !important; }
  .navbar__links a { font-size: 16px !important; font-weight: 700 !important; color: var(--navy) !important; display: block !important; padding: 14px 16px !important; border-radius: 12px !important; transition: all .2s ease; background: var(--slate-50) !important; }
  .navbar__links a:hover, .navbar__links a.active { background: var(--primary-light) !important; color: var(--primary) !important; transform: translateX(4px); }
  .navbar__links a::after { display: none !important; }
  .navbar__hamburger { display: flex; align-items: center; justify-content: center; z-index: 10001; width: 40px; height: 40px; border-radius: 10px; background: var(--slate-50); transition: all .2s; position: relative; }
  .navbar__hamburger:hover { background: var(--slate-200); }
  .navbar__actions { gap: 6px; margin-left: auto; margin-right: 12px; }
  .navbar__actions .btn { padding: 8px 14px; font-size: 12px; }
  .navbar__inner { padding: 10px 16px; }
  .hero { min-height: 75vh; padding: 100px 16px 60px 16px; }
  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
  .hero__stats { gap: 12px; flex-direction: column; margin-top: 32px !important; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding: 40px 0; }
  .section-header h2 { font-size: 22px; }
  .section-header p { font-size: 13px; }
  .section-header { margin-bottom: 24px; }
  .container { padding: 0 16px; }
  .page-wrap { padding-top: 16px; padding-bottom: 40px; }
  .banner-slider { border-radius: 16px; overflow: hidden; background: #f8fafc; }
  .banner-slider__track { display: flex; align-items: center; transition: transform 0.5s ease-in-out; }
  .banner-slider__slide { min-width: 100%; flex-shrink: 0; display: block; background: #fff; position: relative; }
  .banner-slider__slide img { width: 100%; height: auto; max-height: 250px; object-fit: contain; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
  .banner-slider__caption {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    padding: 8px 10px !important;
    background: rgba(0,0,0,0.72);
    white-space: normal !important;
    word-break: break-word !important;
    display: block !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  .search-bar { max-width: 100%; }
  .search-bar input { padding: 14px 16px 14px 42px; font-size: 14px; border-radius: 12px; }
  
  /* Index.html — Comprehensive Mobile Overrides */
  h2[style*="font-size:36px"], h2[style*="font-size: 36px"] { font-size: 20px !important; margin-bottom: 12px !important; }
  h3[style*="font-size:18px"], h3[style*="font-size: 18px"] { font-size: 14px !important; }
  p[style*="font-size:18px"], p[style*="font-size: 18px"] { font-size: 13px !important; line-height: 1.5 !important; }
  p[style*="font-size:16px"], p[style*="font-size: 16px"] { font-size: 13px !important; }
  h4[style*="font-size:16px"], h4[style*="font-size: 16px"] { font-size: 13px !important; }
  .about-stats-grid { gap: 10px !important; margin-top: 24px !important; }
  .about-stat-box { padding: 15px 10px !important; border-radius: 15px !important; }
  .about-stat-val {
    font-size: clamp(18px, 5vw, 21px) !important;
    line-height: 1.15 !important;
    margin-bottom: 4px !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }
  .about-stat-label { font-size: 10px !important; line-height: 1.3 !important; opacity: 0.9; }
  section[style*="#0F172A 0%, #1a3a2a 50%, #1C5E3D 100%"] h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.3px !important;
  }
  /* Feature cards + How It Works circles */
  .card[style*="padding:40px"] { padding: 20px 16px !important; }
  div[style*="width:72px"][style*="height:72px"][style*="border-radius:50%"] { width: 48px !important; height: 48px !important; font-size: 20px !important; }
  div[style*="width:64px"][style*="height:64px"] { width: 48px !important; height: 48px !important; font-size: 22px !important; }
  /* Why Choose Us cards */
  div[style*="padding:36px 24px"] { padding: 20px 16px !important; }
  div[style*="width:56px"][style*="height:56px"] { width: 40px !important; height: 40px !important; font-size: 18px !important; }
  
  .form-input { padding: 12px 14px; font-size: 14px; border-radius: 10px; }
  .form-group { margin-bottom: 14px; }
  .form-group label { font-size: 13px; }
  .btn { padding: 10px 20px; font-size: 13px; border-radius: 10px; }
  .btn--lg { padding: 14px 28px; font-size: 14px; }
  .btn--sm { padding: 7px 14px; font-size: 12px; }
  .card { border-radius: 14px; }
  .card:hover { transform: translateY(-3px); }
  .card__body { padding: 16px; }
  .card__title { font-size: 15px; }

  /* Banner: No Height Limit to show full text */
  .banner-slider { border-radius: 16px; overflow: hidden; background: #f8fafc; }
  .banner-slider__track { display: flex; align-items: center; transition: transform 0.4s ease-in-out; }
  .banner-slider__slide { min-width: 100%; flex-shrink: 0; display: block; background: #fff; position: relative; }
  .banner-slider__slide img { width: 100%; height: auto !important; max-height: none !important; object-fit: contain !important; display: block; }
  .banner-slider__caption {
    font-size: 12px !important;
    line-height: 1.4 !important;
    padding: 8px 10px !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow: visible !important;
    display: block !important;
    max-height: none !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
  }
  
  .grid, .grid--2, .grid--3, .grid--4 { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; }
  
  /* Quick Stats - Horizontal Scroll on Mobile */
  .quick-stats-container {
    display: flex !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding-bottom: 10px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .quick-stats-container::-webkit-scrollbar { display: none; }
  .quick-stats-container > div {
    min-width: 150px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start;
  }
  
  /* Quick Actions - 2 items per row */
  .quick-actions-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .grid-container { display: flex !important; flex-direction: column !important; gap: 10px !important; }
  .quick-stat { padding: 16px 12px; border-radius: 14px; }
  .quick-stat__icon { width: 42px; height: 42px; border-radius: 12px; font-size: 18px; margin-bottom: 10px; }
  .quick-stat__num { font-size: 22px; }
  .quick-stat__label { font-size: 11px; }
  .stat-counter { padding: 20px 12px; }
  .stat-counter__num { font-size: 30px; }
  .stat-counter__label { font-size: 12px; }
  .detail-hero { height: auto; aspect-ratio: 16 / 9; border-radius: 14px; margin-bottom: 16px; background-size: contain; background-repeat: no-repeat; background-color: var(--slate-100); }
  .detail-section { padding: 18px 14px; border-radius: 14px; margin-bottom: 14px; }
  .detail-section:hover { transform: none; }
  .detail-section h3 { font-size: 14px; gap: 8px; }
  .hero-image-wrap { height: 180px; border-radius: 14px 14px 0 0; }
  .premium-info-row { padding: 10px 12px; font-size: 12px; }
  .exp-header { padding: 12px 14px; }
  .exp-header h3 { font-size: 13px; }
  .exp-header .icon { width: 30px; height: 30px; font-size: 13px; }
  .exp-header .arrow { width: 24px; height: 24px; font-size: 10px; }
  .exp-body__inner { padding: 12px 14px; }
  .apply-bar__inner { padding: 0 16px; }
  .apply-bar__inner .btn { padding: 10px 20px; font-size: 13px; flex: 1; }
  .tabs { gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn { padding: 10px 14px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
  .prog-item { padding: 10px 12px; border-radius: 10px; }
  .prog-item__name { font-size: 12px; }
  .notif-item { padding: 14px 16px; gap: 12px; border-radius: 14px; }
  .notif-item:hover { transform: none; }
  .notif-item__icon { width: 38px; height: 38px; border-radius: 10px; font-size: 16px; }
  .notif-item__title { font-size: 14px; }
  .notif-item__body { font-size: 12px; }
  .doc-field { padding: 14px; gap: 10px; border-radius: 12px; flex-wrap: wrap; }
  .auth-card { padding: 28px 20px; border-radius: 18px; }
  .testimonial-card { padding: 24px 20px; border-radius: 16px; }
  .testimonial-card:hover { transform: translateY(-4px); }
  .testimonial-card__text { font-size: 13px; }
  .faq-item { border-radius: 12px; }
  .faq-q { padding: 16px; font-size: 14px; }
  .faq-a p { padding: 0 16px 14px; font-size: 13px; }
  .footer { padding: 36px 0 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .footer__title { font-size: 14px; margin-bottom: 10px; }
  .footer__link { font-size: 13px; margin-bottom: 6px; }
  .footer__bottom { font-size: 11px; padding-top: 16px; }
  .apply-dialog { padding: 28px 20px; border-radius: 18px; }
  .apply-dialog h4 { font-size: 17px; }
  .marquee-item { font-size: 13px; gap: 8px; }
  .marquee-item i { font-size: 16px; }

  /* ── PAGE HEADINGS (inline style overrides) ── */
  .section-header h1 { font-size: 22px !important; }
  .section-header--between { flex-direction: column; align-items: flex-start !important; gap: 12px; }
  .section-header--between .btn { align-self: flex-start; }

  /* ── DETAIL PAGE GRID (landscape → stack) ── */
  .detail-page-grid { flex-direction: column !important; gap: 16px !important; }
  .detail-page-grid > div { width: 100% !important; min-width: unset !important; }
  .left-panel-sticky { position: relative !important; top: 0 !important; }

  /* ── APPLICATION DETAIL ── */
  .app-page { padding: 12px 12px 32px !important; }
  .timeline-dot { width: 32px; height: 32px; font-size: 11px; }
  .timeline-label { font-size: 9px; }
  .doc-card { padding: 14px; border-radius: 12px; }
  .info-row { font-size: 12px; padding: 8px 0; }

  /* ── HOME WELCOME BAR ── */
  .fade-in[style*="border-radius:24px"] { padding: 20px 16px !important; border-radius: 16px !important; flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; overflow: hidden !important; }
  .fade-in[style*="border-radius:24px"] h1 { font-size: 20px !important; word-wrap: break-word !important; overflow-wrap: break-word !important; }
  .fade-in[style*="border-radius:24px"] p { font-size: 13px !important; line-height: 1.5 !important; word-wrap: break-word !important; }
  .fade-in[style*="border-radius:24px"] .btn { padding: 10px 18px !important; font-size: 12px !important; width: 100% !important; justify-content: center !important; }

  /* ── MY ACCOUNT ── */
  #avatar { width: 60px !important; height: 60px !important; font-size: 24px !important; }
  #dispName { font-size: 20px !important; }
}

/* === RESPONSIVE — SMALL MOBILE (480px) === */
@media (max-width: 480px) {
  .grid { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
  .grid--2, .grid--3, .grid--4 { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  #uniGrid, #schGrid { grid-template-columns: 1fr !important; }
  .hero { min-height: 70vh; padding: 100px 16px 60px 16px; }
  .hero__title { font-size: 22px; }
  .hero__subtitle { font-size: 13px; }
  .hero__badge { font-size: 10px; padding: 5px 10px; }
  .navbar__logo { font-size: 16px; gap: 8px; }
  .navbar__logo-icon { width: 30px; height: 30px; border-radius: 8px; font-size: 14px; }
  .navbar__actions .btn { padding: 6px 10px; font-size: 11px; border-radius: 8px; }
  .navbar__hamburger { width: 36px; height: 36px; font-size: 20px; }
  .banner-slider { height: auto; }
  .banner-slider__caption { font-size: 12px; padding: 10px 14px; }
  .quick-stat { padding: 12px 8px; border-radius: 12px; }
  .quick-stat__icon { width: 34px; height: 34px; font-size: 15px; margin-bottom: 6px; }
  .quick-stat__num { font-size: 18px; }
  .quick-stat__label { font-size: 9px; }
  .section-header h2 { font-size: 18px; }
  .section-header p { font-size: 12px; }
  .st-card__img { aspect-ratio: auto !important; }
  .st-card__title { font-size: 13px; }
  .st-card__info { font-size: 10px; }
  .st-card__action { font-size: 11px; padding: 8px 12px; }
  .detail-section { padding: 14px 12px; border-radius: 12px; }
  .detail-section h3 { font-size: 13px; }
  .stat-counter__num { font-size: 26px; }
  .testimonial-card { padding: 20px 16px; }
  .footer__grid { gap: 16px; }
  .section-header h1 { font-size: 18px !important; }
  #avatar { width: 50px !important; height: 50px !important; font-size: 20px !important; }
  #dispName { font-size: 18px !important; }
  .timeline-dot { width: 28px; height: 28px; font-size: 10px; }
  .timeline-label { font-size: 8px; }
}

/* === TESTIMONIALS SLIDER === */
.testimonials-slider { overflow: hidden; padding: 20px 0; position: relative; width: 100%; }
.testimonials-slider::before, .testimonials-slider::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.testimonials-slider::before { left: 0; background: linear-gradient(to right, var(--slate-50), transparent); }
.testimonials-slider::after { right: 0; background: linear-gradient(to left, var(--slate-50), transparent); }

.testimonials-track { display: flex; gap: 24px; width: max-content; animation: scroll-reviews 40s linear infinite; }
.testimonials-track:hover { animation-play-state: paused; }

@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); }
}

.testimonial-card { width: 350px; background: #fff; padding: 32px; border-radius: 24px; border: 1px solid var(--slate-200); box-shadow: var(--shadow-md); flex-shrink: 0; transition: all 0.3s ease; text-align: left; }
.testimonial-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.testimonial-user { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; text-transform: uppercase; }
.testimonial-name { font-weight: 800; color: var(--navy); font-size: 15px; }
.testimonial-stars { color: #F59E0B; font-size: 14px; margin-bottom: 12px; }
.testimonial-text { color: var(--slate-600); font-size: 14px; line-height: 1.6; font-style: italic; }
