/* ==========================================================================
   CCNSB DESIGN SYSTEM & STYLESHEET
   Light Theme - Blue-Based Parallax Website
   ========================================================================== */

/* 1. Global Variables & Root Configuration */
:root {
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Palette */
  --primary: hsl(217, 89%, 43%);         /* Modern Royal Blue */
  --primary-hover: hsl(217, 89%, 33%);   /* Darker Blue */
  --primary-rgb: 11, 87, 208;
  --secondary: hsl(194, 100%, 45%);       /* Bright Cyan */
  --secondary-hover: hsl(194, 100%, 35%);
  --dark-slate: hsl(220, 45%, 12%);      /* Premium Deep Navy */
  --dark-slate-rgb: 15, 23, 42;
  --body-text: hsl(220, 16%, 36%);       /* Balanced Body Text */
  --bg-white: hsl(0, 0%, 100%);
  --bg-light: hsl(210, 40%, 98%);        /* Ice Blue tint */
  --border-color: hsl(210, 20%, 90%);
  --border-focus: hsl(217, 89%, 60%);
  --error: hsl(0, 75%, 55%);
  --success: hsl(145, 63%, 42%);

  /* Layout and Transitions */
  --container-width: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --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(11, 87, 208, 0.08), 0 4px 6px -2px rgba(11, 87, 208, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(11, 87, 208, 0.12), 0 10px 10px -5px rgba(11, 87, 208, 0.04);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-white);
  color: var(--body-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 3. Typography Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--dark-slate);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

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

/* 4. Layout Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* 5. Utility Classes */
.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-cyan { color: var(--secondary) !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.required { color: var(--error); }

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Section Header Styling */
.section-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.sub-title {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--body-text);
  margin-top: 1rem;
}

/* Light Text modifier */
.light-text h2, 
.light-text p {
  color: var(--bg-white);
}

/* 6. Buttons Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 15px rgba(11, 87, 208, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background-color: var(--bg-white);
  color: var(--primary);
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

.btn-text {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  padding: 0.5rem 0;
}
.btn-text:hover {
  color: var(--secondary);
  gap: 0.75rem;
}

/* Badges */
.badge {
  display: inline-block;
  background-color: rgba(11, 87, 208, 0.1);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

/* Hero badge — white glass pill over dark background */
.hero-section .badge {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

/* 7. Header & Navigation */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  transition: var(--transition-normal);
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(11, 87, 208, 0.05);
}

#header.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-normal);
}

#header.scrolled .navbar {
  height: 70px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* New PNG logo sizing */
.logo-img {
  height: 58px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: var(--transition-normal);
}
#header.scrolled .logo-img {
  height: 48px;
}
.logo-img-footer {
  height: 50px;
}

.logo-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  color: var(--dark-slate);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtext {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--body-text);
  margin-top: -2px;
}

footer .logo-subtext {
  color: rgba(255, 255, 255, 0.5);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--dark-slate);
  opacity: 0.85;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dark-slate);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Dropdown Nav */
.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  z-index: 899;
  display: none;
  flex-direction: column;
  padding: 1rem 0;
}

.mobile-nav-link {
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--bg-light);
  color: var(--primary);
  padding-left: 2.5rem;
}

/* 8. Pure CSS / JS Parallax Foundations */
.parallax-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  will-change: transform;
}

/* 9. Hero Section Specifics */
.hero-section {
  min-height: 100vh;
  padding: 120px 2rem 80px 2rem;
  color: var(--dark-slate);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.hero-container-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 860px;
  position: relative;
  z-index: 5;
}

.hero-content-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg,
    rgba(5, 30, 70, 0.72) 0%,
    rgba(8, 50, 110, 0.60) 60%,
    rgba(10, 60, 130, 0.45) 100%
  );
  z-index: -1;
}

