/* 
   GOPABANDHU ADVANCED LEARNING ACADEMY 
   Custom Enhancements & Micro-Animations 
*/

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

/* Hardware acceleration & GPU rendering hints */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
}

:root {
  --primary-blue: #0B3D91;
  --primary-blue-dark: #072B6B;
  --secondary-orange: #F57C00;
  --accent-yellow: #FFC107;
  --accent-yellow-hover: #FFB300;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-behavior: smooth;
  color: #1e293b;
  background-color: #ffffff;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card-dark {
  background: rgba(11, 61, 145, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Gradients */
.hero-gradient {
  background: linear-gradient(135deg, #072355 0%, #0B3D91 60%, #1557c0 100%);
}

.orange-gradient {
  background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.badge-glow {
  box-shadow: 0 0 15px rgba(245, 124, 0, 0.4);
}

/* Pulse animation for CTA & Floating Buttons */
@keyframes cta-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 124, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(245, 124, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 124, 0, 0);
  }
}

.animate-cta-pulse {
  animation: cta-pulse 2s infinite;
}

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

.animate-whatsapp-pulse {
  animation: green-pulse 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0B3D91;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F57C00;
}

/* Accordion Transition */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.25s ease-out;
}
.faq-item.active .faq-answer {
  max-height: 500px;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Shimmer Highlight Effect */
.shimmer-text {
  background: linear-gradient(90deg, #FFFFFF 0%, #FFE0B2 50%, #FFFFFF 100%);
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}
