/* =====================================================
   FBR SOLUTIONS — MODERN TELECOM REDESIGN
   Design System inspired by AT&T, Verizon, T-Mobile
   ===================================================== */

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --brand-blue:     #0057B8;
  --brand-blue-dk:  #003E85;
  --brand-blue-lt:  #1A74D4;
  --brand-accent:   #00BFFF;
  --brand-navy:     #0A1F44;
  --brand-dark:     #0D1B2A;
  --brand-white:    #FFFFFF;
  --brand-light:    #F4F7FB;
  --brand-gray:     #E8EDF4;
  --brand-muted:    #6B7A99;
  --brand-text:     #1C2B4A;

  --gradient-hero:  linear-gradient(135deg, #0A1F44 0%, #0057B8 60%, #00BFFF 100%);
  --gradient-card:  linear-gradient(145deg, #fff 0%, #f4f7fb 100%);
  --gradient-accent: linear-gradient(90deg, #0057B8, #00BFFF);

  --shadow-sm:  0 2px 8px rgba(0,87,184,0.08);
  --shadow-md:  0 8px 30px rgba(0,87,184,0.12);
  --shadow-lg:  0 20px 60px rgba(0,87,184,0.18);
  --shadow-xl:  0 30px 80px rgba(10,31,68,0.25);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --radius-pill:9999px;

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font:       'Inter', sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--brand-text);
  background: var(--brand-white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

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

/* ---- SECTION PADDING ---- */
.section-pad { padding: 96px 0; }
.bg-light { background: var(--brand-light); }
.bg-dark-blue { background: var(--brand-navy); }

/* ---- TYPOGRAPHY HELPERS ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(0,87,184,0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-label.light {
  color: var(--brand-accent);
  background: rgba(0,191,255,0.12);
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-text);
  margin-bottom: 16px;
}
.section-title.light { color: var(--brand-white); }
.section-sub {
  font-size: 1.05rem;
  color: var(--brand-muted);
  max-width: 580px;
  margin: 0 auto;
}
.body-text {
  font-size: 1rem;
  color: var(--brand-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}
.body-text.light { color: rgba(255,255,255,0.72); }
.section-header { text-align: center; margin-bottom: 56px; }
.text-accent { color: var(--brand-accent); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,87,184,0.3);
}
.btn-primary:hover {
  background: var(--brand-blue-dk);
  box-shadow: 0 8px 28px rgba(0,87,184,0.45);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--brand-accent);
  color: var(--brand-navy);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0,191,255,0.35);
}
.btn-accent:hover {
  background: #00a8e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,191,255,0.5);
}

.btn-white {
  background: #fff;
  color: var(--brand-blue);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: #f0f5ff;
  transform: translateY(-2px);
}

/* ---- IMAGE PLACEHOLDERS ---- */
.img-placeholder {
  background: linear-gradient(135deg, #dce8f7 0%, #b8d0ef 100%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.img-placeholder i { font-size: 2.5rem; opacity: 0.6; }
.img-placeholder.large  { width: 100%; height: 340px; }
.img-placeholder.medium { width: 220px; height: 170px; }

/* ---- TOP BAR ---- */
.topbar {
  background: var(--brand-navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  padding: 8px 0;
  z-index: 1000;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-left span { display: flex; align-items: center; gap: 7px; }
.topbar-left i, .topbar-right i { color: var(--brand-accent); }
.topbar-right a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  font-size: 0.85rem;
}
.topbar-right a:hover { color: var(--brand-accent); }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--brand-white);
  box-shadow: 0 2px 20px rgba(0,30,80,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,30,80,0.13);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.logo-img-footer {
  height: 38px;
  width: 38px;
}
.logo-solutions {
  color: var(--brand-text);
  font-size: 1.15rem;
  font-weight: 700;
}
.footer-logo .logo-solutions {
  color: #fff;
  font-size: 1rem;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-text);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--brand-blue);
  background: rgba(0,87,184,0.07);
}
.nav-menu .fa-chevron-down { font-size: 0.65rem; transition: transform var(--transition); }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown:hover .fa-chevron-down { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 999;
  overflow: hidden;
  border: 1px solid rgba(0,87,184,0.08);
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  padding: 11px 18px;
  border-radius: 0;
  font-size: 0.875rem;
  color: var(--brand-text);
  display: block;
  border-bottom: 1px solid rgba(0,87,184,0.05);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
  background: rgba(0,87,184,0.06);
  color: var(--brand-blue);
  padding-left: 24px;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}
.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='%23ffffff' fill-opacity='0.03'%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");
}
/* Hero logo watermark */
.hero-logo-watermark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.hero-logo-watermark img {
  width: 620px;
  height: 620px;
  object-fit: contain;
  opacity: 0.08;
}

.hero-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-image-placeholder i {
  font-size: 26rem;
  color: rgba(255,255,255,0.03);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,191,255,0.18);
  color: var(--brand-accent);
  border: 1px solid rgba(0,191,255,0.3);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 520px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust .fa-check-circle { color: var(--brand-accent); }
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
  transition: border-color var(--transition), color var(--transition);
}
.hero-scroll-indicator a:hover { border-color: #fff; color: #fff; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ---- PARTNER BAR ---- */
.partner-bar {
  background: var(--brand-white);
  border-top: 1px solid var(--brand-gray);
  border-bottom: 1px solid var(--brand-gray);
  padding: 28px 0;
  overflow: hidden;
}
.partner-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-muted);
  margin-bottom: 18px;
}
.marquee-track { overflow: hidden; }
.marquee-content {
  display: flex;
  gap: 24px;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.partner-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1.5px solid var(--brand-gray);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-muted);
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition);
}
.partner-logo-pill:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.partner-logo-pill i { color: var(--brand-blue); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  position: relative;
  padding-bottom: 16px; /* badge sits below image with small gap */
}
.about-main-img {
  width: 100%;
  height: auto;
  aspect-ratio: unset;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-md);
  display: block;
  background: #0a1f44;
}
.about-img-wrap .about-img-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
  margin-right: 0;
  float: right;
  background: var(--brand-blue);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 18px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  clear: both;
}
.badge-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
  white-space: nowrap;
}
.about-img-secondary { display: none; }
.about-features { margin: 28px 0; display: flex; flex-direction: column; gap: 18px; }
.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.about-feat > i {
  font-size: 1.5rem;
  color: var(--brand-blue);
  margin-top: 3px;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(0,87,184,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-feat strong { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.about-feat p { font-size: 0.875rem; color: var(--brand-muted); margin: 0; }

/* ---- STATS ---- */
.stats-bar {
  background: var(--gradient-accent);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stat-numrow {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
}
.stat-suffix {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--brand-gray);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(0,87,184,0.2);
}
.service-icon-wrap {
  display: none; /* Icon shown in placeholder */
}
.service-img-placeholder {
  background: linear-gradient(135deg, #dce8f7 0%, #c3d8f0 100%);
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition);
}
.service-card:hover .service-img-placeholder {
  background: linear-gradient(135deg, #c3d8f0 0%, #a8c4e8 100%);
}
.service-img-placeholder i { opacity: 0.55; }
.service-card > h3 {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 20px 22px 8px;
  color: var(--brand-text);
}
.service-card > p {
  font-size: 0.875rem;
  color: var(--brand-muted);
  padding: 0 22px;
  flex: 1;
  line-height: 1.7;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  padding: 16px 22px;
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}
.service-link:hover { gap: 12px; color: var(--brand-blue-dk); }
.service-link i { font-size: 0.75rem; }

/* ---- PROCESS ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
  padding-top: 20px;
}
.step-circle {
  width: 52px; height: 52px;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,87,184,0.3);
}
.step-connector {
  position: absolute;
  top: 46px;
  left: calc(50% + 26px);
  width: calc(100% - 52px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-accent));
  z-index: 0;
}
.step-connector.last { display: none; }
.step-icon {
  width: 64px; height: 64px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand-blue);
  font-size: 1.5rem;
  border: 1.5px solid var(--brand-gray);
}
.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brand-text);
}
.process-step p {
  font-size: 0.85rem;
  color: var(--brand-muted);
  line-height: 1.65;
}

/* ---- PORTFOLIO ---- */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-muted);
  background: var(--brand-gray);
  border: 2px solid transparent;
  transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.portfolio-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.port-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dce8f7 0%, #b8d0ef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 3.5rem;
  transition: background var(--transition);
}
.portfolio-card:hover .port-img-placeholder {
  background: linear-gradient(135deg, #c3d8f0 0%, #9abde5 100%);
}
.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,30,80,0.92) 0%, rgba(0,30,80,0.5) 55%, rgba(0,30,80,0.1) 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card:hover .port-overlay { opacity: 1; }
.port-tag {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--brand-navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  align-self: flex-start;
}
.port-overlay h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.port-overlay p { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.port-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-accent);
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap var(--transition);
}
.port-cta:hover { gap: 12px; }

/* Always-visible overlay on mobile */
@media (hover: none) {
  .port-overlay { opacity: 1; }
}

/* ---- WHY US ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: background var(--transition), border-color var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(0,191,255,0.3);
}
.why-card > i {
  font-size: 1.4rem;
  color: var(--brand-accent);
  margin-top: 2px;
  flex-shrink: 0;
}
.why-card h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.why-card p { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; }

/* ---- TESTIMONIALS ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--brand-gray);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.test-quote {
  font-size: 1.5rem;
  color: var(--brand-blue);
  margin-bottom: 16px;
  opacity: 0.5;
}
.testimonial-card > p {
  font-size: 0.9rem;
  color: var(--brand-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.test-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dce8f7, #b8d0ef);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.test-author strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--brand-text); }
.test-author span { font-size: 0.78rem; color: var(--brand-muted); }
.test-stars { color: #F5A623; font-size: 0.85rem; display: flex; gap: 3px; }

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,31,68,0.6);
}
.cta-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.cta-img-placeholder i {
  font-size: 20rem;
  color: rgba(255,255,255,0.04);
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
}
.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
}
.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin: 28px 0; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(0,87,184,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-item strong { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 2px; }
.contact-detail-item span { font-size: 0.9rem; color: var(--brand-muted); }
.contact-social { display: flex; gap: 12px; }
.contact-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,87,184,0.08);
  color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition);
}
.contact-social a:hover { background: var(--brand-blue); color: #fff; }

/* Form */
.contact-form-wrap {
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--brand-gray);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--brand-text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--brand-gray);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--brand-text);
  background: var(--brand-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0,87,184,0.1);
  background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0bbd0;
}
.form-success {
  display: none;
  text-align: center;
  color: #0a8f4e;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.form-success.show { display: flex; }

/* ---- FOOTER ---- */
.footer { background: var(--brand-dark); }
.footer-top { padding: 72px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin: 16px 0 20px;
  line-height: 1.75;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a:hover { background: var(--brand-accent); color: var(--brand-navy); border-color: var(--brand-accent); }
.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--brand-accent); }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.footer-contact-list i { color: var(--brand-accent); margin-top: 2px; flex-shrink: 0; }
.footer-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.cert-badge i { color: var(--brand-accent); }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--brand-accent); }

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--brand-blue-dk);
  transform: translateY(-4px);
}