/* Badge dot glow */
.badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  vertical-align: middle;
}
.badge-dot::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background-color: var(--secondary);
  animation: badge-pulse 1.8s infinite;
}
@keyframes badge-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.gradient-text {
  background: linear-gradient(135deg, #7ec8ff 0%, #00c6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  line-height: 1.15;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
  max-width: 780px;
  margin-bottom: 2rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: rgba(220, 235, 255, 0.92);
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.hero-buttons .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.hero-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff;
}

/* Visual Column Right */
.hero-visual-right {
  position: relative;
  height: 480px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 420px;
  max-height: 420px;
}

.visual-network-svg {
  width: 100%;
  height: 100%;
  opacity: 0.7;
  animation: rotate-network 40s linear infinite;
}
@keyframes rotate-network {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Floating Glassmorphic Cards */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius-md);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  width: 220px;
  transition: var(--transition-normal);
}
.floating-card:hover {
  transform: scale(1.05) translateY(-5px) !important;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(11, 87, 208, 0.25);
}

.floating-card .f-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, rgba(11, 87, 208, 0.08) 0%, rgba(0, 198, 255, 0.08) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.floating-card .f-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.floating-card .f-text strong {
  font-size: 0.85rem;
  color: var(--dark-slate);
  font-family: var(--font-display);
}
.floating-card .f-text span {
  font-size: 0.72rem;
  color: var(--body-text);
}

/* Card positions and float loops */
.card-cloud {
  top: 5%;
  right: -5%;
  animation: float-cloud 6s ease-in-out infinite;
}
.card-cyber {
  top: 45%;
  left: -12%;
  animation: float-cyber 7s ease-in-out infinite;
}
.card-network {
  bottom: 8%;
  right: -3%;
  animation: float-network 6.5s ease-in-out infinite;
}

@keyframes float-cloud {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes float-cyber {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(15px); }
}
@keyframes float-network {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll indicator styling with horizontal centering animation fix */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-display);
  z-index: 10;
  pointer-events: none;
  animation: scroll-fade-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes scroll-fade-in {
  to {
    opacity: 0.5;
    transform: translate(-50%, 0);
  }
}

.mouse-icon {
  width: 24px;
  height: 40px;
  border: 2px solid var(--dark-slate);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 0; top: 6px; }
  30% { opacity: 1; }
  100% { opacity: 0; top: 18px; }
}

/* 10. About Section Components */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.about-card {
  background-color: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 87, 208, 0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(11, 87, 208, 0.06);
  color: var(--primary);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.about-card:hover .card-icon {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(11, 87, 208, 0.3);
}

.about-card h3 {
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.about-card p {
  color: var(--body-text);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Philosophy Component */
.about-philosophy {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  background: linear-gradient(135deg, hsl(210, 40%, 96%) 0%, hsl(210, 30%, 92%) 100%);
  padding: 4rem;
  border-radius: var(--border-radius-lg);
  align-items: center;
}

.philosophy-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.philosophy-content p:first-of-type {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.philosophy-detail {
  font-size: 1.05rem;
  color: var(--body-text);
  margin-bottom: 0;
}

.philosophy-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark-slate);
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

/* 11. Services Grid Components */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 87, 208, 0.3);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, rgba(11, 87, 208, 0.1) 0%, rgba(0, 198, 255, 0.1) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--bg-white);
  box-shadow: 0 4px 10px rgba(11, 87, 208, 0.2);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.service-card p {
  color: var(--body-text);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* 12. Modal Popup Design */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 650px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.25rem;
  color: var(--body-text);
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: var(--transition-fast);
}
.modal-close:hover {
  opacity: 1;
  color: var(--error);
}

.modal-body {
  padding: 3rem;
}

.modal-body h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-body h3 i {
  color: var(--primary);
}

.modal-body p {
  font-size: 1.05rem;
  color: var(--body-text);
  margin-bottom: 1.5rem;
}

.modal-body h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--dark-slate);
}

.modal-body ul {
  list-style: none;
  margin-bottom: 2rem;
}

.modal-body li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.modal-body li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* 13. Competencies & Mission Specifics */
.competencies-content {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.competencies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.competency-card {
  background-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 2.25rem;
  display: flex;
  gap: 1.5rem;
  transition: var(--transition-normal);
}

.competency-card:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.comp-icon {
  font-size: 2rem;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.comp-text h3 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.comp-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.team-callout {
  margin: 5rem auto 0 auto;
  max-width: 900px;
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--secondary);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  padding: 2.5rem;
}

.team-callout p {
  color: var(--bg-white);
  font-size: 1.15rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0;
}

/* 14. Interactive IT Needs Assessment Widget */
.diagnostic-widget {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.widget-steps {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-light);
}

.step {
  flex: 1;
  text-align: center;
  padding: 1.25rem 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--body-text);
  font-size: 0.95rem;
  border-right: 1px solid var(--border-color);
  position: relative;
  opacity: 0.6;
  transition: var(--transition-fast);
}

