body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

.navbar-brand {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.35rem 0.6rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.navbar-brand:hover,
.navbar-brand:focus {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.a1-nav-logo {
  height: 34px;         /* slightly larger for better visibility */
  width: auto;
  display: block;
  background: rgba(255,255,255,0.95);
  border-radius: 0.5rem;
  padding: 0.25rem 0.4rem;
}

.hero-bg {
  background-image: url('../assets/img/modern-office-blurred-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #ffffff;
  position: relative;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Networking page hero background */
.hero-networking {
  background-image: url('../assets/img/hero-networking-fibre.jpg');
}

/* Transformation hero override */
.hero-transformation {
  background-image: url('../assets/img/hero-transformation-blurred.webp'); 
}

/* Execution hero override */
.hero-execution {
  background-image: url('../assets/img/hero-execution-teams.jpg'); 
}

/* Execution Diagnostics hero override */
.hero-execution-diagnostics {
  background-image: url('../assets/img/hero-execution-diagnostics.jpg');
}

/* Strategic Advisory hero override */
.hero-strategic-advisory {
  background-image: url('../assets/img/hero-strategic-advisory.jpg');
}

/* Data Insights hero override */
.hero-data-insights {
  background-image: url('../assets/img/hero-data-insights.jpg');
}

/* Software Development hero override */
.hero-software-development {
  background-image: url('../assets/img/hero-software-development.jpg');
}

/* IT Systems & Support hero override */
.hero-it-support {
  background-image: url('../assets/img/hero-it-support.jpg');
}

/* Dark overlay so the text always reads clearly */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(0.5px);
  z-index: 0;
}

/* Keep the content above the overlay */
.hero-bg > .container {
  position: relative;
  z-index: 1;
}

/* =========================================================
   NAV DROPDOWN STYLING
========================================================= */

/* Prevent nav links wrapping to two lines */
.navbar-nav .nav-link,
.navbar-nav .nav-item {
  white-space: nowrap;
}

/* Cap search input width */
.navbar .form-control[type="search"] {
  width: 120px;
}

/* Enable dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Ensure link looks active on hover */
.nav-item.dropdown:hover .nav-link {
  color: #ffffff;
}

/* =========================================================
   CAROUSEL SECTION STYLING
========================================================= */

/* Soft grey background behind the whole section */
.carousel-section {
  background: #129f99; /* subtle neutral tone */
}

/* Section header styling */
.section-header {
  margin-bottom: 2rem;
}

.section-header h2,
.section-header h3 {
  font-size: clamp(1.85rem, 2.2vw, 2.4rem);
  letter-spacing: 0.5px;
}

/* Larger titles */
.carousel-section .carousel-title {
  font-size: 2rem !important;      /* was closer to 1.5rem before */
  line-height: 1.2;
  color: #ffffff;
}

/* Larger body copy with improved readability */
.carousel-section .carousel-text {
  max-width: 850px;
  font-size: 1.15rem !important;
  line-height: 1.8;
  color: rgba(255,255,255,0.92);
}

/* Optional: soften the transition */
.carousel-section .carousel-item {
  transition: opacity 1s ease-in-out;
}

/* Indicators – subtle and modern */
.carousel-section .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  background-color: #ecebeb;
  opacity: 0.5;
  border-radius: 50%;
}

.carousel-section .carousel-indicators .active {
  background-color: #333;
  opacity: 1;
}

#a1-carousel .carousel-indicators {
  position: static !important;   /* removes Bootstrap absolute positioning */
  margin-top: 1.5rem;            /* moves dots down below the text */
}

/* =============================================
   FOOTER – DARK VERSION
============================================= */

.a1-footer {
  background: #000000;        /* deep black */
  color: #cccccc;             /* soft grey body text */
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Logo sizing */
.footer-logo {
  max-width: 140px;           /* scale logo down a bit */
  height: auto;
  opacity: 1;                 /* keep crisp on dark background */
}

/* Section headings (LONDON, GLASGOW, CONTACT) */
.footer-heading {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

/* Light grey text */
.footer-text {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin: 0;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.footer-links-row .footer-text {
  display: inline-block;
  margin: 0;
}

/* Social icons */
.footer-social .footer-icon {
  color: #16b6ae;             /* teal brand tone */
  font-size: 1.3rem;
  transition: 0.2s ease;
}

.footer-social .footer-icon:hover {
  color: #22d5cd;
  transform: translateY(-2px);
}

/* Optional: subtle top border to separate footer from body */
.a1-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Ensure card muted text passes WCAG AA contrast on white */
.card .text-muted,
.col .text-muted {
  color: #5a6470 !important;
}

.btn-link-primary {
  color: #0f8e88;
  font-weight: 600;
  text-decoration: none;
}

.btn-link-primary:hover {
  color: #129f99;
  text-decoration: underline;
}



/* Gradient for feature blocks */

:root {
  --bs-primary: #16b6ae;           /* main teal */
  --bs-primary-rgb: 22, 182, 174;
}

.feature,
.feature-teal,
.bg-primary,
.btn-primary {
  background: linear-gradient(135deg, #16b6ae, #129f99) !important;
  border-color: #129f99 !important;
  box-shadow: 0 4px 12px rgba(22, 182, 174, 0.3);
  transition: all 0.3s ease;
}

.feature {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 159, 153, 0.18);
}

.feature-teal {
  min-width: 72px;
}

/* Text colour for buttons */
.btn-primary {
  color: #ffffff !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 182, 174, 0.4);
}

.btn-primary:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Premium consulting cards */
.consulting-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);   /* soft lift */
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.consulting-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consulting-card .card-body .card-link {
  margin-top: auto;
  font-weight: 600;
}

/* Hover effect – subtle, classy */
.consulting-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

/* Consulting heading with teal accent bar */
.consulting-heading-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.consulting-heading-wrapper::before {
  content: "";
  display: block;
  width: 6px;
  height: 28px;
  background: linear-gradient(135deg, #16b6ae, #0f8e88);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 4px; /* optional, aligns visually with text baseline */
}

.consulting-heading {
  margin: 0;
}

/* Make each carousel item a centred logo box */
#a1-partners .owl-carousel .owl-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 110px;
}

.partner-logo {
  width: 160px;
  height: 80px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

/* =========================================
   A1 TIMELINE COMPONENT
========================================= */

.a1-timeline {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  position: relative;
  padding-top: 1rem;
  padding-bottom: 1rem;
  overflow-x: auto;
}

.a1-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #16b6ae, #0f8e88);
  opacity: 0.3;
}

.a1-timeline-item {
  position: relative;
  min-width: 200px;
  max-width: 260px;
}

.a1-timeline-marker {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #16b6ae, #129f99);
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.a1-timeline-item h5 {
  margin-top: 1rem;
}

/* Mobile layout */
@media (max-width: 767px) {

  .a1-timeline {
    flex-direction: column;
    gap: 2rem;
  }

  .a1-timeline::before {
    left: 20px;
    width: 3px;
    height: 100%;
    top: 0;
    opacity: 0.2;
  }

  .a1-timeline-item {
    padding-left: 55px;
  }

  .a1-timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
  }

}

/* Cookie banner */
.a1-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  padding: 1rem 0;
  z-index: 9999;
  box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.a1-cookie-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.a1-cookie-message {
  flex: 1;
}

.a1-cookie-message strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.a1-cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.a1-cookie-details {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  margin-top: 1rem;
}

.a1-cookie-details h6 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.form-check {
  margin-bottom: 0.5rem;
}

.form-check-input {
  margin-right: 0.5rem;
}

.form-check-label {
  font-size: 0.875rem;
}

.privacy-link {
  color: #129f99;
  text-decoration: underline;
}

.privacy-link:hover {
  color: #ffffff;
}
