/* =============================================================
   APC Turnkey Ltd — Custom Stylesheet
   Bootstrap 5.3 overrides + brand components
   ============================================================= */

/* -------------------------------------------------------------
   1. GOOGLE FONTS IMPORT
   ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;500&display=swap');


/* -------------------------------------------------------------
   2. CSS CUSTOM PROPERTIES (Brand Colour System)
   ------------------------------------------------------------- */
:root {
  /* Brand colours */
  --apc-navy:      #1B2A4A;
  --apc-burgundy:  #7B2D3E;
  --apc-blue:      #2C4A7C;
  --apc-light:     #F5F6F8;
  --apc-white:     #FFFFFF;
  --apc-text:      #1A1A2E;
  --apc-muted:     #5A6A7A;

  /* Bootstrap primary override */
  --bs-primary:         var(--apc-navy);
  --bs-primary-rgb:     27, 42, 74;
  --bs-link-color:      var(--apc-blue);
  --bs-link-hover-color: var(--apc-burgundy);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  /* Spacing / sizing */
  --navbar-height: 72px;
  --navbar-scrolled-height: 58px;
  --hero-overlay: linear-gradient(135deg, #1B2A4A 0%, #243459 60%, #1B2A4A 100%);
  --section-py: 5rem;
}


/* -------------------------------------------------------------
   3. BASE TYPOGRAPHY & GLOBAL RESETS
   ------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--apc-text);
  background-color: var(--apc-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--apc-navy);
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
  color: var(--apc-text);
}

a {
  color: var(--apc-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--apc-burgundy);
}

img {
  max-width: 100%;
  height: auto;
}

/* Smooth focus ring for accessibility */
:focus-visible {
  outline: 3px solid var(--apc-burgundy);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Remove default outline when not keyboard navigating */
:focus:not(:focus-visible) {
  outline: none;
}


/* -------------------------------------------------------------
   4. BOOTSTRAP COMPONENT OVERRIDES
   ------------------------------------------------------------- */

/* --- Buttons --- */
.btn-apc-primary {
  background-color: var(--apc-burgundy);
  border-color: var(--apc-burgundy);
  color: var(--apc-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.75rem;
  border-radius: 4px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.btn-apc-primary:hover,
.btn-apc-primary:focus-visible {
  background-color: #6a2534;
  border-color: #6a2534;
  color: var(--apc-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(123, 45, 62, 0.35);
}

.btn-apc-primary:active {
  transform: translateY(0);
}

.btn-apc-outline {
  background-color: transparent;
  border: 2px solid var(--apc-white);
  color: var(--apc-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.75rem;
  border-radius: 4px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.btn-apc-outline:hover,
.btn-apc-outline:focus-visible {
  background-color: var(--apc-white);
  color: var(--apc-navy);
  transform: translateY(-2px);
}

/* --- Cards --- */
.card {
  border-radius: 6px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 42, 74, 0.15) !important;
}

/* --- Bootstrap dropdowns --- */
.dropdown-menu {
  border: none;
  border-top: 3px solid var(--apc-burgundy);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.15);
  min-width: 210px;
}

.dropdown-item {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--apc-text);
  padding: 0.55rem 1.25rem;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--apc-light);
  color: var(--apc-burgundy);
  padding-left: 1.5rem;
}

/* --- Badge --- */
.badge-burgundy {
  background-color: var(--apc-burgundy);
  color: var(--apc-white);
}


/* -------------------------------------------------------------
   5. NAVBAR
   ------------------------------------------------------------- */
#mainNavbar {
  background-color: #fff;
  border-bottom: 1px solid rgba(27, 42, 74, 0.1);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  z-index: 1030;
}

#mainNavbar.scrolled {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.12);
}

/* Logo */
#mainNavbar .navbar-brand img {
  height: 55px;
  width: auto;
  transition: height 0.3s ease;
}

#mainNavbar.scrolled .navbar-brand img {
  height: 44px;
}

/* Nav links */
#mainNavbar .nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--apc-navy) !important;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.85rem !important;
  position: relative;
  transition: color 0.2s ease;
}

#mainNavbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--apc-burgundy);
  transition: width 0.25s ease;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link:focus {
  color: var(--apc-burgundy) !important;
}

#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link.active::after {
  width: 70%;
}

