/* ===================================================
   FALCON AIRPORTS – Main Stylesheet
   =================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark:  #001F4D;
  --blue-mid:   #0057B8;
  --blue-light: #0099FF;
  --accent:     #00C8FF;
  --white:      #FFFFFF;
  --off-white:  #F0F4F8;
  --dark-bg:    #050E1F;
  --dark-bg2:   #081525;
  --card-bg:    #0A1E35;
  --text-muted: #8BA6C1;
  --text-body:  #C5D8EC;
  --border:     rgba(0,153,255,0.15);
  --radius:     8px;
  --transition: 0.3s ease;
  --font-head:  'Rajdhani', sans-serif;
  --font-body:  'Inter', sans-serif;
}

.pi-iraq-large {
    height: 280px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

.pi-iraq-sm {
    height: 280px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}
.pi-large {
   height: 280px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}
.pi-sm{
   height: 280px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}
.pi-medium{
   height: 280px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

.lifecycle-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    color: white;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 1px;
    
    z-index: 10;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
  border-color: var(--blue-mid);
}
.btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--blue-light); color: var(--blue-light); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }

.full-width { width: 100%; text-align: center; }

/* ---------- Section Base ---------- */
.section { padding: 100px 0; }
.dark-section { background: var(--dark-bg2); }

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
}
.section-tag.light { color: var(--accent); border-color: rgba(0,200,255,0.3); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-header p {
  margin-top: 16px;
  color: var(--text-muted);
}

/* ---------- HEADER ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5,14,31,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
#site-header.scrolled { background: rgba(5,14,31,0.98); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-text em {
  display: block;
  font-style: normal;
  font-size: 0.65rem;
  color: var(--blue-light);
  letter-spacing: 0.2em;
}
.logo-text.small { font-size: 0.95rem; }

#main-nav ul {
  display: flex;
  gap: 2px;
  align-items: center;
}
#main-nav a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 4px;
  transition: color var(--transition);
  letter-spacing: 0.03em;
}
#main-nav a:hover { color: var(--white); }
.nav-cta {
  background: var(--blue-mid) !important;
  color: var(--white) !important;
  font-family: var(--font-head);
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  font-size: 0.82rem !important;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--blue-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('hero_bridge_1791044508237.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,5,20,0.92) 0%,
    rgba(0,31,77,0.75) 60%,
    rgba(0,20,50,0.6) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-tag {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--blue-light);
}
.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero-sub {
  font-size: 1.05rem;
  max-width: 580px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--blue-light);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { top: 6px; opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

/* ---------- STATS ---------- */
.stats-bar {
  background: var(--blue-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--white), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- SOLUTIONS CARDS ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover { transform: translateY(-6px); border-color: rgba(0,153,255,0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.card:hover::before { opacity: 1; }

.card-featured {
  border-color: rgba(0,153,255,0.5);
  background: linear-gradient(135deg, #0A1E35, #0D2A4A);
}
.card-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--blue-mid);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.card-link:hover { color: var(--accent); }

/* ---------- TWO-COL ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.reverse-col { direction: rtl; }
.reverse-col > * { direction: ltr; }

.col-text h2 { margin-bottom: 16px; }
.col-text p { color: var(--text-muted); margin-bottom: 16px; }

.feature-list { margin: 28px 0; display: flex; flex-direction: column; gap: 20px; }
.feature-list li { display: flex; gap: 16px; }
.feat-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: rgba(0,153,255,0.15);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  font-size: 0.7rem;
  margin-top: 2px;
}
.feature-list strong { display: block; color: var(--white); margin-bottom: 4px; }
.feature-list p { font-size: 0.88rem; margin: 0; }

/* ---------- TECH VISUAL ---------- */
.tech-visual-box {
  width: 380px;
  height: 380px;
  position: relative;
  margin: auto;
}
.tech-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--border);
}
.ring-1 { width: 100%; height: 100%; animation: spin 20s linear infinite; border-color: rgba(0,153,255,0.2); }
.ring-2 { width: 70%; height: 70%; animation: spin 12s linear infinite reverse; border-style: dashed; border-color: rgba(0,153,255,0.15); }
.ring-3 { width: 40%; height: 40%; animation: spin 8s linear infinite; border-color: rgba(0,153,255,0.25); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.tech-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.tech-label {
  position: absolute;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(5,14,31,0.85);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.tl1 { top: 8%; left: 50%; transform: translateX(-50%); }
.tl2 { top: 50%; right: 2%; transform: translateY(-50%); }
.tl3 { bottom: 8%; left: 50%; transform: translateX(-50%); }
.tl4 { top: 50%; left: 2%; transform: translateY(-50%); }

/* ---------- PROJECTS ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 200px;
  gap: 20px;
}
.project-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition);
}
.project-item:hover { transform: scale(1.02); }
.project-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,10,30,0.95) 0%, rgba(0,30,70,0.3) 60%, transparent 100%);
}
/* Animated gradient backgrounds for projects */
.pi-large {
  grid-column: span 2;
  background: linear-gradient(135deg, #001040 0%, #003080 40%, #0060B0 100%);
}
.pi-sm { background: linear-gradient(135deg, #001830 0%, #004070 100%); }
.pi-medium { background: linear-gradient(135deg, #002040 0%, #005090 100%); }

/* Add noise texture via pseudo-element */
.project-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230057B8' fill-opacity='0.08'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2L74 40h-2zm4 0l4-4v2L78 40h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.project-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
  z-index: 2;
}
.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(0,87,184,0.3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.project-overlay h3 { font-size: 1.05rem; margin-bottom: 4px; }
.project-overlay p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ---------- SERVICES ---------- */
.light-header h2, .light-header .section-tag, .light-header p { color: var(--white); }
.light-header p { color: var(--text-muted); }

.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 60px;
}
.service-block { border-top: 1px solid var(--border); padding-top: 28px; }
.svc-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  opacity: 0.7;
}
.service-block h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-block p { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- ABOUT ---------- */
.about-visual { display: flex; align-items: center; justify-content: center; }
.about-img-box {
  width: 360px; height: 360px;
  background: rgba(0,87,184,0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.about-img-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-line {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.about-square {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.sq1 { width: 280px; height: 280px; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(12deg); }
.sq2 { width: 200px; height: 200px; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg); background: rgba(0,153,255,0.04); }

.about-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.cert {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #003580 50%, var(--blue-dark) 100%);
  text-align: center;
  overflow: hidden;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230099FF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1rem; }

/* ---------- CONTACT ---------- */
.contact-layout { gap: 60px; align-items: start; }
.contact-info { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.ci-item strong { display: block; color: var(--white); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.ci-item span { font-size: 0.9rem; color: var(--text-muted); }

.contact-form-wrap {
  background: rgba(0,10,30,0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-light); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(139,166,193,0.4); }
.form-group select option { background: var(--dark-bg); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  text-align: center;
  padding: 20px;
  color: #4ade80;
  font-weight: 500;
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: var(--radius);
  background: rgba(74,222,128,0.05);
}
.hidden { display: none; }

/* ---------- FOOTER ---------- */
.site-footer { background: #020A18; border-top: 1px solid var(--border); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 16px 0 20px;
  line-height: 1.6;
}
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-links a:hover { border-color: var(--blue-light); color: var(--blue-light); }

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 18px;
  opacity: 0.7;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--blue-light); }
.office-list li { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom span { font-size: 0.78rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.78rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--blue-light); }

/* ---------- IMAGE CARDS ---------- */
.card-img {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-photo {
  position: relative;
  height: 190px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.5s ease;
}
.card-img:hover .card-photo { transform: scale(1.05); }

.card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(5,14,31,0.85) 100%);
}

.card-photo-gradient {
  background: linear-gradient(135deg, #001240 0%, #003080 40%, #0060A0 70%, #001F50 100%);
}

.card-photo-tag {
  position: absolute;
  bottom: 12px; left: 16px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0,87,184,0.55);
  border: 1px solid rgba(0,153,255,0.4);
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card-body p  { font-size: 0.88rem; color: var(--text-muted); flex: 1; margin-bottom: 18px; }

.btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--blue-light);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 9px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  width: fit-content;
}
.btn-readmore span { transition: transform var(--transition); }
.btn-readmore:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  color: var(--white);
}
.btn-readmore:hover span { transform: translateX(4px); }

/* ---------- MODAL SYSTEM ---------- */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,5,18,0.82);
  z-index: 1100;
  backdrop-filter: blur(6px);
  animation: fadeIn 0.25s ease;
}
.modal-backdrop.active { display: block; }

.sol-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  z-index: 1200;
  width: min(92vw, 840px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--dark-bg2);
  border: 1px solid rgba(0,153,255,0.25);
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.sol-modal.active {
  display: block;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  animation: modalPop 0.3s ease forwards;
}
@keyframes modalPop {
  from { transform: translate(-50%, -50%) scale(0.94); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--blue-mid); border-color: var(--blue-mid); }

.modal-img {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}
.modal-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 40%, var(--dark-bg2) 100%);
  border-radius: 12px 12px 0 0;
}

.modal-content {
  padding: 32px 40px 40px;
}
.modal-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 14px;
}
.modal-content h2 { font-size: 1.8rem; margin-bottom: 14px; }
.modal-content > p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 28px; }
.modal-content h4 { font-size: 0.8rem; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; margin: 24px 0 12px; }

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 4px;
}
.spec-item {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: rgba(0,87,184,0.06);
  border-bottom: 1px solid var(--border);
}
.spec-item:nth-last-child(-n+2) { border-bottom: none; }
.spec-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.spec-val {
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 500;
}

.modal-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.modal-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 8px 12px;
  border-left: 2px solid var(--blue-mid);
  background: rgba(0,87,184,0.06);
  border-radius: 0 4px 4px 0;
}

