/*
================================================================================
|                                                                              |
|                      ⚡ STRIKE - THE FINAL CUT (CORRECTED) ⚡                  |
|                                                                              |
|   PURPOSE:      To create an overwhelmingly superior visual and technical    |
|                 experience for the Coder Army Hackathon.                     |
|   STRATEGY:     Visual dominance through advanced, multi-layered CSS         |
|                 animations and a seamless single-page architecture.          |
|   CORRECTION:   Fixed logo animation to use the superior glitch effect.      |
|                                                                              |
================================================================================
*/

/* ===================================
   TABLE OF CONTENTS
   ===================================
   1.  VARIABLES & THEME SETUP
   2.  GLOBAL STYLES & CURSOR GLOW
   3.  INSANE BACKGROUND ANIMATIONS
   4.  AI ROBOT HEAD (CURSOR TRACKER)
   5.  HEADER & NAVIGATION
   6.  STRIKE LOGO ANIMATION (GLITCH)
   7.  HERO SECTION (KINETIC)
   8.  WHY STRIKE & 3D TECH SPHERE
   9.  LIVE COURSE CARDS (LOCALIZED 3D)
   10. FREE COURSE CARDS (INTERACTIVE TOGGLE + LOCALIZED 3D)
   11. MENTOR CARDS (ULTIMATE FLIP + LOCALIZED 3D)
   12. FOOTER & CONTACT
   13. UTILITIES & KEYFRAMES
   14. RESPONSIVE DESIGN
*/


/* ===================================
   1. VARIABLES & THEME SETUP
   =================================== */
:root {
  /* Fonts */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Orbitron', sans-serif;
  --font-code: 'Roboto Mono', monospace;

  /* Dark Mode (Default) */
  --bg-color: #0A0A14;
  --primary-card-color: rgba(26, 26, 46, 0.6);
  --primary-text-color: #e0e0e0;
  --subtle-text-color: #8c8ca2;
  --highlight-color: #00f5c3;
  --highlight-glow: rgba(0, 245, 195, 0.3);
  --border-color: rgba(0, 245, 195, 0.2);
  --shadow-color: rgba(0, 0, 0, 0.5);
  --star-color: #FFFFFF;
}

body.light-mode {
  --bg-color: #f0f0f5;
  --primary-card-color: rgba(255, 255, 255, 0.7);
  --primary-text-color: #1a1a2e;
  --subtle-text-color: #5a5a72;
  --highlight-color: #008a70;
  --highlight-glow: rgba(0, 138, 112, 0.3);
  --border-color: rgba(0, 138, 112, 0.3);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --star-color: #1a1a2e;
}


/* ===================================
   2. GLOBAL STYLES & CURSOR GLOW
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: default; /* Ensures the normal system cursor is used */
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--primary-text-color);
  transition: background-color 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
}

/* The soft glow that follows the cursor */
.cursor-glow {
    position: fixed;
    left: 0;
    top: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    /* The glow intensity has been reduced here */
    background: radial-gradient(circle, var(--highlight-glow) 0%, transparent 40%); 
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transition: color 0.5s ease;
}




.content-section {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: left;
    margin-bottom: 4rem;
    text-transform: uppercase;
    position: relative;
    animation: glitch 2s linear infinite;
    transition: color 0.5s ease;
}
.section-title .highlight {
    color: var(--highlight-color);
    text-shadow: 0 0 15px var(--highlight-glow);
    transition: color 0.5s ease, text-shadow 0.5s ease;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1rem;
    width: 80px;
    height: 4px;
    background: var(--highlight-color);
    box-shadow: 0 0 10px var(--highlight-color);
    transition: color 0.5s ease, box-shadow 0.5s ease;
}
.section-title.center-title {
    text-align: center;
}
.section-title.center-title::before {
    left: 50%;
    transform: translateX(-50%);
}


