
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: #49918c;
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--heading-color);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #49918c;
}




/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 150px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 40px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}




/* ================================
   SERVICES – Carded layout polish
   ================================= */
/* Big white cards */
.services .card {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 18px;
  box-shadow:
    0 8px 24px rgba(16, 24, 40, 0.06),
    0 2px 6px rgba(16, 24, 40, 0.04);
}

/* Section headings inside cards */
.services .card .card-title {
  font-weight: 800;
  color: color-mix(in srgb, var(--default-color), #000 25%);
  margin-bottom: 1rem;
}

/* Flex row for title + download button in map cards */
.services .card-maps .card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Grid of small action cards */
.services .small-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on md+ */
  gap: 14px;
}

/* Optional: ensure the button text does not wrap mid-word */
.small-card {
  white-space: nowrap;
}

@media (max-width: 991.98px) {            /* < lg */
  .services .small-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {            /* < sm */
  .services .small-card-list {
    grid-template-columns: 1fr;
  }

  /* On small screens: stack title + button and make button full width */
  .services .card-maps .card-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .services .card-maps .card-header-row .small-card {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* Individual small buttons/cards */
.services .small-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), #000 20%);
  background: color-mix(in srgb, var(--default-color), #fff 94%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: background .25s ease, border-color .25s ease,
              color .25s ease, transform .15s ease, box-shadow .25s ease;
  text-align: center;
}

.services .small-card:hover {
  background: #fff;
  border-color: var(--accent-color);
  color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-1px);
  box-shadow:
    0 8px 20px rgba(16, 24, 40, 0.06),
    0 2px 6px rgba(16, 24, 40, 0.05);
}

/* Keyboard focus */
.services .small-card:focus-visible,
.services .accordion-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), white 20%);
  outline-offset: 2px;
}

/* -------------------------------
   Spacing & layout niceties
   -------------------------------- */
.services .card.card-maps {
  padding: 24px; /* you already have p-4; this ensures consistency */
}

.services .row.gy-4 > [class*="col-"] {
  display: flex;             /* equal-height columns */
}

.services .card {
  width: 100%;
}