/* scrollbar inside modal */
.sol-modal::-webkit-scrollbar { width: 5px; }
.sol-modal::-webkit-scrollbar-track { background: transparent; }
.sol-modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }


@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .reverse-col { direction: ltr; }
  .tech-visual-box { width: 300px; height: 300px; }
  .about-img-box { width: 300px; height: 300px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .services-row { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  #main-nav { display: none; }
  #main-nav.open {
    display: block;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(5,14,31,0.98);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
  }
  #main-nav.open ul { flex-direction: column; gap: 4px; }
  #main-nav.open a { display: block; padding: 10px; }
  .hamburger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .pi-large, .pi-sm, .pi-medium { grid-column: span 1; height: 200px; }

  /* Modal full-screen on mobile */
  .sol-modal {
    width: 100%;
    max-height: 100dvh;
    top: 0; left: 0;
    transform: none;
    border-radius: 0;
  }
  .sol-modal.active { transform: none; animation: none; opacity: 1; }
  .modal-img { height: 180px; border-radius: 0; }
  .modal-img-overlay { border-radius: 0; }
  .modal-content { padding: 20px 18px 32px; }
  .modal-specs { grid-template-columns: 1fr; }
  .services-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
  .footer-bottom .container { flex-direction: column; gap: 12px; text-align: center; }
  .tech-visual-box { width: 240px; height: 240px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact-form-wrap { padding: 24px 20px; }
}

/* ---------- IRAQ PROJECT CARDS ---------- */
.iraq-highlight {
  border-color: rgba(195, 150, 30, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(195,150,30,0.15), inset 0 0 60px rgba(195,150,30,0.04);
}
.iraq-highlight:hover {
  border-color: rgba(220, 175, 50, 0.7) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(220,175,50,0.3);
}

/* Large Iraq card — spans 2 columns */
.pi-iraq-large {
  grid-column: span 2;
  height: 240px;
  background: linear-gradient(135deg, #1a0e00 0%, #3a2000 40%, #5a3200 70%, #2a1800 100%);
}

/* Small Iraq card — 1 column */
.pi-iraq-sm {
  height: 240px;
  background: linear-gradient(135deg, #0f0a00 0%, #2a1800 50%, #3d2500 100%);
}

/* Top ribbon badge */
.project-badge-iraq {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: rgba(195,150,30,0.2);
  border: 1px solid rgba(195,150,30,0.5);
  color: #f0c040;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Iraq-specific project tag */
.iraq-tag {
  color: #f0c040 !important;
  background: rgba(195,150,30,0.15) !important;
  border-color: rgba(195,150,30,0.35) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em !important;
  text-transform: none !important;
}

/* Top glow line on Iraq cards */
.iraq-highlight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c3961e, #f0c040, #c3961e, transparent);
  z-index: 2;
}

/* Responsive — collapse Iraq cards to single column on mobile */
@media (max-width: 768px) {
  .pi-iraq-large,
  .pi-iraq-sm { grid-column: span 1; height: 220px; }
}

/* ===================================================
   MULTI-PAGE EXTENSIONS & INTERACTIVE COMPONENTS
   =================================================== */

/* ---------- Active Nav Link ---------- */
#main-nav a.active {
  color: var(--accent) !important;
  background: rgba(0, 153, 255, 0.12);
  border-bottom: 2px solid var(--accent);
}

/* ---------- Page Hero (Subpages) ---------- */
.page-hero {
  position: relative;
  min-height: 400px;
  padding: 140px 0 70px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #020b18 0%, #061933 60%, #0a254c 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(0, 153, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230099FF' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb span.sep { opacity: 0.4; }
.breadcrumb span.current { color: var(--accent); font-weight: 500; }

.page-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  margin-bottom: 18px;
  line-height: 1.1;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 720px;
  line-height: 1.7;
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover {
  color: var(--white);
  border-color: rgba(0, 153, 255, 0.4);
  background: rgba(0, 153, 255, 0.1);
}
.filter-btn.active {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 87, 184, 0.4);
}

/* ---------- Technical Specification Table ---------- */
.tech-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 40px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.tech-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  min-width: 780px;
}
.tech-table th,
.tech-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.tech-table th {
  background: rgba(0, 31, 77, 0.6);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  font-weight: 700;
}
.tech-table tr:last-child td { border-bottom: none; }
.tech-table tr:hover td { background: rgba(0, 153, 255, 0.04); }
.tech-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.72rem;
  border-radius: 4px;
  background: rgba(0, 200, 255, 0.15);
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Solution Advisor / Configurator Widget ---------- */
.advisor-box {
  background: linear-gradient(135deg, rgba(8, 21, 37, 0.95), rgba(10, 30, 53, 0.95));
  border: 1px solid rgba(0, 153, 255, 0.3);
  border-radius: var(--radius);
  padding: 44px;
  margin: 60px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.advisor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.advisor-card {
  background: rgba(0, 10, 30, 0.65);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px;
  animation: fadeIn 0.4s ease;
}
.advisor-card h3 {
  font-size: 1.4rem;
  margin: 12px 0 10px;
  color: var(--white);
}
.advisor-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.advisor-spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.advisor-spec-list li {
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 6px 10px;
  background: rgba(0, 153, 255, 0.08);
  border-radius: 4px;
}
.advisor-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Telemetry Simulator & HUD (Technology Page) ---------- */
.telemetry-hud {
  background: #020914;
  border: 1px solid rgba(0, 153, 255, 0.4);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 87, 184, 0.25);
  overflow: hidden;
}
.telemetry-hud::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--blue-light), transparent);
}
.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.hud-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
}
.hud-title-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.status-tag {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}
.status-standby { background: rgba(0, 153, 255, 0.15); color: var(--blue-light); border: 1px solid var(--border); }
.status-engaging { background: rgba(255, 176, 32, 0.2); color: #ffb020; border: 1px solid rgba(255, 176, 32, 0.4); }
.status-ready { background: rgba(0, 255, 136, 0.15); color: #00ff88; border: 1px solid rgba(0, 255, 136, 0.4); }

.hud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.hud-gauge {
  background: rgba(0, 31, 77, 0.35);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 16px;
  text-align: center;
}
.gauge-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.gauge-val {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.sim-progress-wrap {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.sim-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-mid), var(--accent));
  transition: width 0.1s linear;
}

.sim-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-sim {
  padding: 10px 20px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  transition: all var(--transition);
}
.btn-sim:hover { background: var(--blue-mid); border-color: var(--blue-mid); }
.btn-sim-primary { background: var(--blue-mid); border-color: var(--blue-mid); color: var(--white); }
.btn-sim-primary:hover { background: var(--blue-light); border-color: var(--blue-light); }

/* ---------- Case Study Spotlight Box ---------- */
.case-study-box {
  background: linear-gradient(135deg, #091728 0%, #0d2642 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px;
  margin: 50px 0;
  position: relative;
  overflow: hidden;
}
.case-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
  text-align: center;
}
.metric-stat {
  background: rgba(0, 10, 30, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.metric-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.metric-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ---------- Service SLA Tier Cards ---------- */
.sla-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0;
}
.sla-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.sla-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 153, 255, 0.5);
}
.sla-featured {
  border-color: var(--blue-light);
  background: linear-gradient(135deg, #0b223d 0%, #0e2d50 100%);
  box-shadow: 0 16px 36px rgba(0, 87, 184, 0.25);
}
.sla-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--dark-bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.sla-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.sla-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.sla-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}
.sla-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
}
.sla-features li span.chk {
  color: #00ff88;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- 30-Year Milestones Timeline ---------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 50px auto 0;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-light), var(--accent), var(--blue-dark));
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dark-bg);
  border: 3px solid var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.timeline-year {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.timeline-title {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
}
.timeline-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- Leadership Team Grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(0, 153, 255, 0.4); }
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 87, 184, 0.2);
  border: 2px solid var(--blue-light);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.team-name { font-size: 1.1rem; margin-bottom: 4px; }
