/* ==========================================================================
   SOLDIER CITY KARACHI — MODERN ENTERPRISE LAYOUT (2ND SOURCE INSPIRATION)
   High-Contrast Crisp Sticky Nav, Fluid Mobile Drawer & Premium Footer
   ========================================================================== */

/* Header & Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -5px rgba(0, 26, 51, 0.08);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.25rem;
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Brand Logo & Clean Typography — 3D Embossed Tactile System (Arose to Screen) */
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0; /* CRITICAL: Never allow brand to be compressed */
  min-width: max-content;
  z-index: 10;
}

.nav-brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-brand a:hover {
  transform: translateY(-1.5px);
}

.nav-brand img {
  height: 44px;
  width: auto;
  border-radius: 0;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 3px 6px rgba(0, 26, 51, 0.22));
  display: block;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand a:hover img {
  transform: translateY(-1px) scale(1.04);
  box-shadow: none;
  filter: drop-shadow(0 5px 12px rgba(0, 26, 51, 0.32));
}

.brand-title-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-main-title {
  font-family: var(--font-sans);
  color: var(--sc-blue); /* Signature Royal Blue #005199 */
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.15;
  white-space: nowrap;
  /* 3D Embossed Chiseled Typographic Shadow */
  text-shadow: 
    0 1px 0 #FFFFFF,
    0 2px 0 rgba(0, 81, 153, 0.25),
    0 3px 2.5px rgba(0, 26, 51, 0.2);
  transition: all 0.2s ease;
}

.brand-main-title span {
  color: var(--sc-accent); /* 2nd Source Amber Orange #FF8601 */
  /* 3D Embossed Accent Shadow */
  text-shadow: 
    0 1px 0 #FFFFFF,
    0 2px 0 rgba(230, 119, 0, 0.35),
    0 3px 2.5px rgba(255, 134, 1, 0.25);
}

.brand-sub-title {
  color: #475569;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 1px;
  white-space: nowrap;
  text-shadow: 0 1px 0 #FFFFFF, 0 1px 1px rgba(0, 26, 51, 0.15);
}

/* Menu Links — Balanced, Distinct & Appropriately Spaced */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sc-blue); /* Theme Blue #005199 for vibrant brand prominence */
  position: relative;
  padding: 0.4rem 0.25rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  letter-spacing: 0.25px;
}

