/* ==========================================================================
   Ramsakhi Ramashish ITI Jamshedpur - Ultra Responsive & Performance Optimized CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --bs-primary: #0284c7;
  --bs-primary-rgb: 2, 132, 199;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-navy: #0f172a;
  --dark-slate: #0b1120;
  --accent-amber: #f59e0b;
  --accent-indigo: #6366f1;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
}

/* Global Reset & Smooth Scroll */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.font-serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--bs-primary);
}

/* Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.45);
  color: #ffffff;
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 26px;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
}

.btn-outline-custom:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Top Bar */
.topbar {
  background-color: var(--primary-navy);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: #38bdf8;
}

/* Navbar Header */
.main-header {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0284c7, #6366f1);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  flex-shrink: 0;
}

.logo-text-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  background: linear-gradient(
    110deg,
    #0f172a 0%,
    #0284c7 25%,
    #2563eb 50%,
    #38bdf8 75%,
    #0f172a 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: magicKineticText 5s linear infinite;
  display: inline-block;
}

@keyframes magicKineticText {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

.logo-text-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-big-logo {
  height: 200px;
  width: auto;
  max-width: 480px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-big-logo:hover {
  transform: scale(1.04);
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b !important;
  padding: 10px 16px !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0284c7 !important;
  background-color: #f0f9ff;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 8px;
}

.dropdown-item {
  color: #334155;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 8px 14px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #e0f2fe;
  color: #0284c7;
}



/* Hero Section */
.hero-section {
  padding: 60px 0 80px 0;
  background: #f8fafc;
  position: relative;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #ffffff;
  color: #0284c7;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 50rem;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.15);
  margin-bottom: 20px;
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}

.hero-blob-bg {
  width: 100%;
  max-width: 440px;
  height: 440px;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.12);
}

.hero-main-img {
  width: 88%;
  height: 85%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.hero-floating-card {
  position: absolute;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.hero-card-1 { top: 6%; left: 0; }
.hero-card-2 { bottom: 8%; right: 0; }

/* Cards & Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.15) !important;
}

/* Feature Icon Boxes */
.feature-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* Countdown Banner */
.countdown-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1e293b 100%);
  padding: 50px 30px;
  color: #ffffff;
  border-radius: 24px;
  margin: 30px 0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.countdown-box {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.timer-circle {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(2, 132, 199, 0.4);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.timer-circle .num {
  font-size: 1.3rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
}

.timer-circle .unit {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-top: 2px;
}

/* Section Tags & Title */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--primary-light);
  color: #0284c7;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

/* Faculty Image Positioning */
.faculty-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
}

/* Direct Call CTA Banner */
.cta-banner-blue {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  padding: 45px 20px;
  color: #ffffff;
  text-align: center;
}

/* Footer */
.footer-section {
  background-color: var(--dark-slate);
  color: #cbd5e1;
  padding: 60px 0 0 0;
  font-size: 0.9rem;
}

.footer-section p, 
.footer-section .small, 
.footer-section .text-muted {
  color: #cbd5e1 !important;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 35px;
  height: 3px;
  background: #0284c7;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 6px;
}

.copyright-bar {
  padding: 24px 0;
  margin-top: 50px;
  font-size: 0.85rem;
  color: #cbd5e1 !important;
}

/* ==========================================================================
   Responsive Breakpoints & Media Queries
   ========================================================================== */

/* Mobile Phones (up to 575.98px) */
@media (max-width: 575.98px) {
  .topbar { display: none !important; }
  .logo-text-title { font-size: 1.05rem; }
  .logo-text-sub { font-size: 0.62rem; }
  .hero-section { padding: 40px 0 60px 0; }
  .hero-blob-bg { height: 320px; }
  .hero-floating-card { padding: 8px 12px; font-size: 0.8rem; }
  .hero-card-1 { top: -10px; left: 5px; }
  .hero-card-2 { bottom: -10px; right: 5px; }
  .countdown-banner { padding: 35px 20px; border-radius: 18px; }
  .timer-circle { width: 58px; height: 58px; }
  .timer-circle .num { font-size: 1.1rem; }
  .btn-primary-custom, .btn-outline-custom { width: 100%; }
}

/* Tablets (576px to 991.98px) */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-section { padding: 50px 0 70px 0; }
  .hero-blob-bg { height: 380px; }
  .countdown-banner { padding: 45px 30px; }
}

/* Mobile Nav Drawer Enhancements */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 12px;
  }
}

/* ==========================================================================
   Modern UI Special Effects, Micro-Animations & Form Styling
   ========================================================================== */

/* Button Shimmer Effect & Hover Elevation */
.btn-primary-custom, .btn-outline-custom, .btn-warning {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary-custom::after, .btn-outline-custom::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(25deg);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.btn-primary-custom:hover::after, .btn-outline-custom:hover::after {
  left: 130%;
  opacity: 1;
}

.btn-primary-custom:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px -6px rgba(2, 132, 199, 0.4) !important;
}

.btn-primary-custom:active, .btn-outline-custom:active {
  transform: translateY(0) scale(0.98) !important;
}

.btn-primary-custom i, .btn-outline-custom i {
  transition: transform 0.25s ease;
}