#mainNavbar .nav-link.active {
  color: var(--apc-navy) !important;
}

/* Desktop caret on dropdown parent nav-links */
@media (min-width: 992px) {
  #mainNavbar .nav-caret {
    font-size: 0.65em;
    vertical-align: 1px;
    margin-left: 0.1em;
    opacity: 0.7;
    transition: transform 0.2s ease;
  }

  /* Show dropdown on hover — no click needed */
  #mainNavbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: navDropdownIn 0.18s ease;
  }
}

@keyframes navDropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile chevron toggle button */
#mainNavbar .nav-dropdown-btn {
  background: none;
  border: 1px solid rgba(27, 42, 74, 0.25);
  border-radius: 4px;
  color: var(--apc-navy);
  padding: 0.2rem 0.45rem;
  font-size: 0.75rem;
  cursor: pointer;
  line-height: 1.2;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#mainNavbar .nav-dropdown-btn:hover,
#mainNavbar .nav-dropdown-btn[aria-expanded="true"] {
  background-color: rgba(123, 45, 62, 0.08);
  border-color: var(--apc-burgundy);
  color: var(--apc-burgundy);
}

/* Hide Bootstrap's auto-caret on the button (we use the icon) */
#mainNavbar .nav-dropdown-btn.dropdown-toggle::after {
  display: none;
}

/* Hamburger toggler */
#mainNavbar .navbar-toggler {
  border-color: rgba(27, 42, 74, 0.35);
  padding: 0.35rem 0.6rem;
}

#mainNavbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2827%2C42%2C74%2C0.87%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile nav open state */
@media (max-width: 991.98px) {
  #mainNavbar .navbar-collapse {
    background-color: #fff;
    padding: 1rem 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(27, 42, 74, 0.1);
  }

  #mainNavbar .nav-link::after {
    display: none;
  }

  /* Flex layout: link text + chevron button side by side */
  #mainNavbar .nav-item.dropdown {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  #mainNavbar .nav-item.dropdown > .nav-link {
    flex: 1;
  }

  #mainNavbar .nav-item.dropdown > .dropdown-menu {
    flex-basis: 100%;
  }

  #mainNavbar .dropdown-menu {
    background-color: var(--apc-light);
    border-top: none;
    border-left: 3px solid var(--apc-burgundy);
    border-radius: 0;
    box-shadow: none;
    position: static;
  }

  #mainNavbar .dropdown-item {
    color: var(--apc-navy);
  }

  #mainNavbar .dropdown-item:hover {
    background-color: rgba(27, 42, 74, 0.06);
    color: var(--apc-burgundy);
  }
}


/* -------------------------------------------------------------
   6. PAGE HERO (inner pages)
   ------------------------------------------------------------- */
.page-hero {
  height: 280px;
  background: linear-gradient(135deg, var(--apc-navy) 0%, #243459 70%, #1e3060 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.page-hero h1 {
  color: var(--apc-white);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
  position: relative;
}

.page-hero .breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.page-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.95);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
}


/* -------------------------------------------------------------
   7. SECTION HEADING PATTERN
   ------------------------------------------------------------- */
.section-heading {
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-heading h2 span {
  color: var(--apc-burgundy);
}

/* Burgundy diamond divider */
.heading-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 20px;
}

.heading-divider::before,
.heading-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 2px;
  background-color: var(--apc-burgundy);
}

.heading-divider::before {
  margin-right: 8px;
}

.heading-divider::after {
  margin-left: 8px;
}

