/* ============================================================
   QBA Assessment Service — Custom Stylesheet
   ============================================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #0d5bd7;
  --primary-dark: #0a2f6f;
  --accent: #3ca7ff;
  --text: #14213d;
  --muted: #667085;
  --border: rgba(10, 47, 111, 0.1);
  --shadow: 0 20px 50px rgba(8, 43, 108, 0.12);
  --nav-glow: 0 18px 35px rgba(13, 91, 215, 0.16);
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(60, 167, 255, 0.15), transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #edf4ff 100%);
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* ---------- Utility Classes ---------- */
.section-chip {
  display: inline-block;
  background: linear-gradient(135deg, rgba(13, 91, 215, 0.10), rgba(60, 167, 255, 0.14));
  color: var(--primary);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(13, 91, 215, 0.18);
  margin-bottom: 1rem;
}

.btn-primary-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #1a73e8 60%, var(--accent) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(13, 91, 215, 0.28);
  cursor: pointer;
  display: inline-block;
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 91, 215, 0.40);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50px;
  padding: 10px 28px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-block;
}

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

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Disable reveal animations on mobile to prevent scroll jitter */
@media (max-width: 768px) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .reveal.visible {
    transform: none;
  }
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* When top bar is hidden on mobile, slide the entire header up by the top-bar's height */
@media (max-width: 1023px) {
  .site-header.topbar-hidden {
    transform: translateY(calc(-1 * var(--topbar-height, 48px)));
  }
}

/* Top Contact Bar */
.top-bar {
  background: linear-gradient(90deg, #0a2f6f 0%, #0d5bd7 55%, #2f9dff 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 0;
  overflow: hidden;
  transition: opacity 0.25s ease;
}

/* Smooth fade out when hidden */
.site-header.topbar-hidden .top-bar {
  opacity: 0;
  pointer-events: none;
}

.top-bar .top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.top-bar-contact a {
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.81rem;
  transition: color 0.2s;
}

.top-bar-contact a:hover {
  color: #fff;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.40);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}

.top-bar .btn-quote {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  transition: var(--transition);
  white-space: nowrap;
}

.top-bar .btn-quote:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
}

/* Main Navbar */
.main-navbar {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(13, 91, 215, 0.07);
  padding: 0;
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
}

.navbar-brand-wrapper img {
  height: 52px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav Links */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop>li {
  position: relative;
}

.nav-desktop>li>a,
.nav-desktop>li>span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 28px 11px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}

.nav-desktop>li>a::after,
.nav-desktop>li>span::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.28s ease;
}

.nav-desktop>li:hover>a::after,
.nav-desktop>li:hover>span::after,
.nav-desktop>li>a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-desktop>li:hover>a,
.nav-desktop>li:hover>span {
  color: var(--primary);
}

.nav-desktop .nav-caret {
  font-size: 0.65rem;
  transition: transform 0.25s;
}

.nav-desktop>li:hover .nav-caret {
  transform: rotate(180deg);
}

/* Dropdown – simple */
.nav-dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 12px 0;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 200;
  list-style: none;
}

.nav-desktop>li:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown li a:hover {
  color: var(--primary);
  background: rgba(13, 91, 215, 0.05);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px 30px;
  width: 1100px;
  max-height: 600px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.28s;
  z-index: 200;
}

.nav-desktop>li:hover .mega-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-col-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border);
}

.mega-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 0.845rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s, padding-left 0.2s;
}

.mega-menu ul li a::before {
  content: '›';
  color: var(--primary);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s;
}

.mega-menu ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* Navbar CTA */
.nav-cta {
  background: linear-gradient(135deg, var(--primary), #1a73e8);
  color: #fff !important;
  border-radius: 50px;
  padding: 9px 20px !important;
  margin-left: 6px;
  font-size: 0.82rem !important;
  box-shadow: 0 4px 14px rgba(13, 91, 215, 0.30);
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #0a4fc4, var(--primary)) !important;
  box-shadow: 0 8px 24px rgba(13, 91, 215, 0.44) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.hamburger-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.hamburger-btn span {
  display: block;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn span:nth-child(1) {
  width: 26px;
}

.hamburger-btn span:nth-child(2) {
  width: 20px;
}

.hamburger-btn span:nth-child(3) {
  width: 26px;
}

/* ============================================================
   MOBILE FULL-SCREEN MENU OVERLAY
   ============================================================ */

#mobileMenuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

#mobileMenuOverlay.open {
  transform: translateX(0);
}

.mob-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.mob-menu-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary-dark);
}

