/* ===== Visa Verse - Custom Styles ===== */

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

:root {
  --primary: #19454f;
  --primary-light: #1b95a3;
  --secondary: #38b3c3;
  --accent: #F59E0B;
  --success: #10B981;
  --danger: #EF4444;
  --bg-light: #F8FAFC;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===== Gradient Backgrounds ===== */
.gradient-hero {
  background: linear-gradient(135deg, #0d2d33 0%, #177a87 50%, #1b95a3 100%);
}

.gradient-cta {
  background: linear-gradient(135deg, #0d2d33 0%, #19454f 100%);
}

/* ===== Animated Underline for Nav Links ===== */
.nav-link-animated {
  position: relative;
}
.nav-link-animated::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-link-animated:hover::after,
.nav-link-animated.active::after {
  width: 100%;
}

/* ===== Card Hover Effects ===== */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Tab Styles ===== */
.tab-btn {
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background-color: #EFF6FF;
}
.tab-btn:hover:not(.active) {
  background-color: #F1F5F9;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ===== Testimonial Carousel ===== */
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.testimonial-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ===== FAQ Accordion ===== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer.open {
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
}
.faq-question.open .faq-icon {
  transform: rotate(180deg);
}

/* ===== Timeline (Steps) ===== */
.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary);
  z-index: 1;
}

/* ===== Checklist ===== */
.checklist-item input[type="checkbox"]:checked + label {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* ===== Country Flag Emoji Sizing ===== */
.flag-icon {
  font-size: 3rem;
  line-height: 1;
}

/* ===== ATLYS-Style Country Cards ===== */
.visa-card {
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.visa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}
.visa-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.visa-card-img img,
.visa-card-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.visa-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 45%, transparent 100%);
  pointer-events: none;
}
.visa-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 0.75rem;
  z-index: 1;
  text-align: center;
}
.visa-card-flag {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  border: 2px solid rgba(255,255,255,0.3);
}
.visa-card-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
}
.visa-card-info dt {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 2px;
}
.visa-card-info dd {
  font-size: 0.7rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  white-space: nowrap;
}
.visa-card-guarantee {
  padding: 0.625rem 0.75rem;
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.4;
}
.visa-card-guarantee strong {
  display: block;
  color: #1e293b;
  font-size: 0.75rem;
  margin-top: 1px;
}

/* Featured / Highlighted card (US) */
.visa-card-featured {
  border: 2px solid #1b95a3;
  box-shadow: 0 0 20px rgba(27,149,163,0.25), 0 0 60px rgba(27,149,163,0.08);
  animation: glowPulse 3s ease-in-out infinite;
}
.visa-card-featured:hover {
  box-shadow: 0 12px 32px rgba(27,149,163,0.3);
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(27,149,163,0.2), 0 0 60px rgba(27,149,163,0.06); }
  50% { box-shadow: 0 0 30px rgba(27,149,163,0.35), 0 0 80px rgba(27,149,163,0.12); }
}

@media (max-width: 640px) {
  .visa-card-img { height: 200px; }
  .visa-card-info dd { font-size: 0.65rem; }
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(0, 0, 0, 0.3);
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  top: 64px;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 320px;
  background: #ffffff;
  z-index: 46;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}
.mobile-menu-panel.open {
  transform: translateX(0);
}

/* ===== Pulse Animation for CTA ===== */
@keyframes pulse-subtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.pulse-hover:hover {
  animation: pulse-subtle 1s ease infinite;
}

/* ===== Stats Counter Animation ===== */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Keyframe Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ===== Pricing Card Highlight ===== */
.pricing-popular {
  border: 2px solid var(--primary);
  position: relative;
}
.pricing-popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .flag-icon {
    font-size: 2.5rem;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
}

/* ===== Print Styles ===== */
@media print {
  .no-print {
    display: none !important;
  }
}
