@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-primary: #FDFBF7;
  --bg-secondary: #F9F6F0;
  --bg-card: #FFFFFF;
  
  --text-primary: #1F1E1C; /* Dark gray, avoiding pure black */
  --text-secondary: #565552;
  --text-accent: #8E8D8A;
  
  --accent-color: #D34636; /* Warm red accent, from typical TIME mardan references */
  --accent-hover: #B93728;
  
  /* Typography */
  --font-family: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(31, 30, 28, 0.04);
  --shadow-md: 0 4px 16px rgba(31, 30, 28, 0.06);
  --shadow-lg: 0 12px 24px rgba(31, 30, 28, 0.08);
  
  /* Borders */
  --border-subtle: 1px solid rgba(31, 30, 28, 0.06);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  
  /* Spacing */
  --section-padding: 6rem 2rem;
  --container-width: 1200px;
}

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

html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

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

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }
.section { padding: var(--section-padding); }
.bg-secondary { background-color: var(--bg-secondary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(211, 70, 54, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211, 70, 54, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn-outline:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* Shared Forms Styling */
.form-group {
  margin-bottom: 1.5rem;
}

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

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(31, 30, 28, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form-status-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  display: none;
  text-align: center;
  font-weight: 500;
}

.message-success {
  background-color: #e6f4ea;
  color: #1e8e3e;
  border: 1px solid #ceead6;
}

.message-error {
  background-color: #fce8e6;
  color: #d93025;
  border: 1px solid #fad2cf;
}

/* Contact Card & Layout */
.contact-card-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: var(--border-subtle);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  border-bottom: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo img {
  height: 48px;
  margin-right: 12px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Hero Section */
.hero {
  padding: 12rem 0 8rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(211, 70, 54, 0.05) 0%, rgba(253, 251, 247, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

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

.hero-heading {
  line-height: 1.05;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-profile {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
  text-align: center;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Academic Pillars (Numbered Rows) */
.pillars {
  padding: var(--section-padding);
  background-color: var(--bg-card);
}

.pillar-item {
  display: flex;
  align-items: center;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  background-color: var(--bg-primary);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.pillar-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 30, 28, 0.1);
}

.pillar-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(211, 70, 54, 0.1);
  margin-right: 2.5rem;
  line-height: 1;
}

.pillar-content h3 {
  margin-bottom: 0.5rem;
}

.pillar-content p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Bento Grids for Courses */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.bento-card {
  background-color: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento-large {
  grid-column: span 8;
}

.bento-medium {
  grid-column: span 6;
}

.bento-small {
  grid-column: span 4;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(211, 70, 54, 0.1);
  color: var(--accent-color);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Faculty & Social Proof */
.faculty-section {
  text-align: center;
}

.faculty-card {
  max-width: 600px;
  margin: 3rem auto;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faculty-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.social-img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  filter: brightness(0.95);
  transition: transform 0.3s ease;
}

.social-img:hover {
  transform: scale(1.02);
}

/* Footer */
.footer {
  background-color: var(--text-primary);
  color: #ffffff;
  border-top: var(--border-subtle);
  padding: 6rem 0 2rem;
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: var(--border-subtle);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-accent);
  font-size: 0.875rem;
}

/* Success & Mobility */
.success-header {
  text-align: center;
}
.rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}
.mobility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.mobility-card {
  background: var(--bg-primary);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.mobility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.mobility-flag {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-grid-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta-group {
    justify-content: center !important;
  }
  .mobility-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-large, .bento-medium, .bento-small {
    grid-column: span 12;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* In a real scenario, implement a hamburger menu */
  }
  
  .hero {
    padding: 10rem 0 6rem;
  }
  
  .pillar-item {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .pillar-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .social-proof-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   🛠️ CMS DASHBOARD & TABBED PANEL INTERFACE STYLES 🛠️
   ========================================================= */

.dashboard-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid rgba(31, 30, 28, 0.06);
  margin-top: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(31, 30, 28, 0.02);
}

.tab-btn.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
  background: rgba(211, 70, 54, 0.03);
}

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

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

.cms-grid-two {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 992px) {
  .cms-grid-two {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.cms-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.cms-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: var(--border-subtle);
  padding-bottom: 0.75rem;
}

.cms-title-bar h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.cms-item-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cms-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  transition: all 0.2s ease;
}

.cms-item-row:hover {
  transform: translateX(3px);
  border-color: rgba(31, 30, 28, 0.12);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.cms-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
  padding-right: 1rem;
}

.cms-item-title {
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.95rem;
}

.cms-item-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cms-item-actions {
  display: flex;
  gap: 0.5rem;
}

/* =========================================================
   🚀 ADVANCED FRONT-END OPTIMIZATIONS (RESPONSIVENESS, SEO & UI EFFECTS)
   ========================================================= */

/* Typography Fluid Clamping */
h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Touch Target Standards */
.nav-links a, 
.footer-links a,
.status-selector,
.btn,
.form-control,
.btn-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.btn-action {
  justify-content: center;
  width: 48px !important;
  height: 48px !important;
}

/* Scroll-driven Reveal & Motion Effects */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Text-reveal Page Load Entry */
.fade-in-up-hero {
  animation: fadeInUpHero 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 0;
  transform: translateY(40px);
}

@keyframes fadeInUpHero {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating WhatsApp Lead Generation Action Widget */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #27AE60;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 16px rgba(39, 174, 96, 0.3);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  animation: whatsapp-pulse 2s infinite;
  cursor: pointer;
}

.whatsapp-float:hover {
  background-color: #219653;
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 24px rgba(39, 174, 96, 0.4);
  color: #FFF;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(39, 174, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
  }
}

/* Premium Hover Micro-interactions */
.bento-card, .pillar-item, .faculty-card {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.bento-card:hover, .pillar-item:hover, .faculty-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(31, 30, 28, 0.08) !important;
  border-color: rgba(211, 70, 54, 0.15) !important;
}

/* Mobile Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1010;
  width: 48px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 100% Fluid Responsive Overrides */
@media (max-width: 768px) {
  .nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 1.5rem;
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1010;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    border-bottom: var(--border-subtle);
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(31, 30, 28, 0.05);
    gap: 1.5rem;
    text-align: center;
    z-index: 999;
  }

  .nav-links.is-active {
    display: flex;
    animation: slideDownMenu 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }

  .nav-links a {
    width: 100%;
    justify-content: center;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(31, 30, 28, 0.03);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 10rem 0 6rem;
  }
  .hero-grid-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .section {
    padding: 4rem 1rem;
  }
  
  /* Lock Floating WhatsApp indicator position relative to viewport window */
  .whatsapp-float {
    position: fixed !important;
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 26px !important;
    z-index: 9999 !important;
  }

  /* Structural Overflow Defensive Boundaries */
  *, ::before, ::after {
    box-sizing: border-box !important;
  }

  body, html, .container, .section, .hero, .pillars, .bento-grid, .bento-card, .pillar-item, .faculty-card, .social-proof-grid, .contact-card-container, .form-container, .mobility-grid, .mobility-card, .social-img {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Form Column-Stack Optimization */
  .form-row, .form-grid, .contact-form-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .form-group {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1.5rem !important;
  }

  .form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn, .btn-primary, #submit-btn, #contact-submit-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Image Page Load Entry Animation */
.hero-img {
  animation: heroImgFadeIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes heroImgFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dynamic Card Entry Transitions (Smooth fade-in reveal with no hover override conflicts) */
.reveal-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

