/*
Theme Name: AssurVoyage Theme
Theme URI: http://example.com/assurvoyage/
Author: Antigravity
Author URI: http://example.com/
Description: Custom WordPress theme for AssurVoyage.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: assurvoyage
*/

:root {
  /* Colors - Luxury Navy & Gold Theme */
  --primary-color: #1E3A5F;
  --primary-hover: #152943;
  --secondary-color: #D4AF37;
  --secondary-hover: #C9A432;
  --bg-color: #F8FAFC;
  --surface-color: #ffffff;
  --text-primary: #1E3A5F;
  /* Dark Navy for text */
  --text-secondary: #475569;
  /* Slate 600 */
  --border-color: #E2E8F0;

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 32px;
  /* Large rounded corners for cards */
  --radius-full: 9999px;
  /* Pill buttons */

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(30, 58, 95, 0.1), 0 8px 10px -6px rgba(30, 58, 95, 0.1);
  /* Navy tinted shadow */
  --shadow-gold: 0 20px 25px -5px rgba(212, 175, 55, 0.3), 0 8px 10px -6px rgba(212, 175, 55, 0.2);
  /* Glowing gold */

  /* Typography */
  --font-family: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RTL specific overrides defined when dir="rtl" */
[dir="rtl"] {
  --primary-font: 'Plus Jakarta Sans', 'Cairo', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"],
[dir="rtl"] body,
[dir="rtl"] .footer-global {
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header - Glassmorphism */
.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 20px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--secondary-color);
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  margin: 0 18px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
}

.desktop-nav a:hover {
  color: var(--primary-color);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--surface-color);
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 24px;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-primary);
  border-left: 3px solid transparent;
}

[dir="rtl"] .dropdown-menu a {
  border-left: none;
  border-right: 3px solid transparent;
}

.dropdown-menu a:hover {
  background-color: var(--bg-color);
  color: var(--secondary-color);
  border-left-color: var(--secondary-color);
}

[dir="rtl"] .dropdown-menu a:hover {
  border-left-color: transparent;
  border-right-color: var(--secondary-color);
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher select {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--surface-color);
  color: var(--primary-color);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231E3A5F'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

[dir="rtl"] .lang-switcher select {
  background-position: left 12px center;
  padding-right: 16px;
  padding-left: 36px;
}

.lang-switcher select:hover {
  border-color: var(--secondary-color);
}

.lang-switcher select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Base Hamburger & Mobile Nav Hide for Desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-nav {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-color);
  background-image: radial-gradient(at 0% 0%, rgba(30, 58, 95, 1) 0, transparent 50%),
    radial-gradient(at 50% 0%, rgba(212, 175, 55, 0.15) 0, transparent 50%),
    radial-gradient(at 100% 0%, rgba(30, 58, 95, 1) 0, transparent 50%);
  padding: 80px 0;
  color: white;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--secondary-color);
}

.trust-badge span {
  color: white;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: white;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: var(--secondary-color);
  /* Gold text highlight */
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-weight: 500;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Forms & Comparator Card */
.glass-panel {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
}

.glass-panel h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-align: center;
}

.compare-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.full-width {
  grid-column: 1 / -1;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-wrapper label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  background: var(--bg-color);
  color: var(--text-primary);
  transition: var(--transition);
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

/* Custom Select Arrow for Inputs */
.input-wrapper select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

[dir="rtl"] .input-wrapper select {
  background-position: left 16px center;
}

[dir="rtl"] .input-wrapper input,
[dir="rtl"] .input-wrapper select {
  text-align: right;
}

[dir="rtl"] .btn-primary svg {
  transform: scaleX(-1);
}

/* Buttons */
.btn-primary {
  background: var(--secondary-color);
  color: white;
  /* Navy text on Gold also looks good, but let's use white for contrast */
  border: none;
  height: 56px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 25px 30px -5px rgba(212, 175, 55, 0.4);
}

.btn-hero {
  border-radius: var(--radius-full);
  padding: 0 32px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 0 32px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Background Elements for Hero */
.hero-bg-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.8) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
}

/* ==========================================
   NEW PROFESSIONAL SECTIONS (FEATURES & HOW IT WORKS)
   ========================================== */
.features-section {
  padding: 100px 0;
  background-color: var(--bg-color);
  position: relative;
  z-index: 2;
}

.how-it-works-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a2f4c 100%);
  position: relative;
  z-index: 2;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.text-white {
  color: #ffffff !important;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 40px 30px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  /* Override reveal-up so the container shows even before JS fires */
}