.mob-close-btn {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
  transition: var(--transition);
}

.mob-close-btn:hover {
  background: rgba(13, 91, 215, 0.07);
  border-color: var(--primary);
  color: var(--primary);
}

.mob-menu-nav {
  flex: 1;
  padding: 12px 0 20px;
}

.mob-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  border-bottom: 1px solid rgba(10, 47, 111, 0.06);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.mob-nav-item:hover {
  color: var(--primary);
  background: rgba(13, 91, 215, 0.04);
}

.mob-nav-item .mob-caret {
  font-size: 0.75rem;
  color: var(--muted);
  transition: transform 0.28s;
}

.mob-nav-item.expanded .mob-caret {
  transform: rotate(180deg);
}

.mob-submenu {
  max-height: 0;
  overflow: hidden;
  background: #f7faff;
  transition: max-height 0.38s ease;
}

.mob-submenu.open {
  max-height: 90vh;
  overflow-y: auto;
}

/* Custom scrollbar for mobile submenu */
.mob-submenu::-webkit-scrollbar {
  width: 4px;
}

.mob-submenu::-webkit-scrollbar-track {
  background: #e1e8f0;
  border-radius: 2px;
}

.mob-submenu::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

.mob-submenu::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.mob-submenu-group {
  padding: 10px 24px 4px;
}

/* Mobile specific improvements */
@media (max-width: 480px) {
  .mob-submenu-group {
    padding: 8px 16px 4px;
  }

  .mob-submenu-label {
    font-size: 0.65rem;
    padding: 8px 0 6px;
  }

  .mob-submenu a {
    padding: 6px 0 6px 6px;
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .mob-submenu a:hover {
    color: var(--primary);
    padding-left: 12px;
  }
}

.mob-submenu-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 8px 0 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.mob-submenu a {
  display: block;
  padding: 8px 0 8px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  min-height: 44px;
  /* Touch-friendly size */
  line-height: 1.4;
}

.mob-submenu a:hover {
  color: var(--primary);
  padding-left: 14px;
}

.mob-menu-footer {
  padding: 20px 24px 36px;
  border-top: 1px solid var(--border);
}

.mob-menu-footer .btn-primary-gradient {
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 1rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

#heroCarousel {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(10, 47, 111, 0.82) 0%,
      rgba(13, 91, 215, 0.55) 55%,
      rgba(60, 167, 255, 0.30) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  font-family: 'Manrope', sans-serif;
}

.hero-content h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(10, 47, 111, 0.28);
}

.hero-content p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.72;
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Carousel Controls */
.carousel-indicators {
  bottom: 24px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.3s, transform 0.3s;
}

.carousel-indicators .active {
  background: #fff;
  transform: scale(1.3);
}

.carousel-control-prev,
.carousel-control-next {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.40);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.25s;
}

.carousel-control-prev {
  left: 24px;
}

.carousel-control-next {
  right: 24px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.28);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */

section {
  padding: 40px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.7rem;
}

.section-header p {
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

#about {
  background: transparent;
}

.about-img-wrapper {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(13, 91, 215, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(13, 91, 215, 0.2);
}

.about-img-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.about-img-wrapper:hover img {
  transform: scale(1.02);
}

.about-badge {
  position: absolute;
  bottom: 28px;
  right: -16px;
  background: linear-gradient(135deg, var(--primary), #1a73e8);
  color: #fff;
  border-radius: 16px;
  padding: 16px 22px;
  box-shadow: 0 8px 24px rgba(13, 91, 215, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img-wrapper:hover .about-badge {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13, 91, 215, 0.4);
}

.about-badge .badge-num {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-badge .badge-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.88;
  letter-spacing: 0.04em;
}

.about-content {
  padding-left: 20px;
}

.about-content h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.1rem;
}

.about-content p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 1.8rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 1.4rem;
}

.about-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(13, 91, 215, 0.07);
}