/* =====================================================
   RESPONSIVE — TABLET
   ===================================================== */
@media (max-width: 1024px) {
  .about-grid,
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .about-img-wrap .img-placeholder.large { height: 280px; }
  .about-img-wrap { padding-bottom: 16px; }
  .about-main-img { width: 100%; height: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .step-connector { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* =====================================================
   RESPONSIVE — MOBILE
   ===================================================== */
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .topbar-left span:last-child { display: none; }

  /* Mobile nav */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: var(--brand-white);
    box-shadow: 0 8px 32px rgba(0,30,80,0.15);
    padding: 20px 24px 28px;
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 998;
    border-top: 2px solid var(--brand-blue);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu ul { flex-direction: column; gap: 4px; }
  .nav-menu a { padding: 12px 16px; font-size: 1rem; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--brand-light);
    border-radius: var(--radius-sm);
    margin-top: 4px;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .hamburger { display: flex; }
  .nav-actions .btn { display: none; }

  .hero-content { padding: 60px 0; }
  .hero-ctas { flex-direction: column; }
  .hero-trust { flex-direction: column; gap: 8px; }

  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-img-secondary { display: none; }
  .about-img-wrap .about-img-badge { float: none; margin: 14px auto 0; padding: 14px 18px; display: flex; }
  .hero-headline { font-size: 2.1rem; }
  .cta-actions { flex-direction: column; align-items: center; }
}
