/* =====================================================
   Cynaris Academy — Modern Student Vibe Override
   Sits on top of app.css — targets & upgrades key UI
   ===================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Root tokens ── */
:root {
  --ca-purple:  #6C47FF;
  --ca-purple2: #9747FF;
  --ca-mint:    #00D9B5;
  --ca-dark:    #0D0B1F;
  --ca-card-bg: rgba(255,255,255,0.7);
  --ca-grad: linear-gradient(135deg, #6C47FF 0%, #9747FF 100%);
  --ca-grad-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 55%, #1a1a3e 100%);
  --ca-glow: 0 8px 40px rgba(108,71,255,0.25);
  --ca-glow-mint: 0 8px 32px rgba(0,217,181,0.2);
}

/* ── Base font upgrade ── */
body {
  font-family: 'Inter', 'Plus Jakarta Sans', Gilroy, sans-serif !important;
}

/* Scope heading overrides to main content only — footer uses Gilroy at its own weight */
section h1, section h2, section h3, section h4, section h5,
.about-area h1, .about-area h2, .about-area h3, .about-area h4,
.feature-area h1, .feature-area h2, .feature-area h3, .feature-area h4,
.ca-hero h1 {
  font-family: 'Plus Jakarta Sans', Gilroy, sans-serif !important;
  font-weight: 800 !important;
}

/* ── HERO ── */
section.ca-hero {
  background: var(--ca-grad-hero) !important;
  background-image: var(--ca-grad-hero) !important;
  min-height: auto !important;
  position: relative;
  overflow: hidden;
}

section.ca-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(108,71,255,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,217,181,0.15) 0%, transparent 70%);
  pointer-events: none;
}

section.ca-hero h1 {
  color: #fff !important;
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
}

section.ca-hero .text-secondary {
  background: linear-gradient(90deg, #00D9B5, #6C47FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

section.ca-hero .plain-text {
  color: rgba(255,255,255,0.75) !important;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Remove the bad Magnific stock photo — not a transparent cutout */
section.ca-hero .imge-box {
  display: none !important;
}

/* Hero content: top padding accounts for fixed navbar (~88px) */
.ca-hero-content {
  max-width: 680px;
  padding: 120px 0 80px;
}

/* Hero floating badges */
.ca-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.ca-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.ca-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ca-mint);
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

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

/* ── BUTTONS ── */
.btn-primary,
a.btn-primary,
button.btn-primary {
  background: var(--ca-grad) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.01em;
  box-shadow: var(--ca-glow) !important;
  transition: all 0.25s ease !important;
  color: #fff !important;
}

.btn-primary:hover,
a.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 48px rgba(108,71,255,0.4) !important;
  opacity: 0.95;
}

.btn.bg-white {
  border-radius: 999px !important;
  border: 2px solid rgba(108,71,255,0.25) !important;
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
}

.btn.bg-white:hover {
  border-color: var(--ca-purple) !important;
  background: rgba(108,71,255,0.06) !important;
  transform: translateY(-2px) !important;
}

/* ── MINI-TITLES → pill badges ── */
.mini-title {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(108,71,255,0.1), rgba(0,217,181,0.1)) !important;
  border: 1px solid rgba(108,71,255,0.2) !important;
  color: var(--ca-purple) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-bottom: 1rem !important;
}

/* ── COLUMN TITLES ── */
.column-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  color: #0D0B1F !important;
}

.shape-bg {
  background: var(--ca-grad) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Remove the old wave underline SVG shape */
.shape-bg::after {
  display: none !important;
}

/* ── FEATURE CARDS ── */
.feature-area .bg-white.shadow-box {
  background: rgba(255,255,255,0.8) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(108,71,255,0.1) !important;
  border-radius: 20px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important;
}

.feature-area .bg-white.shadow-box:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--ca-glow) !important;
  border-color: var(--ca-purple) !important;
  background: var(--ca-grad) !important;
}

.feature-area .bg-white.shadow-box .h-\[72px\] {
  background: linear-gradient(135deg, rgba(108,71,255,0.12), rgba(0,217,181,0.12)) !important;
  border-radius: 16px !important;
}

/* ── COURSE / PROGRAMME CARDS ── */
a.bg-white.shadow-box2 {
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
  transition: all 0.3s ease !important;
  display: block !important;
}