.team-role { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-light); margin-bottom: 12px; }
.team-bio { font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }

/* ---------- Offices Directory & Emergency Hotline ---------- */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.office-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color var(--transition);
}
.office-card:hover { border-color: rgba(0, 153, 255, 0.4); }
.office-flag { font-size: 1.5rem; margin-bottom: 10px; display: inline-block; }
.office-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.office-card p { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.office-card .contact-link {
  display: block;
  font-size: 0.84rem;
  color: var(--blue-light);
  margin-top: 4px;
}
.office-card .contact-link:hover { color: var(--accent); }

.aog-hotline-card {
  background: linear-gradient(135deg, rgba(80, 10, 20, 0.6) 0%, rgba(20, 5, 10, 0.8) 100%);
  border: 1px solid rgba(255, 80, 80, 0.4);
  border-radius: 10px;
  padding: 28px 36px;
  margin: 32px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.aog-hotline-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.aog-beacon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 14px #ff3b30;
  animation: pulse 1.2s infinite;
}
.aog-hotline-title h3 { font-size: 1.3rem; color: #ff6b6b; margin-bottom: 2px; }
.aog-hotline-title p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.aog-phone {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  padding: 8px 20px;
  border: 1px solid rgba(255, 100, 100, 0.4);
  border-radius: 6px;
  background: rgba(255, 50, 50, 0.15);
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 860px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.active { border-color: var(--blue-light); }
.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  user-select: none;
}
.faq-icon {
  font-size: 1.2rem;
  color: var(--blue-light);
  transition: transform var(--transition);
}
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

/* ---------- Responsive Adjustments for Subpages ---------- */
@media (max-width: 1024px) {
  .sla-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hud-grid { grid-template-columns: repeat(2, 1fr); }
  .advisor-grid { grid-template-columns: 1fr; }
  .case-metrics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero { padding: 120px 0 50px; min-height: 340px; }
  .offices-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .advisor-box { padding: 24px 18px; }
  .telemetry-hud { padding: 20px 16px; }
  .hud-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .aog-hotline-card { flex-direction: column; text-align: center; }
  .aog-hotline-title { flex-direction: column; }
}

