/* PassportPro Theme - Main Styles */

/* Icon Font Fallback System */
.icon {
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', 'Material Icons', sans-serif;
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  display: inline-block;
}

/* Universal Icon Classes */
.icon-phone::before { content: '\f095' !important; }
.icon-location::before { content: '\f3c5' !important; }
.icon-money::before { content: '\f155' !important; }
.icon-email::before { content: '\f0e0'; }
.icon-print::before { content: '\f02f'; }
.icon-share::before { content: '\f064'; }
.icon-download::before { content: '\f019'; }
.icon-document::before { content: '\f15b'; }
.icon-form::before { content: '\f15c'; }
.icon-embassy::before { content: '\f19c'; }
.icon-emergency::before { content: '\f0f3'; }
.icon-jurisdiction::before { content: '\f0e3'; }
.icon-consulate::before { content: '\f19c'; }
.icon-country::before { content: '\f57d'; }
.icon-address::before { content: '\f041'; }
.icon-map::before { content: '\f279'; }
.icon-tags::before { content: '\f02c'; }
.icon-close::before { content: '\f00d'; }
.icon-menu::before { content: '\f0c9'; }
.icon-arrow-down::before { content: '\f107'; }
.icon-arrow-up::before { content: '\f106'; }
.icon-book::before { content: '\f02d'; }
.icon-list::before { content: '\f03a'; }

:root {
  --passport-blue: #1e3a8a;
  --passport-gold: #f59e0b;
  --passport-dark: #1f2937;
  --passport-light: #f8fafc;
  --passport-gray: #6b7280;
  --passport-success: #10b981;
  --passport-warning: #f59e0b;
  --passport-error: #ef4444;
  --border-radius: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--passport-dark);
  background-color: var(--passport-light);
  margin: 0;
  padding: 0;
}

.layout-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--passport-blue);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  /* color: var(--passport-gray); */
}

a {
  color: var(--passport-blue);
  /* text-decoration: none; */
  transition: color 0.3s ease;
}

a:hover {
  color: var(--passport-gold);
}

/* Buttons */
.button, .btn, input[type="submit"] {
  background: var(--passport-blue);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.button:hover, .btn:hover, input[type="submit"]:hover {
  background: var(--passport-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button--secondary {
  background: transparent;
  color: var(--passport-blue);
  border: 2px solid var(--passport-blue);
}

.button--secondary:hover {
  background: var(--passport-blue);
  color: white;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Content Areas */
.main-content {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Responsive Grid */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Utility Classes */
.text-center { text-align: center; }
.text-blue { color: var(--passport-blue); }
.text-gold { color: var(--passport-gold); }
.bg-blue { background-color: var(--passport-blue); }
.bg-light { background-color: var(--passport-light); }

.show-mobile { display: none; }
.hide-mobile { display: block; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Sidebar Toggle Button */
.sidebar-toggle {
  background: linear-gradient(135deg, var(--passport-blue), var(--passport-dark));
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  width: 100%;
  text-align: left;
  font-weight: 600;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  cursor: pointer;
  display: none;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.sidebar-toggle:hover {
  background: linear-gradient(135deg, var(--passport-gold), var(--passport-blue));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.sidebar-toggle::after {
  content: '▼';
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif;
  font-weight: 900;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.sidebar-toggle.is-open::after {
  transform: translateY(-50%) rotate(180deg);
}

.sidebar-toggle.icon-fallback::after {
  content: '\f107';
}

/* Contact Info Styles - Modern & Clean */
.contact-info {
  background: white;
  border-radius: 16px;
  padding: 0;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.1);
  border: 1px solid rgba(30, 58, 138, 0.1);
  overflow: hidden;
}

.contact-info-header {
  background: linear-gradient(135deg, var(--passport-blue), var(--passport-dark));
  color: white;
  padding: 2rem;
  text-align: center;
}

.contact-info-header p {
  color: white;
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.contact-info-subtitle {
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}

.contact-info-item {
  padding: 2rem;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  position: relative;
}

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

.contact-info-item:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.contact-info-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--passport-gold);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.contact-info-item:hover::before {
  transform: scaleY(1);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--passport-blue), var(--passport-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1rem;
  position: relative;
}

.contact-info-icon::before {
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif;
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.contact-info-icon.icon-phone::before {
  content: '\f095' !important;
}

.contact-info-icon.icon-location::before {
  content: '\f3c5' !important;
}

.contact-info-icon.icon-money::before {
  content: '\f155' !important;
}

.contact-info-label {
  font-weight: 700;
  color: var(--passport-dark);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: block;
}

.contact-info-value {
  color: var(--passport-gray);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-phone {
  font-weight: 600;
  color: var(--passport-blue);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-hours {
  color: var(--passport-gray);
  font-size: 0.9rem;
  background: #f1f5f9;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
}

.consultancy-highlight {
  background: linear-gradient(135deg, var(--passport-gold), #fbbf24);
  color: var(--passport-dark);
  font-weight: 700;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: inline-block;
  margin-top: 0.75rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  font-size: 1.1rem;
}

.payment-note {
  margin-top: 0.75rem;
  padding: 1rem;
  background: #fef3c7;
  border-radius: 8px;
  border-left: 4px solid var(--passport-warning);
  font-size: 0.9rem;
  color: #92400e;
}

/* Sidebar Toggle Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== Table Styling with Passport Colors ====== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--passport-gray);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background: var(--passport-light);
}

/* Table base */
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* scrolls if screen smaller */
  font-family: system-ui, Arial, sans-serif;
  font-size: 14px;
  color: var(--passport-dark);
}

/* Header */
thead {
  background: var(--passport-blue);
  color: #fff;
}
thead th {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 2px solid var(--passport-gold);
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Body cells */
tbody td {
  padding: 12px 14px;
  border: 1px solid var(--passport-gray);
  background: #fff;
}

/* Hover effect */
tbody tr:hover td {
  background: #f1f5f9;
}

/* Alternate row */
tbody tr:nth-child(even) td {
  background: var(--passport-light);
}
