/* ==========================================================================
   EGYPTIAN CONSULATE GENERAL IN HOUSTON - OFFICIAL PRODUCTION STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN SYSTEM & TOKENS (:root)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --navy: #0b1f3a;
  --navy-light: #162f52;
  --red: #d71920;
  --red-hover: #b81218;
  --gold: #c49a00;
  --gold-hover: #a88400;
  --gold-light: #f7eed3;

  /* Neutrals */
  --dark: #111111;
  --footer-bg: #191512;
  --light-bg: #f8f9fa;
  --section-alt-bg: #f4f6f9;
  --card-bg: #ffffff;
  --text-dark: #1f2937;
  --text-body: #4b5563;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;

  /* Typography */
  --font-main:
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.16);

  /* Layout & Transitions */
  --navbar-height: 90px;
  --transition-base: all 0.3s ease;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* --------------------------------------------------------------------------
   2. BASE RESETS & TYPOGRAPHY
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition-base);
}

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

img {
  max-width: 100%;
  height: auto;
}

.page-content-wrapper {
  padding-top: var(--navbar-height);
}

.container {
  margin-top: 20px !important;
}
/* --------------------------------------------------------------------------
   3. NAVIGATION BAR (.consulate-navbar)
   -------------------------------------------------------------------------- */
.consulate-navbar {
  background-color: #ffffff;
  padding: 0;
  box-shadow: var(--shadow-sm);
  z-index: 1030;
}

.consulate-navbar .container-fluid {
  min-height: var(--navbar-height);
}

.navbar-brand {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 180px;
  max-height: 90px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text .title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-text .subtitle {
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 1px;
}

.consulate-navbar .navbar-nav {
  align-items: center;
  gap: 4px;
}

.consulate-navbar .nav-link {
  position: relative;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  padding: 24px 14px !important;
  transition: var(--transition-base);
  white-space: nowrap;
}

.consulate-navbar .nav-link:hover {
  color: var(--gold);
}

.consulate-navbar .nav-link.active {
  color: var(--gold);
  font-weight: 700;
}

/* Gold active link underline */
.consulate-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3.5px;
  background-color: var(--gold);
  border-radius: 3px 3px 0 0;
}

/* Dropdown Menu */
.consulate-navbar .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
  border-top-color: var(--text-dark);
}

.consulate-navbar .dropdown-menu {
  margin-top: 0;
  padding: 8px 0;
  border: none;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.consulate-navbar .dropdown-item {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  transition: var(--transition-base);
}

.consulate-navbar .dropdown-item:hover {
  background-color: var(--section-alt-bg);
  color: var(--gold);
  padding-left: 24px;
}

/* Navbar Social Icons & Action Button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icons-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons-nav a {
  color: var(--text-muted);
  font-size: 18px;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--section-alt-bg);
}

.social-icons-nav a:hover {
  color: #ffffff;
  background-color: var(--navy);
  transform: translateY(-2px);
}

.social-icons-nav a.whatsapp:hover {
  background-color: #25d366;
}
.social-icons-nav a.facebook:hover {
  background-color: #1877f2;
}

/*! --------------------------------------------------------------------------
   4. MASTER FOOTER (.site-footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--navy);
  color: #c9c9c9;
  padding: 60px 0 30px;
  font-size: 14px;
  border-top: 4px solid var(--gold);
}

.site-footer h5 {
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer p,
.site-footer li {
  line-height: 1.8;
  color: #d1d5db;
}

.site-footer a {
  color: #d1d5db;
  transition: var(--transition-base);
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer a.gold-link {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 600;
}

.site-footer a.gold-link:hover {
  color: #f3d677;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-base);
}

.footer-social-icons a:hover {
  background-color: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}

.copyright-text {
  color: #9ca3af;
  font-size: 13px;
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   5. BUTTONS & UI COMPONENTS
   -------------------------------------------------------------------------- */
.btn-register,
.btn-gold {
  background-color: var(--gold);
  color: #0b1f3a !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(196, 154, 0, 0.25);
}

.btn-register:hover,
.btn-gold:hover,
.btn-register:focus,
.btn-gold:focus,
.btn-register:active,
.btn-gold:active,
.btn-gold.active {
  background-color: var(--gold-hover);
  color: #0b1f3a !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196, 154, 0, 0.35);
}

.btn-navy {
  background-color: var(--navy);
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-navy:hover {
  background-color: var(--navy-light);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: #ffffff !important;
}

.serviceBtn {
  background-color: var(--navy);
  color: #ffffff !important;
  border: none;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.serviceBtn:hover {
  background-color: var(--gold);
  color: #ffffff !important;
}

/* Common Section Headers */
.section-title {
  color: var(--navy);
  font-size: 32px;
  font-weight: 700;
  position: relative;
}

.section-subtitle {
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title-center {
  color: var(--navy);
  font-size: 34px;
  font-weight: 800;
  margin-top: 6px;
}

.section-description {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto;
}

.section-line {
  height: 2px;
  background: linear-gradient(to right, var(--red), var(--gold));
  flex: 1;
  border-radius: 2px;
}

.view-all {
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-base);
}

.view-all:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   6. PAGE-SPECIFIC SECTIONS
   -------------------------------------------------------------------------- */

/*! Welcome / Hero Section (Homepage)  */
.welcome-section {
  position: relative;
  background-image:
    linear-gradient(rgba(248, 249, 250, 0.88), rgba(248, 249, 250, 0.94)),
    url(../images/hero-background-pattern.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: calc(var(--navbar-height) + 40px);
  padding-bottom: 60px;
}

.welcome-title h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
}

.welcome-card {
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px 40px;
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--gold);
}

.welcome-card p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #e5e7eb;
}

.welcome-card p:last-child {
  margin-bottom: 0;
}

.welcome-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 320px;
}

.welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Leadership Section */
.leadership-section {
  background-color: var(--section-alt-bg);
  padding: 70px 0;
}

.leader-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  height: 100%;
  border: 1px solid var(--border-color);
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.leader-image {
  height: 380px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-image img {
  transform: scale(1.05);
}

.leader-info {
  padding: 24px 20px;
}

.leader-info h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.leader-info p {
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

/* News Section */
.news-section {
  background-color: #ffffff;
  padding: 70px 0;
}

.news-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

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

.news-image {
  height: 250px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #ffffff;
}

.news-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--navy);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  align-self: flex-start;
  margin-top: auto;
}

.read-more:hover {
  background-color: var(--gold);
}

/* Services Section */
.services-section {
  background-color: var(--section-alt-bg);
  padding: 70px 0;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--section-alt-bg);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: var(--transition-base);
  border: 2px solid var(--border-color);
}

.service-card:hover .service-icon {
  background-color: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card a.service-link {
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.service-card a.service-link:hover {
  color: var(--navy);
}

.service-card-no-icon {
  background-color: white;
  border: 1px solid #0b1f3a;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.service-card-no-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px #0b1f3a;
}
.service-card-title {
  color: #0b1f3a;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.service-card-desc {
  color: #7b7a7a;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.service-card-link {
  color: #fff;
  background-color: #0b1f3a;
  border: 1px solid #0b1f3a;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
}
.service-card-link:hover {
  background-color: #011126;
  color: white;
}
/* leader */

.news-content-trimmed {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #676565;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.consul-general {
  background: #fff;
}

.consul-general h2 {
  color: #1d3557;
}

.consul-general p {
  line-height: 1.9;
  color: #666;
}

.consul-general img {
  max-width: 420px;
  width: 100%;
  border-radius: 20px;
}

.career-timeline {
  position: relative;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  background: #c89b3c;
  border-radius: 50%;
  margin-top: 10px;
  position: relative;
  flex-shrink: 0;
}

.timeline-dot::after {
  content: "";
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  top: 18px;
  width: 2px;
  height: 42px;
  background: #ddd;
}

.timeline-item:last-child .timeline-dot::after {
  display: none;
}

.timeline-item p {
  margin: 0;
}

/* Contact Section */
.contact-section {
  background-color: #ffffff;
  padding: calc(var(--navbar-height) + 40px) 0 70px;
}

.contact-card-wrapper {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-info-col {
  padding: 45px 40px;
}

.contact-info-col h2 {
  color: var(--navy);
  font-size: 32px;
  font-weight: 800;
}

.contact-info-col h5 {
  color: var(--red);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-details-list {
  margin-top: 30px;
}

.contact-details-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-details-item i {
  font-size: 20px;
  color: var(--gold);
  margin-top: 4px;
}

.contact-details-item b {
  color: var(--navy);
  display: block;
  font-size: 15px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: none;
}

.jurisdiction-section {
  border-top: 1px solid var(--divider);
  background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
  padding: 40px 40px 44px;
  text-align: center;
}

.jurisdiction-section .section-subtitle {
  display: block;
}

.jurisdiction-section h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 22px;
}

.jurisdiction-states {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.jurisdiction-states span {
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.4px;
  transition: all 0.18s ease;
}

.jurisdiction-states span:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .col-lg-5,
  .col-lg-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .map-container,
  .map-container iframe {
    min-height: 320px;
  }
  .contact-info-col {
    padding: 36px 28px;
  }
  .jurisdiction-section {
    padding: 32px 24px 36px;
  }
}

/*! Consul General Message Page (.welcome-message) */

.welcome-message-page {
  padding-top: calc(var(--navbar-height) + 40px);
  padding-bottom: 70px;
  background-color: var(--section-alt-bg);
  overflow: hidden;
}

.consul-portrait-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border-color);
}

.consul-portrait-box img {
  width: 100%;
  max-width: 320px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.message-body-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-body);
}

