/* 
   ==========================================================================
   Nex9ads - Design System & Stylesheet (Brand colors from the official logo)
   Digital Marketing, Web & App Development
   ========================================================================== 
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand colors taken from the official Nex9ads logo (Logo folder) */
  --primary-navy: #1E3448;      /* logo badge & wordmark */
  --secondary-navy: #142536;    /* deeper navy for gradients */
  --navy-700: #2B4660;
  --brand-cream: #F7F5EF;       /* logo "N" stroke */
  --brand-cream-2: #EFEBE1;
  --brand-gray: #6E7275;        /* logo tagline */
  --accent-cyan: #5B7C99;       /* steel tint of the navy, used for icons & highlights */
  --accent-cyan-glow: rgba(91, 124, 153, 0.25);
  --accent-blue: #1E3448;
  --accent-gold: #C9B48A;
  --light-bg: #F7F5EF;
  --card-bg: #FFFFFF;
  --text-main: #16293B;
  --text-body: #3A4654;
  --text-muted: #6E7275;
  --border-color: #E4E0D6;

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(91, 124, 153, 0.3);

  /* Transitions */
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: var(--accent-blue);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-cyan);
}

/* --- Typography Helpers --- */
.gradient-text {
  background: linear-gradient(135deg, #5B7C99 0%, #1E3448 50%, #2B4660 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #D9C9A3 0%, #C9B48A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(91, 124, 153, 0.1);
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 16px;
}

@media (min-width: 992px) {
  .section-title {
    font-size: 2.75rem;
  }
}

/* --- Header & Navigation --- */
.top-bar {
  background-color: var(--primary-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover {
  color: var(--accent-cyan);
}

.navbar-custom {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--transition-fast);
}

/* Logo Blending */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.nav-link-custom {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--accent-blue) !important;
  background: rgba(30, 52, 72, 0.06);
}

.btn-nav-cta {
  background: linear-gradient(135deg, #5B7C99 0%, #1E3448 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(30, 52, 72, 0.35);
  border: none;
  transition: var(--transition-fast);
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 124, 153, 0.45);
  color: #FFFFFF;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  color: #FFFFFF;
  padding: 90px 0 110px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 124, 153, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-title {
  color: #FFFFFF;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 3.6rem;
  }
}

.hero-subtitle {
  color: #AEB8C2;
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-badge-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #E4E0D6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-badge-item i {
  color: var(--accent-cyan);
}

.hero-img-wrapper {
  position: relative;
  text-align: center;
}

.hero-img-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: var(--transition-normal);
}

.hero-img-card img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Floating Card Accent */
.floating-glass-card {
  position: absolute;
  background: rgba(20, 37, 54, 0.92);
  border: 1px solid rgba(91, 124, 153, 0.3);
  backdrop-filter: blur(16px);
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-glow);
  color: #FFFFFF;
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-glass-card.pos-1 {
  bottom: -20px;
  left: -20px;
}

.floating-glass-card.pos-2 {
  top: 20px;
  right: -20px;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* --- Stats Strip --- */
.stats-strip {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 30px 20px;
  margin-top: -50px;
  position: relative;
  z-index: 20;
}

.stat-item {
  text-align: center;
  padding: 10px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 4px;
}

/* --- Cards & Features --- */
.service-card {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 32px 28px;
  height: 100%;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(91, 124, 153, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(91, 124, 153, 0.08);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(91, 124, 153, 0.35);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.service-bullets li {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-bullets li i {
  color: var(--accent-cyan);
  font-size: 0.8rem;
}

/* --- Product Cards --- */
.product-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 52, 72, 0.3);
}

.product-header-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  padding: 24px;
  color: #FFFFFF;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.product-badge-flagship {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #D9C9A3 0%, #C9B48A 100%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Capability Chips (Business-Oriented, No Tech Stack Mentions) */
.capability-chip {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(91, 124, 153, 0.1);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* --- Flagship NexFixo Banner --- */
.nexfixo-spotlight {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #142536 100%);
  border-radius: 32px;
  color: #FFFFFF;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(20, 37, 54, 0.4);
}

.nexfixo-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(91, 124, 153, 0.2), transparent 70%);
  pointer-events: none;
}

/* --- Buttons --- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(91, 124, 153, 0.35);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(91, 124, 153, 0.5);
  color: #FFFFFF;
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-outline-custom:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(30, 52, 72, 0.05);
}

.btn-outline-light-custom {
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-outline-light-custom:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* --- Footer --- */
.footer-main {
  background-color: var(--primary-navy);
  color: #AEB8C2;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-logo {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
}

.footer-links-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #AEB8C2;
  font-size: 0.92rem;
}