.nav-link:hover, .nav-link.active {
  color: var(--sc-accent); /* Active Amber Orange #FF8601 */
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 2px;
  right: 2px;
  height: 2.5px;
  background-color: var(--sc-accent);
  border-radius: var(--radius-full);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Customer Portal Button — 3D Embossed, Orange Body with Blue Borderline */
.portal-nav-btn {
  background: linear-gradient(180deg, #FFA033 0%, #FF8601 50%, #E67700 100%);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 0.48rem 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 2px solid #005199; /* Blue Borderline Required */
  /* 3D Embossed Physical Extrusion & Bevels */
  box-shadow: 
    0 3.5px 0 #003366,
    0 5px 14px rgba(255, 134, 1, 0.4),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 1px rgba(0, 26, 51, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

.portal-nav-btn:hover {
  background: linear-gradient(180deg, #FFB24D 0%, #FFA033 50%, #FF8601 100%);
  border-color: #003E75;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 
    0 5.5px 0 #002244,
    0 8px 20px rgba(255, 134, 1, 0.5),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.7);
}

.portal-nav-btn:active {
  transform: translateY(2.5px);
  box-shadow: 
    0 1px 0 #002244,
    0 2px 5px rgba(0, 0, 0, 0.25),
    inset 0 1.5px 2px rgba(0, 0, 0, 0.25);
}

.nav-cta-btn {
  background: linear-gradient(180deg, #FFA238 0%, #FF8601 50%, #E67700 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  border: 1.5px solid #FFA534;
  box-shadow: 
    0 3.5px 0 #C46200,
    0 6px 16px rgba(255, 134, 1, 0.35),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
  text-shadow: 0 -1px 0 rgba(160, 70, 0, 0.4);
  transition: all 0.18s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.nav-cta-btn:hover {
  background: linear-gradient(180deg, #FFB24D 0%, #FFA238 50%, #FF8601 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 5.5px 0 #B35800,
    0 9px 20px rgba(255, 134, 1, 0.5),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.65);
  color: #FFFFFF !important;
}
.nav-cta-btn:active {
  transform: translateY(2.5px);
  box-shadow: 0 1px 0 #B35800, 0 2px 5px rgba(255, 134, 1, 0.3);
}

/* 3D Embossed Hamburger Button (Orange with 3 Blue Lines) */
.hamburger-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  width: 42px;
  height: 42px;
  background: linear-gradient(180deg, #FFA238 0%, #FF8601 55%, #E67700 100%);
  border: 1.5px solid #FFA534;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  box-shadow: 
    0 3.5px 0 #C46200,
    0 4px 12px rgba(230, 119, 0, 0.35),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 101;
}
.hamburger-btn span {
  display: block;
  width: 21px;
  height: 2.8px;
  background-color: #00386C; /* Soldier City Royal Blue */
  border-radius: 2px;
  transition: all 0.2s ease;
  box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.15);
}
.hamburger-btn:hover {
  transform: translateY(-1.5px);
  background: linear-gradient(180deg, #FFB24D 0%, #FFA238 50%, #FF8601 100%);
  box-shadow: 
    0 5px 0 #A85300,
    0 6px 16px rgba(230, 119, 0, 0.45),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.7);
}
.hamburger-btn:hover span {
  background-color: #002244;
}
.hamburger-btn:active {
  transform: translateY(2px);
  box-shadow: 
    0 1px 0 #C46200,
    0 2px 4px rgba(230, 119, 0, 0.25);
}
.hamburger-btn svg {
  width: 22px;
  height: 22px;
}

/* Mobile Menu Drawer (2nd Source style slide-over) */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99998;
  background: rgba(0, 17, 36, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.mobile-menu-overlay.active {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF;
  z-index: 99999;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-drawer.active {
  right: 0 !important;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #F1F5F9;
}
.mobile-drawer-close {
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  font-size: 1.25rem;
}
.mobile-drawer-close:hover {
  background: #E2E8F0;
}

.mobile-drawer-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

/* Mobile Drawer Customer Portal Button — 3D Orange Body with Blue Border */
.mobile-drawer-body a[href*="portal"],
.mobile-portal-btn {
  background: linear-gradient(180deg, #FFA033 0%, #FF8601 50%, #E67700 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  padding: 0.75rem 1rem !important;
  border-radius: var(--radius-full) !important;
  border: 2px solid #005199 !important;
  box-shadow: 
    0 3.5px 0 #003366,
    0 5px 14px rgba(255, 134, 1, 0.4),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.15) !important;
  text-shadow: 0 1px 1px rgba(0, 26, 51, 0.45);
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  margin: 0.5rem 0 0.75rem !important;
  transition: all 0.18s ease;
}
.mobile-drawer-body a[href*="portal"]:hover,
.mobile-portal-btn:hover {
  background: linear-gradient(180deg, #FFB24D 0%, #FFA033 50%, #FF8601 100%) !important;
  transform: translateY(-2px);
  box-shadow: 
    0 5.5px 0 #002244,
    0 8px 18px rgba(255, 134, 1, 0.5) !important;
  color: #FFFFFF !important;
}
.mobile-drawer-body a[href*="portal"]:active,
.mobile-portal-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #002244, 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--sc-blue); /* Theme Blue #005199 */
  text-decoration: none;
  transition: all var(--transition-fast);
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: #FFF4E8;
  color: #FF8601;
}
.mobile-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Uniform Page Hero for All Subpages (2nd Source Theme) */
.page-hero {
  padding: 5.25rem 0 3.75rem;
  background: linear-gradient(135deg, #001A33 0%, #005199 100%) !important;
  position: relative;
  color: #FFFFFF;
  text-align: center !important;
  box-sizing: border-box;
}
.page-hero .container {
  text-align: center !important;
  position: relative;
  z-index: 2;
}
.page-hero-subtitle {
  color: #FF8601 !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.88rem !important;
  text-transform: uppercase;
  letter-spacing: 2px !important;
  font-weight: 800 !important;
  display: block;
  margin: 0 auto 0.4rem !important;
  text-align: center !important;
}
.page-hero-title {
  color: #FFFFFF !important;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
  margin: 0 auto !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}
.page-hero-desc {
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 680px;
  margin: 0.85rem auto 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1.02rem !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

/* 2nd Source Elegant Luxury Corporate Footer */
.site-footer {
  background-color: #001428; /* Deep Midnight Navy */
  color: #94A3B8;
  padding-top: 5rem;
  border-top: 3px solid #FF8601;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.1fr 1.1fr 1.8fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-logo {
  height: 52px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
}
.footer-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #94A3B8;
  margin-bottom: 1.25rem;
}
.footer-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.footer-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 81, 153, 0.25);
  border: 1px solid rgba(0, 81, 153, 0.45);
  color: #38BDF8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-col-title {
  font-family: 'Outfit', sans-serif;
  color: #FFFFFF;
  font-size: 1.22rem; /* Increased from 1.05rem */
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 1.5rem;
  position: relative;
}
.footer-col-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 2.5px;
  background-color: #FF8601;
  margin-top: 0.5rem;
  border-radius: 2px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links li { margin-bottom: 0; }
.footer-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #94A3B8;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-link:hover {
  color: #FF8601;
  transform: translateX(4px);
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.6;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.footer-contact-icon {
  color: #FF8601;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
  color: #64748B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
}
.footer-disclaimer {
  background: #000E1C;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.15rem 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.6;
  text-align: center;
}

/* Powered by E-Virtual Support Footer Button */
.footer-powered-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FFA238 0%, #FF8601 50%, #E67700 100%);
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 0.48rem 1.45rem;
  border-radius: var(--radius-full);
  border: 1.5px solid #FFA534;
  box-shadow: 
    0 3px 0 #C46200,
    0 5px 14px rgba(230, 119, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  text-shadow: 0 -1px 0 rgba(160, 70, 0, 0.45);
  text-decoration: none !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}
.footer-powered-btn:hover {
  transform: translateY(-2px);
  color: #FFFFFF !important;
  box-shadow: 
    0 5px 0 #B35800,
    0 8px 20px rgba(230, 119, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.footer-powered-btn:active {
  transform: translateY(1.5px);
  box-shadow: 0 1px 0 #B35800, 0 2px 4px rgba(230, 119, 0, 0.25);
}

/* Mobile Sticky Bottom CTA Bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
  grid-template-columns: repeat(3, 1fr);
}
.mobile-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 2px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.mobile-cta-btn.call { color: #059669; }
.mobile-cta-btn.whatsapp { color: #25D366; }
.mobile-cta-btn.book {
  background: linear-gradient(180deg, #FFA033 0%, #FF8601 50%, #E67700 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.5), inset 0 -1.5px 0 rgba(0, 0, 0, 0.15);
  text-shadow: 0 -1px 0 rgba(160, 70, 0, 0.45);
}
.mobile-cta-btn:active {
  transform: scale(0.96);
}