.step:last-child {
  border-right: none;
}

.step.active {
  opacity: 1;
  color: var(--primary);
  background-color: var(--bg-white);
}

.step.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

.widget-container {
  padding: 3rem;
}

.widget-panel {
  display: none;
}

.widget-panel.active {
  display: block;
}

.widget-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: var(--dark-slate);
}

/* Grid of options (Step 1) */
.segment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.segment-option {
  cursor: pointer;
}

.segment-option input[type="radio"] {
  display: none;
}

.option-box {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.option-box i {
  font-size: 2rem;
  color: var(--body-text);
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

.option-box span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark-slate);
  display: block;
  margin-bottom: 0.25rem;
}

.option-box small {
  font-size: 0.8rem;
  color: var(--body-text);
  line-height: 1.3;
}

/* Checked State Radio */
.segment-option input[type="radio"]:checked + .option-box {
  border-color: var(--primary);
  background-color: rgba(11, 87, 208, 0.02);
  box-shadow: var(--shadow-md);
}

.segment-option input[type="radio"]:checked + .option-box i {
  color: var(--primary);
  transform: scale(1.1);
}

/* Checkboxes (Step 2) */
.checkbox-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.checkbox-option {
  cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
  display: none;
}

.check-box-inner {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-normal);
}

.check-box-inner i {
  font-size: 1.5rem;
  color: var(--body-text);
  transition: var(--transition-fast);
}

.check-box-inner span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-slate);
}

/* Checked State Checkbox */
.checkbox-option input[type="checkbox"]:checked + .check-box-inner {
  border-color: var(--primary);
  background-color: rgba(11, 87, 208, 0.02);
}

.checkbox-option input[type="checkbox"]:checked + .check-box-inner i {
  color: var(--primary);
}

.panel-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
}

/* Blueprint Results (Step 3) */
.blueprint-result .result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--success);
  background-color: rgba(74, 222, 128, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.blueprint-result h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.result-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  background-color: var(--bg-light);
  padding: 2.25rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}

.result-services h4,
.result-summary h4 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  color: var(--primary);
}

.result-services ul {
  list-style: none;
}

.result-services li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--dark-slate);
  font-size: 1rem;
}

.result-services li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

.result-summary p {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.6;
}

/* 15. Contact Section Components */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3,
.contact-form-container h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--body-text);
  margin-bottom: 2.5rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(11, 87, 208, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--dark-slate);
  margin-bottom: 0.25rem;
}

.info-text span {
  font-size: 0.95rem;
  color: var(--body-text);
}

.info-text span a {
  transition: var(--transition-fast);
}

.info-text span a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Map Mockup */
.map-placeholder {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 180px;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--dark-slate);
  padding: 1.5rem;
}

.map-overlay i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.map-overlay h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.map-overlay p {
  font-size: 0.85rem;
  margin-bottom: 0;
  opacity: 0.8;
}

/* Contact Form Components */
.contact-form-container {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 3.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-white);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--dark-slate);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(11, 87, 208, 0.08);
}

/* Error and Validation styling */
.error-msg {
  display: none;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 0.35rem;
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: var(--error);
}

.form-group.invalid .error-msg {
  display: block;
}

.checkbox-group {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--body-text);
  cursor: pointer;
}