/* ===================================
   3. INSANE BACKGROUND ANIMATIONS
   =================================== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.grid-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(0, 245, 195, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 245, 195, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: bg-scroll 60s linear infinite;
}

#stars {
  width: 1px; height: 1px; background: transparent;
  box-shadow: 763px 909px var(--star-color), 1602px 1475px var(--star-color), 929px 1262px var(--star-color), 1252px 1318px var(--star-color), 458px 1383px var(--star-color), 1188px 683px var(--star-color), 143px 262px var(--star-color), 1332px 35px var(--star-color), 1845px 1228px var(--star-color), 1152px 1530px var(--star-color);
  animation: animStar 50s linear infinite;
  position: absolute; top: 0; left: 0;
}
#stars2 {
  width: 2px; height: 2px; background: transparent;
  box-shadow: 1968px 1083px var(--star-color), 1836px 1432px var(--star-color), 1113px 1830px var(--star-color), 1169px 74px var(--star-color), 1730px 1599px var(--star-color), 1532px 182px var(--star-color), 1182px 1833px var(--star-color), 531px 1234px var(--star-color);
  animation: animStar 100s linear infinite;
  position: absolute; top: 0; left: 0;
}
#stars3 {
  width: 3px; height: 3px; background: transparent;
  box-shadow: 367px 1198px var(--star-color), 48px 1590px var(--star-color), 1159px 1632px var(--star-color), 606px 1233px var(--star-color), 1373px 352px var(--star-color), 1431px 1973px var(--star-color);
  animation: animStar 150s linear infinite;
  position: absolute; top: 0; left: 0;
}


/* ===================================
   4. AI ROBOT HEAD (CURSOR TRACKER)
   =================================== */
.robot-head-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    pointer-events: none;
}

.robot-head {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 50% 0, #444, #111);
    border-radius: 40% 40% 30% 30%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    animation: robot-float 5s ease-in-out infinite;
}

.robot-eye {
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--highlight-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--highlight-color);
    transition: transform 0.1s linear;
}

.robot-eye.left { left: 15px; }
.robot-eye.right { right: 15px; }

.robot-mouth {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
}


/* ===================================
   5. HEADER & NAVIGATION
   =================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  z-index: 999;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  background-color: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(15px);
  padding: 1rem 5%;
  border-bottom: 1px solid var(--border-color);
}
body.light-mode .main-header.scrolled {
   background-color: rgba(255, 255, 255, 0.8);
}

.main-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--primary-text-color); font-weight: 600; position: relative; transition: color 0.3s ease; }
.nav-links a::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 100%; height: 2px; background-color: var(--highlight-color); transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
.nav-links a:hover { color: var(--highlight-color); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.theme-switch-wrapper { display: flex; align-items: center; }
.theme-switch { display: inline-block; height: 34px; position: relative; width: 60px; }
.theme-switch input { display:none; }
.slider { background-color: var(--primary-card-color); border: 1px solid var(--border-color); bottom: 0; cursor: pointer; left: 0; position: absolute; right: 0; top: 0; transition: .4s; border-radius: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 5px; }
.slider .sun-icon, .slider .moon-icon { width: 24px; height: 24px; color: #ffc83d; transition: all 0.4s ease; }
.slider .moon-icon { color: #8c8ca2; }
.slider::before { background-color: var(--highlight-color); content: ""; height: 26px; width: 26px; left: 4px; position: absolute; top: 3px; transition: .4s; border-radius: 50%; }
input:checked + .slider::before { transform: translateX(26px); }


/* ===================================
   6. STRIKE LOGO ANIMATION (GLITCH)
   =================================== */
.logo {
    font-family: var(--font-display);
    font-size: 1.8rem; 
    font-weight: 900;
    letter-spacing: 2px;
}

.strike-logo {
    text-decoration: none;
    position: relative;
    color: var(--primary-text-color);
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.strike-logo::before,
.strike-logo::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color); /* Hides the text behind it */
    clip-path: inset(50% 0 50% 0);
}

