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

/* Color Variables */
:root {
  --color-primary: #0B2E6B;      /* Dark Blue */
  --color-secondary: #2E9E44;    /* Green */
  --color-accent: #F7B500;       /* Solar Yellow */
  --color-accent-light: #FFF9E6; /* Light Solar Yellow */
  --color-white: #FFFFFF;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-600: #475569;
  --color-gray-800: #1E293B;
  --color-gray-900: #0F172A;
}

/* Typography Base */
body {
  font-family: 'Inter', sans-serif;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-panel-dark {
  background: rgba(11, 46, 107, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px 0 rgba(11, 46, 107, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px 0 rgba(11, 46, 107, 0.1);
  border: 1px solid rgba(46, 158, 68, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-50);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* Animations & Keyframes */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-delayed {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(15px) rotate(-3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.1); opacity: 0.2; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

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

.animate-float-delayed {
  animation: float-delayed 8s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

/* Scroll Reveal Base Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Delay multipliers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Custom Glow & Border Gradient Effects */
.border-glow-green:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 0 15px rgba(46, 158, 68, 0.4);
}

.border-glow-yellow:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(247, 181, 0, 0.4);
}

.solar-glow {
  box-shadow: 0 0 40px rgba(247, 181, 0, 0.15);
}

/* Infographic line styles */
.infographic-connector {
  position: relative;
}

@media (min-width: 1024px) {
  .infographic-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 20%;
    height: 2px;
    background: linear-gradient(to right, var(--color-secondary), transparent);
    z-index: 10;
  }
  .infographic-connector-last::after {
    display: none;
  }
}

/* FAQ Accordion Transition */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-content {
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Sticky Mobile Bottom CTA Styles */
@media (max-width: 767px) {
  .mobile-cta-shim {
    height: 70px;
  }
}

/* Floating Buttons Code */

/* Desktop — hide mobile-only elements */
@media (min-width: 1025px) {
  .mobile-cta { display: none; }
  body { padding-bottom: 0; }
}

.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.floating-buttons a img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.floating-buttons a img:hover {
  transform: scale(1.1);
}

.custom-border {
    border: 2px solid #045879;
    border-radius: 15px;
    padding: 20px;
    background-color: #ffffff; /* optional */
}
/* Floating Buttons Code ENDS  */
