/* ============================================================
   student_corner.php — page styles
   Moved out of the page on 14 Aug 2026. Values come from
   css/tokens.css: edit a token there and it changes here too.
   ============================================================ */

/* ----- fallback values (in case tokens.css is missing) ----- */
:root {
  --gx-white: #ffffff;
  --gx-danger: #ef4444;
  --gx-success: #22c55e;
  --gx-indigo-light: #818cf8;
  --gx-surface-tint: #e2e8f0;
  --gx-r-circle: 9999px;
  --gx-fs-xl: 1.25rem;
  --gx-fs-2xl: 1.5rem;
  --gx-transition-fast: 0.25s ease;
  --gx-transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(145deg, #f9fcff 0%, #edf2f9 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}

.student-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.student-section-heading > span {
  display: inline-block;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.student-section-heading .section-title {
  display: block;
  margin-top: 0;
  line-height: 1.12;
}

.student-section-heading .section-title > span {
  background: linear-gradient(130deg, #102a63, #2a4eb0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-glow {
  background: linear-gradient(95deg, #1434a4, #1f4bb5);
  box-shadow: 0 10px 18px -8px #102a63;
  transition: var(--gx-transition-fast, 0.25s ease);
  border: none;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-glow:hover {
  background: linear-gradient(95deg, #102a63, #1434a4);
  box-shadow: 0 18px 25px -8px #0b1d47;
  transform: scale(1.02);
}
.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--gx-white, #ffffff);
  transition: var(--gx-transition-fast, 0.25s ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.02);
}

/* ===== HERO with background image ===== */
.student-hero {
  /* fallback solid color (if image fails) */
  background-color: #102a63;
  position: relative;
  /* remove any background-image / gradient here */
}
/* subtle shine overlay */
.student-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 193, 7, 0.14), transparent 45%);
  pointer-events: none;
}

.hero-stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  transition: all 0.35s ease;
}
.hero-stat-box:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
}

/* ===== ACCESS / FUNCTION CARDS ===== */
.access-card {
  position: relative;
  border-radius: 1.25rem;
  padding: 2px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  text-decoration: none;
  display: block;
}
.access-card-inner {
  position: relative;
  background: var(--gx-white, #ffffff);
  border-radius: 1.15rem;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  z-index: 2;
  transition: background 0.4s ease, color 0.4s ease;
}
.access-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--access-grad);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.access-card:hover::before {
  opacity: 1;
}
.access-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(16, 42, 99, 0.35);
}
.access-card:hover .access-card-inner {
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.access-card:hover .access-title,
.access-card:hover .access-sub {
  color: var(--gx-white, #ffffff);
}
.access-card:hover .access-icon-wrap {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.1) rotate(8deg);
}
.access-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: var(--gx-r-circle, 9999px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}
.access-title,
.access-sub {
  transition: color 0.4s ease;
}
.access-arrow {
  transition: all 0.4s ease;
}
.access-card:hover .access-arrow {
  color: var(--gx-white, #ffffff);
  transform: translateX(4px);
}

/* card gradient variants */
.access-1 {
  --access-grad: linear-gradient(135deg, #f59e0b, var(--gx-danger, #ef4444));
}
.access-2 {
  --access-grad: linear-gradient(135deg, var(--gx-indigo-light, #818cf8), #ec4899);
}
.access-3 {
  --access-grad: linear-gradient(135deg, var(--gx-success, #22c55e), #0ea5e9);
}
.access-4 {
  --access-grad: linear-gradient(135deg, #8b5cf6, #f43f5e);
}
.access-5 {
  --access-grad: linear-gradient(135deg, #f97316, #eab308);
}
.access-6 {
  --access-grad: linear-gradient(135deg, #06b6d4, var(--gx-indigo-light, #818cf8));
}
.access-7 {
  --access-grad: linear-gradient(135deg, #ec4899, #f43f5e);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: var(--gx-white, #ffffff);
  border: 1px solid var(--gx-surface-tint, #e2e8f0);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.35s ease;
  height: 100%;
}
.feature-card:hover {
  border-color: #1434a4;
  box-shadow: 0 20px 40px -20px #1434a4;
  transform: translateY(-6px);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1434a4, #1f4bb5);
  color: var(--gx-white, #ffffff);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

/* ===== STEPS (How it works) ===== */
.step-card {
  background: var(--gx-white, #ffffff);
  border-radius: 1.25rem;
  padding: 1.75rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px -15px rgba(16, 42, 99, 0.2);
  transition: all 0.35s ease;
  height: 100%;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -15px #1434a4;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: var(--gx-r-circle, 9999px);
  background: linear-gradient(135deg, #ffc107, #ffb300);
  color: #102a63;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--gx-fs-xl, 1.25rem);
  margin: 0 auto 1rem;
  box-shadow: 0 8px 18px -8px #ffc107;
}

/* ===== TOOLKIT CARDS ===== */
.toolkit-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: var(--gx-transition, 0.3s ease);
}
.toolkit-card:hover {
  border-color: #1434a4;
  box-shadow: 0 15px 30px -15px #1434a4;
  transform: translateY(-4px);
}
.toolkit-icon {
  color: #1434a4;
  font-size: var(--gx-fs-2xl, 1.5rem);
  margin-bottom: 0.75rem;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, #102a63 0%, #1434a4 50%, #1f4bb5 100%);
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(255, 193, 7, 0.18), transparent 45%);
  /* Without this the band was unclickable. This glow is positioned and the two
     buttons inside are static, so it painted on top of them and swallowed every
     click — elementFromPoint on either button returned .cta-band, not the <a>.
     It is decoration, so it should never have been a click target. */
  pointer-events: none;
}
/* FIX: आइकन का रंग होवर पर सफेद हो */
.access-card:hover .access-icon-wrap i {
    color: #ffffff !important;
}