.strike-logo::before {
    left: -2px;
    text-shadow: 1px 0 var(--highlight-color);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.strike-logo::after {
    left: 2px;
    text-shadow: -1px 0 #ff3366; /* Red glitch color */
    animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

/* Keyframes for the new Glitch Effect */
@keyframes glitch-anim-1 {
  0% { clip-path: inset(40% 0 60% 0); transform: translate(-1px, 1px);}
  20% { clip-path: inset(10% 0 85% 0); transform: translate(1px, -1px);}
  40% { clip-path: inset(55% 0 25% 0); transform: translate(-1px, 1px);}
  60% { clip-path: inset(30% 0 30% 0); transform: translate(1px, -1px);}
  80% { clip-path: inset(80% 0 5% 0); transform: translate(-1px, 1px);}
  100% { clip-path: inset(50% 0 45% 0); transform: translate(0, 0);}
}

@keyframes glitch-anim-2 {
  0% { clip-path: inset(70% 0 15% 0); transform: translate(1px, -1px);}
  20% { clip-path: inset(90% 0 5% 0); transform: translate(-1px, 1px);}
  40% { clip-path: inset(40% 0 40% 0); transform: translate(1px, -1px);}
  60% { clip-path: inset(60% 0 20% 0); transform: translate(-1px, 1px);}
  80% { clip-path: inset(25% 0 65% 0); transform: translate(1px, -1px);}
  100% { clip-path: inset(5% 0 90% 0); transform: translate(0, 0);}
}

@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  5% { transform: skew(2deg); }
  10% { transform: skew(-2deg); }
  15% { transform: skew(0deg); }
  100% { transform: skew(0deg); }
}


/* ===================================
   7. HERO SECTION (KINETIC)
   =================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  position: relative; /* Needed for absolute positioning of glow */
}
.hero-content {
    z-index: 10;
    position: relative;
}
.hero-logo-container {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block; /* To contain the absolute glow */
}
.hero-logo-text {
    font-family: var(--font-display);
    font-size: clamp(3rem, 15vw, 10rem); /* Larger and more responsive */
    font-weight: 900;
    letter-spacing: 5px;
    margin: 0;
    padding: 0;
    background: linear-gradient(45deg, #00f5c3, #00a8ff, #ff3366); /* Vibrant Gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    animation: text-flicker 4s linear infinite; /* Glitch-like flicker */
}

/* Animated Electric Current Effect */
.hero-logo-text::before,
.hero-logo-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(45deg, rgba(0,245,195,0.7), rgba(0,168,255,0.7), rgba(255,51,102,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transition: opacity 0.1s;
}

.hero-logo-text::before {
    text-shadow: 0 0 15px rgba(0,245,195,0.8), 0 0 30px rgba(0,168,255,0.8);
    animation: electric-glow 3s infinite alternate;
}

.hero-logo-text::after {
    text-shadow: 0 0 15px rgba(255,51,102,0.8), 0 0 30px rgba(255,51,102,0.8);
    animation: electric-glow 3.5s infinite alternate-reverse;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--subtle-text-color);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    animation: fade-in-up 1s ease 1s forwards;
    opacity: 0;
}
.cta-button {
    display: inline-block;
    background-color: var(--highlight-color);
    color: var(--bg-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: fade-in-up 1s ease 1.2s forwards;
    opacity: 0;
}
.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px var(--highlight-glow);
}
.shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient( to right, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 60% );
    transform: rotate(20deg);
}
.cta-button:hover .shine {
    animation: shine-anim 1s cubic-bezier(0.19, 1, 0.22, 1);
}

