/* ═══════════════════════════════════════════════
   NEXACOMM — TELECOM HOMEPAGE STYLES
   Theme: Red · White · Grey | Sans-serif
═══════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --red: #C0392B;
  --red-dark: #8B0000;
  --red-bright: #E74C3C;
  --red-light: #FF6B6B;
  --red-pale: #FFF0EF;
  --white: #FFFFFF;
  --off-white: #F5F5F7;
  --grey-light: #F0F0F0;
  --grey: #E8E8E8;
  --grey-mid: #CCCCCC;
  --grey-text: #888888;
  --dark: #1A1A1A;
  --dark-2: #2A2A2A;
  --text: #333333;
  --text-light: #666666;
  --font-display: 'Urbanist', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-red: 0 8px 30px rgba(192,57,43,0.25);
  --radius: 8px;
  --radius-lg: 16px;
}

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--grey-light); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── CONTAINER ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── SECTION UTILITIES ── */
.section-light { background: var(--off-white); }
.section-white { background: var(--white); }
.section-grey  { background: #F2F4F6; }

/* ── TYPOGRAPHY ── */
.section-label-sm {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title-dark {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-sub-dark {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 580px;
}
.text-red {
  color: var(--red);
}
.section-head.center { text-align: center; }
.section-head.center .section-sub-dark { margin: 0 auto; }
.section-head.between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.center { text-align: center; }

/* ── BUTTONS ── */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-red);
  position: relative;
  overflow: hidden;
}
.btn-red::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn-red:hover::before { left: 100%; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(192,57,43,0.35); }

.btn-outline-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--red);
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-outline-red:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: transparent;
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--dark);
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--white);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--red-pale); transform: translateY(-2px); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ── FLOATING ANIMATIONS ── */
@keyframes floatUp {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}
@keyframes floatUpSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes floatSide {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scalePop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.3); }
  50% { box-shadow: 0 0 0 12px rgba(192,57,43,0); }
}
@keyframes slideRight {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.float-img { animation: floatUp 4s ease-in-out infinite; }
.float-img-slow { animation: floatUpSlow 6s ease-in-out infinite; }

/* ── SCROLL REVEAL ── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal { transform: translateY(36px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════
   TOPBAR
═══════════════════════════════════════ */
.topbar {
  background: var(--red);
  padding: 8px 0;
  position: relative;
  z-index: 100;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.9);
}
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-right a { color: rgba(255,255,255,0.9); font-size: 12.5px; font-weight: 500; transition: color 0.2s; }
.topbar-right a:hover { color: white; }
.topbar-socials { display: flex; align-items: center; gap: 10px; }
.topbar-socials a { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: rgba(255,255,255,0.15); border-radius: 50%; transition: background 0.2s; color: white; }
.topbar-socials a:hover { background: rgba(255,255,255,0.3); }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
#navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo span { color: var(--red); }
.logo-icon {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.nav-menu li a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-menu li a:hover { color: var(--red); }
.nav-menu li a svg { opacity: 0.6; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--dark);
  transition: color 0.2s;
}
.nav-cart:hover { color: var(--red); }
.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-search-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  border-radius: 50%;
  transition: all 0.2s;
}
.nav-search-btn:hover { background: var(--grey-light); color: var(--red); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--red-pale);
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}
/* Search Bar */
.nav-search-bar {
  display: none;
  background: var(--off-white);
  border-top: 1px solid var(--grey);
  padding: 12px 48px;
}
.nav-search-bar.open { display: block; }
.search-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  border: 1.5px solid var(--grey);
  border-radius: 4px;
  overflow: hidden;
  background: white;
}
.search-inner input {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  border: none;
  outline: none;
  color: var(--text);
}
.search-inner button {
  padding: 10px 20px;
  background: var(--red);
  color: white;
  transition: background 0.2s;
}
.search-inner button:hover { background: var(--red-dark); }

/* ═══════════════════════════════════════
   SECTION 1 — HERO
═══════════════════════════════════════ */
#hero {
  background: linear-gradient(135deg, var(--white) 0%, #FDF0EF 50%, #F9E9E7 100%);
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero-bg-shape {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192,57,43,0.08) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.2);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
  align-items: center;
}
.hero-features span { white-space: nowrap; }
.hero-features .dot { margin: 0 8px; color: var(--grey-mid); }
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 36px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -2px;
  line-height: 1;
}
.price-period {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust-avatars { display: flex; }
.trust-avatars img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  margin-right: -10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.trust-stars { color: #F4C430; font-size: 14px; letter-spacing: 1px; }
.trust-label { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-shape-bg {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.07) 0%, transparent 70%);
  z-index: 0;
}
.hero-img-main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-main img { width: 100%; height: 340px; object-fit: cover; }

/* Float Cards */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  min-width: 180px;
  border: 1px solid var(--grey);
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--dark); }
.float-card span { font-size: 12px; color: var(--text-light); }
.float-card-1 {
  top: 20px;
  left: -20px;
  animation: floatUpSlow 5s 0.5s ease-in-out infinite;
}
.float-card-2 {
  bottom: 60px;
  left: -10px;
  animation: floatUpSlow 4.5s 1s ease-in-out infinite;
}
.float-card-3 {
  top: 40px;
  right: -20px;
  animation: floatUpSlow 6s 0s ease-in-out infinite;
  flex-direction: row-reverse;
  text-align: right;
}
.fc3-content { display: flex; flex-direction: column; }
.fc3-num { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--dark); line-height: 1; }
.fc3-label { font-size: 11px; color: var(--text-light); }

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
}
.hero-wave svg { display: block; }

/* ═══════════════════════════════════════
   SECTION 2 — KEY SERVICES
═══════════════════════════════════════ */
#services { padding: 90px 0; }
.section-head.center { margin-bottom: 56px; }
.services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grey);
  border: 1px solid var(--grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc-card {
  background: var(--white);
  padding: 40px 32px;
  transition: all 0.35s ease;
  position: relative;
  cursor: pointer;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--red);
  transition: width 0.35s ease;
}
.svc-card:hover::after, .svc-card-active::after { width: 100%; }
.svc-card:hover, .svc-card-active { background: var(--off-white); }
.svc-card-active { background: var(--red) !important; }
.svc-card-active::after { background: rgba(255,255,255,0.4) !important; }
.svc-card-active .svc-icon { color: white; }
.svc-card-active h3 { color: white; }
.svc-card-active p { color: rgba(255,255,255,0.8); }
.svc-card-active .svc-link { color: rgba(255,255,255,0.9); }
.svc-icon {
  color: var(--red);
  margin-bottom: 20px;
  transition: color 0.3s;
}
.svc-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.svc-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  transition: gap 0.3s;
}
.svc-link:hover { gap: 12px; }

