.a1-nav-logo {
  height: 32px;         /* looks great in a dark navbar */
  width: auto;
  display: block;
}


.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;
}

/* 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.55);
  backdrop-filter: blur(1.5px);
  z-index: 0;
}

/* Keep the content above the overlay */
.hero-bg > .container {
  position: relative;
  z-index: 1;
}

.hero-bg .callout-box {
  background: #ffffff !important;        /* crisp white */
  color: #333333 !important;             /* stronger text colour */
  position: relative;
  z-index: 2;                             /* above overlay */
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15); /* subtle lift */
}

/* =========================================================
   NAV DROPDOWN STYLING
========================================================= */

/* 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 */
}

/* Larger titles */
.carousel-section .carousel-title {
  font-size: 2rem !important;      /* was closer to 1.5rem before */
  line-height: 1.3;
  color: #222222;
}

/* Larger body copy with improved readability */
.carousel-section .carousel-text {
  max-width: 800px;
  font-size: 1.3rem !important;     /* slightly bigger */
  line-height: 1.6;
  color: #f0f0f0;
}

/* 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: #cccccc;
  font-size: 0.9rem;
  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);
}



/* Gradient for feature blocks */

:root {
  --bs-primary: #16b6ae;           /* main teal */
  --bs-primary-rgb: 22, 182, 174;
}

.feature-teal,
.bg-primary,
.btn-primary {
  background: linear-gradient(135deg, #16b6ae, #129f99) !important;
  border-color: #129f99 !important;
}

/* Text colour for buttons */
.btn-primary {
  color: #ffffff !important;
}

/* Premium consulting cards */
.consulting-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.75rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);   /* soft lift */
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Hover effect – subtle, classy */
.consulting-card:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* 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;
  align-items: center;
  justify-content: center;
}
#a1-partners .owl-carousel img {
  max-height: 90px;     /* overall logo height */
  max-width: 200px;     /* stop super-wide logos from smashing into neighbours */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  padding: 8px 16px;    /* breathing room inside each box */
  margin: 0 auto;
}

/* =========================================
   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;
  }
}