/*
Theme Name: Edjucator Dual Experience v3.0 (Animated Mobile App + Motion Desktop Portal)
Theme URI: https://edjucator.com
Author: Edjucator Engineering Team
Author URI: https://edjucator.com
Description: Custom dual-layout WordPress theme for Edjucator.com (One-to-One Online Tuition). Automatically serves the exact updated Mobile App UI (featuring GIF-like animated banner girl with laptop, Trusted Platform strip, 10-card 2x5 Quick Access reference grid for CBSE, ICSE/ISC, UP Board, Other Boards, NCERT Solutions, JEE, NEET, Entrance Exams AMU/JMI/CUET/NDA, School Admission & Study Resources, interactive Study by Class drawer, and sticky bottom bar with green WhatsApp Contact Us button) on mobile/tablets, and transforms into a motion-rich widescreen EdTech Desktop Portal on desktop screens.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: edjucator-dual
Tags: education, one-to-one-tuition, mobile-app, animated, elementor-ready, customizer, edtech
*/

:root {
  --edj-primary: #4C1D95;
  --edj-primary-mid: #5B21B6;
  --edj-primary-bright: #6D28D9;
  --edj-accent: #7C3AED;
  --edj-soft-purple: #F3E8FF;
  --edj-text-dark: #1E1B4B;
  --edj-text-main: #1F2937;
  --edj-text-muted: #6B7280;
  --edj-white: #FFFFFF;
  --edj-border: #E5E7EB;
  --edj-wa-green: #22C55E;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--edj-text-main);
  background-color: #FAF8FF;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.22s ease;
}

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

/* Hide public edit links on frontend */
.post-edit-link,
.edit-link,
.wp-block-post-edit-link {
  display: none !important;
}

/* ==========================================================================
   KEYFRAME MOTION & GIF-LIKE ANIMATIONS
   ========================================================================== */

@keyframes edjFloatGirl {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-6px) scale(1.018); }
}

@keyframes edjPulseRays {
  0%, 100% { opacity: 0.55; transform: scale(0.92) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.12) rotate(4deg); }
}

@keyframes edjDoodleSway {
  0%, 100% { transform: rotate(-6deg) translateY(0px); }
  50% { transform: rotate(-2deg) translateY(-4px); }
}

@keyframes edjShimmerCTA {
  0% { background-position: 0% 50%; box-shadow: 0 6px 18px rgba(91, 33, 182, 0.32); }
  50% { background-position: 100% 50%; box-shadow: 0 10px 26px rgba(124, 58, 237, 0.48); }
  100% { background-position: 0% 50%; box-shadow: 0 6px 18px rgba(91, 33, 182, 0.32); }
}

@keyframes edjBoltFlash {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 2px #FACC15); }
  50% { transform: scale(1.22) rotate(-8deg); filter: drop-shadow(0 0 8px #FACC15); }
}

@keyframes edjWaPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes edjBlobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, -14px) scale(1.05); }
  66% { transform: translate(-12px, 12px) scale(0.96); }
}

/* ==========================================================================
   AUTOMATIC DEVICE SWITCHING ARCHITECTURE
   ========================================================================== */

.edj-mobile-app-shell {
  display: block;
}

.edj-desktop-portal-shell {
  display: none;
}

@media screen and (min-width: 1025px) {
  body:not(.edj-force-mobile) .edj-mobile-app-shell {
    display: none !important;
  }
  body:not(.edj-force-mobile) .edj-desktop-portal-shell {
    display: block !important;
  }
}

body.edj-force-desktop .edj-mobile-app-shell {
  display: none !important;
}
body.edj-force-desktop .edj-desktop-portal-shell {
  display: block !important;
}

body.edj-force-mobile .edj-mobile-app-shell {
  display: block !important;
  max-width: 430px;
  margin: 24px auto;
  border-radius: 38px;
  box-shadow: 0 25px 60px rgba(30, 27, 75, 0.28), 0 0 0 10px #2E1065;
  background: #FFFFFF;
  overflow: hidden;
  position: relative;
}
body.edj-force-mobile .edj-desktop-portal-shell {
  display: none !important;
}

/* ==========================================================================
   1. MOBILE & TABLET NATIVE APP UI (EXACT MATCH TO UPLOADED IMAGE v2)
   ========================================================================== */

.edj-mobile-app-shell {
  background: #FAF8FF;
  min-height: 100vh;
  padding-bottom: 86px;
  position: relative;
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
  .edj-mobile-app-shell {
    max-width: 768px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(76, 29, 149, 0.1);
  }
  .edj-mob-bottom-nav {
    max-width: 768px;
    left: 50% !important;
    transform: translateX(-50%);
  }
}