/* ═══════════════════════════════════════
   SECTION 3 — ABOUT
═══════════════════════════════════════ */
#about { padding: 90px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {}
.about-img-wrap {
  position: relative;
  height: 520px;
}
.about-img-main {
  position: absolute;
  top: 0; left: 0; right: 60px; bottom: 70px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-sub {
  position: absolute;
  bottom: 0; right: 0;
  width: 190px; height: 230px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 5px solid white;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.about-img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-box {
  position: absolute;
  top: 30px; right: 30px;
  background: var(--red);
  color: white;
  padding: 20px 22px;
  border-radius: var(--radius);
  z-index: 3;
  box-shadow: var(--shadow-red);
  text-align: center;
  animation: floatUpSlow 5s ease-in-out infinite;
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.badge-label {
  display: block;
  font-size: 11px;
  opacity: 0.85;
  letter-spacing: 0.5px;
}
.badge-stars {
  font-size: 12px;
  margin-top: 6px;
  opacity: 0.85;
}
.badge-stars small { font-size: 10px; }
.about-text .section-title-dark { margin-bottom: 16px; }
.about-desc { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 32px; }
.about-feats { display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; }
.about-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feat-icon {
  width: 50px; height: 50px; min-width: 50px;
  background: var(--red-pale);
  border: 1px solid rgba(192,57,43,0.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.about-feat:hover .feat-icon { background: rgba(192,57,43,0.12); }
.about-feat h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.about-feat p { font-size: 13.5px; color: var(--text-light); line-height: 1.6; }
.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.about-clients {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--grey);
}
.about-clients p { font-size: 14px; color: var(--text-light); }
.about-clients strong { color: var(--dark); }

/* ═══════════════════════════════════════
   SECTION 4 — STATS
═══════════════════════════════════════ */
#stats {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}
.stats-bg-img {
  position: absolute;
  inset: 0;
  background: url('assets/photo-1451187580459-43490279c0fa.jpg') center/cover no-repeat;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,0,0,0.92) 0%, rgba(192,57,43,0.88) 50%, rgba(139,0,0,0.92) 100%);
}
#stats .container { position: relative; z-index: 2; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-card {
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  padding: 50px 32px;
  text-align: center;
  transition: background 0.3s;
}
.stat-card:hover { background: rgba(0,0,0,0.25); }
.stat-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 12px;
}
.stat-num span { color: rgba(255,255,255,0.7); font-size: 28px; }
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
#pricing {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.pricing-bg-img {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, #F2F4F6 0%, #E8ECEF 100%);
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.pricing-left .section-title-dark { margin-bottom: 28px; }
.plan-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.plan-tab {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid var(--grey);
  border-radius: 100px;
  color: var(--text-light);
  transition: all 0.25s;
  font-family: var(--font-display);
}
.plan-tab.active, .plan-tab:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.plan-pricing-box {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 24px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--grey);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.plan-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -2px;
  line-height: 1;
}
.plan-period { font-size: 16px; color: var(--text-light); }
.plan-install { font-size: 15px; color: var(--text-light); }
.plan-install span { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--dark); }
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.pricing-right {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.pricing-person {
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.pricing-person img {
  height: 440px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}
.pricing-float-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey);
  min-width: 200px;
}
.pricing-float-badge strong { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--dark); }
.pricing-float-badge span { font-size: 12px; color: var(--text-light); }

/* ═══════════════════════════════════════
   SECTION 5 — PROJECTS
═══════════════════════════════════════ */
#projects { padding: 90px 0; }
.section-head.center { margin-bottom: 52px; }
.projects-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.proj-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.proj-large { grid-column: span 7; height: 420px; }
.proj-card:not(.proj-large) { grid-column: span 5; height: 200px; }
.proj-card:nth-child(3) { grid-column: span 5; }
.proj-card:nth-child(4) { grid-column: span 6; }
.proj-card:nth-child(5) { grid-column: span 6; }
.proj-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.proj-card:hover img { transform: scale(1.07); }
.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.88) 0%, rgba(20,20,20,0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background 0.4s;
}
.proj-card:hover .proj-overlay { background: linear-gradient(to top, rgba(139,0,0,0.88) 0%, rgba(139,0,0,0.2) 60%, transparent 100%); }
.proj-cat {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.proj-overlay h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.proj-arrow {
  width: 36px; height: 36px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s ease;
}
.proj-card:hover .proj-arrow { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════
   SECTION 6 — TESTIMONIALS
═══════════════════════════════════════ */
#testimonials { padding: 90px 0; }
.testi-slider-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 36px;
}
.testi-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.testi-card {
  min-width: calc(33.333% - 16px);
  flex-shrink: 0;
  background: var(--white);
  border: 1.5px solid var(--grey);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.testi-card:hover { border-color: rgba(192,57,43,0.3); box-shadow: var(--shadow-md); }
.testi-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(192,57,43,0.07);
  line-height: 1;
  font-weight: 900;
}
.testi-stars { color: #F4C430; font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-card p {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--grey);
}
.testi-author img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(192,57,43,0.2);
}
.testi-author strong { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--dark); }
.testi-author span { font-size: 12px; color: var(--text-light); margin-top: 2px; display: block; }
.testi-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.t-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--grey);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  transition: all 0.25s;
}
.t-btn:hover { border-color: var(--red); background: var(--red); color: white; }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grey-mid);
  transition: all 0.3s;
  cursor: pointer;
}
.t-dot.active { background: var(--red); width: 24px; border-radius: 4px; }

/* ═══════════════════════════════════════
   SECTION 7 — CTA
═══════════════════════════════════════ */
#cta {
  position: relative;
  padding: 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background: url('assets/photo-1544197150-b99a580bb7a8.jpg') center/cover no-repeat;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(139,0,0,0.93) 0%, rgba(192,57,43,0.85) 50%, rgba(100,0,0,0.93) 100%);
}
.cta-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 90px;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  color: white;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
  margin-top: 12px;
}
.cta-text p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.cta-phone-card, .cta-email-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  transition: background 0.3s;
}
.cta-phone-card:hover, .cta-email-card:hover { background: rgba(255,255,255,0.15); }
.cta-phone-card span, .cta-email-card span { display: block; font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.cta-phone-card strong, .cta-email-card strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 800; color: white; margin-top: 3px; }
.cta-rating-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 18px 24px;
  width: 100%;
  text-align: center;
}
.cta-stars { color: #F4C430; font-size: 18px; letter-spacing: 3px; margin-bottom: 6px; }
.cta-rating-card strong { display: block; font-family: var(--font-display); font-size: 22px; color: white; font-weight: 900; }
.cta-rating-card span { font-size: 12px; color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════
   SECTION 8 — BLOG
═══════════════════════════════════════ */
#blog { padding: 90px 0; }
.blog-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(192,57,43,0.2); }
.blog-img-wrap {
  position: relative;
  overflow: hidden;
}
.blog-img-wrap img {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.blog-featured .blog-img-wrap img { height: 260px; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }
.blog-cat {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.blog-body { padding: 24px; }
.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--grey-text);
  margin-bottom: 12px;
}
.blog-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.blog-card:hover .blog-body h3 { color: var(--red); }
.blog-body p { font-size: 13.5px; color: var(--text-light); line-height: 1.65; margin-bottom: 16px; }
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  transition: gap 0.3s;
}
.blog-link:hover { gap: 12px; }