.btn-primary-custom:hover i, .btn-outline-custom:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   Modern Reference Form & Input Architecture (.form, .inputForm, .input-group)
   ========================================================================== */

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 20px;
  width: 100%;
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flex-column > label,
.form-label {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.flex-row > div > label {
  font-size: 14px;
  color: #334155;
  font-weight: 400;
}

.span {
  font-size: 14px;
  margin-left: 5px;
  color: #0284c7;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.span:hover {
  color: #0369a1;
}

.button-submit {
  margin: 16px 0 10px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  height: 50px;
  width: 100%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.button-submit:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
}

/* Outer Unified Input Container Box */
.inputForm,
.input-group {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 50px !important;
  border: 1.5px solid #ecedec !important;
  border-radius: 12px !important;
  background-color: #ffffff !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out !important;
}

.inputForm:focus-within,
.input-group:focus-within {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15) !important;
}

/* Icon / Prefix Element inside Container */
.inputForm svg,
.inputForm i,
.input-group .input-group-text,
.input-group > .input-group-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  color: #64748b !important;
  padding: 0 !important;
  margin: 0 10px 0 0 !important;
  font-size: 1.05rem !important;
  height: 100% !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  transition: color 0.2s ease-in-out !important;
}

.inputForm:focus-within svg,
.inputForm:focus-within i,
.input-group:focus-within .input-group-text {
  color: #0284c7 !important;
}

/* Borderless Inner Input & Select Field */
.inputForm .input,
.inputForm input,
.input-group .form-control,
.input-group .form-select,
.input-group > .form-control,
.input-group > .form-select {
  flex: 1 1 0% !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 4px !important;
  font-size: 0.95rem !important;
  color: #0f172a !important;
  border-radius: 0 !important;
  line-height: 48px !important;
  box-sizing: border-box !important;
}

.inputForm .input:focus,
.inputForm input:focus,
.input-group .form-control:focus,
.input-group .form-select:focus,
.input-group > .form-control:focus,
.input-group > .form-select:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Button inside Input Group (e.g. Newsletter / Search Submit) */
.input-group > .btn {
  height: 38px !important;
  margin-left: 8px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

/* Standalone Input & Select Fields (outside .input-group) */
.form-control:not(.input-group *),
.form-select:not(.input-group *) {
  height: 50px !important;
  border: 1.5px solid #ecedec !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  font-size: 0.95rem !important;
  background-color: #ffffff !important;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}

.form-control:not(.input-group *):focus,
.form-select:not(.input-group *):focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15) !important;
  outline: none !important;
}

textarea.form-control,
textarea.input,
textarea {
  height: auto !important;
  min-height: 110px !important;
  border: 1.5px solid #ecedec !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
  background-color: #ffffff !important;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}

textarea.form-control:focus,
textarea.input:focus,
textarea:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15) !important;
  outline: none !important;
}

/* Card Hover Elevation & Modern Border Glow */
.card.hover-lift {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
}

.card.hover-lift:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(2, 132, 199, 0.08) !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
}

/* Pulsing Badge Keyframes */
@keyframes badgeGlow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.badge.bg-danger {
  animation: badgeGlow 2s infinite ease-in-out;
}

/* Scroll Entrance Micro-Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* ==========================================================================
   Magic UI Component Library & Effects (Inspired by MagicUI.design)
   ========================================================================== */

/* 1. Magic Card Spotlight (Dynamic Mouse Light Follow) */
.magic-card {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.magic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(2, 132, 199, 0.12),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.magic-card:hover::before {
  opacity: 1;
}

/* 2. Magic Border Beam Animation */
.magic-border-beam {
  position: relative;
  border-radius: 16px;
  z-index: 1;
}

.magic-border-beam::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  padding: 2px;
  background: conic-gradient(
    from var(--beam-angle, 0deg),
    transparent 0%,
    transparent 60%,
    #0284c7 80%,
    #38bdf8 90%,
    #6366f1 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateBeam 4s linear infinite;
  pointer-events: none;
  opacity: 0.95;
}

@keyframes rotateBeam {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 3. Magic Animated Grid & Dot Pattern Background */
.magic-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(2, 132, 199, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 132, 199, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
  animation: magicGridPan 22s linear infinite;
}

@keyframes magicGridPan {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 72px 72px;
  }
}

.magic-dots-bg {
  background-image: radial-gradient(rgba(2, 132, 199, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* 4. Magic Infinite Ticker / Marquee */
.magic-marquee-wrapper {
  overflow: hidden;
  display: flex;
  user-select: none;
  gap: 2rem;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.magic-marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: 2rem;
  animation: magicMarqueeScroll 25s linear infinite;
}

@keyframes magicMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.magic-marquee-wrapper:hover .magic-marquee-content {
  animation-play-state: paused;
}

/* 5. Magic Text Gradient & Sparkle Tag */
.magic-text-gradient {
  background: linear-gradient(135deg, #0284c7 0%, #6366f1 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: magicTextGlow 3s ease infinite alternate;
}

@keyframes magicTextGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.magic-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.12);
  backdrop-filter: blur(8px);
}