/* New Keyframes for Hero Logo */
@keyframes text-flicker {
    0%, 100%, 75% { opacity: 1; text-shadow: none; }
    76% { opacity: 0.8; text-shadow: 0 0 5px rgba(0,245,195,0.5); }
    77% { opacity: 1; text-shadow: none; }
    85% { opacity: 1; text-shadow: none; }
    86% { opacity: 0.9; text-shadow: 0 0 8px rgba(0,168,255,0.5); }
    87% { opacity: 1; text-shadow: none; }
}

@keyframes electric-glow {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.02);
    }
}

/* ===================================
   8. WHY STRIKE & 3D TECH SPHERE
   =================================== */

.why-strike-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}
.why-strike-content p {
    color: var(--subtle-text-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}
.why-strike-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.why-strike-content li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}
.why-strike-content li svg {
    width: 20px;
    height: 20px;
    color: var(--highlight-color);
    flex-shrink: 0;
}

.tech-sphere-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    perspective: 1200px;
}

.tech-sphere {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    position: relative;
    /* This main container can have its own slow base rotation if desired */
    animation: rotate-sphere 60s linear infinite;
}

.outer-ring, .inner-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    transform-style: preserve-3d;
}

.outer-ring {
    animation: rotate-outer-ring 25s linear infinite; /* Clockwise */
}

.inner-ring {
    transform: rotateX(15deg); /* Slight tilt for depth */
    animation: rotate-inner-ring 20s linear infinite; /* Counter-clockwise */
}

.logo-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px; /* Center the logo */
}

.logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9) grayscale(0.1);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: brightness(1.2) grayscale(0);
}

/* --- Outer Ring Positions (10 logos, larger radius) --- */
.outer-ring .logo-item:nth-child(1) { transform: rotateY(0deg) translateZ(250px); }
.outer-ring .logo-item:nth-child(2) { transform: rotateY(36deg) translateZ(250px); }
.outer-ring .logo-item:nth-child(3) { transform: rotateY(72deg) translateZ(250px); }
.outer-ring .logo-item:nth-child(4) { transform: rotateY(108deg) translateZ(250px); }
.outer-ring .logo-item:nth-child(5) { transform: rotateY(144deg) translateZ(250px); }
.outer-ring .logo-item:nth-child(6) { transform: rotateY(180deg) translateZ(250px); }
.outer-ring .logo-item:nth-child(7) { transform: rotateY(216deg) translateZ(250px); }
.outer-ring .logo-item:nth-child(8) { transform: rotateY(252deg) translateZ(250px); }
.outer-ring .logo-item:nth-child(9) { transform: rotateY(288deg) translateZ(250px); }
.outer-ring .logo-item:nth-child(10) { transform: rotateY(324deg) translateZ(250px); }

/* --- Inner Ring Positions (10 logos, smaller radius) --- */
.inner-ring .logo-item:nth-child(1) { transform: rotateY(18deg) translateZ(150px); }
.inner-ring .logo-item:nth-child(2) { transform: rotateY(54deg) translateZ(150px); }
.inner-ring .logo-item:nth-child(3) { transform: rotateY(90deg) translateZ(150px); }
.inner-ring .logo-item:nth-child(4) { transform: rotateY(126deg) translateZ(150px); }
.inner-ring .logo-item:nth-child(5) { transform: rotateY(162deg) translateZ(150px); }
.inner-ring .logo-item:nth-child(6) { transform: rotateY(198deg) translateZ(150px); }
.inner-ring .logo-item:nth-child(7) { transform: rotateY(234deg) translateZ(150px); }
.inner-ring .logo-item:nth-child(8) { transform: rotateY(270deg) translateZ(150px); }
.inner-ring .logo-item:nth-child(9) { transform: rotateY(306deg) translateZ(150px); }
.inner-ring .logo-item:nth-child(10) { transform: rotateY(342deg) translateZ(150px); }

/* Keyframes for sphere/ring rotations */
@keyframes rotate-sphere {
    from { transform: rotateY(0deg) rotateX(5deg); }
    to { transform: rotateY(360deg) rotateX(5deg); }
}
@keyframes rotate-outer-ring {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}
@keyframes rotate-inner-ring {
    from { transform: rotateY(360deg); }
    to { transform: rotateY(0deg); }
}