/* ═══════════════════════════════════════
   SECTION 9 — CONTACT STRIP
═══════════════════════════════════════ */
#contact-strip {
  background: linear-gradient(135deg, var(--red-dark), var(--red), #D44000);
  position: relative;
  overflow: hidden;
}
#contact-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.contact-strip-inner {
  position: relative; z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 50px;
  padding-bottom: 50px;
}
.contact-strip-text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.contact-strip-text p { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 6px; }
.contact-strip-items { display: flex; gap: 32px; flex-wrap: wrap; }
.cs-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cs-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cs-item span { display: block; font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.cs-item strong { display: block; font-family: var(--font-display); font-size: 15px; color: white; font-weight: 800; margin-top: 2px; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer { background: var(--dark); }
.footer-top { padding: 70px 0 50px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 10px; margin-bottom: 28px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.25s;
}
.footer-socials a:hover { background: var(--red); border-color: var(--red); color: white; }
.newsletter-box p { font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 10px; letter-spacing: 0.5px; }
.newsletter-form { display: flex; }
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  padding: 11px 14px;
  font-size: 13px;
  color: white;
  font-family: var(--font-body);
  outline: none;
  border-radius: 4px 0 0 4px;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.25); }
.newsletter-form input:focus { border-color: rgba(192,57,43,0.4); }
.newsletter-form button {
  background: var(--red);
  border: 1px solid var(--red);
  color: white;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
  border-radius: 0 4px 4px 0;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--red-dark); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  letter-spacing: 0.3px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul a::before {
  content: '';
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.25s;
  flex-shrink: 0;
}
.footer-col ul a:hover { color: white; padding-left: 4px; }
.footer-col ul a:hover::before { width: 12px; }
.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--red-light); }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-red);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 900;
  pointer-events: none;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions, .hero-trust { justify-content: center; }
  .services-cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { height: 380px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-wrap { grid-template-columns: 1fr; }
  .pricing-bg-img { display: none; }
  .pricing-right { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card:nth-child(1) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .projects-mosaic { grid-template-columns: 1fr 1fr; }
  .proj-large { grid-column: span 2; }
  .proj-card:not(.proj-large) { grid-column: span 1; }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .topbar { display: none; }
  .nav-inner { padding: 0 24px; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    width: 100%; height: auto;
    max-height: calc(100vh - 64px);
    background: white;
    flex-direction: column;
    padding: 8px 0 16px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    overflow-y: auto;
    border-bottom: 3px solid var(--red);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a { padding: 14px 0; border-bottom: 1px solid var(--grey); font-size: 15px; }
  .hamburger { display: flex; }
  #hero { padding-top: 50px; min-height: auto; }
  .hero-grid { gap: 0; }
  .hero-title { font-size: 42px; }
  .price-amount { font-size: 42px; }
  .services-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card:nth-child(1) { grid-column: span 1; }
  .testi-card { min-width: 85%; }
  .projects-mosaic { grid-template-columns: 1fr; }
  .proj-large, .proj-card { grid-column: span 1; height: 240px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
  .contact-strip-inner { flex-direction: column; text-align: center; }
  .contact-strip-items { flex-direction: column; align-items: center; }
  .section-head.between { flex-direction: column; align-items: flex-start; }
  .about-img-wrap { height: 300px; }
  .about-badge-box { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 34px; letter-spacing: -1.5px; }
  .section-title-dark { font-size: 28px; }
  .hero-features { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .plan-tabs { gap: 6px; }
  .plan-tab { padding: 6px 14px; font-size: 12px; }
}

/* ═══════════════════════════════════════════════
   NEXACOMM — INNER PAGES ADDITIONAL STYLES
═══════════════════════════════════════════════ */

/* ── NAVBAR DROPDOWN ── */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  transition: all 0.2s;
  border-bottom: 1px solid var(--grey);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { color: var(--red); padding-left: 26px; background: var(--red-pale); }

/* ── PAGE HERO ── */
.page-hero { position: relative; padding: 160px 0 100px; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(139,0,0,0.82) 0%, rgba(26,26,26,0.75) 100%);
}
.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.breadcrumb-nav a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav span { color: var(--red-light); font-weight: 600; }

/* ── STATS SECTION ── */
.stats-section { padding: 90px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  text-align: center;
}
.stat-item { color: white; }
.stat-item .counter {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  color: var(--red-light);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  color: var(--red-light);
}
.stat-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* ── TEAM GRID ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.team-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  border: 1px solid var(--grey);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-img { overflow: hidden; height: 240px; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-img img { transform: scale(1.06); }
.team-info { padding: 20px; text-align: center; }
.team-info h4 { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.team-info span { font-size: 13px; color: var(--red); font-weight: 600; }

/* ── LEADERSHIP GRID ── */
.team-leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  margin-bottom: 0;
}
.team-leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.35s ease;
  border: 1px solid var(--grey);
}
.team-leader-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tl-img { overflow: hidden; height: 320px; }
.tl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-leader-card:hover .tl-img img { transform: scale(1.05); }
.tl-body { padding: 28px; }
.tl-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--dark); margin-bottom: 4px; }
.tl-body span { font-size: 13px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 12px; }
.tl-body p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.tl-socials { display: flex; gap: 12px; }
.tl-socials a { font-size: 13px; color: var(--red); font-weight: 600; padding: 4px 12px; border: 1px solid var(--red); border-radius: 4px; transition: all 0.2s; }
.tl-socials a:hover { background: var(--red); color: white; }

/* ── SERVICES FULL GRID ── */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}
.sf-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.sf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--red-bright); }
.sf-img { overflow: hidden; height: 220px; }
.sf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sf-card:hover .sf-img img { transform: scale(1.06); }
.sf-body { padding: 28px; }
.sf-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--dark); margin: 12px 0 10px; }
.sf-body p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.sf-list { display: flex; flex-direction: column; gap: 8px; }
.sf-list li { font-size: 14px; color: var(--text); padding-left: 16px; position: relative; }
.sf-list li::before { content: '→'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ── PROCESS STEPS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey);
  position: relative;
  transition: all 0.3s ease;
}
.process-step:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: var(--red);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 16px;
}
.process-step h4 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ── INDUSTRY GRID ── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.industry-card {
  position: relative;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.industry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(139,0,0,0.85) 0%, rgba(0,0,0,0.15) 60%);
  transition: all 0.35s ease;
}
.industry-card:hover .industry-overlay { background: linear-gradient(to top, rgba(139,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%); }
.industry-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px;
  color: white;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}
.industry-card:hover .industry-body { transform: translateY(0); }
.industry-body h4 { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.industry-body p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.5; }

/* ── BENEFITS GRID ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.benefit-card {
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--red); }
.benefit-icon {
  width: 60px; height: 60px;
  background: var(--red-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.benefit-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.benefit-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ── PRICING SUMMARY (service details) ── */