/* Colored variants override base */
.feature-card-navy {
  background: linear-gradient(145deg, #ffffff 0%, #eef3ff 100%) !important;
  border-color: rgba(30, 58, 95, 0.15) !important;
}

.feature-card-gold {
  background: linear-gradient(145deg, #ffffff 0%, #fffbec 100%) !important;
  border-color: rgba(212, 175, 55, 0.25) !important;
}

.feature-card-green {
  background: linear-gradient(145deg, #ffffff 0%, #edfff5 100%) !important;
  border-color: rgba(34, 197, 94, 0.18) !important;
}

.feature-card-purple {
  background: linear-gradient(145deg, #ffffff 0%, #f7eeff 100%) !important;
  border-color: rgba(147, 51, 234, 0.15) !important;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.icon-blue {
  background: rgba(30, 58, 95, 0.1);
  color: var(--primary-color);
}

.icon-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--secondary-color);
}

.icon-green {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Steps Grid */
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.step-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  line-height: 1;
}

.step-card h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-card p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
}

.step-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .steps-grid {
    flex-direction: column;
  }

  .step-divider {
    transform: rotate(90deg);
    margin: 20px 0;
  }
}

/* SEO Section / Partners Layout */
.seo-local {
  padding: 100px 0;
  background: var(--bg-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 60px;
  font-size: 1.15rem;
  max-width: 600px;
  margin-inline: auto;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.city-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--surface-color);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.city-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.city-card p {
  color: var(--secondary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.city-card p::after {
  content: "→";
  transition: transform 0.3s ease;
}

[dir="rtl"] .city-card p::after {
  content: "←";
}

.city-card:hover p::after {
  transform: translateX(5px);
}

[dir="rtl"] .city-card:hover p::after {
  transform: translateX(-5px);
}

/* ----- GLOBAL FOOTER ----- */
.footer-global {
  background: var(--primary-color);
  color: white;
  padding: 60px 0 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border-top: 4px solid var(--secondary-color);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 2fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Block 1: Brand */
.footer-brand .footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.footer-brand .footer-desc {
  font-size: 0.95rem;
  color: #CBD5E1;
  /* Muted text */
  margin-bottom: 24px;
  line-height: 1.6;
}

.app-downloads {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.app-downloads img {
  height: 40px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: transform 0.2s;
}

.app-downloads img:hover {
  transform: scale(1.05);
}

.social-links {
  display: flex;
  gap: 12px;
}

@media (max-width: 768px) {
  .social-links {
    justify-content: center;
  }
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: background 0.3s, transform 0.3s;
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* Blocks 2, 3, 4: Links */
.footer-links h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 5px;
}

/* Block 5: Contact */
.footer-contact h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #CBD5E1;
  font-size: 0.95rem;
}

.contact-list svg {
  color: var(--secondary-color);
  flex-shrink: 0;
}

.support-hours {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #94A3B8;
}

/* Dividers */
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  max-width: 1200px;
}

/* Cities Grid */
.footer-cities {
  padding: 40px 0;
  text-align: center;
}

.footer-cities h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.city-chip svg {
  color: var(--secondary-color);
}

.city-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: var(--secondary-color);
}

/* Bottom Legal */
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.copyright {
  font-size: 0.9rem;
  color: #CBD5E1;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.legal-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: white;
}

.ssl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.1);
  /* green tint */
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .desktop-nav a {
    margin: 0 10px;
    font-size: 0.95rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .trust-badge {
    margin: 0 auto 24px auto;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .glass-panel {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  /* Hamburger Menu Styling */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    position: relative;
  }

  .hamburger,
  .hamburger::before,
  .hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
  }

  .menu-toggle.active .hamburger {
    background-color: transparent;
  }

  .menu-toggle.active .hamburger::before {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active .hamburger::after {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Mobile Nav Container */
  .mobile-nav {
    display: flex;
    position: fixed;
    top: 73px;
    /* Below header */
    left: 0;
    width: 100%;
    height: calc(100vh - 73px);
    background: var(--surface-color);
    z-index: 99;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 20px 24px 100px;
    box-shadow: inset 0 10px 15px -10px rgba(0, 0, 0, 0.1);
  }

  [dir="rtl"] .mobile-nav {
    transform: translateX(-100%);
  }

  .mobile-nav.open {
    transform: translateX(0);
  }

  /* Mobile Nav Links */
  .mobile-nav-link,
  .mobile-dropdown-toggle {
    display: block;
    width: 100%;
    text-align: left;
    padding: 16px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    font-family: inherit;
  }

  [dir="rtl"] .mobile-nav-link,
  [dir="rtl"] .mobile-dropdown-toggle {
    text-align: right;
  }

  /* Mobile Dropdown Logic */
  .mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-dropdown-toggle::after {
    content: "▾";
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .mobile-dropdown.open .mobile-dropdown-toggle::after {
    transform: rotate(180deg);
    color: var(--secondary-color);
  }

  .mobile-dropdown.open .mobile-dropdown-toggle {
    color: var(--secondary-color);
  }

  .mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--bg-color);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }

  .mobile-dropdown.open .mobile-dropdown-menu {
    max-height: 1000px;
    /* arbitrary large value for animation */
    padding: 8px 0;
  }

  .mobile-dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
  }

  .mobile-dropdown-menu a:hover {
    color: var(--secondary-color);
  }

  /* Structural fixes for smaller screens */
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .glass-panel {
    padding: 32px 20px;
  }

  .hero {
    padding: 40px 0 80px;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .btn-primary {
    font-size: 1.05rem;
    height: 50px;
  }

  .city-grid {
    grid-template-columns: 1fr;
  }
}

/* RTL Support Details */
[dir="rtl"] .hero-content h1,
[dir="rtl"] .hero-content p {
  text-align: right;
}

@media (max-width: 1024px) {

  [dir="rtl"] .hero-content h1,
  [dir="rtl"] .hero-content p,
  [dir="rtl"] .trust-badge {
    text-align: center;
    margin-inline: auto;
  }
}

/* Responsive Fixes for New Index Sections */
@media (max-width: 900px) {
  .schengen-flex {
    grid-template-columns: 1fr !important;
  }

  .schengen-image {
    order: -1;
    /* image on top on mobile */
  }
}

.faq-question:hover {
  background-color: #f8fafc !important;
}

[dir="rtl"] .faq-question {
  text-align: right !important;
}

/* --- UI Premium Upgrades --- */

/* Scroll Reveal Classes */
.reveal-up {
/*   opacity: 0; */
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* Enhanced Gradient Text Animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.gradient-text {
  background-size: 200% auto;
  animation: gradient-shift 5s ease infinite;
}

/* Floating Input Focus (Comparator & Forms) */
.input-wrapper input:focus,
.input-wrapper select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.seo-content-section input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
  background: #ffffff;
}

/* Button glow hover */
.btn-primary:hover,
#comparator button[type="submit"]:hover {
  box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

/* Better card hover states */
.coverage-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(30, 58, 95, 0.15) !important;
}

.testimonial-card {
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
}

/* Glass panel deeper shadow */
.glass-panel {
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Schengan image float animation */
@keyframes floatY {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.schengen-badge {
  animation: floatY 4s ease-in-out infinite;
}

/* ==========================================
   PREMIUM FEATURES SECTION REDESIGN
   ========================================== */
.features-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Card base overrides */
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 40px 28px 30px;
}

.feature-stat-bg {
  position: absolute;
  top: -10px;
  right: -5px;
  font-size: 5rem;
  font-weight: 900;
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  color: currentColor;
  letter-spacing: -4px;
}

/* Navy tint */
.feature-card-navy {
  background: linear-gradient(145deg, #ffffff 0%, #f0f5ff 100%);
  border-color: rgba(30, 58, 95, 0.12);
}

.feature-card-navy .feature-stat-bg {
  color: var(--primary-color);
}

/* Gold tint */
.feature-card-gold {
  background: linear-gradient(145deg, #ffffff 0%, #fffbf0 100%);
  border-color: rgba(212, 175, 55, 0.2);
}

.feature-card-gold .feature-stat-bg {
  color: var(--secondary-color);
}

/* Green tint */
.feature-card-green {
  background: linear-gradient(145deg, #ffffff 0%, #f0fff5 100%);
  border-color: rgba(34, 197, 94, 0.15);
}

.feature-card-green .feature-stat-bg {
  color: #16a34a;
}

/* Purple tint */
.feature-card-purple {
  background: linear-gradient(145deg, #ffffff 0%, #f8f0ff 100%);
  border-color: rgba(147, 51, 234, 0.12);
}

.feature-card-purple .feature-stat-bg {
  color: #9333ea;
}

/* Icon variants */
.icon-purple {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

/* Feature tag badge */
.feature-tag {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(30, 58, 95, 0.08);
  color: var(--primary-color);
}

.feature-tag-gold {
  background: rgba(212, 175, 55, 0.12);
  color: #A8860F;
}

.feature-tag-green {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.feature-tag-purple {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

/* ==========================================
   PREMIUM STEPS SECTION REDESIGN
   ========================================== */
.steps-grid-premium {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 60px;
}

.step-card-premium {
  flex: 1;
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 48px 32px 36px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.step-card-premium:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.step-num-badge {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

[dir="rtl"] .step-num-badge {
  left: auto;
  right: 20px;
}

.step-icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.18);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
  box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.06);
}

.step-card-premium:hover .step-icon-circle {
  transform: scale(1.15) rotate(-5deg);
  background: rgba(212, 175, 55, 0.28);
  box-shadow: 0 0 0 12px rgba(212, 175, 55, 0.08);
}

.step-card-premium h3 {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card-premium p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
  line-height: 1.65;
}

.step-metric {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #E8C94A;
  letter-spacing: 0.3px;
}

/* Connector between steps */
.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  flex-shrink: 0;
  gap: 8px;
}

.step-connector-line {
  width: 2px;
  flex: 1;
  background: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, 0.2) 0px,
      rgba(255, 255, 255, 0.2) 8px,
      transparent 8px,
      transparent 16px);
  max-height: 60px;
  min-height: 20px;
}

.step-connector-arrow {
  opacity: 0.5;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .steps-grid-premium {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector {
    display: none;
  }
}