/* Form Success State (hidden by default) */
.form-success-state {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(74, 222, 128, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 2rem auto;
}

.form-success-state h3 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.form-success-state p {
  color: var(--body-text);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

/* 16. Footer Styles */
footer {
  background-color: var(--dark-slate);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

.footer-links h3,
.footer-newsletter h3 {
  color: var(--bg-white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 0.25rem;
}

.footer-newsletter p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  color: var(--bg-white);
  font-family: var(--font-primary);
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--secondary);
}

.newsletter-form button {
  padding: 0.75rem 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
  font-size: 0.85rem;
}

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

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

/* 17. Scroll Reveal & Animation Foundations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NEW SECTION STYLES (Suggestions #1–#8)
   ============================================= */

/* #7 — Animated gradient border under hero nav */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0b57d0, #00c6ff, #0b57d0);
  background-size: 200% 100%;
  animation: border-slide 3s linear infinite;
}
@keyframes border-slide {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* #1 — Trust Stats Bar */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1.4rem 0;
  box-shadow: 0 2px 12px rgba(11, 87, 208, 0.07);
  position: relative;
  z-index: 10;
}
.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2.5rem;
}
.stat-pill-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  line-height: 1;
}
.stat-pill-num sup {
  font-size: 0.9rem;
  font-weight: 700;
  vertical-align: super;
}
.stat-pill-label {
  font-size: 0.8rem;
  color: var(--body-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
  flex-shrink: 0;
}

/* #3 — Service card per-service accent colours */
.service-card[data-service="ict"]         { --svc-color: #0b57d0; }
.service-card[data-service="cloud"]       { --svc-color: #0ea5e9; }
.service-card[data-service="signage"]     { --svc-color: #7c3aed; }
.service-card[data-service="cybersecurity"]{ --svc-color: #dc2626; }
.service-card[data-service="datacenter"] { --svc-color: #0f766e; }
.service-card[data-service="security"]   { --svc-color: #d97706; }
.service-card[data-service="maintenance"]{ --svc-color: #16a34a; }
.service-card[data-service="network"]    { --svc-color: #6d28d9; }

.service-card {
  border-top: 3px solid var(--svc-color, var(--primary));
}
.service-card .service-icon {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--svc-color, var(--primary)) 15%, white),
    color-mix(in srgb, var(--svc-color, var(--primary)) 8%, white)
  );
  color: var(--svc-color, var(--primary));
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--svc-color, var(--primary)), color-mix(in srgb, var(--svc-color, var(--primary)) 70%, #00c6ff));
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--svc-color, var(--primary)) 35%, transparent);
}
.service-card h3 { color: var(--dark-slate); }
.service-card:hover { border-color: var(--svc-color, var(--primary)); }

/* #4 — About cards: ensure consistent full height */
.about-grid {
  align-items: stretch;
}
.about-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.about-card p {
  flex-grow: 1;
}

/* #5 — Why Choose Us section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}
.why-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2rem 1.75rem;
  transition: var(--transition-normal);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 87, 208, 0.25);
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(11, 87, 208, 0.1), rgba(0, 198, 255, 0.1));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 6px 16px rgba(11, 87, 208, 0.25);
}
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--dark-slate);
}
.why-card p {
  font-size: 0.93rem;
  color: var(--body-text);
  line-height: 1.6;
}

/* Partners / Certifications Strip */
.partners-strip {
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
  text-align: center;
}
.partners-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--body-text);
  margin-bottom: 1.75rem;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 2rem;
  transition: var(--transition-fast);
}
.partner-logo span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.partner-logo:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* #8 — Newsletter privacy note */
.newsletter-privacy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.newsletter-privacy i {
  font-size: 0.7rem;
}

/* Fade-in transitions for Hero */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-anim 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }
.fade-in.delay-3 { animation-delay: 0.6s; }

@keyframes fade-in-anim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 18. Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .hero-container-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-content-left {
    align-items: center;
    text-align: center;
  }
  .hero-title {
    text-align: center;
  }
  .hero-subtitle {
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual-right {
    display: none;
  }
  .scroll-indicator {
    position: relative;
    bottom: auto;
    left: auto;
    transform: translateY(20px);
    margin-top: 3.5rem;
    opacity: 0;
    animation: fade-in-anim 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
  }
  .about-philosophy {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .widget-steps {
    flex-direction: column;
  }
  .step {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .step.active::after {
    left: 0;
    width: 3px;
    height: 100%;
    bottom: 0;
  }
  .widget-container {
    padding: 2rem;
  }
  .result-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  .contact-form-container {
    padding: 2.2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .segment-options {
    grid-template-columns: 1fr;
  }
  .checkbox-options {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
