/* ============================================================
   Vulindlela Computing — Global Stylesheet (Polished v3)
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* --- Design Tokens --- */
:root {
  --primary:       #0a2540;
  --primary-mid:   #0d3a6e;
  --accent:        #0070f3;
  --accent-light:  #3b9eff;
  --accent-dark:   #005ac2;
  --white:         #ffffff;
  --light-bg:      #f4f7fd;
  --card-bg:       #ffffff;
  --text-dark:     #0a2540;
  --text-mid:      #4a5568;
  --text-light:    #718096;
  --border:        #e2e8f0;
  --border-light:  #edf2f7;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:     0 4px 18px rgba(0,0,0,0.10);
  --shadow-lg:     0 10px 36px rgba(0,0,0,0.14);
  --radius:        10px;
  --radius-lg:     18px;
  --transition:    0.24s ease;
  --nav-h:         68px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
button { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2rem,   5vw,  3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p  { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad    { padding: 88px 0; }
.section-pad-sm { padding: 56px 0; }
.text-center    { text-align: center; }
.text-white     { color: var(--white) !important; }
.text-accent    { color: var(--accent); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,112,243,0.09);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-title    { margin-bottom: 14px; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 52px;
  line-height: 1.65;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,112,243,0.32);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-dark:hover {
  background: var(--accent);
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 14px rgba(0,0,0,0.20);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar-brand .brand-icon {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: white;
  font-weight: 800;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
}
.navbar-brand .brand-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.navbar-brand .brand-text span {
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links .nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
  margin-left: 8px;
}
.nav-links .nav-cta:hover { background: var(--accent-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  border-radius: 6px;
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,0.08); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  padding: 56px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230070f3' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-header .breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.55); }
.page-header .breadcrumb a:hover { color: white; }
.page-header h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 14px;
  position: relative;
}
.page-header p {
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 60%, var(--primary) 100%);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
/* Dark overlay over hero background image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,0.93) 0%, rgba(13,58,110,0.86) 55%, rgba(10,37,64,0.91) 100%);
  pointer-events: none;
  z-index: 0;
}
/* Decorative glow */
.hero::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(0,112,243,0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content .tag {
  display: inline-block;
  background: rgba(0,112,243,0.22);
  color: var(--accent-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,112,243,0.32);
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}
.hero-content h1 span { color: var(--accent-light); }
.hero-content > p {
  color: rgba(255,255,255,0.76);
  font-size: 1.08rem;
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.72;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat .num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.52);
  margin-top: 4px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
}
.hero-img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.hero-img-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  padding: 12px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.hero-img-badge .num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  display: block;
  color: white;
}
.hero-img-badge .lbl {
  font-size: 0.72rem;
  opacity: 0.9;
  margin-top: 3px;
  color: white;
}

/* ============================================================
   SERVICES GRID (Home preview)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon { font-size: 2.2rem; margin-bottom: 18px; }
.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p  { font-size: 0.9rem; margin-bottom: 18px; }
.learn-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.learn-more:hover { gap: 8px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,112,243,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.why-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: background var(--transition);
}
.why-item:hover { background: rgba(255,255,255,0.09); }
.why-item .num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.2rem;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.why-item h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.why-item p  { color: rgba(255,255,255,0.62); font-size: 0.88rem; margin: 0; line-height: 1.65; }

/* ============================================================
   ABOUT TEASER (Home)
   ============================================================ */
.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.about-photo-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-photo-main img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.about-photo-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-photo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-feat-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: box-shadow var(--transition);
}
.about-feat-card:hover { box-shadow: var(--shadow-md); }
.about-feat-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.about-feat-card p  { font-size: 0.82rem; margin: 0; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.about-visual { position: relative; }
.about-img-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img-photo { padding: 0 !important; overflow: hidden; }
.about-img-photo img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.about-img-overlay {
  background: linear-gradient(to top, rgba(10,37,64,0.93) 0%, rgba(10,37,64,0.28) 60%, transparent 100%);
  padding: 28px 28px 24px;
}
.about-img-overlay h3 { color: white; margin-bottom: 6px; font-size: 1.2rem; }
.about-img-overlay p  { color: rgba(255,255,255,0.62); font-size: 0.88rem; margin: 0; }
.about-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge .big   { font-size: 1.8rem; font-weight: 700; font-family: 'DM Sans', sans-serif; line-height: 1; }
.about-badge .small { font-size: 0.75rem; opacity: 0.85; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h4    { margin-bottom: 8px; font-size: 1rem; }
.value-card p     { font-size: 0.85rem; margin: 0; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page-section { padding: 64px 0; border-bottom: 1px solid var(--border); }
.services-page-section:last-of-type { border-bottom: none; }
.services-page-section.alt { background: var(--light-bg); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 52px;
  align-items: start;
}
.service-detail-icon-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  box-shadow: var(--shadow-md);
}
.svc-img-box { padding: 0 !important; }
.svc-sidebar-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.svc-sidebar-body { padding: 24px 22px 28px; }
.svc-sidebar-body h3 { color: white; font-size: 1.15rem; margin-bottom: 10px; }
.svc-sidebar-body p  { color: rgba(255,255,255,0.62); font-size: 0.85rem; margin: 0; }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--light-bg);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.service-list-item:hover { border-color: var(--accent); }
.service-list-item .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: white;
  box-shadow: var(--shadow-md);
}
.contact-info-card h3 { color: white; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,0.62); margin-bottom: 32px; font-size: 0.95rem; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-item .ci-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.09);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item .ci-label {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.48);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact-item .ci-value { color: white; font-size: 0.95rem; font-weight: 500; }
.contact-item .ci-value a { color: var(--accent-light); }

.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h3 { margin-bottom: 6px; }
.contact-form-card > p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,112,243,0.11);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  background: #e6f9f0;
  border: 1px solid #34c77b;
  border-radius: 8px;
  padding: 14px 18px;
  color: #1a7a4a;
  font-size: 0.9rem;
  margin-top: 14px;
  align-items: center;
  gap: 10px;
}

