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

:root {
  --bg-canvas: #F3E6D5;
  --bg-surface: #F3E6D5;
  --bg-card-warm: #F3E6D5;
  --text-primary: #000000;
  --text-body: #111111;
  --text-secondary: #333333;
  --text-muted: #555555;
  --border-subtle: #E2D1BE;
  --border-hover: #D54F60;
  --accent-burgundy: #800020;
  --accent-rose: #D54F60;
  --accent-almond: #F3E6D5;
  --color-lime: #800020;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-canvas) !important;
  color: var(--text-body) !important;
  overflow-x: hidden;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #D54F60 #F3E7D6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Editorial Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #F3E7D6;
}
::-webkit-scrollbar-thumb {
  background: #D54F60;
  border-radius: 9999px;
  border: 2px solid #F3E7D6;
}
::-webkit-scrollbar-thumb:hover {
  background: #81001A;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: -0.025em !important;
  color: #000000;
}

.font-futuristic {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: -0.025em !important;
}

.text-burgundy-brand {
  color: #800020 !important;
}

/* Ensure white and gray text are rendered dark black */
.text-white {
  color: #000000 !important;
}
.hover\:text-white:hover {
  color: #000000 !important;
}

.text-gray-400,
.text-gray-300 {
  color: #222222 !important;
}

.text-gray-500 {
  color: #333333 !important;
}

/* Hide background clutter */
#particle-canvas, .hud-circle, .hud-circle-reverse {
  display: none !important;
}

/* Clean Surfaces & Cards */
.glass-panel {
  background: #F3E6D5 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(128, 0, 32, 0.25) !important;
  box-shadow: 0 4px 14px rgba(128, 0, 32, 0.05) !important;
}