.about-stat-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, rgba(13, 91, 215, 0.10), rgba(60, 167, 255, 0.14));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.about-stat-info strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.about-stat-info span {
  font-size: 0.80rem;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================================
   OTHER CERTIFICATION NAVIGATION BAR
   ============================================================ */

.other-nav-container {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #8269f3 0%, #5f9104 50%, #000000 100%);
  padding: 1.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.05);
  width: 100%;
  margin-left: 0;
  position: relative;
  overflow: visible;
}

@media (min-width: 768px) {
  .other-nav-container {
    padding: 2rem 2rem;
  }
}

@media (min-width: 992px) {
  .other-nav-container {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 2.5rem 3rem;
  }
}

.other-nav-header {
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 50%, #f0f4ff 100%);
  padding: 1.2rem 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 15px rgba(13, 91, 215, 0.08);
  position: relative;
  overflow: hidden;
}

.other-nav-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #1a73e8, var(--primary));
  animation: shimmer 3s ease-in-out infinite;
}

.other-nav-header h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-family: 'Manrope', sans-serif;
}

.other-nav-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.other-nav-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(13, 91, 215, 0.1);
}

.other-nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(13, 91, 215, 0.15);
  border-color: var(--primary);
}

.other-image-space {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}

.other-image-space::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 91, 215, 0.05) 0%, rgba(26, 115, 232, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.other-nav-card:hover .other-image-space::before {
  opacity: 1;
}

.other-standard-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.other-nav-card:hover .other-standard-img {
  transform: scale(1.1);
}

.other-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.other-content h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-family: 'Manrope', sans-serif;
  line-height: 1.3;
  text-align: center;
}

.other-content p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
  text-align: center;
}

.btn-other-learn {
  background: linear-gradient(135deg, var(--primary) 0%, #1a73e8 100%);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Manrope', sans-serif;
  box-shadow: 0 2px 10px rgba(13, 91, 215, 0.2);
}

.btn-other-learn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.3);
  background: linear-gradient(135deg, #1a73e8 0%, var(--primary) 100%);
}

/* ============================================================
   PRODUCT CERTIFICATION NAVIGATION BAR
   ============================================================ */

.product-nav-container {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #5e2727 0%, #06791d 50%, #470579 100%);
  padding: 1.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.05);
  width: 100%;
  margin-left: 0;
  position: relative;
  overflow: visible;
}

@media (min-width: 768px) {
  .product-nav-container {
    padding: 2rem 2rem;
  }
}

@media (min-width: 992px) {
  .product-nav-container {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 2.5rem 3rem;
  }
}

.product-nav-header {
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 50%, #f0f4ff 100%);
  padding: 1.2rem 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 15px rgba(13, 91, 215, 0.08);
  position: relative;
  overflow: hidden;
}

.product-nav-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #1a73e8, var(--primary));
  animation: shimmer 3s ease-in-out infinite;
}

.product-nav-header h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-family: 'Manrope', sans-serif;
}

.product-nav-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.product-nav-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(13, 91, 215, 0.1);
}

.product-nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(13, 91, 215, 0.15);
  border-color: var(--primary);
}

.product-image-space {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  overflow: hidden;
  position: relative;
}

.product-image-space::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 91, 215, 0.05) 0%, rgba(26, 115, 232, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-nav-card:hover .product-image-space::before {
  opacity: 1;
}

.product-standard-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-nav-card:hover .product-standard-img {
  transform: scale(1.1);
}

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
  font-family: 'Manrope', sans-serif;
  line-height: 1.3;
  text-align: center;
}

.product-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex: 1;
  text-align: center;
}