.heading-divider .diamond {
  width: 10px;
  height: 10px;
  background-color: var(--apc-burgundy);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Light section variant */
.section-heading.light h2 {
  color: var(--apc-white);
}

.section-heading.light .heading-divider::before,
.section-heading.light .heading-divider::after {
  background-color: rgba(255, 255, 255, 0.5);
}

.section-heading.light .heading-divider .diamond {
  background-color: var(--apc-white);
}


/* -------------------------------------------------------------
   8. CTA STRIP
   ------------------------------------------------------------- */
.cta-strip {
  background-color: var(--apc-burgundy);
  padding: 4rem 0;
  text-align: center;
}

.cta-strip h2 {
  color: var(--apc-white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-strip .btn-cta-white {
  background-color: var(--apc-white);
  border: 2px solid var(--apc-white);
  color: var(--apc-burgundy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.7rem 2rem;
  border-radius: 4px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.cta-strip .btn-cta-white:hover {
  background-color: transparent;
  color: var(--apc-white);
  transform: translateY(-2px);
}


/* -------------------------------------------------------------
   9. FOOTER
   ------------------------------------------------------------- */
#mainFooter {
  background-color: var(--apc-navy);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
  padding-bottom: 0;
}

/* Logo on white card inside dark footer */
#mainFooter .footer-logo-card {
  display: inline-block;
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 1.1rem;
  line-height: 0;
}

#mainFooter h5 {
  color: var(--apc-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

#mainFooter h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--apc-burgundy);
}

#mainFooter p,
#mainFooter address {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  font-style: normal;
}

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

#mainFooter .footer-links li {
  margin-bottom: 0.5rem;
}

#mainFooter .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

#mainFooter .footer-links a::before {
  content: '›';
  margin-right: 0.4rem;
  color: var(--apc-burgundy);
}

#mainFooter .footer-links a:hover {
  color: var(--apc-white);
  padding-left: 4px;
}

#mainFooter .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

#mainFooter .footer-contact-item i {
  color: var(--apc-burgundy);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Social icons */
#mainFooter .social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

#mainFooter .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

#mainFooter .social-icons a:hover {
  background-color: var(--apc-burgundy);
  border-color: var(--apc-burgundy);
  color: var(--apc-white);
}

/* Bottom bar */
#mainFooter .footer-bottom {
  border-top: 2px solid var(--apc-burgundy);
  padding: 1.1rem 0;
  margin-top: 3rem;
  text-align: center;
}

#mainFooter .footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}


/* -------------------------------------------------------------
   10. HERO SECTION (home page)
   ------------------------------------------------------------- */