/* Mobile Purple Header with White Squircle Search & Menu Buttons */
.edj-mob-header {
  background: linear-gradient(90deg, #4A1594 0%, #6420C0 100%);
  color: #FFFFFF;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(74, 21, 148, 0.24);
}

.edj-mob-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.edj-mob-logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #4A1594;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-style: italic;
  font-size: 25px;
  letter-spacing: -1px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.edj-mob-brand-text h1 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.12;
  color: #FFFFFF;
  letter-spacing: -0.2px;
}

.edj-mob-brand-text p {
  font-size: 11.5px;
  color: #EDE9FE;
  font-weight: 500;
  margin-top: 2px;
}

.edj-mob-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* White rounded-square buttons exactly matching uploaded image */
.edj-mob-white-sq-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FFFFFF;
  color: #4A1594;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  transition: transform 0.15s ease;
}

.edj-mob-white-sq-btn:active {
  transform: scale(0.92);
}

/* Mobile Expandable Search Bar */
.edj-mob-search-drawer {
  background: #4A1594;
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
}

.edj-mob-search-drawer.active {
  max-height: 76px;
  padding: 10px 16px 14px;
}

.edj-mob-search-form {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 8px 14px;
  gap: 8px;
}

.edj-mob-search-form input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  color: var(--edj-text-dark);
}

/* Animated Hero Section with GIF-like Motion Girl + Laptop */
.edj-mob-hero-section {
  background: linear-gradient(135deg, #FBF9FF 0%, #F3E8FF 52%, #EDE9FE 100%);
  padding: 16px 14px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #E9D5FF;
}

.edj-mob-hero-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
}

.edj-mob-hero-left {
  flex: 1.15;
  padding-bottom: 16px;
  z-index: 3;
}

.edj-mob-hero-title {
  font-size: 26px;
  font-weight: 900;
  color: #3B0764;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.edj-mob-hero-sub {
  font-size: 11.5px;
  color: #1F2937;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 13px;
}

.edj-mob-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #4A1594 0%, #6D28D9 50%, #4A1594 100%);
  background-size: 200% 200%;
  animation: edjShimmerCTA 3.5s ease infinite;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
}

.edj-mob-hero-right {
  flex: 1.05;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 185px;
  z-index: 2;
}

.edj-hero-girl-motion-wrap {
  position: relative;
  transform-origin: bottom center;
}

@keyframes edjInvitePoint {
  0%, 100% { transform: translateX(0px) scale(1); }
  50% { transform: translateX(-7px) scale(1.06); }
}

