:root {
  --brand-primary: #ea960a;
  --brand-bg: #20186d;
}

body {
  line-height: 1.5;
  overflow-x: hidden;
}

.font-serif {
  font-family: 'Playfair+Display', serif;
}

.sec-caption {
  display: inline-block;
  background: rgba(234, 150, 10, 0.1);
  color: var(--brand-primary);
  padding: 8px 16px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  border-left: 3px solid var(--brand-primary);
}

.sec-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .sec-title {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .sec-title {
    font-size: 64px;
  }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Manual Scroll replaces auto-animation */

@keyframes drawCircle {
  0% {
    stroke-dashoffset: 600;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.animate-draw-circle {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawCircle 3.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

.dark ::-webkit-scrollbar-track {
  background: var(--brand-bg);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.dark ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary);
}

/* Transitions */
.mega-menu-content {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .bg-brand-deep\/95 {
  background-color: rgba(32, 24, 109, 0.95);
}

.glass-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Toast Notifications */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes slideInFromBottom {
  from {
    transform: translate(-50%, 32px);
  }

  to {
    transform: translate(-50%, 0);
  }
}

@keyframes slideOutToBottom {
  from {
    transform: translate(-50%, 0);
  }

  to {
    transform: translate(-50%, 32px);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.fade-out {
  animation: fadeOut 0.5s ease-in forwards;
}

.slide-in-from-bottom-8 {
  animation: slideInFromBottom 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-out-to-bottom-8 {
  animation: slideOutToBottom 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}