/* ============================================
   ANET - Anka NagaRaju Institute of Engineering & Technology
   Premium Blue, White & Silver Theme
   ============================================ */

:root {
  --primary: #ffffff;
  --primary-light: #f0f4f8;
  --primary-dark: #e2e8f0;
  --accent: #1a6cf0;
  --accent-light: #4d8cf7;
  --accent-dark: #0e4fa8;
  --accent-glow: rgba(26, 108, 240, 0.12);
  --silver: #64748b;
  --silver-light: #94a3b8;
  --silver-dark: #475569;
  --white: #ffffff;
  --off-white: #f8fafc;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-light: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 0, 0, 0.06);
  --text: #1e293b;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --gradient-1: linear-gradient(135deg, #e8f0fe 0%, #d0e1fd 50%, #e8f0fe 100%);
  --gradient-2: linear-gradient(135deg, #1a6cf0, #0e4fa8);
  --gradient-3: linear-gradient(135deg, #e8f0fe, #d0e1fd);
  --gradient-accent: linear-gradient(135deg, #1a6cf0, #4d8cf7);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(26, 108, 240, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  background: var(--primary);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--glass-border);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
  position: relative;
}

.preloader-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 3px solid var(--glass-border);
  border-bottom-color: var(--silver);
  animation: spin 0.6s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============ CUSTOM SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text span:first-child {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.nav-logo-text span:last-child {
  font-size: 0.65rem;
  color: var(--silver);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(26, 108, 240, 0.06);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  background: var(--gradient-2) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ HERO SECTION ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 20%;
  right: -10%;
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--silver-light);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .highlight {
  color: var(--silver-light);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 4px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-2);
  color: var(--white);
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px var(--accent-glow);
}

.btn-secondary {
  background: var(--glass);
  color: var(--text-dark);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-light);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--silver-light);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  display: block;
}

.hero-stat-number .counter-plus::after {
  content: '+';
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-3d-container {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  position: relative;
}

.hero-3d-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.hero-3d-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.floating-cards {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-card 6s ease-in-out infinite;
  white-space: nowrap;
}

.floating-card:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.floating-card:nth-child(2) { top: 30%; right: 0%; animation-delay: 1s; }
.floating-card:nth-child(3) { bottom: 20%; left: 10%; animation-delay: 2s; }
.floating-card:nth-child(4) { bottom: 5%; right: 10%; animation-delay: 0.5s; }

.floating-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-card-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.floating-card-text strong {
  font-size: 0.9rem;
  color: var(--text-dark);
}

@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============ SECTION COMMON ============ */
.section {
  padding: 100px 2rem;
  position: relative;
}

.section-alt {
  background: var(--primary-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============ PROGRAMS GRID ============ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.program-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-glow);
  box-shadow: var(--shadow-glow);
}

.program-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  background: var(--glass-light);
  border: 1px solid var(--glass-border);
}

.program-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.program-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

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

.program-tag {
  padding: 4px 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.7rem;
  color: var(--silver);
}

.program-arrow {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 0.9rem;
  transition: var(--transition);
}

.program-card:hover .program-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translate(4px, -4px);
}

/* ============ FEATURES SECTION ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}

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

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px var(--accent-glow);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ NUMBERS / STATS ============ */
.stats-section {
  background: var(--gradient-3);
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.stat-item h3 span::after {
  content: '+';
  color: var(--accent);
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ TESTIMONIALS / STORIES ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

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

.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ PARTNERS ============ */
.partners-scroll {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.partners-track {
  display: flex;
  gap: 3rem;
  animation: scroll-partners 30s linear infinite;
  width: max-content;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  color: var(--silver);
  font-weight: 500;
  font-size: 0.9rem;
}

.partner-item .partner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

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

/* ============ FOOTER ============ */
.footer {
  background: var(--primary-dark);
  border-top: 1px solid var(--glass-border);
  padding: 80px 2rem 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 360px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.8rem;
}

.footer ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 140px 2rem 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-header-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.page-header-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.page-header .breadcrumb a {
  color: var(--accent-light);
  text-decoration: none;
}

.page-header .breadcrumb span {
  color: var(--silver);
}

/* ============ CONTENT SECTIONS ============ */
.content-section {
  padding: 80px 2rem;
}

.content-container {
  max-width: 1400px;
  margin: 0 auto;
}

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

.content-grid-reverse .content-grid {
  direction: rtl;
}

.content-grid-reverse .content-grid > * {
  direction: ltr;
}

.content-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.content-image-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--gradient-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}

.content-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, var(--accent-glow));
}

.content-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.content-text h2 .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.content-text ul {
  list-style: none;
  margin: 1.5rem 0;
}

.content-text ul li {
  padding: 8px 0;
  color: var(--silver-light);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.content-text ul li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============ DETAIL GRID (for program pages) ============ */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.detail-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.detail-card:hover {
  border-color: var(--accent-glow);
  transform: translateY(-3px);
}

.detail-card h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.detail-card .detail-icon {
  font-size: 1.2rem;
}

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--glass-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--primary);
  box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-content {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.timeline-content h4 {
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.timeline-content .timeline-date {
  font-size: 0.8rem;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ PRICING / SCHOLARSHIP CARDS ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: var(--gradient-2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-glow);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 1rem 0;
}

.pricing-amount span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
}

.pricing-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--silver-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
}

/* ============ TEAM GRID ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.team-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

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

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 1rem;
}

.team-card h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.team-card .team-role {
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 0.3rem;
}

.team-card .team-dept {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ DASHBOARD ============ */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.dashboard-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.dashboard-card:hover {
  border-color: var(--accent-glow);
}