.btn-product-learn {
  background: linear-gradient(135deg, var(--primary) 0%, #1a73e8 100%);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Manrope', sans-serif;
  box-shadow: 0 2px 10px rgba(13, 91, 215, 0.2);
}

.btn-product-learn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.3);
  background: linear-gradient(135deg, #1a73e8 0%, var(--primary) 100%);
}

/* ============================================================
   CYBERSECURITY NAVIGATION BAR
   ============================================================ */

.cyber-nav-container {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #260561 0%, #086787 50%, #8b2a2a 100%);
  padding: 1.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.05);
  width: 100%;
  margin-left: 0;
  position: relative;
  overflow: visible;
}

@media (min-width: 768px) {
  .cyber-nav-container {
    padding: 2rem 2rem;
  }
}

@media (min-width: 992px) {
  .cyber-nav-container {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 2.5rem 3rem;
  }
}

.cyber-nav-header {
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #e8f0ff 0%, #dde8ff 50%, #e8f0ff 100%);
  padding: 1.2rem 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 15px rgba(13, 91, 215, 0.08);
  position: relative;
  overflow: hidden;
}

.cyber-nav-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #1a73e8, var(--primary));
  animation: shimmer 3s ease-in-out infinite;
}

.cyber-nav-header h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-family: 'Manrope', sans-serif;
}

.cyber-nav-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.cyber-nav-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(13, 91, 215, 0.1);
}

.cyber-nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(13, 91, 215, 0.15);
  border-color: var(--primary);
}

.cyber-image-space {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  overflow: hidden;
  position: relative;
}

.cyber-image-space::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 91, 215, 0.05) 0%, rgba(26, 115, 232, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cyber-nav-card:hover .cyber-image-space::before {
  opacity: 1;
}

.cyber-standard-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cyber-nav-card:hover .cyber-standard-img {
  transform: scale(1.1);
}

.cyber-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.cyber-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
  font-family: 'Manrope', sans-serif;
  line-height: 1.3;
  text-align: center;
}

.cyber-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex: 1;
  text-align: center;
}

.btn-cyber-learn {
  background: linear-gradient(135deg, var(--primary) 0%, #1a73e8 100%);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Manrope', sans-serif;
  box-shadow: 0 2px 10px rgba(13, 91, 215, 0.2);
}

.btn-cyber-learn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.3);
  background: linear-gradient(135deg, #1a73e8 0%, var(--primary) 100%);
}

/* ============================================================
   ISO NAVIGATION BAR
   ============================================================ */

.iso-nav-container {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #062052 0%, #660960 50%, #26208a 100%);
  padding: 1.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.05);
  width: 100%;
  margin-left: 0;
  position: relative;
  overflow: visible;
}

@media (min-width: 768px) {
  .iso-nav-container {
    padding: 2rem 2rem;
  }
}

@media (min-width: 992px) {
  .iso-nav-container {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 2.5rem 3rem;
  }
}

.iso-nav-header {
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 50%, #f0f4ff 100%);
  padding: 1.2rem 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 15px rgba(13, 91, 215, 0.08);
  position: relative;
  overflow: hidden;
}

.iso-nav-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #1a73e8, var(--primary));
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.iso-nav-header h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-family: 'Manrope', sans-serif;
}

.iso-nav-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.iso-nav-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(13, 91, 215, 0.1);
}

.iso-nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(13, 91, 215, 0.15);
  border-color: var(--primary);
}

.iso-image-space {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  overflow: hidden;
  position: relative;
}

.iso-image-space::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 91, 215, 0.05) 0%, rgba(26, 115, 232, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.iso-nav-card:hover .iso-image-space::before {
  opacity: 1;
}

.iso-standard-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.iso-nav-card:hover .iso-standard-img {
  transform: scale(1.1);
}

.iso-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.iso-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
  font-family: 'Manrope', sans-serif;
  line-height: 1.3;
  text-align: center;
}

.iso-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex: 1;
  text-align: center;
}