/* ===================================
   9. LIVE COURSE CARDS (LOCALIZED 3D)
   =================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.course-card {
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--primary-card-color);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    will-change: transform;
}
.course-card:hover {
    transform: translateY(-15px) scale(1.03) rotateX(var(--card-rotate-x, 0)) rotateY(var(--card-rotate-y, 0));
    box-shadow: 0 30px 60px var(--shadow-color);
}
.course-card.live {
    border-color: var(--highlight-color);
    box-shadow: 0 0 30px var(--highlight-glow);
}
.live-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff3366;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-display);
    animation: pulse-live 2s infinite;
}
.course-card.live .card-front { padding: 2rem; position: relative; display: flex; flex-direction: column; height: 100%; }
.card-header h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.card-header p { color: var(--subtle-text-color); margin-bottom: 1rem; }
.live-desc {
    color: var(--subtle-text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.card-features { list-style: none; margin-bottom: 2rem; text-align: left; display: flex; flex-direction: column; gap: 1rem; }
.card-features li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem;}
.card-features svg { width: 16px; height: 16px; color: var(--highlight-color); flex-shrink: 0;}
.card-button {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: none;
    background: var(--highlight-color);
    color: var(--bg-color);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}
.card-button:hover { background: #fff; color: #000; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--border-color); }
.meta-label { color: var(--subtle-text-color); font-size: 0.8rem; }


/* ===============================================
   10. FREE COURSE CARDS (HOVER-TO-FLIP CORRECTION)
   =============================================== */
.course-card.free {
    perspective: 1500px;
    background: transparent;
    border: none;
    min-height: 520px;
    cursor: pointer;
}
.course-card.free .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.35, 1);
}

.course-card.free:hover .card-inner {
    transform: rotateY(180deg);
}

.course-card.free .card-front,
.course-card.free .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--primary-card-color);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.course-card.free .card-back {
    transform: rotateY(180deg);
    padding: 2rem;
    align-items: center; /* Center content on the back */
    justify-content: center; /* Center content on the back */
    text-align: center;
}

.thumbnail-placeholder {
    height: 180px;
    background: var(--thumbnail-bg);
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}
.thumbnail-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.level-badge {
    background: rgba(0, 245, 195, 0.1);
    color: var(--highlight-color);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.5s ease;
}
body.light-mode .level-badge {
    background: rgba(0, 138, 112, 0.1);
}

.lecture-count {
    font-size: 0.8rem;
    color: var(--subtle-text-color);
    transition: color 0.5s ease;
}
.card-content h3 { font-size: 1.4rem; margin-bottom: 0.25rem; transition: color 0.5s ease; }
.card-content .instructor {
    font-size: 0.9rem;
    color: var(--subtle-text-color);
    margin-bottom: 1rem;
    transition: color 0.5s ease;
}
.card-content .description {
    font-size: 0.9rem;
    color: var(--primary-text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    transition: color 0.5s ease;
}
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-start; }
.tags span {
    background: var(--tag-bg-color);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.5s ease;
}

/* NEW STYLES FOR THE CARD BACK CONTENT */
.card-back h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
    transition: color 0.5s ease;
}

.card-back .description {
    font-size: 0.9rem;
    color: var(--subtle-text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 0; /* Override flex-grow from front */
    transition: color 0.5s ease;
}

.card-back .card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
    width: 100%;
}

.card-back .card-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--primary-text-color);
    transition: color 0.5s ease;
}

.card-back .card-features svg {
    width: 16px;
    height: 16px;
    color: var(--highlight-color);
    flex-shrink: 0;
    transition: color 0.5s ease;
}

/* ==================================================
   11. MENTOR CARDS (FINAL DESIGN & QUALIFICATION FIX)
   ================================================== */