.message-body-card p {
  margin-bottom: 18px;
}

.message-signature {
  margin-top: 30px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  border-top: 2px solid var(--section-alt-bg);
  padding-top: 20px;
}

/*! Auth Cards (Login & Register) */

.server-error {
  background-color: rgb(255, 220, 220);
}

.successMessage {
  background-color: rgb(220, 255, 235);
}
.auth-page-wrapper {
  min-height: 100vh;
  padding-top: calc(var(--navbar-height) + 30px);
  padding-bottom: 50px;
  background-color: var(--section-alt-bg);
  display: flex;
  align-items: center;
}

.register-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 45px 40px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gold);
}

.register-card h2 {
  color: var(--navy);
  font-weight: 800;
  font-size: 28px;
}

.auth-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--section-alt-bg);
  border: 3px solid var(--gold);
}

.auth-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-control {
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 15px;
  padding: 10px 16px;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 0, 0.15);
}

textarea.form-control {
  height: 100px;
}

.or-divider {
  position: relative;
  text-align: center;
  margin: 25px 0;
}

.or-divider span {
  background: #ffffff;
  padding: 0 16px;
  position: relative;
  z-index: 2;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.or-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border-color);
  z-index: 1;
}

.eye-icon {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-muted);
}

/*! User Profile & Request Service Templates */
.template-page-header {
  background-color: var(--navy);
  color: #ffffff;
  padding: calc(var(--navbar-height) + 40px) 0 40px;
  border-bottom: 4px solid var(--gold);
}

.template-page-header h1 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
}

.template-content-section {
  padding: 60px 0;
  background-color: var(--section-alt-bg);
}

.profile-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
}

.status-badge.approved {
  background-color: #d1fae5;
  color: #065f46;
}

.status-badge.pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-badge.processing {
  background-color: #dbeafe;
  color: #1e40af;
}

/* !newsDetails */

.template-content-section {
  overflow: hidden;
}
/* --------------------------------------------------------------------------
   7. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Large screens / Laptops (< 1200px) */
@media (max-width: 1199px) {
  .consulate-navbar .nav-link {
    font-size: 14px;
    padding: 24px 10px !important;
  }
}

/* Tablet screens (< 992px) */
@media (max-width: 991px) {
  :root {
    --navbar-height: 76px;
  }

  .consulate-navbar .container-fluid {
    min-height: var(--navbar-height);
  }

  .navbar-collapse {
    background-color: #ffffff;
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    margin-top: 10px;
    border-top: 3px solid var(--gold);
  }

  .consulate-navbar .navbar-nav {
    align-items: stretch;
    gap: 0;
  }

  .consulate-navbar .nav-link {
    padding: 12px 16px !important;
    text-align: left;
    border-bottom: 1px solid var(--section-alt-bg);
  }

  .consulate-navbar .nav-link.active::after {
    display: none;
  }

  .nav-actions {
    margin-top: 15px;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
  }

  .welcome-title h1 {
    font-size: 30px;
    text-align: center;
  }

  .welcome-card {
    padding: 28px 24px;
  }

  .leader-image {
    height: 300px;
  }

  .contact-info-col {
    padding: 30px 24px;
  }

  .map-container iframe {
    min-height: 380px;
  }
}

/* Mobile screens (< 576px) */
@media (max-width: 575px) {
  .logo-img {
    width: 80px;
  }

  .brand-text .title {
    font-size: 11px;
  }

  .brand-text .subtitle {
    font-size: 9px;
  }

  .welcome-title h1 {
    font-size: 24px;
  }

  .section-title,
  .section-title-center {
    font-size: 26px;
  }

  .register-card {
    padding: 30px 20px;
  }

  .message-body-card {
    padding: 24px 20px;
  }
}

/* ================= BUTTON LOADING & CONTRAST PRESERVATION ================= */
.btn.btn-loading,
.btn:disabled,
.btn.disabled {
  cursor: wait !important;
  opacity: 0.85 !important;
  pointer-events: none !important;
}

.btn-gold:disabled,
.btn-gold.disabled,
.btn-gold.btn-loading,
.btn-register:disabled,
.btn-register.disabled,
.btn-register.btn-loading {
  background-color: var(--gold, #c49a00) !important;
  color: #ffffff !important;
  border-color: var(--gold, #c49a00) !important;
}

.btn-navy:disabled,
.btn-navy.disabled,
.btn-navy.btn-loading {
  background-color: var(--navy, #0b1f3a) !important;
  color: #ffffff !important;
  border-color: var(--navy, #0b1f3a) !important;
}

.btn-outline-navy:disabled,
.btn-outline-navy.disabled,
.btn-outline-navy.btn-loading {
  background-color: transparent !important;
  color: var(--navy, #0b1f3a) !important;
  border-color: var(--navy, #0b1f3a) !important;
}
