/* ==========================================================================
   Ex-Cadets' Academy - Premium Stylesheet
   ========================================================================== */

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

:root {
  --primary-navy: #0B1325;
  --secondary-navy: #152238;
  --cadet-gold: #F5B014;
  --cadet-yellow: #FFD233;
  --gold-glow: rgba(245, 176, 20, 0.28);
  --accent-red: #D92D20;
  --bg-cream: #FAF8F5;
  --surface-card: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-cream);
  color: #1E293B;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Baloo Da 2', 'Hind Siliguri', sans-serif;
  letter-spacing: -0.01em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cadet-gold);
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.glass-card-dark {
  background: rgba(21, 34, 56, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Luxury Shadows & Glows */
.cadet-shadow {
  box-shadow: 0 10px 30px -10px rgba(11, 19, 37, 0.08), 0 4px 12px -4px rgba(11, 19, 37, 0.04);
}

.cadet-shadow-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cadet-shadow-hover:hover {
  box-shadow: 0 20px 40px -15px rgba(11, 19, 37, 0.15), 0 8px 20px -6px rgba(245, 176, 20, 0.2);
  transform: translateY(-5px);
}

.gold-glow-hover {
  transition: all 0.3s ease;
}
.gold-glow-hover:hover {
  box-shadow: 0 12px 30px -5px rgba(245, 176, 20, 0.45);
}

/* Ticker Animation */
.ticker-wrap {
  overflow: hidden;
}
.ticker-content {
  display: flex;
  width: max-content;
  animation: tickerSlide 30s linear infinite;
}
.ticker-content:hover {
  animation-play-state: paused;
}
@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Floating Badges */
@keyframes floatUpAndDown {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

.animate-float {
  animation: floatUpAndDown 4s ease-in-out infinite;
}

.animate-float-delay {
  animation: floatUpAndDown 4.5s ease-in-out 1.5s infinite;
}

/* Radial / Pattern Gradients */
.hero-pattern {
  background-color: #0B1325;
  background-image: 
    radial-gradient(at 100% 0%, rgba(245, 176, 20, 0.18) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(217, 45, 32, 0.14) 0px, transparent 50%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 100% 100%, 26px 26px;
}

.cadet-stripe {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    #0B1325,
    #0B1325 14px,
    #F5B014 14px,
    #F5B014 28px,
    #D92D20 28px,
    #D92D20 38px
  );
}

/* Scroll Reveal Classes */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.rv-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv-slide-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv-slide-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv.is-visible,
.rv-scale.is-visible,
.rv-slide-left.is-visible,
.rv-slide-right.is-visible {
  opacity: 1;
  transform: none;
}

/* Shimmer Highlight Effect */
.shimmer-badge {
  position: relative;
  overflow: hidden;
}
.shimmer-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shimmerAnim 5s infinite;
}
@keyframes shimmerAnim {
  0% { transform: translateX(-100%) rotate(30deg); }
  25%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* Mobile Nav Drawer Styles */
#mobile-drawer {
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

#mobile-backdrop {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.drawer-open {
  overflow: hidden;
  touch-action: none;
}

