/* ===== V_Flash - Custom Styles ===== */

/* ===== Base ===== */
* {
  scroll-behavior: smooth;
}

::selection {
  background-color: #D4A843;
  color: white;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #D4A843, #E8604C);
  border-radius: 4px;
}

/* ===== Nav Links ===== */
.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #D4A843, #E8604C);
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link:hover,
.nav-link.active {
  color: #D4A843;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}
.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #D4A843;
  padding-left: 1.5rem;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #E8604C, #DC3545);
  color: white;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(232, 96, 76, 0.3);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 96, 76, 0.4);
}

.btn-outline {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: #D4A843;
  color: #D4A843;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 168, 67, 0.2);
}

.btn-outline-dark {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: 2px solid #1B2142;
  color: #1B2142;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-outline-dark:hover {
  background: #1B2142;
  color: white;
  transform: translateY(-2px);
}

/* ===== Navbar States ===== */
.navbar-scrolled {
  background: rgba(27, 33, 66, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.navbar-transparent {
  background: transparent;
}
.navbar-solid {
  background: rgba(27, 33, 66, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Hero Section ===== */
.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(212, 168, 67, 0.4);
  border-radius: 50%;
  animation: float-particle 8s infinite ease-in-out;
}
@keyframes float-particle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  25% { transform: translate(30px, -40px) scale(1.5); opacity: 0.8; }
  50% { transform: translate(-20px, -80px) scale(1); opacity: 0.4; }
  75% { transform: translate(40px, -40px) scale(1.5); opacity: 0.8; }
}

.hero-line {
  animation: hero-line-draw 4s ease-in-out infinite alternate;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}
@keyframes hero-line-draw {
  to { stroke-dashoffset: 0; }
}

/* ===== Animations ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}
.animate-float-slow {
  animation: float-slow 5s ease-in-out infinite;
}

@keyframes float-slower {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
.animate-float-slower {
  animation: float-slower 6s ease-in-out infinite;
}

@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}
.animate-blob {
  animation: blob 8s infinite;
}

@keyframes scroll-indicator {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}
.animate-scroll-indicator {
  animation: scroll-indicator 2s ease-in-out infinite;
}

/* ===== Cards ===== */
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  min-height: 100px;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-color: #D4A843;
}
.partner-card:hover div {
  color: #1B2142 !important;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 1.5rem;
  border: 1px solid #f0f0f0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #D4A843, #E8604C);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.team-card:hover::before {
  transform: scaleX(1);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.team-card:hover .team-avatar {
  transform: scale(1.1);
}

.testimonial-card {
  padding: 2.5rem;
  background: white;
  border-radius: 1.5rem;
  border: 1px solid #f0f0f0;
  transition: all 0.4s ease;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: #E8604C;
}

/* ===== Social Icons ===== */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-icon:hover {
  background: #D4A843;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 168, 67, 0.4);
}

.social-icon-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: white;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-icon-lg:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== Page Transitions ===== */
.page-enter {
  animation: pageEnter 0.5s ease forwards;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Reveal Animation ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Shimmer Text ===== */
.shimmer-text {
  background: linear-gradient(
    to right,
    #D4A843,
    #E8C76A,
    #D4A843,
    #E8C76A
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  to { background-position: 200% center; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .btn-primary,
  .btn-outline,
  .btn-outline-dark {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ===== Prose Styles for Documents ===== */
.prose p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
.prose h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ===== Smooth Parallax ===== */
@media (prefers-reduced-motion: no-preference) {
  [data-parallax] {
    transition: transform 0.1s linear;
  }
}

/* ===== Contact Form Focus ===== */
input:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

/* ===== Loading Skeleton ===== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== Magnetic Hover ===== */
.magnetic-hover {
  transition: transform 0.3s ease;
}

/* ===== Custom AOS Animations ===== */
[data-aos="zoom-in-up"] {
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  transition-property: opacity, transform;
}
[data-aos="zoom-in-up"].aos-animate {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ===== Glassmorphism Card ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
}

/* ===== Counter Animation ===== */
.counter-plus::after {
  content: '+';
}