.btn-iso-learn {
  background: linear-gradient(135deg, var(--primary) 0%, #1a73e8 100%);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Manrope', sans-serif;
  box-shadow: 0 2px 10px rgba(13, 91, 215, 0.2);
}

.btn-iso-learn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(13, 91, 215, 0.3);
  background: linear-gradient(135deg, #1a73e8 0%, var(--primary) 100%);
}

/* Responsive for ISO Navigation */
@media (max-width: 991px) {
  .iso-nav-card {
    margin-bottom: 1.5rem;
  }

  .iso-content p {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .iso-nav-header h3 {
    font-size: 1.8rem;
  }

  .iso-nav-card {
    padding: 1.2rem;
  }

  .iso-content h4 {
    font-size: 1.2rem;
  }

  .iso-image-space {
    height: 100px;
  }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

#services {
  background: rgba(13, 91, 215, 0.03);
  overflow: visible;
}

#services>.container {
  overflow: visible;
}

/* Service blocks must stay visible on mobile (no reveal hide) */
#services .iso-nav-container,
#services .cyber-nav-container,
#services .product-nav-container,
#services .other-nav-container {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2.2rem 2rem;
  box-shadow: 0 8px 32px rgba(13, 91, 215, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(13, 91, 215, 0.16);
}

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

.service-icon-wrap {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(13, 91, 215, 0.10), rgba(60, 167, 255, 0.16));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.service-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.9rem;
}

.service-card p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 1.6rem;
}

.service-card .learn-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.87rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.22s;
}

.service-card .learn-link:hover {
  gap: 10px;
}

/* ============================================================
   WHY CHOOSE US SECTION
   ============================================================ */

#why-us {
  background: transparent;
}

.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
  box-shadow: 0 6px 24px rgba(13, 91, 215, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  text-align: center;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(13, 91, 215, 0.13);
}

.why-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(13, 91, 215, 0.08), rgba(60, 167, 255, 0.14));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.5rem;
}

.why-card h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.55rem;
}

.why-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   PRESENCE SECTION
   ============================================================ */

#presence {
  background: rgba(13, 91, 215, 0.03);
}

.presence-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.presence-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.presence-card:hover img {
  transform: scale(1.06);
}

.presence-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(10, 47, 111, 0.88) 0%,
      rgba(13, 91, 215, 0.50) 45%,
      rgba(0, 0, 0, 0.10) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 30px;
  transition: background 0.3s;
}

.presence-card:hover .presence-overlay {
  background: linear-gradient(to top,
      rgba(10, 47, 111, 0.95) 0%,
      rgba(13, 91, 215, 0.65) 55%,
      rgba(0, 0, 0, 0.20) 100%);
}

.presence-overlay h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}

.presence-overlay p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.83);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.btn-presence {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  border-radius: 50px;
  padding: 8px 22px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  transition: var(--transition);
  width: fit-content;
}

.btn-presence:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   COUNTER / STATS SECTION
   ============================================================ */

#stats {
  padding: 46px 0;
  background: linear-gradient(135deg,
      rgba(13, 91, 215, 0.06) 0%,
      rgba(60, 167, 255, 0.12) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 20px 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1.5px;
  background: var(--border);
}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */

#testimonials {
  background: transparent;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 8px 28px rgba(13, 91, 215, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(13, 91, 215, 0.14);
}

.testimonial-quote {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  margin-bottom: 0.5rem;
  opacity: 0.55;
}

.testimonial-card p {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-stars {
  color: #f5a623;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--primary-dark);
}

.author-info span {
  font-size: 0.80rem;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

#contact {
  background: rgba(13, 91, 215, 0.03);
}

.contact-info-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 20px;
  padding: 2.2rem;
  margin-top: 2rem;
  color: #fff;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-text strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.70;
  margin-bottom: 2px;
}

.contact-info-text span {
  font-size: 0.94rem;
  font-weight: 500;
  opacity: 0.92;
}

