:root {
  --visa-red: #c8102e;
  --visa-blue: #0c4076;
  --visa-blue-dark: #082d52;
  --visa-gray: #eef2f6;
  --visa-text: #1f2937;
  --visa-muted: #64748b;
  --visa-border: #d6dde7;
  --visa-success: #157347;
  --visa-warning: #b76e00;
  --visa-danger: #b02a37;
  --shadow-soft: 0 18px 45px rgba(12, 64, 118, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--visa-text);
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

a {
  text-decoration: none;
}

.top-strip {
  background: var(--visa-blue-dark);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.top-strip .container {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.site-navbar {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(12, 64, 118, 0.08);
  backdrop-filter: blur(8px);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--visa-red), var(--visa-blue));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-soft);
}

.brand-title {
  line-height: 1.05;
}

.brand-title strong {
  display: block;
  color: var(--visa-blue);
  font-size: 1rem;
}

.brand-title span {
  color: var(--visa-muted);
  font-size: 0.86rem;
}

.nav-link {
  color: var(--visa-blue);
  font-weight: 600;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--visa-red);
}

.lang-switcher {
  display: inline-flex;
  border: 1px solid var(--visa-border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.lang-switcher button {
  border: 0;
  background: transparent;
  color: var(--visa-blue);
  font-weight: 700;
  padding: 0.48rem 0.9rem;
  transition: all 0.25s ease;
}

.lang-switcher button.active {
  background: var(--visa-blue);
  color: #fff;
}

.hero-section {
  padding: 2rem 0 4rem;
}

.hero-carousel {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.hero-slide {
  min-height: 540px;
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 45, 82, 0.92), rgba(12, 64, 118, 0.72), rgba(200, 16, 46, 0.45));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 4rem;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
}

.btn-visa-primary {
  background: var(--visa-red);
  border-color: var(--visa-red);
  color: #fff;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  border-radius: 14px;
}

.btn-visa-primary:hover {
  background: #ac1028;
  border-color: #ac1028;
  color: #fff;
}

.btn-visa-outline {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  border-radius: 14px;
}

.btn-visa-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section-card,
.form-card,
.highlight-card,
.result-card,
.info-card,
.faq-card,
.contact-card,
.map-placeholder {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(12, 64, 118, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.quick-check-wrapper {
  margin-top: -70px;
  position: relative;
  z-index: 2;
}

.quick-check-grid {
  padding: 1.5rem;
}

.section-spacing {
  padding: 4.5rem 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  color: var(--visa-blue);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.section-heading p {
  color: var(--visa-muted);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.highlight-card,
.info-card,
.faq-card,
.contact-card {
  padding: 1.7rem;
  height: 100%;
}

.icon-badge {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.12), rgba(12, 64, 118, 0.12));
  color: var(--visa-red);
  margin-bottom: 1rem;
}

.page-hero {
  padding: 4rem 0 2rem;
}

.page-hero-banner {
  background: linear-gradient(135deg, var(--visa-blue-dark), var(--visa-blue));
  color: #fff;
  border-radius: 28px;
  padding: 3rem;
  box-shadow: var(--shadow-soft);
}

.page-hero-banner h1 {
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-hero-banner p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 720px;
  margin-bottom: 0;
}

.form-card {
  padding: 2rem;
}

.form-label {
  font-weight: 700;
  color: var(--visa-blue);
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 14px;
  border-color: var(--visa-border);
  padding-left: 1rem;
  padding-right: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(12, 64, 118, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(12, 64, 118, 0.12);
}

.result-card {
  padding: 1.75rem;
  display: none;
}

.result-card.show {
  display: block;
  animation: fadeUp 0.35s ease;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.status-approved {
  background: rgba(21, 115, 71, 0.12);
  color: var(--visa-success);
}

.status-pending {
  background: rgba(183, 110, 0, 0.12);
  color: var(--visa-warning);
}

.status-rejected {
  background: rgba(176, 42, 55, 0.12);
  color: var(--visa-danger);
}

.inline-alert {
  display: none;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font-weight: 600;
}

.inline-alert.show {
  display: block;
  animation: fadeUp 0.35s ease;
}

.inline-alert.success {
  background: rgba(21, 115, 71, 0.12);
  color: var(--visa-success);
}

.inline-alert.info {
  background: rgba(12, 64, 118, 0.1);
  color: var(--visa-blue);
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.85rem;
  color: var(--visa-muted);
}

.list-check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--visa-red);
  font-weight: 800;
}

.accordion-item {
  border: 1px solid rgba(12, 64, 118, 0.1);
  border-radius: 18px !important;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}

.accordion-button {
  font-weight: 700;
  color: var(--visa-blue);
  padding: 1.25rem 1.4rem;
}

.accordion-button:not(.collapsed) {
  background: rgba(12, 64, 118, 0.06);
  color: var(--visa-blue-dark);
}

.accordion-button:focus {
  box-shadow: none;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.contact-detail strong {
  display: block;
  color: var(--visa-blue);
  margin-bottom: 0.2rem;
}

.map-placeholder {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--visa-muted);
  background-image: linear-gradient(135deg, rgba(12, 64, 118, 0.06), rgba(200, 16, 46, 0.05));
}

.site-footer {
  background: var(--visa-blue-dark);
  color: rgba(255, 255, 255, 0.84);
  padding: 2rem 0;
  margin-top: 3rem;
}

.site-footer h5,
.site-footer h6 {
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.84);
}

.site-footer a:hover {
  color: #fff;
}

.footer-note {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .hero-content {
    padding: 3rem 2rem;
  }

  .hero-slide {
    min-height: 500px;
  }

  .quick-check-wrapper {
    margin-top: 2rem;
  }

  .page-hero-banner {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-content h1,
  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content {
    padding: 2.2rem 1.3rem 3rem;
  }

  .hero-slide {
    min-height: 480px;
  }

  .form-card,
  .quick-check-grid {
    padding: 1.25rem;
  }

  .section-spacing {
    padding: 3.5rem 0;
  }

  .page-hero {
    padding-top: 2.5rem;
  }
}