.footer-links-list a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--accent-cyan);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 60px;
  font-size: 0.88rem;
}

/* --- Modal Styles --- */
.modal-custom .modal-content {
  border-radius: 24px;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modal-custom .modal-header {
  background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
  color: #FFFFFF;
  border: none;
  padding: 24px 30px;
}

.modal-custom .modal-header .btn-close {
  filter: invert(1);
}

/* ==========================================================================
   Brand refresh: navy + cream theme from the official logo, plus utilities
   the markup used but the stylesheet never defined
   ========================================================================== */

/* --- Missing utilities --- */
.max-w-300 { max-width: 300px; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.text-cyan { color: var(--accent-cyan) !important; }
.text-gold { color: var(--accent-gold) !important; }
.bg-cream { background-color: var(--brand-cream) !important; }
.bg-navy { background-color: var(--primary-navy) !important; }

/* --- Bootstrap colour utilities mapped onto the brand palette --- */
.text-primary { color: var(--primary-navy) !important; }
.text-info { color: var(--accent-cyan) !important; }
.bg-primary { background-color: var(--primary-navy) !important; }
.bg-info { background-color: #DCE4EC !important; }
.bg-light { background-color: var(--brand-cream) !important; }
.bg-dark { background-color: var(--secondary-navy) !important; }
.bg-secondary { background-color: var(--navy-700) !important; }
.badge.bg-warning { background-color: var(--brand-cream) !important; color: var(--primary-navy) !important; }
a.text-primary:hover { color: var(--accent-cyan) !important; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--brand-cream); color: var(--primary-navy); }
.form-control:focus, .form-select:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 .2rem rgba(91,124,153,.2); }

/* --- Dark (navy) sections --- */
.on-dark, .hero-section, .nexfixo-spotlight, .footer-main, .top-bar, .page-hero, .cta-band { color: #E6EAEE; }
.on-dark .text-muted, .hero-section .text-muted, .nexfixo-spotlight .text-muted,
.page-hero .text-muted, .cta-band .text-muted, .footer-main .text-muted, .floating-glass-card .text-muted, .bg-dark .text-muted { color: #AEB8C2 !important; }
.on-dark .text-cyan, .hero-section .text-cyan, .nexfixo-spotlight .text-cyan, .top-bar .text-cyan,
.footer-main .text-cyan, .page-hero .text-cyan, .cta-band .text-cyan, .bg-dark .text-cyan,
.product-header-banner .text-info { color: #C3D1DE !important; }
.product-header-banner .text-warning { color: var(--accent-gold) !important; }
.hero-section .gradient-text, .page-hero .gradient-text, .cta-band .gradient-text, .on-dark .gradient-text,
.hero-section .gradient-text-gold {
  background: linear-gradient(135deg, #FFFFFF 0%, #C3D1DE 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.gradient-text { background-clip: text; }
.hero-section .section-tag, .page-hero .section-tag, .cta-band .section-tag, .on-dark .section-tag {
  background: rgba(247, 245, 239, 0.12); color: var(--brand-cream);
}

.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  padding: 70px 0;
  overflow: hidden;
}
.page-hero::after, .cta-band::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 48px; transform: rotate(18deg);
  border: 2px solid rgba(247, 245, 239, 0.06); pointer-events: none;
}
.page-hero .breadcrumb-lite { font-size: .9rem; color: #AEB8C2; margin-top: 12px; }
.page-hero .breadcrumb-lite a { color: var(--brand-cream); }
.cta-band { position: relative; background: linear-gradient(135deg, var(--secondary-navy) 0%, var(--primary-navy) 100%); overflow: hidden; }

/* --- Buttons: solid navy on light, cream on navy --- */
.btn-primary-custom, .btn-nav-cta {
  background: var(--primary-navy);
  box-shadow: 0 4px 14px rgba(30, 52, 72, 0.25);
}
.btn-primary-custom:hover, .btn-nav-cta:hover {
  background: var(--secondary-navy);
  box-shadow: 0 8px 22px rgba(30, 52, 72, 0.35);
}
.hero-section .btn-primary-custom, .page-hero .btn-primary-custom, .cta-band .btn-primary-custom,
.nexfixo-spotlight .btn-primary-custom, .on-dark .btn-primary-custom {
  background: var(--brand-cream); color: var(--primary-navy); box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.hero-section .btn-primary-custom:hover, .page-hero .btn-primary-custom:hover, .cta-band .btn-primary-custom:hover,
.nexfixo-spotlight .btn-primary-custom:hover, .on-dark .btn-primary-custom:hover {
  background: #FFFFFF; color: var(--primary-navy);
}
.btn-outline-custom:hover { border-color: var(--primary-navy); color: var(--primary-navy); }
.filter-btn.btn-primary-custom { color: #fff; }

/* --- Header / navigation --- */
.brand-logo-img { height: 50px; }
.navbar-custom .dropdown-menu { min-width: 280px; }
.top-bar .social-mini a { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; }
.top-bar .social-mini a:hover { background: rgba(247,245,239,.12); color: #fff; }
.service-icon-box { background: rgba(30, 52, 72, 0.07); color: var(--primary-navy); }
.service-card:hover .service-icon-box { background: var(--primary-navy); color: var(--brand-cream); box-shadow: 0 8px 20px rgba(30,52,72,.25); }
.service-card::before { background: linear-gradient(90deg, var(--primary-navy), var(--accent-cyan)); }
.service-bullets li i { color: var(--accent-cyan); }
.carousel-control-prev, .carousel-control-next { width: 6%; }

/* --- Hero slides use the old site's illustrations --- */
.hero-section { padding: 80px 0 120px; }
.hero-section::after {
  content: ''; position: absolute; left: -140px; bottom: -160px; width: 380px; height: 380px;
  border-radius: 56px; transform: rotate(-14deg); border: 2px solid rgba(247,245,239,.06); pointer-events: none;
}
.hero-img-card { background: rgba(247,245,239,.06); }
.hero-img-card img { max-height: 420px; object-fit: contain; }
.hero-kicker { color: var(--brand-cream); letter-spacing: 3px; font-size: .8rem; font-weight: 700; text-transform: uppercase; opacity: .8; margin-bottom: 14px; }

/* --- Marketing service cards with photos --- */
.dm-card { background: #fff; border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: var(--transition-normal); }
.dm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dm-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-cream-2); }
.dm-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dm-card:hover .dm-card-img img { transform: scale(1.05); }
.dm-card-body { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.dm-card-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.dm-card-body p { color: var(--text-muted); font-size: .95rem; }
.dm-card-body .service-bullets { margin-bottom: 18px; }
.dm-card-body .read-more { margin-top: auto; font-weight: 700; color: var(--primary-navy); }
.dm-card-body .read-more:hover { color: var(--accent-cyan); }

/* --- Process steps (Discover > Plan > Execute > Optimize) --- */
.process-step { background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 30px 26px; height: 100%; position: relative; }
.process-num { font-family: var(--font-heading); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--brand-cream-2); -webkit-text-stroke: 1.5px var(--primary-navy); margin-bottom: 16px; }
.process-step h4 { font-size: 1.2rem; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); margin: 0; font-size: .95rem; }

/* --- Testimonials (content from the previous nex9ads.com site) --- */
.testimonial-card { background: #fff; border: 1px solid var(--border-color); border-radius: 22px; padding: 34px 30px; height: 100%; display: flex; flex-direction: column; position: relative; }
.testimonial-card::before { content: '\201C'; position: absolute; top: 6px; right: 24px; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--brand-cream-2); }
.testimonial-card p { color: var(--text-body); font-size: 1rem; font-style: italic; flex-grow: 1; position: relative; }
.testimonial-stars { color: var(--accent-gold); font-size: .85rem; margin-bottom: 14px; }
.testimonial-person { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.testimonial-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-cream-2); }
.testimonial-person strong { display: block; color: var(--text-main); font-family: var(--font-heading); }
.testimonial-person small { color: var(--text-muted); }
#testimonialCarousel .carousel-indicators { position: static; margin: 28px 0 0; }
#testimonialCarousel .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background-color: var(--primary-navy); border: 0; }

/* --- Help strip / about highlights --- */
.help-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; background: rgba(247,245,239,.06); border: 1px solid rgba(247,245,239,.1); height: 100%; }
.help-item i { font-size: 1.4rem; color: var(--brand-cream); width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(247,245,239,.1); flex-shrink: 0; }
.help-item h5 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.help-item p { color: #AEB8C2; margin: 0; font-size: .92rem; }
.highlight-tile { background: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 22px; text-align: center; height: 100%; }
.highlight-tile strong { display: block; font-family: var(--font-heading); font-size: 1.35rem; color: var(--primary-navy); }
.highlight-tile span { color: var(--text-muted); font-size: .9rem; }
.mission-list { list-style: none; padding: 0; margin: 0; }
.mission-list li { display: flex; gap: 10px; margin-bottom: 10px; color: var(--text-body); }
.mission-list li i { color: var(--accent-cyan); margin-top: 5px; }

/* --- Offices / contact --- */
.office-card { background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 26px; height: 100%; transition: var(--transition-fast); }
.office-card:hover { box-shadow: var(--shadow-md); border-color: rgba(30,52,72,.25); }
.office-flag { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: var(--brand-cream); color: var(--primary-navy); padding: 5px 12px; border-radius: 30px; margin-bottom: 14px; }
.office-card.hq .office-flag { background: var(--primary-navy); color: var(--brand-cream); }
.office-card h5 { margin-bottom: 8px; }
.office-card address { color: var(--text-muted); margin: 0; font-style: normal; line-height: 1.7; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-color); }
.contact-line:last-child { border-bottom: 0; }
.contact-line i { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-cream); color: var(--primary-navy); display: inline-flex; align-items: center; justify-content: center; }
.contact-line a { color: var(--text-main); font-weight: 600; }
.map-frame { border: 0; width: 100%; height: 360px; border-radius: 20px; filter: grayscale(.25); }

/* --- Footer --- */
.footer-main { background-color: var(--secondary-navy); }
.footer-brand-logo { height: 58px; }
.footer-tagline { color: var(--brand-cream); font-weight: 600; letter-spacing: .3px; }
.footer-office { font-size: .9rem; line-height: 1.65; margin-bottom: 14px; color: #C9D1D9; }
.footer-office strong { color: var(--brand-cream); display: block; }
.social-icon-btn:hover { background: var(--brand-cream); color: var(--primary-navy); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; min-width: 0; border-radius: 50px; border: 1px solid rgba(247,245,239,.2); background: rgba(247,245,239,.06); color: #fff; padding: 10px 18px; }
.newsletter-form input::placeholder { color: #9AA6B2; }
.newsletter-form button { border-radius: 50px; border: 0; background: var(--brand-cream); color: var(--primary-navy); font-weight: 700; padding: 10px 20px; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 1040; }
.whatsapp-float:hover { color: #fff; transform: translateY(-3px); }

@media (max-width: 991.98px) {
  .hero-section { padding: 50px 0 100px; }
  .hero-title { font-size: 2.2rem; }
  .brand-logo-img { height: 42px; }
  .navbar-custom .nav-link-custom { width: 100%; }
}

/* Product card banners: the product logo already carries the product name,
   so stack logo + subtitle instead of repeating the name beside it */
.product-header-banner { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 128px; justify-content: center; }
.product-header-banner .product-logo-img + div h4 { display: none; }
.product-header-banner .product-logo-img { height: 46px; max-width: 70%; }
.product-header-banner p { font-size: .9rem; }
.product-badge-flagship { background: var(--brand-cream); color: var(--primary-navy); }

/* Wide gutters overflowed the container on phones */
@media (max-width: 991.98px) {
  .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}
.highlight-tile img { max-width: 100%; }
.hero-section, .page-hero, .cta-band { overflow: hidden; }

/* ---- Software services (image cards + mega menu) ---- */
.dm-card-img { position: relative; }
.dm-card-badge { position: absolute; left: 20px; bottom: -22px; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-navy); color: var(--brand-cream); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; box-shadow: 0 8px 20px rgba(30,52,72,.25); }
.sw-card .dm-card-img { overflow: visible; }
.sw-card .dm-card-img img { border-radius: 20px 20px 0 0; }
.sw-card:hover .dm-card-img img { transform: none; }
.sw-card .dm-card-body { padding-top: 38px; }
.sw-card:hover .dm-card-badge { background: var(--accent-gold); color: var(--primary-navy); }
.dropdown-mega .dropdown-header { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 700; padding: .25rem 1rem .5rem; }
.dropdown-mega .dropdown-item { white-space: normal; font-size: .92rem; }
@media (min-width: 992px) { .navbar .dropdown-menu.dropdown-mega { min-width: 620px; width: 620px; left: 50%; transform: translateX(-50%); } }