.contact-form-wrap {
  background: #fff;
  border-radius: 22px;
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-control,
.form-select {
  border-radius: 12px !important;
  min-height: 48px;
  border: 1.5px solid var(--border) !important;
  font-size: 0.92rem;
  color: var(--text);
  padding: 10px 16px !important;
  transition: border-color 0.25s, box-shadow 0.25s;
  background-color: #f9fbff !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(13, 91, 215, 0.12) !important;
  background-color: #fff !important;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text);
  margin-bottom: 6px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #1a73e8 60%, var(--accent) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 22px rgba(13, 91, 215, 0.32);
  letter-spacing: 0.02em;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 91, 215, 0.45);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: linear-gradient(135deg, #0a2f6f 0%, #050c1a 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 0;
}

.footer-main {
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: 1.2rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(60, 167, 255, 0.10);
}

.footer-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

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

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

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.60);
  transition: color 0.22s, padding-left 0.22s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
  opacity: 0.7;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.60);
}

.footer-contact-icon {
  color: var(--accent);
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.40);
}

.footer-bottom a {
  color: var(--accent);
}

/* ============================================================
   CAROUSEL STYLES
   ============================================================ */
.carousel {
  position: relative;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  display: none;
  width: 100%;
  backface-visibility: hidden;
  perspective: 1000px;
}

.carousel-item.active {
  display: block;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  gap: 8px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background: #fff;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev i,
.carousel-control-next i {
  position: relative;
  z-index: 2;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none;
}

/* ============================================================
   END CAROUSEL STYLES
   ============================================================ */

/* Hide desktop nav on mobile */
@media (max-width: 1199px) {
  .nav-desktop {
    display: none !important;
  }

  .hamburger-btn {
    display: flex !important;
  }
}

@media (min-width: 1200px) {
  .hamburger-btn {
    display: none !important;
  }

  .nav-desktop {
    display: flex !important;
  }
}

/* Tablet */
@media (max-width: 991px) {
  section {
    padding: 70px 0;
  }

  .hero-slide {
    height: 550px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .stat-item:last-child::after {
    display: none;
  }

  .about-content {
    padding-left: 0;
    margin-top: 2rem;
  }

  .about-badge {
    right: 8px;
  }

  .mega-menu {
    width: 1000px;
    max-height: 500px;
    grid-template-columns: repeat(4, 1fr);
  }

  /* Custom scrollbar for mega menu */
  .mega-menu::-webkit-scrollbar {
    width: 6px;
  }

  .mega-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }

  .mega-menu::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
  }

  .mega-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
  }
}

/* Mobile */
@media (max-width: 767px) {
  section {
    padding: 56px 0;
  }

  .hero-slide {
    height: 500px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    gap: 10px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item::after {
    display: none !important;
  }

  .stat-item:nth-child(odd)::after {
    display: block !important;
    right: 0;
    top: 20%;
    height: 60%;
  }

  .about-img-wrapper img {
    height: 280px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-badge {
    position: static;
    margin-top: 16px;
    display: inline-block;
  }

  .contact-form-wrap {
    padding: 1.6rem;
  }

  .footer-main {
    padding: 48px 0 32px;
  }

  .presence-card {
    height: 320px;
  }

  .top-bar-contact {
    gap: 0.8rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 38px;
    height: 38px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }
}

/* Keyboard open state for desktop mega/dropdown menus */
.nav-desktop>li.kb-open .mega-menu,
.nav-desktop>li.kb-open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-desktop>li.kb-open>a,
.nav-desktop>li.kb-open>span {
  color: var(--primary);
}

.nav-desktop>li.kb-open .nav-caret {
  transform: rotate(180deg);
}

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #edf4ff;
}

::-webkit-scrollbar-thumb {
  background: rgba(13, 91, 215, 0.35);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

section {
  scroll-margin-top: 80px;
}

/* Ensure body does not clip content on mobile */
body {
  overflow-x: hidden;
}


/* Mobile: prevent full-bleed blocks from clipping service content */
@media (max-width: 991px) {

  .iso-nav-container,
  .cyber-nav-container,
  .product-nav-container,
  .other-nav-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #services .row {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Safety styles for dynamic thank you modal to guarantee correct colors */
#thankYouModal h3,
#thankYouModal .modal-content h3 {
  color: #ffffff !important;
}
#thankYouModal .modal-header-gradient-p {
  color: #ffffff !important;
}
#thankYouModal .modal-body-p {
  color: #000000 !important;
}