a.bg-white.shadow-box2:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--ca-glow) !important;
  border-color: rgba(108,71,255,0.3) !important;
}

.course-thumb {
  position: relative;
  overflow: hidden;
}

.course-thumb img {
  transition: transform 0.5s ease !important;
}

a.bg-white.shadow-box2:hover .course-thumb img {
  transform: scale(1.06) !important;
}

.course-thumb span.bg-secondary {
  background: var(--ca-grad) !important;
  border-radius: 999px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  backdrop-filter: blur(8px);
}

.course-content .text-secondary {
  color: var(--ca-purple) !important;
}

/* ── SECTION BACKGROUNDS ── */
.feature-area {
  background-image: none !important;
  background: linear-gradient(180deg, #f8f7ff 0%, #fff 100%) !important;
}

/* Platform section */
.bg-\[url\(\'\.\.\/images\/all-img\/section-bg-2\.png\'\)\] {
  background-image: none !important;
  background: linear-gradient(135deg, #f0edff 0%, #e8f9f7 100%) !important;
}

/* CTA section */
.bg-\[url\(\'\.\.\/images\/all-img\/section-bg-3\.png\'\)\] {
  background-image: none !important;
  background: var(--ca-grad) !important;
}

/* Subjects section */
.bg-\[url\(\'\.\.\/images\/all-img\/section-bg-16\.png\'\)\] {
  background-image: none !important;
  background: linear-gradient(135deg, #0D0B1F 0%, #1a1550 100%) !important;
}

/* Psychometric / features section-bg-1 */
.bg-\[url\(\'\.\.\/images\/all-img\/section-bg-1\.png\'\)\] {
  background-image: none !important;
  background: linear-gradient(180deg, #f8f7ff 0%, #f0edff 100%) !important;
}

/* ── NAVBAR ── */
.site-header {
  backdrop-filter: blur(16px) !important;
  background: rgba(255,255,255,0.95) !important;
  border-bottom: 1px solid rgba(108,71,255,0.08) !important;
}

/* Nav links — nowrap prevents "Free Psychometric Tool" from breaking */
.main-menu ul li a,
.main-header a {
  white-space: nowrap !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

/* Log in link — header only, not footer */
.main-header a[href*="login"] {
  font-weight: 700 !important;
  color: var(--ca-purple) !important;
}

/* ── COUNTER / STATS ── */
.counter-area h4, [class*="counter"] h4 {
  background: var(--ca-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem !important;
  font-weight: 900 !important;
}

/* ── TESTIMONIAL ── */
[class*="testi"] .bg-white {
  border-radius: 20px !important;
  border: 1px solid rgba(108,71,255,0.1) !important;
}

/* ── PRICING ── */
[class*="pricing"] li, .pricing-card {
  border-radius: 20px !important;
  transition: all 0.3s ease !important;
}

/* ── FOOTER ── */
footer {
  background: #0D0B1F !important;
  background-image: none !important;
  font-family: Gilroy, sans-serif !important;
}

footer .section-padding {
  padding-top: 40px !important;
  padding-bottom: 20px !important;
}

footer h4 {
  font-family: Gilroy, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  margin-bottom: 1rem !important;
}

/* Compact link spacing */
footer .list-item.space-y-5 > li {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

footer .list-item.space-y-5 {
  --tw-space-y-reverse: 0 !important;
  margin-top: 0 !important;
}

footer a {
  font-size: 0.875rem !important;
}

/* Stack Explore + Get Started vertically — links too long for side-by-side */
footer .single-footer .flex {
  flex-direction: column !important;
  gap: 1.5rem !important;
}

footer .single-footer .flex > div {
  margin-left: 0 !important;
}

/* Social icons — horizontal row */
footer ul.flex.space-x-4 {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

footer ul.flex.space-x-4 li {
  margin-top: 0 !important;
}

footer ul.flex.space-x-4 a {
  width: 36px !important;
  height: 36px !important;
  font-size: 1rem !important;
}

/* ── ABOUT IMAGE ── */
.about-area img {
  border-radius: 20px !important;
  box-shadow: 0 16px 48px rgba(108,71,255,0.15) !important;
}

/* ── SCROLL ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ca-fade-up {
  animation: fadeUp 0.6s ease both;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  section.ca-hero h1 { font-size: 2rem !important; }
  .column-title { font-size: 1.7rem !important; }
}
