/* Base Styles */
body {
  font-family: "Sora", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background-color: #1e3a5f;
  color: white;
}

::-moz-selection {
  background-color: #1e3a5f;
  color: white;
}

/* Content Image Styles */
.content-image {
  border-radius: 8px;
  object-fit: cover;
}

@media all and (min-width: 768px) {
  .content-image {
    width: 500px;
    height: 500px;
    margin-right: 2rem !important;
    float: left;
  }
}

@media all and (max-width: 768px) {
  .content-image {
    height: 350px;
    margin-bottom: 1rem !important;
  }
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Content Typography */
.content h1 {
  font-size: 2rem !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.25rem !important;
  color: #1e3a5f;
}

.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  font-size: 1.5rem !important;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem !important;
  color: #243b53;
}

.content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.25rem !important;
  color: #486581;
}

.content ul,
.content ol {
  margin-bottom: 1.25rem !important;
  margin-left: 2rem;
}

.content ul {
  list-style-type: disc;
}

.content ol {
  list-style-type: decimal;
}

.content li {
  margin-bottom: 0.5rem;
  color: #486581;
}

.content a {
  color: #1e3a5f;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #d4a853;
  transition: all 0.2s ease;
}

.content a:hover {
  color: #d4a853;
  border-bottom-color: transparent;
}

.content blockquote {
  font-size: 1.25rem;
  font-style: italic;
  border-left: 3px solid #d4a853;
  padding-left: 1.5rem;
  margin: 2rem 0 !important;
  color: #334e68;
}

.content strong {
  font-weight: 600;
  color: #243b53;
}

.content em {
  font-style: italic;
}

.content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.content hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2.5rem 0;
}

/* Form Styles */
.iti {
  width: 100%;
}

/* Button Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #1e3a5f;
  color: white;
}

.btn-primary:hover {
  background-color: #243b53;
}

/* Focus States */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #d4a853;
  outline-offset: 2px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

/* Stagger delays */
.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}
.delay-500 {
  animation-delay: 0.5s;
}

/* ========================================
   PREMIUM HERO ANIMATIONS & EFFECTS
   ======================================== */

/* Floating Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes floatReverse {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(20px) rotate(-5deg);
  }
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-15px) translateX(10px);
  }
  50% {
    transform: translateY(-5px) translateX(-5px);
  }
  75% {
    transform: translateY(-20px) translateX(-10px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 7s ease-in-out infinite;
}

.animate-float-slow {
  animation: floatSlow 10s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer-effect {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 25%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
}

/* Gradient Animation */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradientFlow 8s ease infinite;
}

/* Pulse Glow */
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 168, 83, 0.6);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Border Glow */
@keyframes borderGlow {
  0%,
  100% {
    border-color: rgba(212, 168, 83, 0.3);
  }
  50% {
    border-color: rgba(212, 168, 83, 0.8);
  }
}

.animate-border-glow {
  animation: borderGlow 2s ease-in-out infinite;
}

/* Rotating decoration */
@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spinSlow 20s linear infinite;
}

/* Scale pulse */
@keyframes scalePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-scale-pulse {
  animation: scalePulse 4s ease-in-out infinite;
}

/* Draw line animation */
@keyframes drawLine {
  from {
    stroke-dashoffset: 200;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.animate-draw-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 1.5s ease forwards;
}

/* Counter animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-count {
  animation: countUp 0.8s ease-out forwards;
}

/* Blur in animation */
@keyframes blurIn {
  from {
    filter: blur(10px);
    opacity: 0;
  }
  to {
    filter: blur(0);
    opacity: 1;
  }
}

.animate-blur-in {
  animation: blurIn 1s ease-out forwards;
}

/* Reveal from left */
@keyframes revealLeft {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.animate-reveal-left {
  animation: revealLeft 1s ease-out forwards;
}

/* Premium card hover effect */
.premium-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(212, 168, 83, 0.1) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(30, 58, 95, 0.2);
}

.premium-card:hover::before {
  opacity: 1;
}

/* Stats number glow */
.stat-number {
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #d4a853 0%, #e8c05c 50%, #d4a853 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s ease infinite;
}

/* Glass morphism */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Decorative dot pattern */
.dot-pattern {
  background-image: radial-gradient(circle, #1e3a5f 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Animated underline */
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a853, #e8c05c);
  border-radius: 2px;
  animation: underlineGrow 1s ease-out 0.5s forwards;
}

@keyframes underlineGrow {
  to {
    width: 100%;
  }
}

/* Particle effect base */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #d4a853, #e8c05c);
  border-radius: 50%;
  opacity: 0.6;
}

/* Feature icon container */
.feature-icon {
  position: relative;
  overflow: hidden;
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(212, 168, 83, 0.2) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-icon:hover::after {
  opacity: 1;
}

/* Ribbon accent */
.ribbon-accent {
  position: relative;
}

.ribbon-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: ribbonShine 3s infinite;
}

@keyframes ribbonShine {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}