.pricing-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.ps-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 2px solid var(--grey);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}
.ps-card:hover { border-color: var(--red); box-shadow: var(--shadow-red); }
.ps-card-active { border-color: var(--red); background: var(--red); color: white; }
.ps-card-active h4, .ps-card-active .ps-price span { color: white; }
.ps-card-active ul li { color: rgba(255,255,255,0.9); }
.ps-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--dark); color: white;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 14px; border-radius: 20px;
}
.ps-head { margin-bottom: 24px; }
.ps-head h4 { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.ps-price span { font-family: var(--font-display); font-size: 36px; font-weight: 900; color: var(--red); }
.ps-card-active .ps-price span { color: #FFB3B3; }
.ps-card ul { margin-bottom: 24px; }
.ps-card ul li { font-size: 14px; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); color: var(--text-light); }
.ps-card-active ul li { border-bottom: 1px solid rgba(255,255,255,0.15); }

/* ── FAQ LIST ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--red); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  user-select: none;
  gap: 12px;
}
.faq-q svg { flex-shrink: 0; color: var(--red); transition: transform 0.3s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  border-top: 1px solid var(--grey);
  padding-top: 16px;
}
.faq-item.open .faq-a { display: block; }

/* ── PROJECTS GRID ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-img { position: relative; overflow: hidden; height: 220px; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-img img { transform: scale(1.06); }
.project-cat {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: white;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 4px;
  text-transform: uppercase;
}
.project-body { padding: 24px; }
.project-body h4 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.project-body p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.project-stats {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
}
.project-stats span {
  background: var(--red-pale); color: var(--red);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 4px;
}

/* ── FILTER BUTTONS ── */
.project-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn, .blog-cats .filter-btn {
  padding: 8px 20px;
  background: var(--white);
  border: 2px solid var(--grey);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--red); border-color: var(--red); color: white;
}

/* ── PROJECT SIDEBAR ── */
.proj-sidebar {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.proj-sidebar h4 { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--red); }
.proj-sidebar dl { display: flex; flex-direction: column; gap: 12px; }
.proj-sidebar dt { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey-text); }
.proj-sidebar dd { font-size: 15px; font-weight: 600; color: var(--dark); }

/* ── PROJECT GALLERY ── */
.proj-gallery { display: grid; gap: 12px; }
.proj-gallery-main { width: 100%; height: 380px; object-fit: cover; border-radius: 12px; }
.proj-gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.proj-gallery-thumbs img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: opacity 0.2s; }
.proj-gallery-thumbs img:hover { opacity: 0.8; }

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0; border-left: 2px solid var(--grey);
  padding-left: 28px; position: relative;
}
.tl-dot {
  position: absolute; left: -7px; top: 26px;
  width: 12px; height: 12px;
  background: var(--red); border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 3px var(--red-pale);
}
.tl-item div { font-size: 15px; color: var(--text-light); line-height: 1.6; }
.tl-item div strong { color: var(--dark); font-weight: 700; }

/* ── RESULTS GRID ── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.result-item {
  padding: 24px;
  background: var(--off-white);
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--grey);
}
.result-num { font-family: var(--font-display); font-size: 36px; font-weight: 900; display: block; margin-bottom: 8px; }
.result-item span:last-child { font-size: 13px; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ── PRICING PAGE ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 2px solid var(--grey);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}
.price-card:hover { border-color: var(--red); box-shadow: var(--shadow-red); transform: translateY(-6px); }
.price-card-featured {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.price-header { margin-bottom: 28px; }
.price-header h4 { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.price-card-featured .price-header h4 { color: white; }
.price-val { font-family: var(--font-display); font-size: 48px; font-weight: 900; line-height: 1; color: var(--red); }
.price-val span { font-size: 18px; font-weight: 500; color: var(--grey-text); }
.price-card-featured .price-val { color: white; }
.price-card-featured .price-val span { color: rgba(255,255,255,0.7); }
.price-header p { font-size: 13px; color: var(--grey-text); margin-top: 8px; }
.price-card-featured .price-header p { color: rgba(255,255,255,0.8); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--dark); color: white;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 14px; border-radius: 20px;
}
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.price-card-featured .price-features li { color: rgba(255,255,255,0.9); }

/* ── COMPARE TABLE ── */
.compare-table table { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table thead tr { background: var(--red); color: white; }
.compare-table th { padding: 16px 20px; font-family: var(--font-display); font-size: 14px; font-weight: 700; text-align: center; }
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: 14px 20px; font-size: 14px; text-align: center; border-bottom: 1px solid var(--grey); color: var(--text); }
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--dark); background: var(--off-white); }
.compare-table tbody tr:hover { background: var(--red-pale); }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ── BLOG FEATURED BIG ── */
.blog-featured-big {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.blog-featured-img { position: relative; height: 360px; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-img .blog-cat { position: absolute; top: 20px; left: 20px; }
.blog-featured-body { padding: 0 40px 40px 0; }

/* ── ARTICLE BODY ── */
.article-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--dark); margin: 32px 0 14px; }
.article-body p { font-size: 16px; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }

/* ── SHARE BUTTONS ── */
.share-box { display: flex; align-items: center; gap: 16px; padding: 24px; background: var(--off-white); border-radius: 12px; flex-wrap: wrap; }
.share-box strong { font-size: 15px; font-weight: 700; color: var(--dark); }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn { padding: 8px 20px; border-radius: 4px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.share-linkedin { background: #0077B5; color: white; }
.share-twitter { background: #1DA1F2; color: white; }
.share-copy { background: var(--grey); color: var(--dark); }
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ── AUTHOR BOX ── */
.author-box {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--red);
}
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box strong { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--dark); display: block; margin-bottom: 2px; }
.author-box span { font-size: 13px; color: var(--red); font-weight: 600; display: block; margin-bottom: 10px; }
.author-box p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ── CONTACT FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--grey);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s ease;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── CONTACT INFO ── */
.contact-info-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.ci-item { display: flex; gap: 20px; align-items: flex-start; }
.ci-icon { width: 52px; height: 52px; background: var(--red-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-item h5 { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.ci-item p { font-size: 14px; color: var(--text-light); margin-bottom: 2px; }

/* ── JOBS LIST ── */
.jobs-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--grey);
  box-shadow: var(--shadow-sm);
  gap: 24px;
  transition: all 0.25s ease;
}
.job-card:hover { border-color: var(--red); box-shadow: var(--shadow-red); transform: translateX(4px); }
.job-info h4 { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tags span { background: var(--off-white); color: var(--text-light); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 4px; }
.job-tags span:first-child { background: var(--red-pale); color: var(--red); }

/* ── BTN WHITE ── */
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: var(--white);
  color: var(--red);
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── BLOG CATS ── */
.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .blog-featured-big { grid-template-columns: 1fr; }
  .blog-featured-img { height: 280px; }
  .blog-featured-body { padding: 32px; }
  .container[style*="grid-template-columns:1fr 340px"],
  .container[style*="grid-template-columns:1fr 320px"],
  .container[style*="grid-template-columns:1fr 1fr"] {
    display: block !important;
  }
}
@media (max-width: 768px) {
  .page-hero { padding: 120px 0 70px; }
  .services-full-grid { grid-template-columns: 1fr; }
  .team-leadership-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .project-filters, .blog-cats { gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .author-box { flex-direction: column; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; border-left: 2px solid var(--red); border-radius: 0; display: none; }
  .has-dropdown.open .dropdown { display: block; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .proj-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════
   NEXACOMM — ENHANCED ANIMATIONS & RESPONSIVENESS
   v3 — Added rich animations, image styles, full responsive
═══════════════════════════════════════════════ */

/* ── KEYFRAME ANIMATIONS ── */
@keyframes fadeInUp   { from { opacity:0; transform:translateY(40px);  } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft { from { opacity:0; transform:translateX(-50px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight{ from { opacity:0; transform:translateX(50px);  } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-30px); } to { opacity:1; transform:translateY(0); } }
@keyframes scaleIn    { from { opacity:0; transform:scale(0.85);       } to { opacity:1; transform:scale(1);    } }
@keyframes pulseBorder{ 0%,100% { box-shadow:0 0 0 0 rgba(192,57,43,0.4); } 50% { box-shadow:0 0 0 14px rgba(192,57,43,0); } }
@keyframes shimmer    { 0% { background-position:-400px 0; } 100% { background-position:400px 0; } }
@keyframes rotateGlobe{ from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
@keyframes glowRed    { 0%,100% { filter:drop-shadow(0 0 6px rgba(192,57,43,0.5)); } 50% { filter:drop-shadow(0 0 18px rgba(192,57,43,0.9)); } }
@keyframes slideInBanner { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@keyframes particleDrift { 0% { transform:translateY(0) translateX(0) scale(1); opacity:0.6; } 50% { transform:translateY(-30px) translateX(15px) scale(1.1); opacity:1; } 100% { transform:translateY(0) translateX(0) scale(1); opacity:0.6; } }
@keyframes typewriter { from { width:0; } to { width:100%; } }
@keyframes blink      { 50% { border-color:transparent; } }
@keyframes countUp    { from { transform:translateY(12px); opacity:0; } to { transform:translateY(0); opacity:1; } }
@keyframes bounceIn   { 0% { transform:scale(0.3); opacity:0; } 50% { transform:scale(1.05); } 70% { transform:scale(0.9); } 100% { transform:scale(1); opacity:1; } }
@keyframes waveAnim   { 0%,100% { transform:scaleY(1); } 50% { transform:scaleY(1.5); } }
@keyframes hoverLift  { from { transform:translateY(0); } to { transform:translateY(-8px); } }
@keyframes imgReveal  { from { clip-path:inset(0 100% 0 0); } to { clip-path:inset(0 0% 0 0); } }
@keyframes lineGrow   { from { width:0; } to { width:60px; } }
@keyframes spinSlow   { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
@keyframes pulseRing  { 0% { transform:scale(0.8); opacity:1; } 100% { transform:scale(2.2); opacity:0; } }
@keyframes textReveal { from { clip-path:inset(0 100% 0 0); opacity:0; } to { clip-path:inset(0 0 0 0); opacity:1; } }
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

/* ── GLOBAL REVEAL BASE ── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.25,.8,.25,1), transform 0.7s cubic-bezier(.25,.8,.25,1);
}
.reveal          { transform: translateY(36px); }
.reveal-left     { transform: translateX(-50px); }
.reveal-right    { transform: translateX(50px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1 !important;
  transform: none !important;
}
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ── ANIMATED SECTION LABEL ── */
.section-label-sm {
  position: relative;
  display: inline-block;
}
.section-label-sm::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width 0.6s ease 0.4s;
}
.visible ~ .section-label-sm::after,
.section-label-sm.visible::after { width: 100%; }

/* ── SECTION TITLE UNDERLINE ACCENT ── */
.section-title-dark { position: relative; }

/* ── HERO SECTION ENHANCEMENTS ── */
#hero {
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.78) 0%, rgba(139,0,0,0.55) 55%, rgba(26,26,26,0.65) 100%);
  z-index: 1;
}
#hero .container { position: relative; z-index: 2; }
#hero .hero-bg-dots,
#hero .hero-bg-shape { z-index: 2; }

/* Animated particles in hero */
.hero-particles {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(192,57,43,0.6);
  border-radius: 50%;
}
.hero-particle:nth-child(1)  { top:15%; left:10%; animation: particleDrift 6s ease-in-out infinite; }
.hero-particle:nth-child(2)  { top:30%; left:80%; animation: particleDrift 8s ease-in-out infinite 1s; width:6px; height:6px; }
.hero-particle:nth-child(3)  { top:60%; left:20%; animation: particleDrift 7s ease-in-out infinite 2s; }
.hero-particle:nth-child(4)  { top:80%; left:70%; animation: particleDrift 9s ease-in-out infinite 0.5s; width:3px; height:3px; }
.hero-particle:nth-child(5)  { top:45%; left:50%; animation: particleDrift 5s ease-in-out infinite 3s; width:5px; height:5px; }
.hero-particle:nth-child(6)  { top:10%; left:60%; animation: particleDrift 10s ease-in-out infinite 1.5s; }
.hero-particle:nth-child(7)  { top:70%; left:40%; animation: particleDrift 6.5s ease-in-out infinite 2.5s; width:4px; height:4px; }
.hero-particle:nth-child(8)  { top:25%; left:35%; animation: particleDrift 7.5s ease-in-out infinite 4s; }

/* ── HERO TITLE GRADIENT ── */
.hero-title {
  background: linear-gradient(90deg, #fff 0%, #fff 50%, var(--red-light) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}
.hero-title .text-red {
  background: linear-gradient(90deg, var(--red-light), #FF8C8C);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

/* ── HERO IMAGE ANIMATION ── */
.hero-img-main {
  animation: fadeInRight 1s ease 0.5s both, float 6s ease-in-out infinite 1.5s;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}
.hero-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.hero-img-main:hover img { transform: scale(1.04); }

/* ── FLOAT CARDS PULSE RING ── */
.float-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
}
.float-card:hover::before { opacity: 1; }

/* ── SERVICE CARDS IMAGE HOVER ── */
.svc-img-card img:hover { transform: scale(1.08); }

/* ── PARTNERS SCROLL ANIMATION ── */
.partners-scroll {
  display: flex;
  align-items: center;
  gap: 56px;
  overflow: hidden;
  flex-wrap: wrap;
  justify-content: center;
}
.partner-logo {
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.partner-logo:hover { opacity: 1; transform: scale(1.05); }
.partner-logo img { height: 36px; width: auto; filter: grayscale(1); transition: filter 0.3s; }
.partner-logo:hover img { filter: grayscale(0); }

/* ── ANIMATED BACKGROUND SECTIONS ── */
.animated-bg-section {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* ── IMAGE OVERLAY CARDS ── */
.img-overlay-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}
.img-overlay-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
}
.img-overlay-card:hover img { transform: scale(1.08); }
.img-overlay-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(139,0,0,0.88) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.img-overlay-card:hover .overlay { opacity: 1; }
.img-overlay-card .overlay-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
  color: white;
}
.img-overlay-card:hover .overlay-content { transform: translateY(0); }

/* ── PHOTO MOSAIC SECTION ── */
.photo-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.photo-mosaic-item {
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}
.photo-mosaic-item:first-child { grid-row: span 2; }
.photo-mosaic-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
}
.photo-mosaic-item:hover img { transform: scale(1.07); }

/* ── IMAGE SECTION WITH TEXT OVERLAY ── */
.section-bg-image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section-bg-image::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,26,26,0.82);
}
.section-bg-image > * { position: relative; z-index: 1; }

/* ── ANIMATED COUNTER BOX ── */
.anim-counter-box {
  animation: countUp 0.5s ease both;
}

/* ── CARD HOVER 3D TILT ── */
.tilt-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-card:hover {
  box-shadow: var(--shadow-lg);
}

/* ── PULSE BUTTON ── */
.btn-red.pulse-btn {
  animation: pulseBorder 2.5s infinite;
}

/* ── IMAGE BAND / STRIP ── */
.img-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.img-band-item {
  overflow: hidden;
  position: relative;
  flex: 1;
  transition: flex 0.4s ease;
  cursor: pointer;
}
.img-band-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.img-band-item .band-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(139,0,0,0.9), transparent);
  color: white;
  padding: 12px 14px 10px;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.img-band-item:hover { flex: 2; }
.img-band-item:hover img { transform: scale(1.06); }
.img-band-item:hover .band-label { transform: translateY(0); }

/* ── FEATURE IMAGE CARDS ── */
.feat-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
}
.feat-img-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feat-img-card:hover img { transform: scale(1.06); }
.feat-img-card .feat-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(139,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feat-img-card:hover .feat-img-overlay { opacity: 1; }

/* ── ABOUT IMAGE STACK ANIMATION ── */
.about-img-main { animation: imgReveal 1s ease 0.3s both; }
.about-img-sub  { animation: imgReveal 1s ease 0.7s both; }

/* ── BLOG CARD IMAGE ── */
.blog-img-wrap img {
  transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
}
.blog-card:hover .blog-img-wrap img { transform: scale(1.08); }

/* ── TESTIMONIAL CARD ANIMATION ── */
.testi-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ── PROJECT CARD IMAGE ── */
.proj-card img {
  transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
}
.proj-card:hover img { transform: scale(1.06); }

/* ── STICKY NAV ANIMATION ── */
#navbar {
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#navbar.scrolled {
  animation: fadeInDown 0.4s ease;
}

/* ── PAGE HERO PARALLAX ── */
.page-hero {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* ── WAVE ANIMATION ── */
.animated-wave path {
  animation: waveAnim 3s ease-in-out infinite;
}

/* ── IMAGE GALLERY GRID ── */
.img-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.img-gallery-grid .img-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
.img-gallery-grid .img-item:nth-child(3n+1) { grid-column: span 2; }
.img-gallery-grid .img-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.img-gallery-grid .img-item:hover img { transform: scale(1.08); }

/* ── SECTION IMAGE BACKGROUND STRIP ── */
.img-bg-strip {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.img-bg-strip::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.5) 60%, transparent 100%);
}
.img-bg-strip > * { position: relative; z-index: 1; }

/* ── STAGGER ANIMATION CHILDREN ── */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-children.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.05s; }
.stagger-children.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.15s; }
.stagger-children.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.25s; }
.stagger-children.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.35s; }
.stagger-children.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.45s; }
.stagger-children.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.55s; }