:root {
  --neon-cyan: #00fff0; /* Bluish-green neon tone */
  --neon-glow: rgba(0, 255, 240, 0.6);
  --primary-card-color: rgba(10, 10, 20, 0.8);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-main: #e5e7eb;
  --text-dim: #a3a3a3;
  --font-display: "Poppins", sans-serif;
}

/* ==== GRID ==== */
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  padding: 2rem 0;
}

/* ==== CARD WRAPPER ==== */
.mentor-card-wrapper {
  perspective: 2000px;
}

.mentor-card {
  width: 100%;
  height: 480px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.3, 1);
}

.mentor-card-wrapper:hover .mentor-card {
  transform: rotateY(180deg) scale(1.05);
}

/* ==== FRONT & BACK ==== */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.card-front {
  background: var(--primary-card-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  box-shadow: 0 0 20px rgba(0, 255, 240, 0.15);
  cursor: pointer;
}

.card-back {
  transform: rotateY(180deg);
  background: radial-gradient(circle at center, rgba(0,255,240,0.15) 0%, rgba(0,0,0,0.9) 70%);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 25px var(--neon-glow);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==== IMAGE ==== */
.mentor-image-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: grid;
  place-items: center;
}

.mentor-image-container img {
  width: 75%;
  height: 75%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--neon-cyan);
  box-shadow: 0 0 25px var(--neon-glow);
  position: relative;
  z-index: 2;
}

/* ==== MOVING ORBIT RINGS ==== */
.orbit-ring {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  opacity: 0.8;
  filter: blur(1px);
  animation: orbit 5s linear infinite;
  box-shadow: 0 0 25px var(--neon-glow);
}

.orbit-ring.delay {
  width: 140%;
  height: 140%;
  animation: orbit 7s linear infinite reverse;
  opacity: 0.6;
}

@keyframes orbit {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

/* ==== TEXT ==== */
.mentor-front-info {
  text-align: center;
}

.mentor-front-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-main);
}

.mentor-front-info p {
  color: var(--text-dim);
  font-size: 1rem;
}

/* ==== BACK CONTENT ==== */
.back-content {
  text-align: left;
  width: 100%;
}

.back-content h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 15px var(--neon-glow);
}

.trophy {
  color: var(--neon-cyan);
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.2); }
}

.role-tags, .qualification-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.role-tags span, .qualification-tags span {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-filled {
  background: rgba(0,255,240,0.2);
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
}

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

.qualification-tags span {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 15px var(--neon-glow);
}

.bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 2rem;
}

/* ==== BUTTONS ==== */
.button-group {
  display: flex;
  gap: 1rem;
}

.btn-primary, .btn-secondary {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 15px var(--neon-glow);
}

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

.btn-secondary {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
}

.btn-secondary:hover {
  background: rgba(0,255,240,0.1);
  box-shadow: 0 0 15px var(--neon-glow);
}


/* ===================================
   12. FOOTER & CONTACT
   =================================== */
.main-footer { padding: 8rem 5% 2rem; text-align: center; background-color: transparent; position: relative; }
.footer-content { max-width: 600px; margin: 0 auto; }
.main-footer p { font-size: 1.1rem; color: var(--subtle-text-color); margin-bottom: 2rem; }
.contact-form { display: flex; gap: 1rem; margin-bottom: 3rem; }
.input-wrapper { position: relative; flex-grow: 1; }
.contact-form input { width: 100%; padding: 1rem 1.5rem; border-radius: 50px; border: 1px solid var(--border-color); background-color: var(--primary-card-color); backdrop-filter: blur(5px); color: var(--primary-text-color); font-size: 1rem; transition: all 0.3s ease; }
.contact-form label { position: absolute; left: 1.5rem; top: 1rem; color: var(--subtle-text-color); pointer-events: none; transition: all 0.3s ease; }
.contact-form input:focus + label, .contact-form input:not(:placeholder-shown) + label { top: -0.8rem; left: 1rem; font-size: 0.8rem; background: var(--bg-color); padding: 0 0.5rem; color: var(--highlight-color); }
.footer-social-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 3rem; }
.footer-social-links a { font-family: var(--font-display); font-size: 1.5rem; color: var(--subtle-text-color); text-decoration: none; transition: all 0.3s ease; }
.footer-social-links a:hover { color: var(--highlight-color); transform: scale(1.2); }
.footer-bottom { font-size: 0.9rem; color: var(--subtle-text-color); opacity: 0.7; }