/* Location banner */
.location-img-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,0.88) 0%, rgba(0,112,243,0.52) 100%);
}
.location-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 0 24px;
}

/* ============================================================
   TERMS PAGE
   ============================================================ */
.terms-content { max-width: 820px; margin: 0 auto; }
.terms-content h2 { margin-top: 40px; margin-bottom: 14px; font-size: 1.5rem; }
.terms-content h2:first-child { margin-top: 0; }
.terms-content p, .terms-content li { color: var(--text-mid); font-size: 0.97rem; }
.terms-content ul { list-style: disc; padding-left: 20px; margin-bottom: 1rem; }
.terms-content ul li { margin-bottom: 6px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: white; margin-bottom: 14px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-banner p  { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 540px; margin: 0 auto 32px; }

/* ============================================================
   BRAND / PARTNER LOGOS
   ============================================================ */
.brands-section {
  padding: 72px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.brand-logo-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: all var(--transition);
}
.brand-logo-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  background: var(--white);
  transform: translateY(-3px);
}
.brand-logo-card img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.68);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.footer-brand .brand-icon {
  width: 42px; height: 42px;
  background: var(--accent);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
}
.footer-brand h3 {
  color: white;
  font-size: 1.15rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 0.87rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  color: white;
  font-size: 0.82rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.58);
  font-size: 0.87rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: white; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.87rem;
}
.footer-contact-item .ico { flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.58); }
.footer-contact-item a:hover { color: white; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.81rem;
  color: rgba(255,255,255,0.38);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.48); }
.footer-bottom a:hover { color: white; }

/* ============================================================
   RESPONSIVE — TABLET  (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================================
   RESPONSIVE — SMALL TABLET / LARGE PHONE  (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  :root { --nav-h: 64px; }

  /* Hero */
  .hero { padding: 72px 0 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content > p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; gap: 28px; }
  .hero-visual  { display: none; }

  /* About teaser */
  .about-photo-grid { max-width: 520px; margin: 0 auto; }

  /* About page */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-badge { right: 0; }
  .about-img-photo img { height: 280px; }

  /* Services page */
  .service-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-detail-icon-box { position: static; }
  .svc-sidebar-img { height: 180px; }
  .service-list { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Brands */
  .brands-grid { grid-template-columns: repeat(3, 1fr); }

  /* Inline grid overrides for about page mission section */
  .mission-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   RESPONSIVE — PHONE  (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section-pad    { padding: 60px 0; }
  .section-pad-sm { padding: 40px 0; }

  /* Nav */
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--primary);
    padding: 12px 16px 16px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 14px; font-size: 0.95rem; }
  .nav-links .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; justify-content: center; }

  /* Hero */
  .hero { padding: 56px 0 52px; }
  .hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 20px; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Services grid */
  .services-grid { grid-template-columns: 1fr; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }

  /* About teaser */
  .about-photo-cards { grid-template-columns: 1fr; }

  /* Values */
  .values-grid { grid-template-columns: 1fr 1fr; }

  /* Service list */
  .service-list { grid-template-columns: 1fr; }

  /* Contact form */
  .contact-form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Location banner */
  .location-img-banner { height: 240px; }

  /* Brands */
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .brand-logo-card { padding: 16px 18px; min-height: 76px; }
  .brand-logo-card img { max-height: 38px; max-width: 110px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Page header */
  .page-header { padding: 44px 0 40px; }

  /* CTA banner */
  .cta-banner { padding: 56px 0; }
  .cta-banner .btn { width: 100%; justify-content: center; }

  /* About page */
  .about-img-photo img { height: 240px; }
  .about-badge { position: static; margin-top: 16px; display: inline-block; }
}

/* ============================================================
   RESPONSIVE — SMALL PHONE  (≤ 400px)
   ============================================================ */
@media (max-width: 400px) {
  .brands-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-stats  { flex-direction: column; align-items: center; gap: 16px; }
  .navbar-brand .brand-text { font-size: 1rem; }
}

/* ============================================================
   ABOUT TEASER GRID (Home page two-column layout)
   ============================================================ */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .about-teaser-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   CTA ACTIONS (button row in CTA banners)
   ============================================================ */
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  background: white;
  color: var(--accent);
  border-color: white;
  font-weight: 600;
}
.btn-white:hover {
  background: rgba(255,255,255,0.88);
  color: var(--accent-dark);
  border-color: rgba(255,255,255,0.88);
}
@media (max-width: 640px) {
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   MISSION GRID (About page)
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) {
  .mission-grid  { grid-template-columns: 1fr; gap: 36px; }
  .mission-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mission-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES PAGE — STICKY TAB NAV
   ============================================================ */
.svc-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
}
.svc-tab:hover,
.svc-tab:focus {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
@media (max-width: 640px) {
  .svc-tab { padding: 12px 14px; font-size: 0.82rem; }
}

/* ============================================================
   BRANDS — SUBCATEGORISED (Hardware / Software)
   ============================================================ */
.brands-category {
  margin-bottom: 40px;
}
.brands-category:last-child {
  margin-bottom: 0;
}
.brands-category-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 22px;
}