.dashboard-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.dashboard-card-header h4 {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.dashboard-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.dashboard-value .trend-up {
  color: #22c55e;
  font-size: 1rem;
}

.dashboard-bar {
  width: 100%;
  height: 6px;
  background: var(--glass);
  border-radius: 3px;
  margin-top: 1rem;
  overflow: hidden;
}

.dashboard-bar-fill {
  height: 100%;
  background: var(--gradient-2);
  border-radius: 3px;
  transition: width 1.5s ease;
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 100px 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-3);
  z-index: -1;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 1.5rem 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .section {
    padding: 60px 1.5rem;
  }

  .content-section {
    padding: 60px 1.5rem;
  }

  .programs-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0 1rem;
  }

  .nav-logo-text span:first-child {
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 120px 1rem 60px;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }
}

/* ============ GLITCH TEXT EFFECT ============ */
.glitch-text {
  position: relative;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch-text:hover::before {
  animation: glitch-1 0.3s ease;
  color: #4d8cf7;
  clip-path: inset(20% 0 60% 0);
}

.glitch-text:hover::after {
  animation: glitch-2 0.3s ease;
  color: #f0f;
  clip-path: inset(60% 0 20% 0);
}

@keyframes glitch-1 {
  0% { transform: translate(0); opacity: 0; }
  50% { transform: translate(-3px, 2px); opacity: 0.8; }
  100% { transform: translate(0); opacity: 0; }
}

@keyframes glitch-2 {
  0% { transform: translate(0); opacity: 0; }
  50% { transform: translate(3px, -2px); opacity: 0.8; }
  100% { transform: translate(0); opacity: 0; }
}

/* ============ TAB SYSTEM ============ */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab {
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.tab.active {
  background: var(--accent);
  color: var(--white);
}

.tab:hover:not(.active) {
  color: var(--white);
  background: var(--glass-light);
}

.tab-content {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.tab-content.active {
  display: block;
}

/* ============ ACCORDION ============ */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--glass-light);
}

.accordion-header .accordion-icon {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
  padding: 0 1.5rem 1.2rem;
}

.accordion-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-2);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 30px var(--accent-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px var(--accent-glow);
}

/* ============ NOTIFICATION TOAST ============ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 2rem;
  color: var(--white);
  font-size: 0.9rem;
  opacity: 0;
  transition: var(--transition);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============ 3D TILT EFFECT ============ */
.tilt-card {
  transition: transform 0.1s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ============ COUNTDOWN ============ */
.countdown {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.countdown-item {
  text-align: center;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
}

.countdown-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ MARQUEE TEXT ============ */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.marquee-content {
  display: flex;
  gap: 2rem;
  animation: marquee 20s linear infinite;
  width: max-content;
}

.marquee-content span {
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.marquee-content span::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

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

/* ============ LIVE CHAT ============ */
.live-chat {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9998;
}

.live-chat-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-2);
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 0 30px var(--accent-glow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-chat-btn:hover {
  transform: scale(1.1);
}

.live-chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  background: var(--primary-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: var(--transition);
  transform-origin: bottom right;
}

.live-chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.live-chat-header {
  padding: 1rem 1.5rem;
  background: var(--gradient-2);
  color: var(--white);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-chat-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.7;
}

.live-chat-messages {
  padding: 1rem;
  height: 250px;
  overflow-y: auto;
}

.live-chat-msg {
  margin-bottom: 1rem;
}

.live-chat-msg .msg-text {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--text);
  display: inline-block;
  max-width: 85%;
}

.live-chat-msg.bot .msg-text {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.live-chat-msg.user {
  text-align: right;
}

.live-chat-input {
  display: flex;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--glass-border);
}

.live-chat-input input {
  flex: 1;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 10px 16px;
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
}

.live-chat-input input::placeholder {
  color: var(--text-muted);
}

.live-chat-input button {
  background: var(--accent);
  border: none;
  color: var(--white);
  padding: 10px 16px;
  border-radius: 50px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 0.85rem;
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--primary-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.open .modal {
  transform: scale(1);
}

.modal h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.modal .form-group {
  margin-bottom: 1rem;
}

.modal .form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.modal .form-group input,
.modal .form-group select,
.modal .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.modal .form-group input:focus,
.modal .form-group select:focus,
.modal .form-group textarea:focus {
  border-color: var(--accent);
}

.modal .form-group select option {
  background: var(--primary);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============ VIRTUAL TOUR ============ */
.virtual-tour-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--gradient-3);
  border: 1px solid var(--glass-border);
}

.virtual-tour-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.virtual-tour-placeholder:hover {
  background: var(--glass-light);
}

.virtual-tour-placeholder .play-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 0 40px var(--accent-glow);
  animation: pulse-play 2s ease-in-out infinite;
}

@keyframes pulse-play {
  0%, 100% { box-shadow: 0 0 40px var(--accent-glow); }
  50% { box-shadow: 0 0 80px var(--accent-glow); }
}

.virtual-tour-placeholder h3 {
  color: var(--white);
  font-size: 1.3rem;
}

.virtual-tour-placeholder p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============ INNOVATION LABS ============ */
.lab-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.lab-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

.lab-card-image {
  height: 180px;
  background: var(--gradient-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.lab-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--glass));
}

.lab-card-body {
  padding: 1.5rem;
}

.lab-card-body h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.lab-card-body p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.lab-card-body .lab-equipment {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1rem;
}

.lab-equipment span {
  padding: 3px 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.7rem;
  color: var(--silver);
}

/* ============ NEWSLETTER ============ */
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 14px 28px;
  border-radius: 50px;
}

/* ============ PROGRESS BAR (page scroll) ============ */
.scroll-progress {
  position: fixed;
  top: 72px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-2);
  z-index: 9998;
  transition: width 0.1s;
}

/* ============ MISC ============ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.gap-1 { gap: 1rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
