/* =======================================
   CONTACT PAGE – CREATIVE & MODERN
   Showcasing design capabilities
   ======================================= */

/* Override dark theme for contact page */
.contact-page {
  background: #ffffff !important;
}

.contact-page body {
  background: #ffffff !important;
  color: #1e293b !important;
}

/* Override header for contact page */
.contact-page .nx-header {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.contact-page .nx-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

/* Override header text colors */
.contact-page .nx-logo-text-main,
.contact-page .nx-nav-link {
  color: #1e293b !important;
}

.contact-page .nx-logo-text-sub {
  color: #64748b !important;
}

.contact-page .btn-primary {
  background: linear-gradient(135deg, #ff4d5a, #ff9f3c) !important;
  color: #ffffff !important;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes drawBorder {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 77, 90, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 77, 90, 0.6),
                0 0 60px rgba(255, 159, 60, 0.4);
  }
}

/* Page wrapper */
.contact-page {
  background: #ffffff;
  overflow-x: hidden;
}

/* =========================
   HERO SECTION
========================= */

.contact-hero {
  max-height: 400px;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, 
    #ff4d5a 0%, 
    #ff6b7a 25%,
    #ff9f3c 50%,
    #fbbf24 100%);
  animation: fadeIn 0.8s ease-out;
}

.contact-hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

/* Animated geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.geometric-shape {
  position: absolute;
  opacity: 0.15;
}

.shape-circle {
  width: 300px;
  height: 300px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  top: -150px;
  right: 10%;
  animation: float 8s ease-in-out infinite, rotate 20s linear infinite;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 260px solid rgba(255, 255, 255, 0.15);
  bottom: -130px;
  left: 5%;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-square {
  width: 200px;
  height: 200px;
  border: 3px solid #ffffff;
  top: 50%;
  left: -100px;
  transform: rotate(45deg);
  animation: rotate 15s linear infinite;
}

.shape-dots {
  width: 150px;
  height: 150px;
  background-image: radial-gradient(circle, #ffffff 2px, transparent 2px);
  background-size: 20px 20px;
  bottom: 20%;
  right: -50px;
  animation: float 12s ease-in-out infinite;
}

/* Hero particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  bottom: 0;
}

.contact-particle:nth-child(1) { left: 10%; animation: particleFloat 12s ease-in-out infinite; animation-delay: 0s; }
.contact-particle:nth-child(2) { left: 25%; animation: particleFloat 15s ease-in-out infinite; animation-delay: 2s; width: 4px; height: 4px; }
.contact-particle:nth-child(3) { left: 40%; animation: particleFloat 18s ease-in-out infinite; animation-delay: 4s; }
.contact-particle:nth-child(4) { left: 55%; animation: particleFloat 14s ease-in-out infinite; animation-delay: 1s; width: 5px; height: 5px; }
.contact-particle:nth-child(5) { left: 70%; animation: particleFloat 16s ease-in-out infinite; animation-delay: 3s; }
.contact-particle:nth-child(6) { left: 85%; animation: particleFloat 13s ease-in-out infinite; animation-delay: 5s; width: 7px; height: 7px; }

@keyframes particleFloat {
  0% { 
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% { 
    transform: translateY(-400px) translateX(50px);
    opacity: 0;
  }
}

/* Hero content */
.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.contact-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: bounceIn 0.8s ease-out;
}

.contact-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-hero-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  max-width: 650px;
  margin: 0 auto;
}

/* =========================
   CONTACT INFO SECTION
========================= */