/* ===================================
   13. UTILITIES & KEYFRAMES
   =================================== */
@keyframes fade-in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shine-anim { from { transform: translateX(-100%) rotate(20deg); } to { transform: translateX(100%) rotate(20deg); } }

@keyframes hero-flicker { 0%, 100%, 75% { opacity: 1; } 76% { opacity: 0.3; } 77% { opacity: 1; } 85% { opacity: 1; } 86% { opacity: 0.5; } 87% { opacity: 1; } }
@keyframes bg-scroll { from { background-position: 0 0; } to { background-position: -100px -100px; } }
@keyframes animStar { from { transform: translateY(0px); } to { transform: translateY(-2000px); } }
@keyframes robot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rotate-sphere { to { transform: rotateY(360deg) rotateX(360deg); } }
@keyframes pulse-live { 0%, 100% { transform: scale(1); box-shadow: 0 0 10px #ff3366; } 50% { transform: scale(1.05); box-shadow: 0 0 20px #ff3366; } }
@keyframes trophy-glow { 0%, 100% { text-shadow: 0 0 5px #ffd700; } 50% { text-shadow: 0 0 20px #ffd700; } }
@keyframes glitch{ 2%,64%{ transform: translate(2px,0) skew(0deg); } 4%,60%{ transform: translate(-2px,0) skew(0deg); } 62%{ transform: translate(0,0) skew(5deg); } }
@keyframes glitch-anim-1 {
  0% { clip-path: inset(40% 0 60% 0); }
  20% { clip-path: inset(10% 0 85% 0); }
  40% { clip-path: inset(55% 0 25% 0); }
  60% { clip-path: inset(30% 0 30% 0); }
  80% { clip-path: inset(80% 0 5% 0); }
  100% { clip-path: inset(50% 0 45% 0); }
}

@keyframes glitch-anim-2 {
  0% { clip-path: inset(70% 0 15% 0); }
  20% { clip-path: inset(90% 0 5% 0); }
  40% { clip-path: inset(40% 0 40% 0); }
  60% { clip-path: inset(60% 0 20% 0); }
  80% { clip-path: inset(25% 0 65% 0); }
  100% { clip-path: inset(5% 0 90% 0); }
}

@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  5% { transform: skew(1deg); }
  10% { transform: skew(-1deg); }
  15% { transform: skew(0deg); }
  100% { transform: skew(0deg); }
}


/* ===================================
   14. RESPONSIVE DESIGN
   =================================== */
@media (max-width: 900px) {
    .why-strike-grid { grid-template-columns: 1fr; text-align: center; }
    .why-strike-content p { margin-left: auto; margin-right: auto;}
    .why-strike-content ul { display: inline-block; text-align: left;}
    .tech-sphere-container { height: 350px; grid-row: 1; }
    .tech-sphere { width: 300px; height: 300px; }
    .section-title { text-align: center; }
    .section-title::before { left: 50%; transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .contact-form { flex-direction: column; }
    .robot-head-container { display: none; }
}

.footer-social-links a {
    
    display: inline-block;
}

.social-icon {
    width: 24px;  
    height: 24px;
    fill: #8c8ca2; 
    transition: all 0.3s ease;
}

.footer-social-links a:hover .social-icon {
    fill: #00f5c3; 
    transform: scale(1.2); 
}