.edj-invite-pointer-pill {
  position: absolute;
  bottom: 18px;
  left: -18px;
  background: linear-gradient(90deg, #4A1594 0%, #7C3AED 100%);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(74, 21, 148, 0.32);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: edjInvitePoint 1.4s ease-in-out infinite;
  z-index: 5;
  white-space: nowrap;
  border: 1.5px solid #FFFFFF;
}

.edj-hero-girl-img {
  width: 100%;
  max-width: 210px;
  height: auto;
  display: block;
  border-radius: 14px;
  filter: drop-shadow(0 10px 18px rgba(76, 29, 149, 0.16));
}

.edj-hero-sparkle-badge {
  position: absolute;
  top: 6px;
  left: -8px;
  width: 28px;
  height: 28px;
  animation: edjPulseRays 1.8s ease-in-out infinite;
  pointer-events: none;
}

/* Pill Trust Strip below Hero ("Trusted Platform | One-to-One Learning | Expert Teachers") */
.edj-mob-trust-strip-wrap {
  padding: 10px 14px 4px;
}

.edj-mob-trust-strip {
  background: #FFFFFF;
  border: 1px solid #EDE9FE;
  border-radius: 999px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  box-shadow: 0 3px 10px rgba(76, 29, 149, 0.05);
  font-size: 10.5px;
  font-weight: 700;
  color: #1E1B4B;
}

.edj-mob-trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.edj-mob-trust-sep {
  color: #D1D5DB;
  font-weight: 400;
}

/* Quick Access Header Bar (Purple Pill with Lightning Bolt + "Explore All ->") */
.edj-mob-qa-header {
  padding: 12px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.edj-mob-qa-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #4A1594 0%, #6D28D9 100%);
  color: #FFFFFF;
  padding: 7px 18px 7px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(91, 33, 182, 0.24);
}

.edj-mob-qa-bolt {
  display: inline-block;
  animation: edjBoltFlash 2s ease-in-out infinite;
}

.edj-mob-explore-link {
  font-size: 12.5px;
  font-weight: 800;
  color: #4A1594;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 10-Item Quick Access 2x5 Horizontal Card Grid (Exact Match to Uploaded Image) */
.edj-mob-qa-grid {
  padding: 0 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.edj-mob-qa-card {
  border-radius: 16px;
  padding: 11px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 3px 10px rgba(30, 27, 75, 0.05);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
  cursor: pointer;
  text-align: left;
}

.edj-mob-qa-card:hover,
.edj-mob-qa-card:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 18px rgba(76, 29, 149, 0.12);
}

/* Exact Pastel Tints from Uploaded Screenshot */
.edj-qa-lavender { background: linear-gradient(135deg, #F3E8FF 0%, #EDE9FE 100%); }
.edj-qa-sky      { background: linear-gradient(135deg, #E0F2FE 0%, #DBEAFE 100%); }
.edj-qa-mint     { background: linear-gradient(135deg, #DCFCE7 0%, #D1FAE5 100%); }
.edj-qa-peach    { background: linear-gradient(135deg, #FFEDD5 0%, #FDE68A 40%, #FFEDD5 100%); }
.edj-qa-rose     { background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%); }

.edj-mob-qa-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.edj-mob-qa-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.edj-mob-qa-text {
  min-width: 0;
}

.edj-mob-qa-text h3 {
  font-size: 12px;
  font-weight: 800;
  color: #1E1B4B;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edj-mob-qa-text p {
  font-size: 9.8px;
  color: #4B5563;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edj-mob-qa-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #4A1594;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

/* Study by Class Section with Active Purple Pill + Pointer Triangle + Expandable Card */
.edj-mob-class-section {
  padding: 16px 14px 12px;
}

.edj-mob-class-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.edj-mob-class-header h2 {
  font-size: 17px;
  font-weight: 900;
  color: #1E1B4B;
}

.edj-mob-class-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.edj-mob-class-tab {
  position: relative;
  padding: 9px 6px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #F3E8FF;
  color: #1E1B4B;
  border: 1px solid #E9D5FF;
}

.edj-mob-class-tab:nth-child(2) {
  background: #E0F2FE;
  border-color: #BAE6FD;
}

.edj-mob-class-tab.active {
  background: linear-gradient(90deg, #5B21B6 0%, #7C3AED 100%);
  color: #FFFFFF;
  border-color: #5B21B6;
  box-shadow: 0 5px 14px rgba(91, 33, 182, 0.3);
}

.edj-mob-class-tab.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #5B21B6;
}

/* Explore Free Study Material Card below Class Pills */
.edj-mob-explore-card {
  background: linear-gradient(90deg, #F3E8FF 0%, #EDE9FE 100%);
  border: 1px solid #DDD6FE;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(76, 29, 149, 0.06);
}

.edj-mob-explore-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.edj-mob-explore-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FFFFFF;
  color: #5B21B6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.edj-mob-explore-info h4 {
  font-size: 13px;
  font-weight: 800;
  color: #3B0764;
  line-height: 1.2;
}

.edj-mob-explore-info p {
  font-size: 10.5px;
  color: #4B5563;
  margin-top: 2px;
}

.edj-mob-start-btn {
  background: linear-gradient(90deg, #4A1594 0%, #6D28D9 100%);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px rgba(74, 21, 148, 0.25);
}

/* Sticky Bottom Navigation Bar (Home | Study Material | Online Tuition | Green WhatsApp Contact Us) */
.edj-mob-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 950;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
}

.edj-mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #1F2937;
  font-size: 10.5px;
  font-weight: 700;
  position: relative;
}

.edj-mob-nav-item.active {
  color: #5B21B6;
  font-weight: 800;
}

.edj-mob-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 30px;
  height: 3px;
  border-radius: 99px;
  background: #5B21B6;
}

.edj-mob-wa-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #22C55E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -6px;
  animation: edjWaPulse 2.2s infinite;
  border: 2px solid #FFFFFF;
}

/* ==========================================================================
   SLIDE-OUT MOBILE APP DRAWER
   ========================================================================== */
.edj-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 12, 46, 0.62);
  backdrop-filter: blur(3px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.edj-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.edj-app-drawer {
  position: fixed;
  top: 12px;
  bottom: 12px;
  right: 12px;
  width: calc(100% - 36px);
  max-width: 360px;
  background: #FFFFFF;
  border-radius: 26px;
  z-index: 1200;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.edj-app-drawer.open {
  transform: translateX(0);
}

.edj-drawer-top {
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F3F4F6;
}

.edj-drawer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.edj-drawer-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #4C1D95;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
}

.edj-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F5F3FF;
  color: #312E81;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.edj-drawer-greeting {
  margin: 10px 16px 6px;
  padding: 11px 14px;
  background: #FAF5FF;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #EDE9FE;
}

.edj-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 16px 12px;
}

.edj-drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edj-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 13px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1E1B4B;
}

.edj-drawer-link.active,
.edj-drawer-link:hover {
  background: #F3E8FF;
  color: #4C1D95;
}

.edj-drawer-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.edj-drawer-divider {
  height: 1px;
  background: #E5E7EB;
  margin: 8px 4px;
}

.edj-drawer-footer {
  padding: 12px 18px 16px;
  border-top: 1px solid #F3F4F6;
  text-align: center;
}

.edj-drawer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(90deg, #4C1D95 0%, #6D28D9 100%);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ==========================================================================
   2. ENHANCED MOTION-RICH DESKTOP PORTAL EXPERIENCE (>1024px)
   ========================================================================== */

.edj-desktop-portal-shell {
  background: #F9FAFB;
  min-height: 100vh;
}

.edj-desk-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.edj-desk-topbar {
  background: linear-gradient(90deg, #1E1B4B 0%, #311068 100%);
  color: #E0E7FF;
  font-size: 13px;
  padding: 9px 0;
}

.edj-desk-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.edj-desk-navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 800;
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(30, 27, 75, 0.05);
}

.edj-desk-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.edj-desk-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.edj-desk-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4A1594 0%, #7C3AED 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  box-shadow: 0 6px 16px rgba(76, 29, 149, 0.25);
}

.edj-desk-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.edj-desk-menu a {
  font-size: 14.5px;
  font-weight: 700;
  color: #374151;
  padding: 6px 4px;
}

.edj-desk-menu a:hover,
.edj-desk-menu a.active {
  color: #4A1594;
}

/* Desktop Animated Hero with Floating Aura Blobs & Motion Girl Showcase */
.edj-desk-hero {
  background: radial-gradient(circle at 80% 25%, #EDE9FE 0%, #F5F3FF 48%, #FFFFFF 100%);
  padding: 56px 0 64px;
  border-bottom: 1px solid #EDE9FE;
  position: relative;
  overflow: hidden;
}

.edj-desk-blob-1 {
  position: absolute;
  top: -60px;
  right: 12%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, rgba(139, 92, 246, 0) 70%);
  border-radius: 50%;
  animation: edjBlobFloat 8s ease-in-out infinite;
  pointer-events: none;
}

.edj-desk-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.edj-desk-hero h1 {
  font-size: 50px;
  font-weight: 900;
  color: #1E1B4B;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.edj-desk-hero h1 span {
  background: linear-gradient(90deg, #4A1594 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.edj-desk-finder-bar {
  background: #FFFFFF;
  padding: 10px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(30, 27, 75, 0.1);
  border: 1px solid #DDD6FE;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  margin: 24px 0;
}

.edj-desk-finder-field {
  padding: 8px 14px;
  border-right: 1px solid #E5E7EB;
}

.edj-desk-finder-field label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #6B7280;
}

.edj-desk-finder-field select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 700;
  color: #1E1B4B;
  background: transparent;
}

/* Desktop Right Showcase Card with Motion Student + Instant Booking */
.edj-desk-showcase-card {
  background: #FFFFFF;
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 24px 50px rgba(76, 29, 149, 0.16);
  border: 1px solid #DDD6FE;
}

.edj-desk-motion-banner {
  background: linear-gradient(135deg, #F3E8FF 0%, #EDE9FE 100%);
  border-radius: 18px;
  padding: 12px 16px 0;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid #DDD6FE;
}

/* Desktop 10-Card Quick Access Bento Grid (5x2 Widescreen Matrix) */
.edj-desk-qa-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.edj-desk-qa-card {
  border-radius: 20px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: 0 6px 18px rgba(30, 27, 75, 0.04);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  cursor: pointer;
}

.edj-desk-qa-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 36px rgba(76, 29, 149, 0.15);
}

.edj-desk-qa-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.edj-desk-qa-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Shared Modal & Subpage Styling */
.edj-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 12, 46, 0.68);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.edj-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.edj-modal-card {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 460px;
  width: 100%;
  padding: 26px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

.edj-desk-form-group {
  margin-bottom: 12px;
}

.edj-desk-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 4px;
}

.edj-desk-form-group input,
.edj-desk-form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 13.5px;
  font-family: inherit;
}

.edj-desk-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.edj-desk-form-btn {
  width: 100%;
  background: linear-gradient(90deg, #4A1594 0%, #6D28D9 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  padding: 13px;
  border-radius: 12px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.edj-desk-footer {
  background: #110C2E;
  color: #D1D5DB;
  padding: 56px 0 30px;
  margin-top: 50px;
}

.edj-desk-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.edj-desk-footer h4 {
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 14px;
}

.edj-desk-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

.edj-subpage-banner {
  background: linear-gradient(120deg, #4A1594 0%, #6D28D9 100%);
  color: #FFFFFF;
  padding: 36px 20px;
  text-align: center;
}

.edj-subpage-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 18px 90px;
}

.edj-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.edj-resource-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
