/* ============================================================
   KSHIPRA ACADEMY — IAP PROGRAM LANDING PAGE
   DESIGN & STYLING SYSTEM
   ============================================================ */

/* ---- Design Variables ---- */
:root {
  /* IAP Course Specific Palette */
  --clr-primary: #B22234; /* Kshipra Crimson Red */
  --clr-primary-dark: #8E1B29;
  --clr-primary-light: #D94E5E;
  --clr-secondary: #475569; /* Slate Blue */
  --clr-accent: #E8732A; /* Kshipra Orange */
  --clr-accent-glow: #FFA066;
  
  /* Shared Kshipra Brand Palette (Do not alter these for shared components) */
  --clr-kshipra-primary: #B22234;
  --clr-kshipra-accent: #E8732A;

  /* Neutrals */
  --clr-dark: #F4F2F7; /* Light Grey-Purple */
  --clr-dark-card: #FFFFFF; /* Pure White */
  --clr-dark-surface: #EDE9F4;
  --clr-dark-border: rgba(26, 26, 46, 0.08);
  --clr-text: #1A1A2E; /* Navy Charcoal */
  --clr-text-muted: #5A5570;
  --clr-white: #ffffff;
  
  --grad-hero: linear-gradient(135deg, #EDE9F4 0%, #F4EEF7 50%, #F7EEEE 100%);
  --grad-primary: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  --grad-accent: linear-gradient(135deg, var(--clr-accent), var(--clr-primary));
  --grad-kshipra: linear-gradient(to right, var(--clr-kshipra-primary), var(--clr-kshipra-accent));
  
  --ff-heading: 'Outfit', sans-serif;
  --ff-body: 'Inter', sans-serif;
  
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Light Mode Variables (Actually the default for this page, but we keep the same structure for the theme toggle) */
html.light-mode {
  --clr-dark: #F4F2F7;
  --clr-dark-card: #FFFFFF;
  --clr-dark-surface: #EDE9F4;
  --clr-dark-border: rgba(26, 26, 46, 0.08);
  --clr-text: #1A1A2E;
  --clr-text-muted: #5A5570;
  --grad-hero: linear-gradient(135deg, #EDE9F4 0%, #F4EEF7 50%, #F7EEEE 100%);
}

/* Dark Mode Variables (If toggle is used) */
html:not(.light-mode) {
  --clr-dark: #0F0F14;
  --clr-dark-card: #17171E;
  --clr-dark-surface: #1E1E28;
  --clr-dark-border: rgba(255, 255, 255, 0.08);
  --clr-text: #F0EEF0;
  --clr-text-muted: #9A96A4;
  --grad-hero: linear-gradient(135deg, #0F0F14 0%, #17101A 50%, #1A0F0F 100%);
}

/* ---- Reset & Globals ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

section[id], header[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--ff-body);
  background-color: var(--clr-dark);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ---- UI Elements & Utilities ---- */
.glass-card {
  background: var(--clr-dark-card);
  border: 1px solid var(--clr-dark-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

html:not(.light-mode) .glass-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-family: var(--ff-heading);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(178, 34, 52, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(178, 34, 52, 0.45);
}

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

.btn-outline:hover {
  background: rgba(178, 34, 52, 0.05);
  transform: translateY(-2px);
}

html:not(.light-mode) .btn-outline {
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

html:not(.light-mode) .btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

.btn-interactive {
  position: relative;
  overflow: hidden;
}

.btn-interactive::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: 1;
}

.btn-interactive:hover::after {
  height: 200%;
}

.btn-text, .btn i {
  position: relative;
  z-index: 2;
}

/* ---- Section Headers ---- */
section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-header {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  max-width: 700px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  font-family: var(--ff-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--clr-primary);
  border-radius: 2px;
}

.section-title {
  color: var(--clr-text);
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title .highlight {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--clr-text-muted);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
}

/* ============================================================
   SHARED KSHIPRA COMPONENTS (Navbar, Footer, Contact)
   DO NOT USE IAP PALETTE HERE. KEEP ORIGINAL LOOK.
   ============================================================ */

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0F0F14; /* Forcing Dark Mode style for Kshipra branding by default if needed, or follow theme */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

html.light-mode .navbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  transition: padding 0.4s ease;
}

.navbar.scrolled .nav-inner {
  padding: 0.8rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo img {
  height: 50px;
  width: auto;
  transition: height 0.4s ease;
}

.navbar.scrolled .nav-logo img {
  height: 42px;
}

.nav-logo-text {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-top: 4px;
}

html.light-mode .nav-logo-text {
  color: #121215;
}

.nav-logo-text span {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--clr-kshipra-accent); /* Original Orange */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a {
  font-family: var(--ff-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #9A96A4;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

html.light-mode .nav-links a {
  color: #64636A;
}

.nav-links a:not(.nav-cta-inner):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

html.light-mode .nav-links a:not(.nav-cta-inner):hover {
  color: #121215;
  background: rgba(0, 0, 0, 0.05);
}

.nav-cta-inner {
  margin-left: 0.4rem;
  padding: 0.7rem 1.6rem !important;
  background: var(--grad-kshipra) !important; /* Original Red to Orange */
  color: #ffffff !important;
  border-radius: 50px !important;
  font-size: 0.85rem !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(178, 34, 52, 0.35);
  border: none;
}

.nav-cta-inner:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.dropdown { position: relative; }
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #17171E;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  min-width: 220px;
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

html.light-mode .dropdown-content {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dropdown-content a {
  display: block;
  padding: 0.65rem 1.2rem !important;
  font-size: 0.82rem !important;
  text-align: left;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(128,128,128,0.1);
  border: 1px solid rgba(128,128,128,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  transform: scale(1.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* CONTACT & FOOTER (Original styles adapted for neutrality) */
.contact-section, .footer {
  background: #0F0F14;
  color: #F0EEF0;
}

html.light-mode .contact-section {
  background: #F5F5FA;
  color: #18181D;
}
html.light-mode .footer {
  background: #F5F5FA;
  color: #18181D;
}

.contact-grid, .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(178, 34, 52, 0.1); /* Kshipra Primary tint */
  color: var(--clr-kshipra-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-map-wrap {
  flex-grow: 1;
  min-height: 250px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1rem;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


html.light-mode .contact-section .section-title {
  color: #121215;
}

.contact-section .section-label {
  color: var(--clr-kshipra-accent);
}
.contact-section .section-label::before {
  background: var(--clr-kshipra-accent);
}
.contact-section .section-title .highlight {
  background: var(--grad-kshipra);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer {
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
html.light-mode .footer { border-top-color: rgba(0,0,0,0.05); }

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

.footer-brand p {
  font-size: 0.88rem;
  color: #9A96A4; /* matches IAP footer links color */
  line-height: 1.6;
  margin-top: 1.2rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
html.light-mode .social-btn { background: rgba(0,0,0,0.05); }

.footer-col h5 {
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  display: block;
  color: #9A96A4;
  font-size: 0.88rem;
}
html.light-mode .footer-links a { color: #64636A; }

.footer-links a:hover {
  color: var(--clr-kshipra-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
  font-size: 0.85rem;
}
html.light-mode .footer-bottom { border-top-color: rgba(0,0,0,0.05); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 60px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Global Ambient Background */
.page-ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: orbFloat 25s infinite alternate ease-in-out;
}

html:not(.light-mode) .ambient-orb {
  opacity: 0.12;
}

.orb-1 {
  width: 50vw;
  height: 50vw;
  max-width: 800px;
  max-height: 800px;
  background: var(--clr-primary);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 40vw;
  height: 40vw;
  max-width: 600px;
  max-height: 600px;
  background: var(--clr-accent);
  bottom: -5%;
  right: -5%;
  animation-delay: -7s;
}

.orb-3 {
  width: 35vw;
  height: 35vw;
  max-width: 500px;
  max-height: 500px;
  background: var(--clr-primary-light);
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -14s;
}

.ambient-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

html.light-mode .ambient-noise {
  opacity: 0.02;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, 8%) scale(1.05); }
  66% { transform: translate(-3%, 4%) scale(0.95); }
  100% { transform: translate(-8%, -5%) scale(1.1); }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(178, 34, 52, 0.1);
  border: 1px solid rgba(178, 34, 52, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--clr-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--clr-primary);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--clr-text);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--clr-text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual Assembly */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.framework-stack {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.fs-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 90px;
  transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-45deg);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}

.fs-layer-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--clr-text);
  border: 2px solid var(--clr-primary);
  background: var(--clr-dark-surface);
  box-shadow: -15px 15px 30px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

html:not(.light-mode) .fs-layer-inner {
  background: rgba(30, 41, 59, 0.85);
  box-shadow: -15px 15px 30px rgba(0,0,0,0.4);
}

.fs-layer-inner i {
  color: var(--clr-accent);
  font-size: 1.4rem;
}

.fs-layer-1 { margin-top: 130px; margin-left: -130px; z-index: 1; }
.fs-layer-2 { margin-top: 35px; margin-left: -35px; z-index: 2; }
.fs-layer-3 { margin-top: -60px; margin-left: 60px; z-index: 3; }

.fs-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 80px;
  margin-top: -180px;
  margin-left: 180px;
  transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-45deg) translateZ(80px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 12px;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: -20px 20px 40px rgba(178, 34, 52, 0.4);
  z-index: 4;
}

.fs-core i {
  font-size: 1.6rem;
}

.fs-layer:hover .fs-layer-inner {
  transform: translateZ(20px);
  background: var(--clr-primary);
  color: #fff;
}
.fs-layer:hover .fs-layer-inner i {
  color: #fff;
}

/* ============================================================
   ABOUT IAP
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.about-intro {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-top: 1.5rem;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-card {
  background: var(--clr-dark-card);
  border: 1px solid var(--clr-dark-border);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: var(--transition);
  cursor: pointer;
}

.detail-card:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 10px 30px rgba(232, 115, 42, 0.15);
  transform: translateY(-5px);
}

html:not(.light-mode) .detail-card { box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

.detail-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.d-icon {
  width: 40px;
  height: 40px;
  background: rgba(232, 115, 42, 0.1);
  color: var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.detail-header h4 {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  color: var(--clr-text);
}

.detail-body p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   LEARNING PHILOSOPHY
   ============================================================ */
.philosophy-sec {
  background: rgba(0, 0, 0, 0.02);
}
html:not(.light-mode) .philosophy-sec {
  background: rgba(255, 255, 255, 0.02);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.philosophy-card {
  background: var(--clr-dark-card);
  border: 1px solid var(--clr-dark-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

html:not(.light-mode) .philosophy-card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.philosophy-card:hover {
  transform: translateY(-5px);
  border-color: rgba(178, 34, 52, 0.3);
}

.philosophy-card:hover::before {
  transform: scaleX(1);
}

.p-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(178, 34, 52, 0.1);
  color: var(--clr-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.philosophy-card h4 {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.philosophy-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   KNOWLEDGE FRAMEWORK
   ============================================================ */
.knowledge-blocks-system {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.kb-row {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.kb-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.kb-block {
  background: var(--clr-dark-card);
  border: 1px solid var(--clr-dark-border);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.kb-block:hover {
  transform: translateY(-5px);
  border-color: var(--clr-accent);
  box-shadow: 0 10px 30px rgba(232, 115, 42, 0.1);
}

.kb-header {
  margin-bottom: 1rem;
}

.kb-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(71, 85, 105, 0.1);
  color: var(--clr-secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

html:not(.light-mode) .kb-tag { color: #94a3b8; background: rgba(255,255,255,0.1); }

.kb-header h4 {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  color: var(--clr-text);
}

.kb-block p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  text-align: center;
}

.kb-connector-vertical {
  width: 2px;
  height: 40px;
  background: var(--clr-dark-border);
  position: relative;
}

.kb-connector-vertical.split-merge::before,
.kb-connector-vertical.split-merge::after {
  content: '';
  position: absolute;
  background: var(--clr-dark-border);
}

/* ============================================================
   SKILLS YOU'LL BUILD
   ============================================================ */
.skills-sec {
  background: rgba(0, 0, 0, 0.02);
}
html:not(.light-mode) .skills-sec {
  background: rgba(255, 255, 255, 0.02);
}

.skill-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.matrix-group {
  background: var(--clr-dark-card);
  border: 1px solid var(--clr-dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.matrix-group:hover {
  border-color: var(--clr-primary);
}

.group-header {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  background: rgba(0,0,0,0.02);
}

html:not(.light-mode) .group-header { background: rgba(255,255,255,0.02); }

.g-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  font-size: 1.2rem;
  margin-right: 1rem;
}

.group-header h3 {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  color: var(--clr-text);
  flex-grow: 1;
}

.g-expand-icon {
  color: var(--clr-text-muted);
  transition: transform 0.3s ease;
}

.matrix-group.active .g-expand-icon {
  transform: rotate(45deg);
  color: var(--clr-primary);
}

.group-content {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.matrix-group.active .group-content {
  padding: 0 2rem 2rem 2rem;
  max-height: 500px;
}

.group-content p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tags li {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  background: rgba(178, 34, 52, 0.1);
  color: var(--clr-primary-dark);
  border-radius: 4px;
}

html:not(.light-mode) .skill-tags li { color: var(--clr-primary-light); }

/* ============================================================
   PRACTICAL LEARNING EXPERIENCE (Workspace)
   ============================================================ */
.workspace-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  background: var(--clr-dark-card);
  border: 1px solid var(--clr-dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.workspace-nav {
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.03);
  padding: 2rem 0;
}

html:not(.light-mode) .workspace-nav { background: rgba(0,0,0,0.2); }

.ws-nav-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2rem;
  text-align: left;
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  position: relative;
  transition: var(--transition);
}

.ws-nav-btn:hover {
  background: rgba(0,0,0,0.02);
  color: var(--clr-text);
}

html:not(.light-mode) .ws-nav-btn:hover { background: rgba(255,255,255,0.05); }

.ws-nav-btn.active {
  color: var(--clr-primary);
  background: #ffffff;
}

html:not(.light-mode) .ws-nav-btn.active { background: var(--clr-dark-card); }

.ws-nav-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--clr-primary);
}

.workspace-content {
  position: relative;
  padding: 3rem;
  display: grid;
}

.ws-module {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(20px);
}

.ws-module.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ws-module-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ws-text h3 {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.ws-text p {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.ws-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--clr-text);
  font-weight: 500;
}

.ws-features i {
  color: var(--clr-accent);
}

.ws-visual {
  height: 250px;
  background: var(--clr-dark-surface);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ============================================================
   INDUSTRY READINESS
   ============================================================ */
.readiness-sec {
  background: rgba(0, 0, 0, 0.02);
}
html:not(.light-mode) .readiness-sec {
  background: rgba(255, 255, 255, 0.02);
}

.readiness-framework {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0;
  height: 400px;
}

.rf-center-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 30px rgba(178, 34, 52, 0.4);
}

.rf-core-inner {
  text-align: center;
  color: #ffffff;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.rf-component {
  position: absolute;
  width: 260px;
}

.rf-top-left { top: 0; left: 0; }
.rf-top-right { top: 0; right: 0; }
.rf-bottom-left { bottom: 0; left: 0; }
.rf-bottom-right { bottom: 0; right: 0; }

.rf-comp-card {
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  cursor: pointer;
}

.rf-comp-card:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 10px 30px rgba(232, 115, 42, 0.15);
  transform: translateY(-5px);
}

.rf-icon {
  font-size: 1.5rem;
  color: var(--clr-accent);
  margin-bottom: 0.8rem;
}

.rf-comp-card h4 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
}

.rf-comp-card p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
  text-align: center;
}

/* ============================================================
   WHY LEARN WITH KSHIPRA (ECOSYSTEM)
   ============================================================ */
.ecosystem-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.eco-panel {
  background: var(--clr-dark-card);
  border: 1px solid var(--clr-dark-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  cursor: pointer;
}

.eco-panel:hover, .eco-panel.eco-active {
  border-color: var(--clr-primary);
  box-shadow: 0 10px 30px rgba(178, 34, 52, 0.1);
  transform: translateY(-5px);
}

.eco-icon {
  font-size: 2rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.eco-panel:hover .eco-icon, .eco-panel.eco-active .eco-icon {
  color: var(--clr-primary);
}

.eco-header h3 {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.eco-body p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-sec {
  background: rgba(0, 0, 0, 0.02);
}
html:not(.light-mode) .faq-sec {
  background: rgba(255, 255, 255, 0.02);
}

.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-accordion-item {
  background: var(--clr-dark-card);
  border: 1px solid var(--clr-dark-border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-accordion-header {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-text);
  transition: var(--transition);
}

.faq-accordion-header:hover {
  color: var(--clr-primary);
  background: rgba(0,0,0,0.01);
}

html:not(.light-mode) .faq-accordion-header:hover { background: rgba(255,255,255,0.02); }

.accordion-icon {
  color: var(--clr-primary);
  transition: transform 0.4s ease;
}

.faq-accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-body-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-sec {
  padding: 6rem 0;
}

.cta-wrapper {
  position: relative;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--grad-primary);
  opacity: 0.05;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 992px) {
  .hero-container, .about-grid, .philosophy-flow-container, .workspace-container {
    grid-template-columns: 1fr;
  }
  
  .ecosystem-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .kb-row.two-cols {
    grid-template-columns: 1fr;
  }
  
  .workspace-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 1rem;
    white-space: nowrap;
  }
  
  .ws-nav-btn {
    padding: 0.8rem 1.2rem;
  }
  
  .ws-nav-btn.active::before {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
  }
  
  .readiness-framework {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .rf-center-core {
    position: relative;
    transform: none;
    top: auto; left: auto;
    margin-bottom: 1rem;
  }
  
  .rf-component {
    position: relative;
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--clr-dark-surface);
    flex-direction: column;
    padding: 2rem;
    clip-path: circle(0% at top right);
    transition: clip-path 0.5s ease;
  }

  .nav-links.active {
    clip-path: circle(150% at top right);
  }

  .hamburger { display: flex; }
  
  .skill-matrix, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    gap: 2.5rem;
  }
  
  .hero {
    padding-top: 120px;
    text-align: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .ws-module-inner {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   NATIVE CONTACT FORM
   ============================================================ */
.native-contact-form {
  background: var(--clr-dark-card);
  border: 1px solid var(--clr-dark-border);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

html:not(.light-mode) .native-contact-form {
  background: #17171e;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  letter-spacing: 1px;
}

.form-group label .req {
  color: var(--clr-accent); /* Orange asterisk */
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

html:not(.light-mode) .form-group input,
html:not(.light-mode) .form-group select,
html:not(.light-mode) .form-group textarea {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 2px rgba(232, 115, 42, 0.1);
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  cursor: pointer;
}

.select-wrapper i {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
  pointer-events: none;
}

.native-contact-form .submit-btn {
  background: var(--grad-accent);
  border: none;
  color: #fff;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.5rem;
  box-shadow: 0 10px 20px rgba(232, 115, 42, 0.2);
}

.native-contact-form .submit-btn:hover {
  box-shadow: 0 10px 30px rgba(232, 115, 42, 0.4);
  transform: translateY(-2px);
}

.form-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.form-footer i {
  color: var(--clr-accent);
}

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

/* ============================================================
   CONTACT & FOOTER RESPONSIVENESS (MOBILE OPTIMIZATION)
   ============================================================ */
@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
  .contact-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  .footer {
    padding: 2.5rem 0 1.5rem 0;
  }
  .footer-social {
    justify-content: flex-start;
  }
  /* Better spacing for contact info on mobile */
  .contact-info {
    order: 2;
  }
  .contact-form {
    order: 1;
  }
  .kf-card {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* UNIFIED NAVBAR OVERRIDE (MATCHING GCA & CAREERPLUS) */
.navbar .nav-inner { padding: 0.8rem 0 !important; }
.navbar.scrolled .nav-inner { padding: 0.5rem 0 !important; }
@media (max-width: 991px) { .navbar .nav-inner, .navbar.scrolled .nav-inner, .nav-inner { padding: 0.4rem 0 !important; } .navbar .nav-logo img, .navbar.scrolled .nav-logo img { height: 38px !important; } .navbar .nav-logo-text { margin-top: 6px !important; font-size: 1rem !important; } }