/* ── HOVER LIFT ── */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

/* ── IMAGE ROUNDED BOX ── */
.img-rounded-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.img-rounded-box img {
  width: 100%; display: block;
  transition: transform 0.7s ease;
}
.img-rounded-box:hover img { transform: scale(1.04); }

/* ── SPINNING RING DECORATION ── */
.spin-ring {
  position: absolute;
  border: 2px dashed rgba(192,57,43,0.25);
  border-radius: 50%;
  animation: spinSlow 20s linear infinite;
  pointer-events: none;
}

/* ── ACTIVE RED BORDER LEFT ── */
.border-left-red {
  border-left: 4px solid var(--red);
  padding-left: 20px;
}

/* ── GLOWING RED ICON ── */
.glow-icon { animation: glowRed 2.5s ease-in-out infinite; }

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST COMPLETE OVERHAUL
══════════════════════════════════════════════ */

/* CONTAINERS */
@media (max-width: 1280px) {
  .container { padding: 0 36px; }
}
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { align-items: center; }
  .hero-visual { display: none; }
  .hero-trust { justify-content: center; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .about-img-sub { display: none; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-visual { display: none; }
  .img-band { grid-template-columns: repeat(3, 1fr); height: 200px; }
  .img-band-item:nth-child(n+4) { display: none; }
  .photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .photo-mosaic-item:first-child { grid-row: auto; }
  .pricing-wrap { grid-template-columns: 1fr; }
  .pricing-right { display: none; }
  section.section-bg-image { background-attachment: scroll; }
  .page-hero { background-attachment: scroll; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  /* Topbar */
  .topbar-left span:first-child { display: none; }
  /* Navbar */
  .nav-inner { padding: 12px 20px; }
  .nav-menu {
    position: fixed;
    top: 64px; left: 0; right: 0;
    width: 100%; height: auto;
    max-height: calc(100vh - 64px);
    background: var(--dark);
    flex-direction: column;
    padding: 8px 0 16px;
    gap: 0;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(.77,0,.175,1), opacity 0.3s ease;
    overflow-y: auto;
    z-index: 200;
    pointer-events: none;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-menu li a { color: white; font-size: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  /* Hero */
  #hero { padding: 100px 0 60px; }
  .hero-title { font-size: clamp(32px, 8vw, 48px) !important; }
  .hero-features { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .hero-features .dot { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  /* Sections */
  section { padding: 70px 0 !important; }
  .section-title-dark { font-size: clamp(24px, 5vw, 36px) !important; }
  .services-cards { grid-template-columns: 1fr 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid-full { grid-template-columns: 1fr 1fr; }
  .team-leadership-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .projects-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured-big { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .img-band { display: grid; grid-template-columns: 1fr 1fr; height: 180px; }
  .img-band-item:nth-child(n+3) { display: none; }
  .img-gallery-grid { grid-template-columns: 1fr 1fr; }
  .img-gallery-grid .img-item:nth-child(3n+1) { grid-column: auto; }
  .photo-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(3, 180px); }
  .contact-strip-inner { flex-direction: column; gap: 24px; }
  .contact-strip-items { flex-direction: column; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 8px 10px; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .pricing-summary-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .author-box { flex-direction: column; }
  .tl-img { height: 260px; }
  .proj-sidebar { margin-top: 32px; }
  .section-head.between { flex-direction: column; align-items: flex-start; }
  /* CTA section */
  .cta-actions { flex-direction: column; }
  /* Page hero */
  .page-hero { padding: 110px 0 70px; background-attachment: scroll !important; }
  /* Partners */
  .partners-scroll { gap: 28px; }
  /* About visual in inner pages */
  .about-img-sub { display: none !important; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .services-cards { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid-full { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .img-gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }
  .hero-trust { flex-direction: column; align-items: center; }
  .trust-avatars { display: none; }
  .project-filters { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 12px; }
  .share-btns { flex-wrap: wrap; }
  .jobs-list .job-card { padding: 16px; }
  .testi-slider-wrap { overflow: hidden; }
  .testi-card { padding: 24px 20px; }
  .process-step { padding: 28px 20px; }
}

/* ── MOBILE MENU OVERLAY ── */
.nav-menu-overlay {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 199;
}
.nav-menu-overlay.show { display: block; }

/* ── SMOOTH IMAGE LOADING ── */
img {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img.loaded { opacity: 1; }

/* ── SKELETON LOADING ── */
.skeleton {
  background: linear-gradient(90deg, var(--grey) 25%, #e8e8e8 50%, var(--grey) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius);
}

/* ── RIPPLE EFFECT ── */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}
.ripple:active::after {
  width: 300px; height: 300px;
  opacity: 0;
}

/* ── IMAGE ZOOM MODAL ── */
.img-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.img-modal.active { display: flex; animation: scaleIn 0.3s ease; }
.img-modal img { max-width: 90vw; max-height: 90vh; border-radius: 8px; object-fit: contain; }
.img-modal-close {
  position: absolute; top: 20px; right: 24px;
  color: white; font-size: 32px; cursor: pointer;
  line-height: 1; background: none; border: none;
  opacity: 0.7; transition: opacity 0.2s;
}
.img-modal-close:hover { opacity: 1; }

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px;
  background: var(--red);
  z-index: 999;
  width: 0%;
  transition: width 0.05s linear;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-red);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 500;
  cursor: pointer;
}
.back-to-top.show { transform: translateY(0); opacity: 1; }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-4px) !important; }

/* ── NUMBER TICKER ── */
.ticker-num { display: inline-block; animation: countUp 0.4s ease both; }

/* ── TEAM CARD SOCIAL OVERLAY ── */
.team-card .social-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, var(--red) 0%, transparent 100%);
  display: flex; justify-content: center; gap: 12px;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.team-img { position: relative; }
.team-card:hover .social-overlay { transform: translateY(0); }
.social-overlay a {
  color: white; font-size: 13px; font-weight: 700;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  transition: background 0.2s;
}
.social-overlay a:hover { background: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════════════════════
   NEXACOMM — COMPLETE RESPONSIVE OVERRIDE (FINAL)
   Fixes all breakpoints: desktop → tablet → mobile → xs
═══════════════════════════════════════════════════════ */

/* ── TABLET: up to 1024px ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px !important; }

  /* Nav — show hamburger, hide desktop btn */
  .hamburger { display: flex !important; }
  nav .btn-red { display: none !important; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr !important; text-align: center; }
  .hero-visual { display: none !important; }
  .hero-content { align-items: center !important; }
  .hero-actions { justify-content: center !important; flex-wrap: wrap; }
  .hero-trust { justify-content: center !important; }
  .hero-features { justify-content: center !important; flex-wrap: wrap; }

  /* About */
  .about-grid { grid-template-columns: 1fr !important; }
  .about-visual { order: -1; }
  .about-img-sub { display: none !important; }

  /* Pricing */
  .pricing-wrap { grid-template-columns: 1fr !important; }
  .pricing-right { display: none !important; }
  .pricing-bg-img { display: none !important; }

  /* CTA */
  .cta-inner { grid-template-columns: 1fr !important; text-align: center; }
  .cta-visual { display: none !important; }

  /* Page hero */
  .page-hero { background-attachment: scroll !important; padding: 130px 0 80px !important; }

  /* Inner page grids */
  .team-leadership-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .proj-sidebar { margin-top: 40px; }
}

/* ── MOBILE: up to 768px ── */
@media (max-width: 768px) {
  .container { padding: 0 20px !important; }
  section { padding: 64px 0 !important; }

  /* Topbar — hide on mobile */
  .topbar { display: none !important; }

  /* Navbar */
  .nav-inner { padding: 0 20px !important; height: 64px; }
  .nav-menu {
    display: none !important;
    position: fixed !important;
    top: 64px !important; left: 0 !important; right: 0 !important;
    width: 100% !important; height: auto !important;
    max-height: calc(100vh - 64px) !important;
    background: var(--dark) !important;
    flex-direction: column !important;
    padding: 8px 0 16px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4) !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    border-left: none !important;
    border-bottom: 3px solid var(--red) !important;
    gap: 0 !important;
    border-radius: 0 !important;
  }
  .nav-menu.open { display: flex !important; }
  .nav-menu li a { color: white !important; padding: 13px 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; font-size: 15px !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
  .nav-menu li a:hover { color: var(--red-light) !important; }
  .has-dropdown:hover .dropdown { opacity: 0 !important; visibility: hidden !important; display: none !important; }
  .dropdown { position: static !important; opacity: 1 !important; visibility: visible !important; box-shadow: none !important; transform: none !important; background: rgba(255,255,255,0.07) !important; border-radius: 6px !important; margin: 4px 0 8px 0 !important; padding: 6px 0 !important; display: none !important; border-top: none !important; border-left: 3px solid var(--red) !important; }
  .has-dropdown.open .dropdown { display: block !important; }
  .dropdown li a { padding: 10px 18px !important; font-size: 14px !important; color: rgba(255,255,255,0.8) !important; border-bottom: none !important; display: block !important; justify-content: unset !important; }

  /* Hero */
  #hero { padding: 90px 0 60px !important; background-attachment: scroll !important; min-height: auto !important; }
  .hero-title { font-size: clamp(30px, 8vw, 44px) !important; letter-spacing: -1px !important; }
  .hero-actions { flex-direction: column !important; align-items: center !important; width: 100%; }
  .hero-actions a { width: 100% !important; max-width: 320px !important; justify-content: center !important; }
  .hero-features { gap: 8px 16px !important; }
  .hero-features .dot { display: none !important; }
  .hero-price { text-align: center; }
  .hero-badge { font-size: 12px; }

  /* Section typography */
  .section-title-dark { font-size: clamp(22px, 5vw, 34px) !important; letter-spacing: -0.5px !important; }
  h1 { font-size: clamp(28px, 7vw, 48px) !important; }
  h2 { font-size: clamp(20px, 5vw, 36px) !important; }

  /* Services cards */
  .services-cards { grid-template-columns: 1fr !important; }
  .svc-card { padding: 28px 24px !important; }

  /* About */
  .about-img-wrap { height: 260px !important; }
  .about-badge-box { display: none !important; }
  .about-feats { gap: 20px !important; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }

  /* Pricing */
  .plan-tabs { gap: 8px !important; flex-wrap: wrap !important; }
  .plan-tab { padding: 8px 16px !important; font-size: 13px !important; }

  /* Projects mosaic */
  .projects-mosaic { grid-template-columns: 1fr !important; }
  .proj-large, .proj-card { grid-column: span 1 !important; height: 220px !important; }

  /* Testimonials */
  .testi-card { min-width: calc(100% - 8px) !important; padding: 24px 20px !important; }

  /* Blog grid */
  .blog-grid { grid-template-columns: 1fr !important; }
  .blog-card:nth-child(1) { grid-column: span 1 !important; }
  .blog-featured-big { grid-template-columns: 1fr !important; }
  .blog-featured-img { height: 220px; }
  .blog-featured-img img { height: 100%; object-fit: cover; }
  .blog-featured-body { padding: 24px !important; }

  /* Blog filter buttons — scrollable row */
  .blog-cats { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 8px !important; padding-bottom: 8px !important; -webkit-overflow-scrolling: touch !important; scrollbar-width: none !important; }
  .blog-cats::-webkit-scrollbar { display: none !important; }
  .filter-btn { white-space: nowrap !important; flex-shrink: 0 !important; padding: 8px 16px !important; font-size: 13px !important; }

  /* Contact strip */
  .contact-strip-inner { flex-direction: column !important; align-items: flex-start !important; gap: 24px !important; }
  .contact-strip-items { flex-direction: column !important; gap: 16px !important; }

  /* Footer */
  .footer-top { padding: 60px 0 40px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
  .footer-brand { grid-column: 1 / -1 !important; }
  .footer-bottom-inner { flex-direction: column !important; gap: 12px !important; text-align: center !important; }
  .footer-bottom-links { flex-wrap: wrap !important; justify-content: center !important; gap: 12px !important; }

  /* Page hero */
  .page-hero { padding: 110px 0 70px !important; background-attachment: scroll !important; }
  .breadcrumb-nav { justify-content: center !important; }

  /* Inner page sections */
  .services-full-grid { grid-template-columns: 1fr !important; }
  .process-steps { grid-template-columns: 1fr !important; }
  .benefits-grid { grid-template-columns: 1fr 1fr !important; }
  .industry-grid { grid-template-columns: 1fr 1fr !important; }
  .pricing-grid { grid-template-columns: 1fr !important; max-width: 380px !important; margin-left: auto !important; margin-right: auto !important; }
  .team-grid, .team-grid-full { grid-template-columns: 1fr 1fr !important; }
  .team-leadership-grid { grid-template-columns: 1fr !important; }
  .jobs-list .job-card { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
  .compare-table { font-size: 12px !important; overflow-x: auto !important; display: block !important; }
  .results-grid { grid-template-columns: 1fr 1fr !important; }
  .author-box { flex-direction: column !important; }
  .proj-gallery { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .stats-grid.four { grid-template-columns: 1fr 1fr !important; }

  /* Image elements */
  .img-band { height: 160px !important; }
  .img-band-item:nth-child(n+4) { display: none !important; }
  .photo-mosaic { grid-template-columns: 1fr 1fr !important; grid-template-rows: 180px 180px !important; }
  .photo-mosaic-item:first-child { grid-row: auto !important; }
  .img-gallery-grid { grid-template-columns: 1fr 1fr !important; }
  .img-gallery-grid .img-item:nth-child(3n+1) { grid-column: auto !important; }
  .img-bg-strip { background-attachment: scroll !important; }

  /* Misc */
  .section-head.between { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
  .back-to-top { bottom: 20px !important; right: 20px !important; width: 42px !important; height: 42px !important; }
}

/* ── SMALL MOBILE: up to 480px ── */
@media (max-width: 480px) {
  .container { padding: 0 16px !important; }
  section { padding: 52px 0 !important; }

  /* Hero */
  .hero-title { font-size: clamp(26px, 7vw, 36px) !important; }
  .hero-features { display: none !important; }
  .price-amount { font-size: 40px !important; }

  /* Typography */
  .section-title-dark { font-size: clamp(20px, 5.5vw, 28px) !important; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-card { padding: 24px 16px !important; }
  .stat-num { font-size: 36px !important; }

  /* Services */
  .services-cards { grid-template-columns: 1fr !important; }
  .svc-card { padding: 24px 20px !important; }
  .svc-icon { width: 56px !important; height: 56px !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; }
  .newsletter-form { flex-direction: column !important; }
  .newsletter-form input { border-radius: 4px !important; }
  .newsletter-form button { border-radius: 4px !important; text-align: center !important; justify-content: center !important; }

  /* Blog cats — horizontal scroll on xs */
  .blog-cats { gap: 6px !important; }
  .filter-btn { padding: 7px 13px !important; font-size: 12px !important; }

  /* Teams */
  .team-grid, .team-grid-full { grid-template-columns: 1fr 1fr !important; }

  /* Image band */
  .img-band { grid-template-columns: 1fr 1fr !important; height: 140px !important; }
  .img-band-item:nth-child(n+3) { display: none !important; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr !important; }
  .industry-grid { grid-template-columns: 1fr !important; }

  /* Pricing */
  .pricing-grid { max-width: 100% !important; }
  .price-card { padding: 28px 20px !important; }

  /* CTA section */
  .cta-actions, [style*="display:flex"][style*="gap:16px"][style*="justify-content:center"] { flex-direction: column !important; align-items: center !important; }
  .btn-red, .btn-white, .btn-outline-red, .btn-outline-white { width: 100% !important; max-width: 320px !important; justify-content: center !important; }

  /* Contact */
  .ci-grid { grid-template-columns: 1fr !important; }

  /* Misc page hero */
  .page-hero { padding: 100px 0 60px !important; }
  .page-hero h1 { font-size: clamp(24px, 7vw, 36px) !important; }
}

/* ── MOBILE MENU CLOSE OVERLAY ── */
.mobile-overlay {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}
.mobile-overlay.show { display: block; }

/* ── NAV SCROLLED STATE ── */
#navbar.scrolled {
  background: var(--dark) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

/* ── FILTER BUTTON ACTIVE STATE (ensure it shows) ── */
.filter-btn.active {
  background: var(--red) !important;
  color: white !important;
  border-color: var(--red) !important;
}


/* ── CONTACT PAGE MOBILE FIX ── */
@media (max-width: 768px) {
  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  .contact-main-grid .reveal-left {
    order: 1;
  }
  .contact-main-grid .reveal-right {
    order: 2;
    margin-top: 0;
  }
}

/* ════════════════════════════════════════════
   MOBILE NAV DROPDOWN — DEFINITIVE OVERRIDE
   Must be last in file to win all specificity
════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* Prevent desktop hover from showing dropdowns */
  .has-dropdown:hover > .dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    transform: translateY(8px) !important;
  }

  /* All dropdowns hidden by default in mobile menu */
  .nav-menu .dropdown {
    display: none !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-left: 3px solid var(--red) !important;
    border-top: none !important;
    border-radius: 0 4px 4px 0 !important;
    margin: 0 0 8px 12px !important;
    padding: 4px 0 !important;
    min-width: 0 !important;
    width: auto !important;
    z-index: auto !important;
  }

  /* Show dropdown when parent has .open class */
  .nav-menu .has-dropdown.open > .dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Dropdown links styling */
  .nav-menu .dropdown li a {
    display: block !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border-bottom: none !important;
    font-weight: 400 !important;
    justify-content: flex-start !important;
  }
  .nav-menu .dropdown li a:hover {
    color: var(--red-light) !important;
    padding-left: 22px !important;
    background: rgba(192, 57, 43, 0.15) !important;
  }

  /* Show the chevron arrow on parent links */
  .nav-menu .has-dropdown > a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  /* Rotate chevron when open */
  .nav-menu .has-dropdown.open > a svg {
    transform: rotate(180deg) !important;
    transition: transform 0.2s ease !important;
  }
  .nav-menu .has-dropdown > a svg {
    transition: transform 0.2s ease !important;
  }
}