.glass-panel-glow {
  background: #F3E6D5 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(128, 0, 32, 0.25) !important;
  box-shadow: 0 4px 14px rgba(128, 0, 32, 0.05) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glass-panel-glow:hover {
  border-color: #800020 !important;
  box-shadow: 0 12px 24px -4px rgba(128, 0, 32, 0.12) !important;
  transform: translateY(-2px) !important;
}

/* High-contrast text inside panels */
.glass-panel p,
.glass-panel-glow p {
  color: #222222 !important;
}
.glass-panel .text-gray-300,
.glass-panel .text-gray-400,
.glass-panel-glow .text-gray-300,
.glass-panel-glow .text-gray-400 {
  color: #333333 !important;
}

/* Text & Border Styling */
.metallic-text {
  background: linear-gradient(135deg, #800020 0%, #D54F60 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.metallic-border {
  border: 2px solid rgba(128, 0, 32, 0.25) !important;
  background: #F3E6D5 !important;
  color: #800020 !important;
}

/* Luxury Burgundy CTA Buttons */
.lime-glow-btn {
  background: #81001A !important;
  color: #F3E7D6 !important;
  border: 1px solid #81001A !important;
  box-shadow: 0 4px 14px rgba(129, 0, 26, 0.25) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
}

.lime-glow-btn:hover {
  background: #D54F60 !important;
  border-color: #D54F60 !important;
  box-shadow: 0 6px 20px rgba(213, 79, 96, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* Floating Navigation Bar */
header nav {
  background: rgba(243, 230, 213, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 2px solid rgba(128, 0, 32, 0.2) !important;
  box-shadow: 0 4px 20px -2px rgba(128, 0, 32, 0.08) !important;
}

header nav a {
  color: #111111 !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

header nav .nav-links-container a,
header nav .hidden.lg\:flex a {
  font-size: 0.95rem !important; /* ~15.2px for prominent, readable navigation */
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #111111 !important;
}

header nav a:hover,
header nav .nav-links-container a:hover,
header nav .hidden.lg\:flex a:hover,
.nav-link-active {
  color: #800020 !important;
  font-weight: 800 !important;
}

header nav .logo-title {
  color: #800020 !important;
}

/* Mobile Navigation Overlay */
#mobile-menu-overlay {
  background: #F3E6D5 !important;
  border-left: 2px solid rgba(128, 0, 32, 0.25) !important;
  box-shadow: -4px 0 24px rgba(128, 0, 32, 0.15) !important;
  color: #800020 !important;
}

#mobile-menu-overlay a {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

#mobile-menu-overlay a:hover {
  color: #800020 !important;
}

/* Floating Animations */
.floating-element-1 {
  will-change: transform;
  animation: float1 8s ease-in-out infinite;
}
.floating-element-2 {
  will-change: transform;
  animation: float2 10s ease-in-out infinite;
}
.floating-element-3 {
  will-change: transform;
  animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes float2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes float3 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(6px, -6px, 0); }
}

/* Horizontal scrolling marquee for Google reviews */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: inline-flex;
  gap: 2rem;
  will-change: transform;
  animation: marquee 30s linear infinite;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Perspective styling for 3D layout components */
.perspective-container {
  perspective: 1200px;
}

.tilt-wrapper {
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

/* Form Inputs */
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  background-color: #FFFFFF !important;
  color: #2A1115 !important;
  border: 1px solid #EBDCCB !important;
  border-radius: 0.75rem !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

input:focus, textarea:focus, select:focus {
  border-color: #81001A !important;
  box-shadow: 0 0 0 3px rgba(129, 0, 26, 0.12) !important;
  outline: none !important;
}

input::placeholder, textarea::placeholder {
  color: #8E656E !important;
}

option {
  background-color: #FFFFFF !important;
  color: #2A1115 !important;
}

/* Filter buttons for Feedback Board */
.filter-btn {
  background: #F3E7D6 !important;
  border: 1px solid #EBDCCB !important;
  color: #57333A !important;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
  background: #EADCCB !important;
  border-color: #D54F60 !important;
  color: #81001A !important;
}

.filter-btn.active {
  background: #81001A !important;
  border-color: #81001A !important;
  color: #F3E7D6 !important;
  box-shadow: 0 2px 8px rgba(129, 0, 26, 0.2);
}

/* Curriculum Accordion Styling */
.curriculum-accordion {
  border-bottom: 1px solid #EBDCCB !important;
}
.curriculum-trigger {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  transition: color 0.2s ease;
  color: #81001A !important;
  font-weight: 600;
}
.curriculum-trigger:hover {
  color: #D54F60 !important;
}
.curriculum-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: #57333A !important;
}
.curriculum-content.open {
  max-height: 500px;
}

/* Timeline elements */
.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  border-left: 1px dashed #EBDCCB;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #81001A;
  box-shadow: 0 0 6px rgba(129, 0, 26, 0.4);
}

/* Custom Modals */
.feedback-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 17, 21, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feedback-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.feedback-modal-box {
  background: #F3E6D5 !important;
  color: #111111 !important;
  border: 1px solid rgba(128, 0, 32, 0.2) !important;
  box-shadow: 0 25px 50px -12px rgba(128, 0, 32, 0.15) !important;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feedback-modal-overlay.open .feedback-modal-box {
  transform: scale(1);
}

/* Modal Inner Scoped Overrides */
.feedback-modal-box h1,
.feedback-modal-box h2,
.feedback-modal-box h3,
.feedback-modal-box h4,
.feedback-modal-box h5,
.feedback-modal-box h6 {
  color: #000000 !important;
}

.feedback-modal-box p,
.feedback-modal-box li {
  color: #111111 !important;
}

.feedback-modal-box .bg-zinc-950,
.feedback-modal-box .bg-black,
.feedback-modal-box .bg-black\/60,
.feedback-modal-box .bg-black\/40 {
  background-color: #F3E6D5 !important;
}

.feedback-modal-box .border-white\/10,
.feedback-modal-box .border-white\/5 {
  border-color: rgba(128, 0, 32, 0.15) !important;
}

/* Video Testimonial Card details */

/* Transparent Video Reel Category Badges */
.video-reel-badge,
.video-testimonial-trigger .absolute.top-3 span {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
  letter-spacing: 0.05em !important;
}

.video-testimonial-trigger + div {
  background-color: #F3E6D5 !important;
  border-top: 1px solid rgba(128, 0, 32, 0.15) !important;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .glass-panel,
  .glass-panel-glow {
    background: #F3E6D5 !important;
    border: 2px solid rgba(128, 0, 32, 0.25) !important;
    box-shadow: 0 3px 10px rgba(128, 0, 32, 0.05) !important;
  }

  .feedback-modal-box {
    background: #F3E6D5 !important;
    border: 2px solid rgba(128, 0, 32, 0.25) !important;
    color: #111111 !important;
  }

  .feedback-modal-overlay {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    background: rgba(42, 17, 21, 0.7) !important;
  }

  body {
    -webkit-overflow-scrolling: touch;
  }
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Footer Contrast & Typography (Dark Footer Styling)
   ========================================================================== */
footer {
  color: #9CA3AF !important;
}

footer h4,
footer .text-black,
footer .logo-title {
  color: #E5E7EB !important;
}

footer p,
footer li,
footer a,
footer .text-gray-400,
footer .text-gray-500,
footer .text-gray-300 {
  color: #9CA3AF !important;
}

footer a:hover {
  color: #FFFFFF !important;
}

footer .text-limeGreen,
footer span.text-limeGreen {
  color: #D54F60 !important;
}

footer .border-white\/5,
footer .border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}


/* Multi-channel Orbit YouTube & Phone Mockup Theme Styling */
.phone-mockup-frame {
  background: linear-gradient(180deg, #20080E 0%, #120306 100%) !important;
  border: 5px solid #800020 !important;
  box-shadow: 0 20px 40px -10px rgba(128, 0, 32, 0.3) !important;
}

.yt-stat-box {
  background: #FFFFFF !important;
  border: 2px solid rgba(128, 0, 32, 0.2) !important;
  transition: all 0.2s ease;
}
.yt-stat-box:hover {
  border-color: #800020 !important;
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.08) !important;
}

#yt-showreel-card h4 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.yt-featured-bubble {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
}

.yt-play-btn {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
.yt-play-btn:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