.contact-info-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fef9e7 100%);
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(251, 146, 60, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.info-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(255, 77, 90, 0.1) 0%, 
    rgba(255, 159, 60, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.info-card:hover::before {
  opacity: 1;
}

.info-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 
    0 20px 50px rgba(255, 77, 90, 0.2),
    0 10px 25px rgba(255, 159, 60, 0.15);
  border-color: rgba(255, 77, 90, 0.3);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ff4d5a 0%, #ff9f3c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 1.5rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.info-card:hover .info-icon {
  transform: scale(1.15) rotate(10deg);
  animation: glowPulse 2s ease-in-out infinite;
}

.info-icon svg {
  width: 36px;
  height: 36px;
}

.info-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.info-card p {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

.info-card a {
  color: #ff4d5a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: #ff9f3c;
}

/* Staggered animation for info cards */
.info-card:nth-child(1) { transition-delay: 0.1s; }
.info-card:nth-child(2) { transition-delay: 0.2s; }
.info-card:nth-child(3) { transition-delay: 0.3s; }

/* =========================
   CONTACT FORM SECTION
========================= */

.contact-form-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 50%, #dbeafe 100%);
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

/* Form Intro */
.form-intro {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.form-intro.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.form-intro h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 2rem;
}

.form-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.form-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #475569;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.form-features li.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.form-features li:nth-child(1) { transition-delay: 0.2s; }
.form-features li:nth-child(2) { transition-delay: 0.3s; }
.form-features li:nth-child(3) { transition-delay: 0.4s; }
.form-features li:nth-child(4) { transition-delay: 0.5s; }

.feature-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 14px;
  height: 14px;
}

/* Contact Form */
.contact-form {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 
    0 20px 60px rgba(59, 130, 246, 0.1),
    0 10px 30px rgba(99, 102, 241, 0.05);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.contact-form.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff4d5a 0%, #ff9f3c 50%, #3b82f6 100%);
  animation: shimmer 3s ease-in-out infinite;
  background-size: 200% 100%;
}

.form-group {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.form-group.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.form-group:nth-child(1) { transition-delay: 0.1s; }
.form-group:nth-child(2) { transition-delay: 0.2s; }
.form-group:nth-child(3) { transition-delay: 0.3s; }
.form-group:nth-child(4) { transition-delay: 0.4s; }
.form-group:nth-child(5) { transition-delay: 0.5s; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
}

.form-group label span {
  color: #ff4d5a;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  color: #1e293b;
  background: #ffffff;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  width: 100%;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #ff4d5a 0%, #ff9f3c 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 
    0 10px 30px rgba(255, 77, 90, 0.3),
    0 4px 12px rgba(255, 159, 60, 0.2);
}

.submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff9f3c 0%, #fbbf24 100%);
  animation: fadeIn 0.8s ease-out;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-btn:hover::before {
  opacity: 1;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 15px 40px rgba(255, 77, 90, 0.4),
    0 8px 20px rgba(255, 159, 60, 0.3);
}

.submit-btn span {
  position: relative;
  z-index: 1;
}

/* =========================
   MAP SECTION
========================= */

.map-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 50%, #faf5ff 100%);
  position: relative;
  overflow: hidden;
}

.map-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.map-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.map-header.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.map-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1e293b 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.map-header p {
  font-size: 1.1rem;
  color: #64748b;
}

.map-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(139, 92, 246, 0.15),
    0 10px 30px rgba(168, 85, 247, 0.1);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.map-container.animate-in {
  opacity: 1;
  transform: scale(1);
}

.map-container:hover {
  transform: scale(1.01);
  box-shadow: 
    0 25px 70px rgba(139, 92, 246, 0.2),
    0 15px 40px rgba(168, 85, 247, 0.15);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

/* =========================
   SOCIAL SECTION
========================= */

.social-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 50%, #fef2f2 100%);
  position: relative;
  overflow: hidden;
}

.social-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.social-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.social-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.social-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1e293b 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-content p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-link {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(236, 72, 153, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ec4899;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: scale(0);
}

.social-link.animate-in {
  opacity: 1;
  transform: scale(1);
}

.social-link:nth-child(1) { transition-delay: 0.1s; }
.social-link:nth-child(2) { transition-delay: 0.2s; }
.social-link:nth-child(3) { transition-delay: 0.3s; }
.social-link:nth-child(4) { transition-delay: 0.4s; }
.social-link:nth-child(5) { transition-delay: 0.5s; }

.social-link:hover {
  transform: translateY(-10px) scale(1.15) rotate(10deg);
  box-shadow: 0 15px 40px rgba(236, 72, 153, 0.3);
  border-color: #ec4899;
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
  color: #ffffff;
}

.social-link svg {
  width: 32px;
  height: 32px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 4rem 0 3rem;
  }

  .contact-hero h1 {
    font-size: 2.25rem;
  }

  .contact-hero-lead {
    font-size: 1.1rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-intro h2,
  .map-header h2,
  .social-content h2 {
    font-size: 2rem;
  }

  .map-container iframe {
    height: 350px;
  }

  .social-links {
    gap: 1.5rem;
  }

  .social-link {
    width: 60px;
    height: 60px;
  }

  .social-link svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 1.75rem;
  }

  .contact-hero-lead {
    font-size: 1rem;
  }

  .contact-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
  }

  .info-card {
    padding: 2rem 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .map-container iframe {
    height: 300px;
  }
}
/* =========================
   INTERACTIVE EFFECTS
========================= */

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Focus ripple */
.focus-ripple {
  position: absolute;
  inset: -4px;
  border: 2px solid #3b82f6;
  border-radius: 12px;
  opacity: 0;
  animation: focusRipple 0.6s ease-out;
  pointer-events: none;
}

@keyframes focusRipple {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* Form group states */
.form-group.focused label {
  color: #3b82f6;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.form-group.typing input,
.form-group.typing textarea,
.form-group.typing select {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group.filled label {
  color: #059669;
}

/* Mouse trail dots */
.trail-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 159, 60, 0.4) 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: all 0.5s ease-out;
}

/* Button loading state */
.submit-btn.loading {
  background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
  cursor: wait;
  pointer-events: none;
}

.submit-btn.loading span::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Button success state */
.submit-btn.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  animation: successPulse 0.5s ease-out;
}

@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Info card 3D tilt effect */
.info-card {
  transform-style: preserve-3d;
}

.info-card .info-icon,
.info-card h3,
.info-card p {
  transform: translateZ(20px);
  transition: transform 0.3s ease;
}

/* Magnetic cursor effect for social links */
.social-link {
  will-change: transform;
}

/* Enhanced hover glow */
.info-card:hover .info-icon {
  animation: glowPulse 2s ease-in-out infinite;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: rgba(255, 77, 90, 0.2);
  color: #1e293b;
}

::-moz-selection {
  background: rgba(255, 77, 90, 0.2);
  color: #1e293b;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff4d5a 0%, #ff9f3c 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ff9f3c 0%, #fbbf24 100%);
  animation: fadeIn 0.8s ease-out;
}