#hero {
  min-height: 100vh;
  background: var(--hero-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

/* Subtle geometric background texture */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(44, 74, 124, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(123, 45, 62, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

#hero .hero-content {
  position: relative;
  z-index: 1;
  animation: heroFadeIn 0.8s ease forwards;
  opacity: 0;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero h1 {
  color: var(--apc-white);
  font-size: clamp(2.25rem, 6vw, 4rem);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

#hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

#hero .hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.6;
}

.scroll-indicator span {
  display: block;
  width: 2px;
  height: 30px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1px;
}

.scroll-indicator i {
  color: var(--apc-white);
  font-size: 1.4rem;
  animation: bounceDown 1.6s ease infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(8px); opacity: 1; }
}


/* -------------------------------------------------------------
   11. STAT BOXES
   ------------------------------------------------------------- */
.stat-box {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(27, 42, 74, 0.1);
  border-radius: 6px;
  background-color: var(--apc-white);
  transition: box-shadow 0.25s ease;
}

.stat-box:hover {
  box-shadow: 0 6px 20px rgba(27, 42, 74, 0.1);
}

.stat-box .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--apc-burgundy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-box .stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--apc-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* -------------------------------------------------------------
   12. SERVICE CARDS (dark variant — home page)
   ------------------------------------------------------------- */
.service-card-dark {
  background-color: #243459;
  border: none !important;
  border-radius: 6px;
  color: var(--apc-white);
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.service-card-dark:hover {
  background-color: #2c3e65;
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3) !important;
}

.service-card-dark .service-icon {
  font-size: 2.25rem;
  color: var(--apc-burgundy);
  margin-bottom: 1rem;
  display: block;
}

.service-card-dark h5 {
  color: var(--apc-white);
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.service-card-dark p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0;
}


/* -------------------------------------------------------------
   13. GALLERY / PORTFOLIO PLACEHOLDERS
   ------------------------------------------------------------- */
.gallery-placeholder {
  height: 280px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-placeholder-1 { background: linear-gradient(135deg, #1B2A4A 0%, #2C4A7C 100%); }
.gallery-placeholder-2 { background: linear-gradient(135deg, #243459 0%, #1B2A4A 100%); }
.gallery-placeholder-3 { background: linear-gradient(135deg, #2C4A7C 0%, #7B2D3E 100%); }
.gallery-placeholder-4 { background: linear-gradient(135deg, #1e3060 0%, #243459 100%); }
.gallery-placeholder-5 { background: linear-gradient(135deg, #7B2D3E 0%, #1B2A4A 100%); }
.gallery-placeholder-6 { background: linear-gradient(135deg, #2C4A7C 0%, #243459 100%); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 74, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-placeholder:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--apc-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Portfolio filter tabs */
.filter-tabs .nav-link {
  color: var(--apc-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  padding: 0.5rem 1.1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.filter-tabs .nav-link:hover {
  color: var(--apc-burgundy);
  background-color: rgba(123, 45, 62, 0.08);
}

.filter-tabs .nav-link.active {
  background-color: var(--apc-burgundy);
  color: var(--apc-white);
}

/* Portfolio item card */
.portfolio-item {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.portfolio-item.hidden {
  display: none;
}


/* -------------------------------------------------------------
   14. TEAM CARDS
   ------------------------------------------------------------- */
.team-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.team-photo-placeholder {
  width: 140px;
  height: 140px;
  background-color: #d8dee8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.team-photo-placeholder i {
  font-size: 4rem;
  color: var(--apc-muted);
}

.team-card h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-card .team-title {
  font-size: 0.85rem;
  color: var(--apc-muted);
  margin-bottom: 0.75rem;
}

.team-card .team-linkedin {
  color: var(--apc-muted);
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.team-card .team-linkedin:hover {
  color: #0a66c2;
}


/* -------------------------------------------------------------
   15. IMAGE PLACEHOLDER (generic)
   ------------------------------------------------------------- */
.img-placeholder {
  background: linear-gradient(135deg, #d8dee8 0%, #c4cdd8 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apc-muted);
}

.img-placeholder i {
  font-size: 3rem;
  opacity: 0.5;
}


/* -------------------------------------------------------------
   16. CONTACT FORM
   ------------------------------------------------------------- */
.contact-form .form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--apc-text);
  margin-bottom: 0.3rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1.5px solid #d4d9e0;
  border-radius: 4px;
  font-size: 0.9rem;
  padding: 0.6rem 0.9rem;
  color: var(--apc-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--apc-burgundy);
  box-shadow: 0 0 0 3px rgba(123, 45, 62, 0.12);
}

.contact-info-card {
  background-color: var(--apc-navy);
  border-radius: 6px;
  padding: 2rem;
  color: var(--apc-white);
  height: 100%;
}

.contact-info-card h4 {
  color: var(--apc-white);
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-info-item i {
  color: var(--apc-burgundy);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.contact-info-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

.map-placeholder {
  background: linear-gradient(135deg, #d8dee8 0%, #c4cdd8 100%);
  border-radius: 6px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apc-muted);
  margin-top: 1.5rem;
}

.map-placeholder i {
  font-size: 3rem;
  opacity: 0.4;
}


/* -------------------------------------------------------------
   17. SECTION BACKGROUNDS
   ------------------------------------------------------------- */
.section-light {
  background-color: var(--apc-light);
}

.section-navy {
  background-color: var(--apc-navy);
}

.section-white {
  background-color: var(--apc-white);
}

section {
  padding: var(--section-py) 0;
}


/* -------------------------------------------------------------
   18. SERVICE DETAIL PAGES
   ------------------------------------------------------------- */
.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
  font-size: 0.95rem;
  color: var(--apc-text);
}

.highlight-list li:last-child {
  border-bottom: none;
}

.highlight-list li i {
  color: var(--apc-burgundy);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Core Values icons */
.value-icon-wrap {
  width: 64px;
  height: 64px;
  background-color: rgba(123, 45, 62, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: background-color 0.25s ease;
}

.value-icon-wrap i {
  font-size: 1.6rem;
  color: var(--apc-burgundy);
}

.value-card:hover .value-icon-wrap {
  background-color: var(--apc-burgundy);
}

.value-card:hover .value-icon-wrap i {
  color: var(--apc-white);
}


/* -------------------------------------------------------------
   19. RESPONSIVE UTILITIES
   ------------------------------------------------------------- */
@media (max-width: 767.98px) {
  :root {
    --section-py: 3.5rem;
  }

  .page-hero {
    height: 220px;
  }

  #hero h1 {
    font-size: 2rem;
  }

  .stat-box .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  #hero .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-strip {
    padding: 3rem 0;
  }
}
