@charset "UTF-8";

/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #666666;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #000000;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #313131;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #999999;
  /* The default color of the main navmenu links */
  --nav-hover-color: #000000;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #666666;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #313131;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #e3e3e3;
  --heading-color: #ffffff;
  --accent-color: #bdb5b5;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

/* Global image reset – keep natural proportions on all devices */
img {
  max-width: 100%;
  height: auto;
  display: block;
}


a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

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

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

.header .logo img {
  max-height: 56px;
  /* was 32px */
  height: auto;
  width: auto;
  margin-right: 8px;
}

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

.scrolled .header {
  isolation: isolate;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.scrolled .header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop nav */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

  /* Make sure desktop nav isn’t stuck in drawer mode */
  .navmenu>ul {
    display: flex !important;
    position: static;
    width: auto;
    height: auto;
    transform: none !important;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .mobile-nav-toggle {
    display: none !important;
  }
}
/*--------------------------------------------------------------
# Navmenu - Mobile
--------------------------------------------------------------*/
@media (max-width: 1199.98px) {

  body.mobile-nav-active #navmenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


  /* Dark overlay behind the drawer */
  body.mobile-nav-active::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 900;          /* lower than the drawer */
    pointer-events: none;  /* allow taps to pass through */
  }

  .navmenu {
    position: relative;
    z-index: 1100;  /* drawer sits above overlay */
  }

  .navmenu > ul {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 360px;
    height: 100vh;
    margin: 0;
    padding: 4.5rem 1.75rem 2rem;
    background: #ffffff;
    box-shadow: -12px 0 32px rgba(15, 23, 42, 0.25);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    border-radius: 0;
    z-index: 1101;  /* definitely above overlay */
    display: block;
  }

  body.mobile-nav-active .navmenu > ul {
    transform: translateX(0);
    
  }

  .navmenu > ul > li {
    display: block;
    margin: 0;
  }

  .navmenu > ul > li > a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: #111827;
  }

  .navmenu > ul > li > a:hover,
  .navmenu > ul > li > a:focus,
  .navmenu > ul > li > a.active {
    color: var(--accent-color);
  }

  /* Dropdowns inside drawer */
  .navmenu .dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding-left: 0.75rem;
    margin-top: 0.25rem;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .navmenu .dropdown.dropdown-active > ul {
    display: block;
  }

  /* Book Now button */
  .navmenu a.nav-book-btn {
    display: block;
    margin-top: 0.9rem;
    padding: 0.7rem 1.1rem;
    background: var(--accent-color);
    color: #ffffff;
    border-radius: 999px;
    text-align: center;
    font-weight: 600;
  }

} /* END media query */


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 18px;
  font-weight: 400;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

.footer .logo img.site-logo {
  max-height: 56px;
  height: auto;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 0.9rem;
}

.footer-social .social-link:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/*--------------------------------------------------------------
# Footer Social Icons
--------------------------------------------------------------*/

/* Footer – social icons for .footer-social */

.footer .footer-social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: 0.3s;
}

.footer .footer-social .social-link+.social-link {
  margin-left: 10px;
}

.footer .footer-social .social-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* --------------------------------------------------------------
   Soft Minimal Preloader
-------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(255, 255, 255, 0.7);
  /* soft translucent white */
  /*backdrop-filter: blur(0px); /*was 2px*/
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease-out;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* tiny dot pulse */
#preloader:before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: pulse-dot 0.9s ease-in-out infinite alternate;
}

@keyframes pulse-dot {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.8);
    opacity: 1;
  }
}


/*--------------------------------------------------------------
# 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 {
  text-align: center;
  padding: 40px 0 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .breadcrumbs {
  margin-bottom: 1.5rem;
}

.page-title .breadcrumbs .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
  font-size: 0.9rem;
  margin-right: 0.2rem;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
  color: var(--heading-color);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-title .title-wrapper h1 {
    font-size: 2rem;
  }

  .page-title .title-wrapper p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-title .title-wrapper h1 {
    font-size: 1.75rem;
  }
}

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

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

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

.section-title h2 {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2.5rem;
  }
}

.section-title .subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title .subtitle::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-color);
}

.section-title p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .hero .hero-content h1 {
    font-size: 2.5rem;
  }
}

.hero .hero-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.hero .hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  align-items: center;
}

@media (max-width: 576px) {
  .hero .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.hero .hero-cta .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.hero .hero-cta .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.hero .hero-cta .btn-secondary {
  color: var(--heading-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero .hero-cta .btn-secondary i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hero .hero-cta .btn-secondary:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.hero .hero-stats {
  display: flex;
  gap: 3rem;
}

@media (max-width: 768px) {
  .hero .hero-stats {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .hero .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.hero .hero-stats .stat-item .stat-number {
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.hero .hero-stats .stat-item .stat-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.hero .hero-image {
  position: relative;
}

.hero .hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.hero .hero-image .floating-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px color-mix(in srgb, var(--default-color), transparent 85%);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
}

@media (max-width: 768px) {
  .hero .hero-image .floating-card {
    bottom: 10px;
    left: 10px;
    padding: 1rem;
    min-width: 160px;
  }
}

.hero .hero-image .floating-card .card-icon {
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .hero-image .floating-card .card-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hero .hero-image .floating-card .card-content h5 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--heading-color);
}

.hero .hero-image .floating-card .card-content .growth-percentage {
  font-size: 1.25rem;
  font-weight: 700;
  color: #22c55e;
}

@media (max-width: 992px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero::before {
    display: none;
  }

  .hero .row {
    flex-direction: column-reverse;
  }

  .hero .col-lg-6:first-child {
    margin-top: 3rem;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding-top: 120px;
  padding-bottom: 120px;
}

.about .content h2 {
  font-size: 42px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 30px;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .about .content h2 {
    font-size: 32px;
  }
}

.about .content .lead {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 40px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.about .stats-row {
  display: flex;
  gap: 40px;
  margin: 60px 0;
}

@media (max-width: 576px) {
  .about .stats-row {
    flex-direction: column;
    gap: 30px;
  }
}

.about .stats-row .stat-item .stat-number {
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  color: var(--accent-color);
  font-family: var(--heading-font);
}

.about .stats-row .stat-item .stat-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-top: 8px;
}

.about .cta-section {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}

@media (max-width: 576px) {
  .about .cta-section {
    flex-direction: column;
  }
}

.about .cta-section .btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about .cta-section .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  color: var(--contrast-color);
}

.about .cta-section .btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background-color: transparent;
  color: var(--heading-color);
  text-decoration: none;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about .cta-section .btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.about .image-wrapper {
  position: relative;
}

.about .image-wrapper img {
  border-radius: 12px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .image-wrapper {
  position: relative;
  overflow: visible; /* make sure nothing gets clipped here */
}

.about .image-wrapper .floating-card {
  position: absolute;
  bottom: 20px;      /* was -30px */
  right: 20px;       /* was -30px */
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 24px;     /* slightly smaller padding if space is tight */
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
  max-width: 320px;  /* give the text a bit more breathing room */
}


@media (max-width: 992px) {
  .about .image-wrapper .floating-card {
    position: static;
    margin-top: 30px;
    max-width: none;
  }
}

.about .image-wrapper .floating-card .card-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about .image-wrapper .floating-card .card-content .icon {
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about .image-wrapper .floating-card .card-content .icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.about .image-wrapper .floating-card .card-content .text h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: var(--heading-color);
}

.about .image-wrapper .floating-card .card-content .text p {
  font-size: 14px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .about .row {
    text-align: center;
  }

  .about .content {
    margin-bottom: 60px;
  }

  .about .stats-row {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  background-color: color-mix(in srgb, var(--background-color), var(--accent-color) 2%);
}

.services .service-item {
  padding: 60px 40px;
  background-color: var(--surface-color);
  border-radius: 8px;
  transition: all 0.4s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.services .service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-in-out;
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 90%);
}

.services .service-item:hover::before {
  transform: scaleX(1);
}

.services .service-item:hover .service-icon {
  transform: scale(1.1);
}

.services .service-item:hover .service-link {
  color: var(--accent-color);
}

.services .service-item:hover .service-link i {
  transform: translateX(8px);
}

.services .service-item .service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transition: transform 0.4s ease-in-out;
  flex-shrink: 0;
}

.services .service-item .service-icon i {
  font-size: 32px;
  color: var(--contrast-color);
}

.services .service-item h3 {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.3;
}

.services .service-item p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 32px;
  flex-grow: 1;
}

.services .service-item .service-link {
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease-in-out;
  align-self: flex-start;
}

.services .service-item .service-link i {
  font-size: 16px;
  transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .services .service-item {
    padding: 40px 24px;
  }

  .services .service-item .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }

  .services .service-item .service-icon i {
    font-size: 28px;
  }

  .services .service-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .services .service-item p {
    font-size: 15px;
    margin-bottom: 24px;
  }
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
  padding: 100px 0;
}

.why-us .content {
  margin-bottom: 60px;
}

.why-us .content h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .why-us .content h2 {
    font-size: 2rem;
  }
}

.why-us .content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.why-us .image-wrapper {
  position: relative;
}

.why-us .image-wrapper img {
  border-radius: 8px;
  box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 85%);
  transition: transform 0.4s ease-in-out;
}

.why-us .image-wrapper img:hover {
  transform: translateY(-8px);
}

.why-us .features-grid {
  margin-top: 80px;
}

.why-us .feature-item {
  display: flex;
  gap: 25px;
  padding: 40px 0;
  transition: transform 0.3s ease-in-out;
}

.why-us .feature-item:hover {
  transform: translateY(-5px);
}

.why-us .feature-item:hover .icon-wrapper {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .why-us .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px 0;
  }
}

.why-us .icon-wrapper {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: all 0.4s ease-in-out;
}

@media (max-width: 768px) {
  .why-us .icon-wrapper {
    margin: 0 auto;
  }
}

.why-us .feature-content {
  flex: 1;
}

.why-us .feature-content h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 15px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .why-us .feature-content h3 {
    font-size: 1.25rem;
  }
}

.why-us .feature-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

@media (max-width: 992px) {
  .why-us .content {
    margin-bottom: 40px;
    text-align: center;
  }

  .why-us .features-grid {
    margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 80px;
  padding: 0;
  list-style: none;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters {
    margin-bottom: 60px;
    gap: 8px;
  }
}

.portfolio .portfolio-filters li {
  padding: 20px 0;
  margin: 0 40px;
  font-size: 0.95rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.4s ease;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  position: relative;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters li {
    margin: 0 20px;
    padding: 16px 0;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .portfolio .portfolio-filters li {
    margin: 0 12px;
    padding: 14px 0;
    font-size: 0.85rem;
  }
}

.portfolio .portfolio-filters li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.portfolio .portfolio-filters li:hover {
  color: var(--default-color);
}

.portfolio .portfolio-filters li:hover::after {
  width: 100%;
}

.portfolio .portfolio-filters li.filter-active {
  color: var(--default-color);
  font-weight: 400;
}

.portfolio .portfolio-filters li.filter-active::after {
  width: 100%;
}

.portfolio .portfolio-card {
  height: 100%;
}

.portfolio .portfolio-card .project-visual {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.portfolio .portfolio-card .project-visual img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

@media (max-width: 768px) {
  .portfolio .portfolio-card .project-visual img {
    height: 250px;
  }
}

.portfolio .portfolio-card .project-visual .project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(54, 144, 231, 0.85), rgba(54, 144, 231, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content {
  display: flex;
  gap: 20px;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content a {
  width: 48px;
  height: 48px;
  background-color: var(--contrast-color);
  color: var(--accent-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio .portfolio-card .project-visual:hover img {
  transform: scale(1.05);
}

.portfolio .portfolio-card .project-visual:hover .project-overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio .portfolio-card .project-details {
  padding: 20px 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio .portfolio-card .project-details .project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.portfolio .portfolio-card .project-details .project-header .project-category {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
}

.portfolio .portfolio-card .project-details .project-header .project-year {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 300;
}

.portfolio .portfolio-card .project-details .project-title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .portfolio .portfolio-card .project-details .project-title {
    font-size: 1.35rem;
  }
}

.portfolio .portfolio-card .project-details .project-description {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 30px;
  line-height: 1.7;
  flex-grow: 1;
}

.portfolio .portfolio-card .project-details .project-meta {
  margin-top: auto;
}

.portfolio .portfolio-card .project-details .project-meta .client-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--default-color);
  margin-bottom: 16px;
}

.portfolio .portfolio-card .project-details .project-meta .project-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.portfolio .portfolio-card .project-details .project-meta .project-scope .scope-item {
  font-size: 0.8rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 6px 0;
  position: relative;
}

.portfolio .portfolio-card .project-details .project-meta .project-scope .scope-item:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -8px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.portfolio .portfolio-conclusion {
  margin-top: 120px;
  text-align: center;
}

@media (max-width: 768px) {
  .portfolio .portfolio-conclusion {
    margin-top: 80px;
  }
}

.portfolio .portfolio-conclusion .conclusion-content {
  max-width: 600px;
  margin: 0 auto;
}

.portfolio .portfolio-conclusion .conclusion-content h4 {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .portfolio .portfolio-conclusion .conclusion-content h4 {
    font-size: 1.5rem;
  }
}

.portfolio .portfolio-conclusion .conclusion-content p {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 40px;
  line-height: 1.7;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

@media (max-width: 576px) {
  .portfolio .portfolio-conclusion .conclusion-content .conclusion-actions {
    flex-direction: column;
    gap: 20px;
  }
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-1px);
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action:hover i {
  transform: translateX(2px);
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action {
  color: var(--default-color);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  position: relative;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--default-color);
  transition: width 0.3s ease;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action:hover {
  color: var(--default-color);
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action:hover::after {
  width: 100%;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  text-align: center;
  margin-bottom: 40px;
  transition: all 0.3s ease-in-out;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 30px;
}

.team .team-member .member-img img {
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: auto;
  filter: grayscale(100%);
}

.team .team-member .member-info h4 {
  font-weight: 300;
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--heading-color);
  line-height: 1.3;
}

.team .team-member .member-info span {
  display: block;
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.team .team-member .member-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
  padding: 0 10px;
}

.team .team-member .member-info .social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team .team-member .member-info .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 50%;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}

.team .team-member .member-info .social a:hover {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.team .team-member:hover .member-img img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

@media (max-width: 992px) {
  .team .team-member .member-info h4 {
    font-size: 1.3rem;
  }

  .team .team-member .member-info p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .team .team-member .member-info h4 {
    font-size: 1.2rem;
  }

  .team .team-member .member-info p {
    padding: 0;
    font-size: 0.85rem;
  }

  .team .team-member .member-info .social {
    gap: 12px;
  }

  .team .team-member .member-info .social a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  position: relative;
  overflow: hidden;
  /* Swiper Navigation */
  /* Swiper Pagination */
  /* Responsive Styles */
}

.testimonials .testimonial-slider {
  position: relative;
  padding-bottom: 50px;
}

.testimonials .testimonial-slider .swiper-wrapper {
  height: auto !important;
}

.testimonials .testimonial-item {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 2%) 100%);
  border-radius: 20px;
  padding: 0;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.testimonials .testimonial-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimonials .testimonial-item:hover {
  border-color: var(--accent-color);
}

.testimonials .testimonial-item:hover::before {
  transform: scaleX(1);
}

.testimonials .testimonial-item:hover .testimonial-header img {
  transform: scale(1.05);
}

.testimonials .testimonial-item:hover .quote-icon {
  color: var(--accent-color);
  transform: scale(1.1);
}

.testimonials .testimonial-header {
  position: relative;
  text-align: center;
  padding: 30px 30px 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface-color), var(--accent-color) 3%) 0%, var(--surface-color) 100%);
}

.testimonials .testimonial-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  margin-bottom: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-header .rating {
  display: flex;
  justify-content: center;
  gap: 3px;
}

.testimonials .testimonial-header .rating i {
  color: #ffc107;
  font-size: 0.9rem;
}

.testimonials .testimonial-body {
  padding: 0 30px 20px;
}

.testimonials .testimonial-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  font-style: italic;
  text-align: center;
  position: relative;
}

.testimonials .testimonial-body p::before,
.testimonials .testimonial-body p::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--accent-color);
  opacity: 0.6;
  font-family: serif;
  position: absolute;
}

.testimonials .testimonial-body p::before {
  top: -5px;
  left: -10px;
}

.testimonials .testimonial-body p::after {
  bottom: -20px;
  right: -5px;
}

.testimonials .testimonial-footer {
  padding: 20px 30px 30px;
  text-align: center;
  position: relative;
}

.testimonials .testimonial-footer h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 0 5px;
}

.testimonials .testimonial-footer span {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: block;
  margin-bottom: 15px;
}

.testimonials .testimonial-footer .quote-icon {
  position: absolute;
  bottom: 15px;
  right: 25px;
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.testimonials .swiper-navigation {
  position: relative;
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
}

.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
  position: static;
  width: 45px;
  height: 45px;
  margin: 0 10px;
  background: var(--accent-color);
  border-radius: 50%;
  color: var(--contrast-color);
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover {
  background: color-mix(in srgb, var(--accent-color), var(--heading-color) 20%);
  transform: scale(1.05);
}

.testimonials .swiper-button-prev::after,
.testimonials .swiper-button-next::after {
  font-size: 16px;
  font-weight: 600;
}

.testimonials .swiper-pagination {
  position: static;
  margin-top: 30px;
  text-align: center;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.testimonials .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--accent-color);
  transform: scale(1.2);
}

@media (max-width: 1199px) {
  .testimonials .testimonial-item .testimonial-header {
    padding: 25px 25px 15px;
  }

  .testimonials .testimonial-item .testimonial-header img {
    width: 70px;
    height: 70px;
  }

  .testimonials .testimonial-item .testimonial-body,
  .testimonials .testimonial-item .testimonial-footer {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media (max-width: 991px) {
  .testimonials .testimonial-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .testimonials .testimonial-item .testimonial-header {
    padding: 20px 20px 10px;
  }

  .testimonials .testimonial-item .testimonial-header img {
    width: 60px;
    height: 60px;
  }

  .testimonials .testimonial-item .testimonial-header .rating i {
    font-size: 0.8rem;
  }

  .testimonials .testimonial-item .testimonial-body {
    padding: 0 20px 15px;
  }

  .testimonials .testimonial-item .testimonial-body p {
    font-size: 0.95rem;
  }

  .testimonials .testimonial-item .testimonial-footer {
    padding: 15px 20px 20px;
  }

  .testimonials .testimonial-item .testimonial-footer h5 {
    font-size: 1rem;
  }

  .testimonials .testimonial-item .testimonial-footer span {
    font-size: 0.8rem;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 1.3rem;
    bottom: 10px;
    right: 15px;
  }

  .testimonials .swiper-button-prev,
  .testimonials .swiper-button-next {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .testimonials .swiper-button-prev::after,
  .testimonials .swiper-button-next::after {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .testimonials .testimonial-slider {
    padding-bottom: 30px;
  }

  .testimonials .testimonial-item .testimonial-header {
    padding: 15px 15px 10px;
  }

  .testimonials .testimonial-item .testimonial-header img {
    width: 55px;
    height: 55px;
  }

  .testimonials .testimonial-item .testimonial-body {
    padding: 0 15px 10px;
  }

  .testimonials .testimonial-item .testimonial-body p {
    font-size: 0.9rem;
  }

  .testimonials .testimonial-item .testimonial-footer {
    padding: 10px 15px 15px;
  }

  .testimonials .testimonial-item .testimonial-footer h5 {
    font-size: 0.95rem;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 1.2rem;
  }

  .testimonials .swiper-navigation {
    margin-top: 10px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding: 120px 0 100px;
}

.contact .info-item {
  margin-bottom: 80px;
}

.contact .info-item .info-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.contact .info-item .info-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.contact .info-item .info-content h4 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--heading-color);
  letter-spacing: -0.3px;
}

.contact .info-item .info-content p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

.contact .contact-details .detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 48px;
}

.contact .contact-details .detail-item:last-child {
  margin-bottom: 0;
}

.contact .contact-details .detail-item .detail-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .contact-details .detail-item .detail-icon i {
  font-size: 18px;
  color: var(--accent-color);
}

.contact .contact-details .detail-item .detail-content {
  flex: 1;
}

.contact .contact-details .detail-item .detail-content .detail-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.contact .contact-details .detail-item .detail-content .detail-value {
  display: block;
  font-size: 16px;
  color: var(--default-color);
  line-height: 1.6;
}

.contact .form-header {
  margin-bottom: 48px;
}

.contact .form-header h3 {
  font-size: 32px;
  font-weight: 300;
  color: var(--heading-color);
  margin: 0;
  letter-spacing: -0.4px;
}

.contact .form-wrapper {
  background-color: var(--surface-color);
  padding: 20px 30px;
  border-radius: 10px;
}

.contact .form-wrapper .form-group {
  margin-bottom: 32px;
}

.contact .form-wrapper .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.contact .form-wrapper .form-group input,
.contact .form-wrapper .form-group select,
.contact .form-wrapper .form-group textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--default-color);
  background-color: var(--surface-color);
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact .form-wrapper .form-group input:focus,
.contact .form-wrapper .form-group select:focus,
.contact .form-wrapper .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .form-wrapper .form-group input::placeholder,
.contact .form-wrapper .form-group select::placeholder,
.contact .form-wrapper .form-group textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.contact .form-wrapper .form-group select {
  cursor: pointer;
}

.contact .form-wrapper .form-group select option {
  padding: 10px;
}

.contact .form-wrapper .form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact .form-wrapper .submit-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 8px;
  padding: 18px 36px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.contact .form-wrapper .submit-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.contact .form-wrapper .submit-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.contact .form-wrapper .submit-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .contact {
    padding: 80px 0 60px;
  }

  .contact .info-item {
    margin-bottom: 50px;
  }

  .contact .info-item .info-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
  }

  .contact .info-item .info-icon i {
    font-size: 20px;
  }

  .contact .info-item .info-content h4 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .contact .contact-details .detail-item {
    margin-bottom: 32px;
  }

  .contact .form-header {
    margin-bottom: 32px;
  }

  .contact .form-header h3 {
    font-size: 24px;
  }

  .contact .modern-form .form-group {
    margin-bottom: 24px;
  }
}

.mm-contact-hero {
  padding-top: 112px;
  padding-bottom: 40px;
}

.mm-contact-hero-figure img {
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
}

.mm-contact-shell {
  padding-top: 24px;
}

.mm-contact-shell .card,
.mm-contact-shell .mm-card-soft {
  border-radius: 16px;
}


/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details {
  --section-spacing: 6rem;
  --content-spacing: 4rem;
}

.portfolio-details .project-intro {
  margin-bottom: var(--section-spacing);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-details .project-intro .intro-content .project-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.portfolio-details .project-intro .intro-content .project-meta .project-type,
.portfolio-details .project-intro .intro-content .project-meta .project-year {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  position: relative;
}

.portfolio-details .project-intro .intro-content .project-meta .project-type::after {
  content: "•";
  position: absolute;
  right: -1rem;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.portfolio-details .project-intro .intro-content .project-title {
  font-size: 3.75rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.portfolio-details .project-intro .intro-content .project-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-details .project-showcase {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-showcase .showcase-slider {
  border-radius: 12px;
  overflow: hidden;
}

.portfolio-details .project-showcase .showcase-slider .swiper-wrapper {
  height: auto !important;
}

.portfolio-details .project-showcase .showcase-slider .swiper-slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.portfolio-details .project-showcase .showcase-slider .swiper-pagination {
  bottom: 30px;
}

.portfolio-details .project-showcase .showcase-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.portfolio-details .project-showcase .showcase-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: white;
  transform: scale(1.2);
}

.portfolio-details .project-details-grid {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-details-grid .project-narrative h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .project-details-grid .project-narrative p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1.5rem;
}

.portfolio-details .project-details-grid .project-narrative p:last-child {
  margin-bottom: 0;
}

.portfolio-details .project-details-grid .project-info {
  padding-left: 3rem;
}

.portfolio-details .project-details-grid .project-info .info-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio-details .project-details-grid .project-info .info-block:last-child {
  border-bottom: none;
}

.portfolio-details .project-details-grid .project-info .info-block .info-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0.5rem;
}

.portfolio-details .project-details-grid .project-info .info-block .info-value {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--heading-color);
}

.portfolio-details .solution-approach {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .solution-approach .approach-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.portfolio-details .solution-approach .approach-header h2 {
  font-size: 2.75rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .solution-approach .approach-header p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

.portfolio-details .solution-approach .approach-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.portfolio-details .solution-approach .approach-steps .step-item .step-number {
  font-size: 3rem;
  font-weight: 200;
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  margin-bottom: 1rem;
  line-height: 1;
}

.portfolio-details .solution-approach .approach-steps .step-item h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.portfolio-details .solution-approach .approach-steps .step-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

.portfolio-details .project-gallery {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-gallery h2 {
  font-size: 2.75rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .project-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item:hover {
  transform: translateY(-8px);
}

.portfolio-details .project-gallery .gallery-grid .gallery-item:hover img {
  transform: scale(1.05);
}

.portfolio-details .technologies-used {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .technologies-used h2 {
  font-size: 2.75rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .technologies-used p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.portfolio-details .technologies-used .tech-stack .tech-group {
  margin-bottom: 2.5rem;
}

.portfolio-details .technologies-used .tech-stack .tech-group:last-child {
  margin-bottom: 0;
}

.portfolio-details .technologies-used .tech-stack .tech-group h4 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.portfolio-details .technologies-used .tech-stack .tech-group .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portfolio-details .technologies-used .tech-stack .tech-group .tech-tags .tech-tag {
  padding: 0.5rem 1.25rem;
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.portfolio-details .technologies-used .tech-stack .tech-group .tech-tags .tech-tag:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.portfolio-details .project-outcomes {
  background-color: color-mix(in srgb, var(--surface-color), transparent 60%);
  padding: 4rem 3rem;
  border-radius: 12px;
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-outcomes .outcomes-header {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio-details .project-outcomes .outcomes-header h2 {
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--heading-color);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.portfolio-details .project-outcomes .outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.portfolio-details .project-outcomes .outcomes-grid .outcome-card {
  text-align: center;
}

.portfolio-details .project-outcomes .outcomes-grid .outcome-card .outcome-stat {
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.portfolio-details .project-outcomes .outcomes-grid .outcome-card .outcome-label {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.4;
}

.portfolio-details .project-navigation {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 3rem;
}

.portfolio-details .project-navigation .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-details .project-navigation .nav-container .nav-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio-details .project-navigation .nav-container .nav-item.prev,
.portfolio-details .project-navigation .nav-container .nav-item.next {
  color: var(--heading-color);
}

.portfolio-details .project-navigation .nav-container .nav-item.prev .nav-label,
.portfolio-details .project-navigation .nav-container .nav-item.next .nav-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0.25rem;
}

.portfolio-details .project-navigation .nav-container .nav-item.prev .nav-title,
.portfolio-details .project-navigation .nav-container .nav-item.next .nav-title {
  font-size: 1.125rem;
  font-weight: 400;
}

.portfolio-details .project-navigation .nav-container .nav-item.prev:hover,
.portfolio-details .project-navigation .nav-container .nav-item.next:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.portfolio-details .project-navigation .nav-container .nav-item.next {
  text-align: right;
}

.portfolio-details .project-navigation .nav-container .nav-item.center {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 6px;
  color: var(--heading-color);
  font-weight: 400;
  transition: all 0.3s ease;
}

.portfolio-details .project-navigation .nav-container .nav-item.center i {
  font-size: 1.125rem;
}

.portfolio-details .project-navigation .nav-container .nav-item.center:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 1200px) {
  .portfolio-details .project-details-grid .project-info {
    padding-left: 2rem;
  }

  .portfolio-details .gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .portfolio-details .gallery-grid .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 992px) {
  .portfolio-details .project-intro .intro-content .project-title {
    font-size: 3rem;
  }

  .portfolio-details .project-details-grid .project-info {
    padding-left: 0;
    margin-top: 3rem;
  }

  .portfolio-details .approach-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .portfolio-details .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .portfolio-details .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-details {
    --section-spacing: 4rem;
  }

  .portfolio-details .project-intro .intro-content .project-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .portfolio-details .project-intro .intro-content .project-meta .project-type::after {
    display: none;
  }

  .portfolio-details .project-intro .intro-content .project-title {
    font-size: 2.5rem;
  }

  .portfolio-details .project-intro .intro-content .project-description {
    font-size: 1.125rem;
  }

  .portfolio-details .project-showcase .showcase-slider .swiper-slide img {
    height: 400px;
  }

  .portfolio-details .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .portfolio-details .gallery-grid .gallery-item.featured {
    grid-column: span 1;
  }

  .portfolio-details .project-outcomes {
    padding: 3rem 2rem;
  }

  .portfolio-details .project-outcomes .outcomes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-details .project-navigation .nav-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .portfolio-details .project-navigation .nav-container .nav-item.prev,
  .portfolio-details .project-navigation .nav-container .nav-item.next {
    text-align: center;
  }

  .portfolio-details .project-navigation .nav-container .nav-item.center {
    order: -1;
  }
}

@media (max-width: 576px) {
  .portfolio-details .project-outcomes {
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details {
  padding: 80px 0;
}

.service-details .service-content .service-hero {
  margin-bottom: 60px;
}

.service-details .service-content .service-hero .service-image {
  border-radius: 8px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-details .service-content .service-description {
  margin-bottom: 80px;
}

.service-details .service-content .service-description .service-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.3;
}

.service-details .service-content .service-description .lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 32px;
}

.service-details .service-content .service-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.service-details .service-content .service-features {
  margin-bottom: 80px;
}

.service-details .service-content .service-features h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 40px;
}

.service-details .service-content .service-features .feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.service-details .service-content .service-features .feature-item .feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-details .service-content .service-features .feature-item .feature-icon i {
  font-size: 20px;
  color: var(--accent-color);
}

.service-details .service-content .service-features .feature-item .feature-content h4 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.service-details .service-content .service-features .feature-item .feature-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

.service-details .service-content .service-process h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 40px;
}

.service-details .service-content .service-process .process-timeline .process-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}

.service-details .service-content .service-process .process-timeline .process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  width: 2px;
  height: 40px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
}

.service-details .service-content .service-process .process-timeline .process-step .step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1rem;
}

.service-details .service-content .service-process .process-timeline .process-step .step-content {
  flex: 1;
}

.service-details .service-content .service-process .process-timeline .process-step .step-content h4 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.service-details .service-content .service-process .process-timeline .process-step .step-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

.service-details .service-sidebar .sidebar-widget {
  background-color: var(--surface-color);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .sidebar-widget h4 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 24px;
}

.service-details .service-sidebar .service-info .service-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details .service-sidebar .service-info .service-details-list li {
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-details .service-sidebar .service-info .service-details-list li:last-child {
  border-bottom: none;
}

.service-details .service-sidebar .service-info .service-details-list li strong {
  color: var(--heading-color);
  font-weight: 500;
}

.service-details .service-sidebar .related-services .related-service-list .related-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-details .service-sidebar .related-services .related-service-list .related-service-item:last-child {
  border-bottom: none;
}

.service-details .service-sidebar .related-services .related-service-list .related-service-item:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.service-details .service-sidebar .related-services .related-service-list .related-service-item i {
  font-size: 16px;
  width: 20px;
}

.service-details .service-sidebar .related-services .related-service-list .related-service-item span {
  font-size: 0.95rem;
}

.service-details .service-sidebar .cta-widget {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  color: var(--contrast-color);
}

.service-details .service-sidebar .cta-widget .cta-content {
  text-align: center;
}

.service-details .service-sidebar .cta-widget .cta-content h4 {
  color: var(--contrast-color);
  margin-bottom: 16px;
}

.service-details .service-sidebar .cta-widget .cta-content p {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-details .service-sidebar .cta-widget .cta-content .btn-cta {
  display: inline-block;
  background-color: var(--contrast-color);
  color: var(--accent-color);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-details .service-sidebar .cta-widget .cta-content .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px color-mix(in srgb, var(--default-color), transparent 85%);
  color: var(--accent-color);
}

.service-details .service-sidebar .contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.service-details .service-sidebar .contact-info .contact-item:last-child {
  margin-bottom: 0;
}

.service-details .service-sidebar .contact-info .contact-item i {
  font-size: 18px;
  color: var(--accent-color);
  width: 24px;
}

.service-details .service-sidebar .contact-info .contact-item div strong {
  display: block;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 4px;
}

.service-details .service-sidebar .contact-info .contact-item div span {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .service-details {
    padding: 60px 0;
  }

  .service-details .service-content .service-hero {
    margin-bottom: 40px;
  }

  .service-details .service-content .service-hero .service-image {
    height: 300px;
  }

  .service-details .service-content .service-description {
    margin-bottom: 60px;
  }

  .service-details .service-content .service-description .service-title {
    font-size: 2rem;
  }

  .service-details .service-content .service-description .lead {
    font-size: 1.1rem;
  }

  .service-details .service-content .service-features,
  .service-details .service-content .service-process {
    margin-bottom: 60px;
  }

  .service-details .service-content .service-features h3,
  .service-details .service-content .service-process h3 {
    font-size: 1.7rem;
  }

  .service-details .service-content .process-timeline .process-step {
    gap: 16px;
  }

  .service-details .service-content .process-timeline .process-step:not(:last-child)::after {
    left: 19px;
  }

  .service-details .service-content .process-timeline .process-step .step-number {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .service-details .service-sidebar {
    margin-top: 40px;
  }

  .service-details .service-sidebar .sidebar-widget {
    padding: 24px;
  }
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
  margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
  color: #dc3545;
  font-size: 1.2rem;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-contact {
  margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media print {
  .terms-of-service .tos-contact {
    display: none;
  }

  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy .privacy-content {
  font-size: 16px;
  line-height: 1.7;
}

.privacy .privacy-content .last-updated {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 40px;
  border-left: 4px solid var(--accent-color);
}

.privacy .privacy-content .last-updated p {
  margin: 0;
  color: var(--heading-color);
}

.privacy .privacy-content .privacy-section {
  margin-bottom: 50px;
}

.privacy .privacy-content .privacy-section h3 {
  font-size: 28px;
  margin-bottom: 25px;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 15px;
}

.privacy .privacy-content .privacy-section h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.privacy .privacy-content .privacy-section h4 {
  color: var(--heading-color);
  font-size: 22px;
  margin: 30px 0 15px 0;
}

.privacy .privacy-content .privacy-section h5 {
  color: var(--heading-color);
  font-size: 18px;
  margin-bottom: 10px;
}

.privacy .privacy-content .privacy-section p {
  margin-bottom: 20px;
  color: var(--default-color);
}

.privacy .privacy-content .privacy-section ul,
.privacy .privacy-content .privacy-section ol {
  margin: 20px 0;
  padding-left: 30px;
}

.privacy .privacy-content .privacy-section ul li,
.privacy .privacy-content .privacy-section ol li {
  margin-bottom: 10px;
  color: var(--default-color);
}

.privacy .privacy-content .privacy-section .info-box {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy .privacy-content .privacy-section .info-box h4 {
  color: var(--heading-color);
  margin-top: 0;
}

.privacy .privacy-content .privacy-section .highlight-box {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000000 20%));
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  color: var(--contrast-color);
  margin: 40px 0;
}

.privacy .privacy-content .privacy-section .highlight-box i {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.privacy .privacy-content .privacy-section .highlight-box h4 {
  color: var(--contrast-color);
  margin-bottom: 15px;
}

.privacy .privacy-content .privacy-section .highlight-box p {
  color: var(--contrast-color);
  margin: 0;
  opacity: 0.9;
}

.privacy .privacy-content .privacy-section .security-measures {
  margin: 30px 0;
}

.privacy .privacy-content .privacy-section .security-measures .measure-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.privacy .privacy-content .privacy-section .security-measures .measure-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.privacy .privacy-content .privacy-section .security-measures .measure-item i {
  font-size: 36px;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.privacy .privacy-content .privacy-section .security-measures .measure-item h5 {
  margin-bottom: 15px;
}

.privacy .privacy-content .privacy-section .security-measures .measure-item p {
  margin: 0;
  font-size: 14px;
}

.privacy .privacy-content .privacy-section .rights-list {
  margin: 30px 0;
}

.privacy .privacy-content .privacy-section .rights-list .right-item {
  display: flex;
  align-items: flex-start;
  padding: 25px;
  margin-bottom: 20px;
  background: var(--surface-color);
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.privacy .privacy-content .privacy-section .rights-list .right-item:hover {
  border-color: var(--accent-color);
  transform: translateX(5px);
}

.privacy .privacy-content .privacy-section .rights-list .right-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-right: 20px;
  margin-top: 5px;
  min-width: 24px;
}

.privacy .privacy-content .privacy-section .rights-list .right-item div {
  flex: 1;
}

.privacy .privacy-content .privacy-section .rights-list .right-item div h5 {
  margin-bottom: 10px;
}

.privacy .privacy-content .privacy-section .rights-list .right-item div p {
  margin: 0;
  font-size: 14px;
}

.privacy .privacy-content .privacy-section .cookie-types {
  margin: 30px 0;
}

.privacy .privacy-content .privacy-section .cookie-types h4 {
  margin-bottom: 20px;
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive .table {
  margin: 0;
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive .table thead {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive .table thead th {
  border: none;
  color: var(--heading-color);
  font-weight: 600;
  padding: 15px 20px;
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive .table tbody td {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 15px 20px;
  color: var(--default-color);
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive .table tbody tr:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 97%);
}

.privacy .privacy-content .contact-section {
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.privacy .privacy-content .contact-section h3 {
  color: var(--heading-color);
  margin-bottom: 20px;
}

.privacy .privacy-content .contact-section h3:after {
  background: var(--accent-color);
}

.privacy .privacy-content .contact-section .contact-info {
  margin-top: 30px;
}

.privacy .privacy-content .contact-section .contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.privacy .privacy-content .contact-section .contact-info .contact-item i {
  font-size: 18px;
  color: var(--accent-color);
  margin-right: 15px;
  min-width: 18px;
}

.privacy .privacy-content .contact-section .contact-info .contact-item span {
  color: var(--default-color);
}

@media (max-width: 768px) {
  .privacy .privacy-content {
    font-size: 15px;
  }

  .privacy .privacy-content .privacy-section h3 {
    font-size: 24px;
  }

  .privacy .privacy-content .privacy-section h4 {
    font-size: 20px;
  }

  .privacy .privacy-content .privacy-section .security-measures .row>div {
    margin-bottom: 20px;
  }

  .privacy .privacy-content .privacy-section .rights-list .right-item {
    flex-direction: column;
    text-align: center;
  }

  .privacy .privacy-content .privacy-section .rights-list .right-item i {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 3%) 100%);
}

.error-404 .error-content {
  margin-bottom: 80px;
}

.error-404 .error-content .error-number {
  font-size: 8rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .error-404 .error-content .error-number {
    font-size: 6rem;
  }
}

@media (max-width: 576px) {
  .error-404 .error-content .error-number {
    font-size: 4.5rem;
  }
}

.error-404 .error-content .error-title {
  font-size: 3rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .error-404 .error-content .error-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .error-404 .error-content .error-title {
    font-size: 2rem;
  }
}

.error-404 .error-content .error-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .error-404 .error-content .error-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }
}

.error-404 .error-content .error-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.error-404 .error-content .error-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.error-404 .error-content .error-actions .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.error-404 .error-content .error-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background-color: transparent;
  color: var(--heading-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.error-404 .error-content .error-actions .btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .error-404 .error-content .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-404 .error-content .error-actions .btn-primary,
  .error-404 .error-content .error-actions .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

.error-404 .error-content .search-section .search-label {
  font-size: 1rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 500;
}

.error-404 .error-content .search-section .search-form {
  max-width: 400px;
  margin: 0 auto;
}

.error-404 .error-content .search-section .search-form .search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.error-404 .error-content .search-section .search-form .search-input-group .search-input {
  width: 100%;
  padding: 16px 60px 16px 20px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: all 0.3s ease;
}

.error-404 .error-content .search-section .search-form .search-input-group .search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.error-404 .error-content .search-section .search-form .search-input-group .search-input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.error-404 .error-content .search-section .search-form .search-input-group .search-btn {
  position: absolute;
  right: 8px;
  background: var(--accent-color);
  border: none;
  border-radius: 6px;
  padding: 12px;
  color: var(--contrast-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.error-404 .error-content .search-section .search-form .search-input-group .search-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
}

.error-404 .error-content .search-section .search-form .search-input-group .search-btn i {
  font-size: 1rem;
}

.error-404 .helpful-links .links-title {
  font-size: 2rem;
  font-weight: 300;
  color: var(--heading-color);
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .error-404 .helpful-links .links-title {
    font-size: 1.75rem;
    margin-bottom: 40px;
  }
}

.error-404 .helpful-links .link-item {
  text-align: center;
  padding: 40px 20px;
  height: 100%;
  transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item:hover {
  transform: translateY(-10px);
}

.error-404 .helpful-links .link-item .link-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), black 20%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item .link-icon i {
  font-size: 1.75rem;
  color: var(--contrast-color);
}

.error-404 .helpful-links .link-item h4 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.error-404 .helpful-links .link-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
}

.error-404 .helpful-links .link-item .link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item .link-cta:hover {
  color: color-mix(in srgb, var(--accent-color), black 15%);
  gap: 12px;
}

.error-404 .helpful-links .link-item .link-cta i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.error-404 .helpful-links .link-item .link-cta:hover i {
  transform: translateX(3px);
}

.error-404 .helpful-links .link-item:hover .link-icon {
  transform: scale(1.1);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--accent-color), transparent 65%);
}

@media (max-width: 992px) {
  .error-404 {
    padding: 80px 0;
  }

  .error-404 .helpful-links .link-item {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .error-404 {
    padding: 60px 0;
    min-height: auto;
  }

  .error-404 .error-content {
    margin-bottom: 60px;
  }

  .error-404 .helpful-links .links-title {
    margin-bottom: 40px;
  }
}

/* ------------------------------------------
   Milestone Metrics – Image Refinements
   ------------------------------------------ */

/* Global safeguard: keep all content images responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero image (baby / parent visual) */
.hero .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

/* About / founder image (Wendy) */
.about .image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 90%);
}

/* Why Us visual (parent + child) */
.why-us .image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

/* Avoid weird stretching if any inline width/height sneaks in */
.hero img,
.about img,
.why-us img,
.team img {
  object-fit: cover;
}

/* Slightly tighter hero spacing on small phones */
@media (max-width: 576px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
}

/* ============================
   BLOG HERO
   Recommended hero image size: 1920 x 600
   ============================ */
.blog-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background:
    linear-gradient(rgba(15, 118, 110, 0.75), rgba(45, 212, 191, 0.75)),
    url('../img/blog/blog-hero-1920x600.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
}

.blog-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 3vw, 3rem);
  margin-bottom: 0.75rem;
}

.blog-hero-subtitle {
  max-width: 680px;
  margin: 0 auto;
  font-size: 0.98rem;
  opacity: 0.9;
}

/* Ensure nav is visible on blog hero */
.blog-page .header .navmenu>ul>li>a {
  color: #ffffff;
}

/* As soon as header becomes scrolled (if your JS toggles a class), you can keep it legible on white */
.blog-page .header.header-scrolled .navmenu>ul>li>a {
  color: #0f172a;
}

/* ============================
   BLOG CARDS & CONTENT
   ============================ */
.blog-list .blog-card,
.blog-card {
  border-radius: 1.25rem;
  overflow: hidden;
  border: none;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.1);
}

.blog-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem 1.5rem 1.4rem;
}

.blog-meta {
  font-size: 0.85rem;
  color: #6b7280;
}

.blog-meta i {
  margin-right: 4px;
}

.blog-card-title {
  font-size: 1.15rem;
  margin: 0.35rem 0 0.6rem;
}

.blog-card-title a {
  color: #111827;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #0f766e;
}

.blog-excerpt {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.blog-read-more a {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #0f766e;
}

.blog-read-more a i {
  margin-left: 4px;
}

/* Detail page content */
.blog-content {
  padding-top: 40px;
  padding-bottom: 60px;
}

.blog-feature-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.blog-post h2 {
  font-size: 1.5rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.blog-post h3 {
  font-size: 1.15rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.blog-post p,
.blog-post ul {
  font-size: 0.98rem;
  color: #374151;
}

.blog-post ul {
  padding-left: 1.2rem;
}

.blog-cta-box {
  border-radius: 1.25rem;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 1.5rem 1.75rem;
}

.blog-cta-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.blog-cta-box p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.blog-cta-box .btn-primary {
  display: inline-flex;
  align-items: center;
}

.back-link {
  font-size: 0.95rem;
  text-decoration: none;
  color: #0f766e;
}

.back-link i {
  margin-right: 4px;
}

/* Blog page layout refinements */
.blog-page .mm-page-hero--blog {
  padding-top: 6rem;        /* a bit less than homepage hero */
  padding-bottom: 3rem;
  background: #f9fafb;
}

.blog-page .mm-page-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  object-fit: cover;
}

/* Slightly tighter sections on blog page */
.mm-section--tight-top {
  padding-top: 1.5rem;
}

.mm-section--tight-bottom {
  padding-bottom: 3rem;
}

/* Tighter top padding helper */
.mm-section--tight-top {
  padding-top: 24px;
  padding-bottom: 32px;
}




/* Guides callout */
.mm-callout--guides {
  border-radius: 16px;
  background: #f5f7fb;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.25rem 1.5rem;
}

.mm-callout--guides h2 {
  letter-spacing: 0.12em;
  color: #64748b;
}

.mm-callout--guides p {
  line-height: 1.6;
}

/* Blog grid cards */
.mm-blog-grid .mm-blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.mm-blog-card-image img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.mm-blog-card-body {
  padding: 1rem 1.1rem 1.1rem;
  color: #111827;
}

.mm-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.mm-blog-tag {
  font-weight: 500;
  color: #4b5563;
}

.mm-blog-meta {
  color: #6b7280;
}
/* Solid header on blog pages so the nav doesn't disappear */
.blog-page .header {
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.blog-page .header .navmenu > ul > li > a {
  color: #111827;
}

.blog-page .header .navmenu > ul > li > a:hover,
.blog-page .header .navmenu > ul > li > a:focus {
  color: var(--accent-color);
}

.blog-page .header .logo img {
  filter: none; /* in case you were dimming the logo on dark headers */
}


/* ============================
   ASSESSMENT TOOLS CARDS
   ============================ */
.assessment-tools .tool-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.05);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.assessment-tools .tool-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfeff;
  margin-bottom: 0.9rem;
  font-size: 1.25rem;
  color: #0f766e;
}

.assessment-tools .tool-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.assessment-tools .tool-card p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0.9rem;
}

.assessment-tools .tool-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: #0f766e;
}

.assessment-tools .tool-link i {
  margin-left: 4px;
}

/* ============================
   WENDY IMAGE & FLOATING CARD
   ============================ */
.image-wrapper {
  position: relative;
  padding-bottom: 60px;
  /* space for floating card */
}

.image-wrapper img {
  border-radius: 1.5rem;
}

.image-wrapper .floating-card {
  position: absolute;
  right: 20px;
  bottom: 0;
  transform: translateY(40%);
  max-width: 280px;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.image-wrapper .floating-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #4338ca;
  margin-bottom: 0.5rem;
}

.image-wrapper .floating-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.image-wrapper .floating-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* On smaller screens, keep card under image instead of overlapping Wendy */
@media (max-width: 991.98px) {
  .image-wrapper {
    padding-bottom: 0;
  }

  .image-wrapper .floating-card {
    position: static;
    transform: none;
    margin-top: 1rem;
    max-width: 100%;
  }
}

/* ============================
   SECTION SPACING TWEAKS
   ============================ */
.section {
  padding-top: 60px;
  padding-bottom: 60px;
}

@media (max-width: 767.98px) {
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}

/* ============================
  FOOTER STYLES
   ============================ */

.footer .social-link {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer .social-link:hover {
  background: #ffffff;
  color: #0f766e;
  border-color: #ffffff;
}

.footer .newsletter-form .form-control {
  border-radius: 999px 0 0 999px;
}

.footer .newsletter-form .btn {
  border-radius: 0 999px 999px 0;
}


/* ============================
  LOGO STYLES
   ============================ */
/* Logo sizing */
.header .logo-img {
  height: 44px;
  /* Logo sizing */
  width: auto;
}

/* Slightly bolder site name */
.header .sitename {
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Make header clearly visible over hero images */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* ===== Milestone Metrics Header / Logo ===== */

.logo .mm-logo {
  width: 170px;
  /* adjust up/down as you like */
  height: auto;
  display: block;
}

.header .sitename {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Dark nav links so they show over light/hero backgrounds */
.header .navmenu a {
  color: #111827;
}

.header .navmenu a:hover,
.header .navmenu .active,
.header .navmenu li:hover>a {
  color: #0f766e;
}

/* Header background + subtle shadow so it feels “sticky” */
.header {
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

/* If your main.js toggles .header-scrolled, this deepens the shadow on scroll */
.header.header-scrolled {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Make sure page content clears the fixed header */
body {
  padding-top: 80px;
  /* tweak if your header is taller/shorter */
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .logo .mm-logo {
    width: 150px;
  }

  .header .sitename {
    font-size: 1.2rem;
  }
}

/* Logo Scaling */
/* Ensure header logo can grow */
.header .logo img {
  max-height: none;
  /* cancel theme limit */
}

/* Main logo sizing */
.header .logo img.site-logo {
  height: 70px;
  /* try 56–72px until it feels right */
  width: auto;
  display: block;
}

/* Optional: tweak on mobile so it’s not huge */
@media (max-width: 768px) {
  .header .logo img.site-logo {
    height: 48px;
  }
}

/* ============================
 fix css in cards force all cards to maintain height even if the image fails
   ============================ */

.blog-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 220px;
  /* Prevent collapse */
  background-color: #e5e7eb;
  /* subtle grey fallback */
}

/*--------------------------------------------------------------
# Blog Layout – Milestone Metrics
--------------------------------------------------------------*/

.blog-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../img/blog/hero-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
}

.blog-hero h1 {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.blog-hero p {
  max-width: 640px;
  margin: 0 auto;
}

.blog-main {
  max-width: 1140px;
}

/* Blog cards */

.blog-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: var(--surface-color);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.blog-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.blog-meta {
  font-size: 0.85rem;
  color: #6b7280;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-meta i {
  font-size: 0.9rem;
  margin-right: 4px;
}

.blog-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #0f766e;
}

.blog-excerpt {
  color: #4b5563;
}

.blog-read-more a {
  font-weight: 600;
  text-decoration: none;
  color: #0f766e;
}

.blog-read-more a i {
  margin-left: 4px;
  font-size: 0.9rem;
}

/* Sidebar widgets */

.sidebar .widget-card {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  margin-bottom: 1.5rem;
  background-color: var(--surface-color);
}

.sidebar .card-header {
  background-color: #f3f4f6;
  border-bottom: none;
  border-radius: 1rem 1rem 0 0 !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111827;
}

.sidebar .search-input {
  border-radius: 999px 0 0 999px;
  border-right: none;
}

.sidebar .search-btn {
  border-radius: 0 999px 999px 0;
}

.sidebar .list-unstyled li+li {
  margin-top: 0.4rem;
}

.sidebar .badge-count {
  font-size: 0.8rem;
  background-color: #e0f2fe;
  color: #0f766e;
}

.sidebar .recent-post-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.sidebar .recent-post-item img {
  width: 60px;
  height: 60px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.sidebar .recent-post-item h6 {
  font-size: 0.9rem;
  margin: 0 0 0.15rem;
}

.sidebar .recent-post-item a {
  text-decoration: none;
  color: #111827;
}

.sidebar .recent-post-item a:hover {
  color: #0f766e;
}

.sidebar .tag-list a {
  display: inline-block;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.8rem;
  color: #4b5563;
  text-decoration: none;
}

.sidebar .tag-list a:hover {
  border-color: #0f766e;
  color: #0f766e;
}

/* Pagination */

.blog-pagination .page-link {
  border-radius: 999px !important;
  border: none;
  margin: 0 2px;
  color: #4b5563;
}

.blog-pagination .page-item.active .page-link {
  background-color: #0f766e;
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .blog-main {
    max-width: 100%;
  }
}

/* Match footer "Book a Consultation" button */
.nav-book-btn {
  padding: 8px 20px !important;
  font-weight: 600;
  border-radius: 0.375rem !important;
  /* same as footer */
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #fff !important;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

/* Hover state to match footer button style */
.nav-book-btn:hover {
  background-color: #1a5953 !important;
  border-color: #1a5953 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-book-btn:active {
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Precise Hero Spacing Control
--------------------------------------------------------------*/

/* Normalize hero padding (top + bottom) */
#hero {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* Reduce spacing inside hero content */
#hero .hero-content {
  margin-bottom: 0 !important;
}

/* Reduce spacing between the hero CTA and stats */
#hero .hero-cta {
  margin-bottom: 20px !important; /* reduce from large default */
}

/* Reduce hero stats spacing */
#hero .hero-stats {
  margin-top: 10px !important;
}

/* OPTIONAL: tighten h1 spacing */
#hero h1 {
  margin-bottom: 18px !important;
}

/* OPTIONAL: tighten paragraph spacing */
#hero p {
  margin-bottom: 20px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #hero {
    padding-top: 20px !important;
    padding-bottom: 30px !important;
  }
  #hero .hero-cta {
    gap: 10px !important;
    margin-bottom: 16px !important;
  }
  #hero .hero-stats {
    margin-top: 8px !important;
  }
}

/*--------------------------------------------------------------
# Footer Thumbnail Gallery
--------------------------------------------------------------*/
.footer-thumbs .footer-thumb {
  width: 100%;
  max-width: 70px;     /* SIZE of thumbnails */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-thumbs .footer-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Optional: tighten spacing on mobile */
@media (max-width: 768px) {
  .footer-thumbs .footer-thumb {
    max-width: 60px;
  }
}

/*Gallery in the footer*/

/* Footer – layout tweaks */
.footer {
  padding: 40px 0 24px;
}

/* Make headings a bit tighter and clearer */
.footer h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

/* Guides column */
.footer-guides {
  font-size: 0.85rem;
}

.footer-guides-text {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.85);
  margin-bottom: 0.65rem;
}

/* Thumbnail grid */
.footer-thumbs {
  --thumb-radius: 0.55rem;
}

.footer-thumbs .guide-thumb {
  display: block;
  text-decoration: none;
}

.footer-thumbs .thumb-inner {
  border-radius: var(--thumb-radius);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Thumbnails – small, neat, 2 per row because of col-6 */
.footer-thumb {
  width: 100%;
  height: 0;
  padding-bottom: 70%;        /* controls aspect ratio (around 4:3-ish) */
  object-fit: cover;
  display: block;
}

/* Make sure images actually fill the box */
.footer-thumb {
  height: auto;
  padding-bottom: 0;
}

/* Guide titles under thumbs */

/* Footer layout */
.footer {
  padding: 48px 0 32px;
  background: #0f172a;
  color: #cbd5e1;
}

.footer h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: #e2e8f0;
}

.footer p,
.footer a {
  color: #cbd5e1;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links a:hover {
  color: #fff;
}

/* Booking button */
.footer-book-btn {
  padding: 0.7rem 1rem;
  font-weight: 600;
  border-radius: 6px;
}

/* Newsletter */
.newsletter-form input {
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
}

.newsletter-form input::placeholder {
  color: #94a3b8;
}

.newsletter-form button {
  border-color: rgba(255,255,255,0.4);
}

.newsletter-form button:hover {
  background: rgba(255,255,255,0.2);
}

/* Mobile */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 28px;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    margin-bottom: 1.5rem;
  }
}

/* Center footer columns on mobile/tablet */
@media (max-width: 991px) {
  .footer .footer-about,
  .footer .footer-links,
  .footer .footer-contact {
    text-align: center;
  }

  .footer .footer-social {
    justify-content: center;
  }

  .footer .footer-links ul {
    padding: 0;
  }

  .footer .footer-links ul li {
    display: inline-block;
    margin: 0 8px;
  }

  .footer .footer-contact .input-group {
    justify-content: center;
  }
}

/* Center "Presented by" and improve spacing */
footer .copyright p {
  margin-bottom: 0.2rem;
}

footer .copyright .small a {
  font-weight: 600;
}

.mm-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, var(--mm-teal-soft), #ffffff);
}

.mm-hero-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 15px 30px rgba(15, 118, 110, 0.12);
  border: 1px solid #E5E7EB;
}

.mm-section-testimonial {
  padding: 3rem 0;
}


/*Brighter Colors*/

:root {
  --mm-teal: #0F766E;
  --mm-teal-soft: #ECFDF5;
  --mm-gold: #FBBF24;
  --mm-ink: #111827;
  --mm-muted: #6B7280;
  --mm-card: #F3F4F6;
}

/* Example usage */
.hero {
  background: linear-gradient(135deg, var(--mm-teal-soft), #ffffff);
  color: var(--mm-ink);
}

.btn-primary {
  background-color: var(--mm-teal);
  border-color: var(--mm-teal);
}

.btn-accent {
  background-color: var(--mm-gold);
  border-color: var(--mm-gold);
  color: #111827;
}

/*--------------------------------------------------------------
# Daycare Styles
--------------------------------------------------------------*/
.mm-section-daycare {
  background-color: #ecfdf5; /* soft mint */
  padding: 2.5rem 0;
}

.mm-card-soft {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.08);
  border: 1px solid #e5e7eb;
}

.mm-announcement--inline {
  margin-bottom: 1rem;
}

.mm-checklist {
  list-style: none;
  padding-left: 0;
}

.mm-checklist li::before {
  content: "✔";
  margin-right: 0.5rem;
  color: var(--mm-teal);
}

/*--------------------------------------------------------------
# Daycare nav item + NEW pill 
--------------------------------------------------------------*/

.navmenu .nav-daycare > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}


/* The "New" pill */
.nav-pill-new {
  text-transform: uppercase;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background-color: #f97316; /* warm orange */
  color: #ffffff;
  font-weight: 600;
}

/* Mobile emphasis for Daycare Partners */
@media (max-width: 991.98px) {
  .navmenu .nav-daycare > a {
    background-color: #ecfdf5;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 600;
  }
}

/* =========================================
   Milestone Metrics – Guide / Article Layout
   Classes: .mm-guide-*, .mm-article-*, .mm-widget-*
   ========================================= */

/* ---------- Header strip for guide-style pages ---------- */

.mm-guide-header {
  padding-top: 120px;
  padding-bottom: 32px;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.mm-guide-header .breadcrumb a {
  text-decoration: none;
  color: #6b7280;
}

.mm-guide-header .breadcrumb a:hover {
  color: #0f766e;
}

.mm-guide-header h1 {
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

.mm-guide-header p {
  max-width: 620px;
  color: #4b5563;
}

.mm-guide-meta {
  font-size: 0.85rem;
  color: #6b7280;
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.mm-guide-meta i {
  font-size: 0.9rem;
}

/* ---------- Body layout ---------- */

.mm-guide-body {
  padding-top: 40px;
  padding-bottom: 60px;
}

.mm-guide-main {
  max-width: 1140px;
}

/* ---------- Article content ---------- */

.mm-article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
}

.mm-article-content p {
  margin-bottom: 1rem;
}

.mm-article-content p.lead {
  font-size: 1.05rem;
  color: #111827;
  margin-bottom: 1.25rem;
}

.mm-article-content h2,
.mm-article-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #111827;
}

.mm-article-content h2 {
  font-size: 1.4rem;
}

.mm-article-content h3 {
  font-size: 1.15rem;
}

.mm-article-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.mm-article-content li + li {
  margin-top: 0.35rem;
}

/* Highlighted callout inside article */

.mm-article-callout {
  border-left: 4px solid #0f766e;
  background-color: #ecfdf5;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  font-size: 0.95rem;
  color: #065f46;
}

/* ---------- Hero figure / image for guides ---------- */

.mm-guide-hero-figure {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  margin-bottom: 2rem;
}

.mm-guide-hero-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.mm-guide-hero-figure figcaption {
  font-size: 0.85rem;
  color: #6b7280;
  padding: 0.75rem 1.25rem 1rem;
  background-color: #f9fafb;
}

/* ---------- Sidebar + widgets ---------- */

.mm-guide-sidebar .mm-widget-card {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  margin-bottom: 1.5rem;
  background-color: #ffffff;
}

/* If you ever use .mm-widget-card outside .mm-guide-sidebar, this still works */
.mm-widget-card {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  margin-bottom: 1.5rem;
  background-color: #ffffff;
}

.mm-guide-sidebar .mm-widget-header,
.mm-widget-header {
  background-color: #f3f4f6;
  border-bottom: none;
  border-radius: 1rem 1rem 0 0 !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111827;
  padding: 0.75rem 1.25rem;
}

.mm-guide-sidebar .mm-widget-body,
.mm-widget-body {
  padding: 1.25rem 1.25rem 1.35rem;
  font-size: 0.95rem;
  color: #4b5563;
}

.mm-guide-sidebar ul {
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
}

.mm-guide-sidebar li + li {
  margin-top: 0.35rem;
}

/* Sidebar CTA button */

.mm-sidebar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 991.98px) {
  .mm-guide-header {
    padding-top: 100px;
    padding-bottom: 28px;
  }

  .mm-guide-body {
    padding-top: 30px;
    padding-bottom: 40px;
  }
}

/* ---------- Booking Styles ---------- */

.mm-section-page-header {
  padding-top: 120px;
  padding-bottom: 32px;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.mm-section-booking-page {
  padding-top: 40px;
  padding-bottom: 60px;
}

.mm-booking-card--square {
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  background-color: #ffffff;
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}

.square-appointments-wrapper {
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #f9fafb;
  padding: 0.75rem;
}

.mm-booking-hero {
  padding-top: 112px;
  padding-bottom: 60px;
}

.mm-booking-hero .mm-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
}

.mm-booking-hero h1 {
  font-size: 2.4rem;
  letter-spacing: -0.04em;
}

.mm-booking-hero-figure img {
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.mm-booking-hero-figure figcaption {
  margin-top: 0.5rem;
}

.mm-booking-shell {
  padding-top: 0;
  padding-bottom: 40px;
}

.mm-booking-card {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  padding: 1.75rem 1.75rem 1.5rem;
}

.square-appointments-wrapper {
  min-height: 360px;
}

.mm-booking-testimonial {
  padding-top: 24px;
  padding-bottom: 60px;
}

.mm-booking-testimonial-card {
  border-radius: 16px;
  background: #ecf4ff;
  padding: 1.5rem 1.75rem;
}


/*-----------CSS for Hero--------------*/
/* Daycare hero layout */

.mm-daycare-hero {
  padding-top: 120px;   /* accounts for fixed header */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

body.inner-page .mm-daycare-hero {
  padding-top: 110px;
}

.mm-daycare-hero h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mm-daycare-hero .lead {
  color: #4b5563;
}

.mm-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #0f766e;
}

/* Hero figure */

.mm-daycare-hero-figure {
  border-radius: 1.5rem;
  overflow: hidden;
  background: #ecfdf5;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
}

.mm-daycare-hero-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.mm-daycare-hero-figure figcaption {
  padding: 0.75rem 1.1rem 1rem;
  font-size: 0.85rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

/* Announcement strip tweaks (optional, to tighten spacing) */

.mm-announcement {
  padding: 0.6rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.mm-announcement--accent {
  background: #fefce8;
  color: #854d0e;
}

.mm-announcement--accent a {
  color: #854d0e;
  font-weight: 600;
  text-decoration: underline;
}

/* Small screen adjustments */

@media (max-width: 991.98px) {
  .mm-daycare-hero {
    padding-top: 96px;
    padding-bottom: 40px;
  }
  .mm-daycare-hero-figure {
    margin-top: 8px;
  }
}

/* ---------------------------------------
   Booking hero – mirrors daycare hero
---------------------------------------- */
.mm-section-booking-hero {
  background-color: #f0f9ff;
  padding-top: 130px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e5e7eb;
}

.mm-section-booking-hero h1 {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.mm-section-booking-hero p.lead {
  max-width: 620px;
  color: #4b5563;
}

.mm-section-booking-hero .mm-page-hero-figure {
  box-shadow: none;
}

/* ---------------------------------------
   Booking – daycare testimonial band
---------------------------------------- */
.mm-booking-testimonial-section {
  padding-top: 0;
  padding-bottom: 70px;
  background-color: #f9fafb;
}

.mm-booking-testimonial-card {
  max-width: 880px;
  margin: 0 auto;
  border-radius: 1.5rem;
  padding: 22px 22px 24px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.mm-booking-testimonial-card .eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #047857;
  margin-bottom: 0.4rem;
}

.mm-booking-testimonial-card p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #065f46;
}

.mm-booking-testimonial-card footer {
  font-size: 0.85rem;
  color: #047857;
}

/* ============================
   PAGE HERO, GUIDES, STYLES
   ============================ */

   /* Page hero shell (used on Bayley-4, Guides, Blog, Booking, Daycare, FAQs, etc.) */
.mm-page-hero {
  padding-top: 120px;
  padding-bottom: 40px;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.mm-page-hero--assessment,
.mm-page-hero--booking,
.mm-page-hero--guides,
.mm-page-hero--blog {
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 55%);
}

.mm-kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6b7280;
}

.mm-page-hero-figure {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  background-color: #f9fafb;
}

.mm-page-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mm-page-hero-figure figcaption {
  padding: 0.75rem 1.1rem 1rem;
  font-size: 0.82rem;
  color: #6b7280;
}

/* Side card on assessment pages */
.mm-side-card {
  margin-top: 1rem;
  border-radius: 1.1rem;
  border: 1px solid #e5e7eb;
  padding: 1rem 1.1rem 1.1rem;
  background-color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.mm-mini-list {
  padding-left: 1.1rem;
}

.mm-mini-list li + li {
  margin-top: 0.25rem;
}

/* Feature tiles / cards */
.mm-feature-grid .mm-feature-tile {
  height: 100%;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1rem 1rem 1.1rem;
  background-color: #ffffff;
}

.mm-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  background-color: #ecfdf5;
}

/* Timeline list (what to expect) */
.mm-timeline {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.mm-timeline li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1.2rem;
}

.mm-timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #f9fafb;
}

/* Guide cards */
.mm-guide-card,
.mm-blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  text-decoration: none;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mm-guide-card-image,
.mm-blog-card-image {
  position: relative;
  padding-top: 62%;
  overflow: hidden;
}

.mm-guide-card-image img,
.mm-blog-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-guide-card-body,
.mm-blog-card-body {
  padding: 0.9rem 1rem 1rem;
}

.mm-guide-card:hover,
.mm-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  border-color: #bfdbfe;
}

.mm-guide-tag,
.mm-blog-tag {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #6b7280;
}

.mm-guide-meta,
.mm-blog-meta {
  color: #6b7280;
}

/* Booking shell w/ Square embed */
.mm-section-booking-embed {
  padding-top: 24px;
  padding-bottom: 60px;
}

.mm-booking-shell {
  border-radius: 1.3rem;
  padding: 1.75rem 1.75rem 1.9rem;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.square-appointments-wrapper {
  width: 100%;
  min-height: 420px;
}

.square-appointments-wrapper iframe {
  width: 100% !important;
}

/* Soft CTA slab */
.mm-section-soft {
  padding-top: 0;
  padding-bottom: 60px;
}

.mm-cta-slab {
  border-radius: 1.25rem;
  padding: 1.6rem 1.7rem;
  background: linear-gradient(135deg, #ecfdf5, #eff6ff);
  border: 1px solid #d1fae5;
}

/* Footer refinements */
.mm-footer {
  background-color: #020617;
  color: #e5e7eb;
}

.mm-footer .sitename {
  font-weight: 600;
  font-size: 1rem;
}

.mm-footer h4 {
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.mm-footer .footer-links ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.mm-footer .footer-links li + li {
  margin-top: 0.35rem;
}

.mm-footer .footer-links a {
  font-size: 0.9rem;
  color: #e5e7eb;
  text-decoration: none;
}

.mm-footer .footer-links a:hover {
  color: #bfdbfe;
}

.mm-footer .footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.mm-footer .footer-social a:hover {
  background-color: #020617;
  border-color: #93c5fd;
}

.mm-footer .footer-book-btn {
  border-radius: 999px;
}

.mm-footer .newsletter-form .form-control {
  border-radius: 999px 0 0 999px;
}

.mm-footer .newsletter-form .btn {
  border-radius: 0 999px 999px 0;
}

/* --------------------------------------------------------------
   Families Banner – Soft Pale Blue
-------------------------------------------------------------- */
.mm-families-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-radius: 16px;
  background: #eef6ff; /* pale blue */
  border: 1px solid #dcecff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.mm-families-banner--blue .mm-families-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.mm-families-text h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1d3557;
}

.mm-families-text p {
  margin-bottom: 0.75rem;
  color: #334155;
  line-height: 1.55;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mm-families-banner {
    flex-direction: column;
    text-align: left;
    padding: 1.5rem;
  }

  .mm-families-banner--blue .mm-families-icon {
    font-size: 1.8rem;
  }

  .mm-families-text h3 {
    font-size: 1.25rem;
  }
}

/* --------------------------------------------------------------
   Inline announcement (daycare hero)
-------------------------------------------------------------- */

.mm-announcement-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff7e6;             /* soft warm strip */
  border: 1px solid #ffebc2;
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

.mm-announcement-pill {
  font-weight: 600;
  color: #b45309;                   /* warm orange-brown */
}

.mm-announcement-note {
  color: #6b7280;
}

.mm-announcement-note a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Stack nicely on small screens */
@media (max-width: 768px) {
  .mm-announcement-inline {
    border-radius: 12px;
    align-items: flex-start;
    padding: 0.5rem 0.75rem;
  }
}

/* --------------------------------------------------------------
   Shared split hero (text + image) – daycare + booking + tools
-------------------------------------------------------------- */

.mm-daycare-hero,
.mm-booking-hero,
.mm-section-assessment-hero {
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
}

.mm-daycare-hero .mm-kicker,
.mm-booking-hero .mm-kicker,
.mm-section-assessment-hero .mm-page-hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

.mm-daycare-hero h1,
.mm-booking-hero h1,
.mm-section-assessment-hero h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* Card-style hero image */
.mm-daycare-hero-figure,
.mm-booking-hero-figure,
.mm-page-hero-figure {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  padding: 0.9rem;
}

.mm-daycare-hero-figure img,
.mm-booking-hero-figure img,
.mm-page-hero-figure img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  display: block;
}

.mm-daycare-hero-figure figcaption,
.mm-booking-hero-figure figcaption,
.mm-page-hero-figure figcaption {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 0.45rem;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .mm-daycare-hero,
  .mm-booking-hero,
  .mm-section-assessment-hero {
    padding-top: 3.5rem;
    padding-bottom: 2.75rem;
  }
}

@media (max-width: 768px) {
  .mm-daycare-hero,
  .mm-booking-hero,
  .mm-section-assessment-hero {
    padding-top: 3rem;
    padding-bottom: 2.25rem;
  }
}
/* Booking shell / Square widget */

.mm-booking-shell {
  background: #f5fafc;
  padding: 2.75rem 0 3.25rem;
}

.mm-booking-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 1.9rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
}

.square-appointments-wrapper {
  min-height: 420px;
  /* let the widget breathe */
}

.square-appointments-wrapper iframe,
.square-appointments-wrapper > div {
  width: 100% !important;
}

/* Daycare testimonial strip on booking page */

.mm-daycare-testimonial-strip {
  padding: 0 0 3rem;
}

.mm-daycare-testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  background: #eefcf5;
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1px solid #c7f0df;
}

.mm-daycare-testimonial-card .quote-mark {
  font-size: 2.5rem;
  line-height: 1;
  color: #0f766e;
}

.mm-daycare-testimonial-card .text p {
  color: #111827;
}

@media (max-width: 768px) {
  .mm-booking-card {
    padding: 1.4rem 1.25rem;
  }
  .mm-daycare-testimonial-card {
    padding: 1.25rem 1.4rem;
  }
}

/* --------------------------------------------------------------
   FAQ page layout
-------------------------------------------------------------- */

.faq-page #main {
  background: #f9fafb;
}

/* Hero variation for FAQ (reuses shared hero styles) */
.mm-page-hero--faq {
  padding-top: 4.5rem;
  padding-bottom: 3.25rem;
}

.mm-page-hero--faq .mm-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

/* FAQ shell + cards */
.mm-faq-shell {
  padding-top: 2rem;
  padding-bottom: 3.25rem;
}

.mm-faq-group-heading {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.mm-faq-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem 1.15rem 0.85rem;
  margin-bottom: 0.9rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.mm-faq-item h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
  color: #111827;
}

.mm-faq-item p {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 0;
}

.mm-faq-item a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .mm-page-hero--faq {
    padding-top: 3.75rem;
    padding-bottom: 2.5rem;
  }

  .mm-faq-shell {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 768px) {
  .mm-faq-item {
    padding: 0.9rem 0.95rem 0.8rem;
  }
}

.rounded-hero img,
.mm-article-content img {
  border-radius: 18px;
  overflow: hidden;
}
/* Families Banner */
.mm-families-banner {
  padding: 2rem 2rem;
  border-radius: 18px;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.mm-families-banner--blue {
  background: #EAF5FF; /* pale calm blue */
  border: 1px solid #CFE7FF;
}

.mm-families-icon {
  font-size: 2rem;
  line-height: 1;
}

.mm-families-text h3 {
  font-size: 1.35rem;
  margin-bottom: .5rem;
}

.mm-families-text p {
  margin-bottom: .75rem;
}
.mm-trust-strip {
  padding-top: 0;
}

.mm-trust-card {
  background: #F3FAF5; /* soft mint */
  border: 1px solid #D8F1DD;
  padding: 1.75rem;
  border-radius: 18px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.mm-trust-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: #374151;
  margin: 0;
}

.mm-trust-card footer {
  margin-top: .5rem;
}
/* Guides hero layout */
.mm-page-hero--guides {
  padding-top: 4rem;
  padding-bottom: 3rem;
  background: radial-gradient(circle at top left, #F3F4FF 0, #FFFFFF 55%);
}

.guides-page .header {
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Ensure hero image styling matches other heroes */
.mm-page-hero-figure img {
  border-radius: 24px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
}

/* Guide cards (similar to blog cards, but separate class so you can tune later) */
.mm-guide-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mm-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.10);
  border-color: #BFDBFE;
}

.mm-guide-card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.mm-guide-card-body {
  padding: 1rem 1.1rem 1.1rem;
}

.mm-guide-tag {
  color: #4B5563;
}

.mm-guide-meta {
  color: #6B7280;
}

/*Guide and Blog spacing and layout*/
/* Article layout core */
.mm-article-header {
  padding-top: 3.25rem;
  padding-bottom: 1.5rem;
}

.mm-article-body {
  padding-bottom: 4rem;
}

.mm-article-meta span + span {
  margin-left: 0.75rem;
}

.mm-article-hero-image {
  margin-bottom: 1.75rem;
}

.mm-article-hero-image img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
}

.mm-article-hero-image figcaption {
  font-size: 0.8rem;
  color: #6B7280;
  margin-top: 0.5rem;
}

.mm-article-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Sidebar widgets */
.mm-article-sidebar {
  margin-top: 0.5rem;
}

.mm-widget-card {
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.mm-widget-header {
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid #E5E7EB;
  background: #F9FAFB;
}

.mm-widget-body {
  padding: 1rem 1.25rem 1.25rem;
}

/* More from the blog – related posts */
.mm-related-post {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-block: 0.35rem;
}

.mm-related-post + .mm-related-post {
  border-top: 1px solid #E5E7EB;
  margin-top: 0.35rem;
  padding-top: 0.7rem;
}

.mm-related-thumb img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.mm-related-text h6 {
  font-size: 0.9rem;
}

.mm-related-text a {
  text-decoration: none;
  color: #111827;
}

.mm-related-text a:hover {
  text-decoration: underline;
}

.mm-widget-card .btn {
  font-size: 0.9rem;
}

/* ---------- Page hero shared styles ---------- */

.mm-page-hero {
  padding-top: 112px;
  padding-bottom: 60px;
  background: radial-gradient(circle at top right, #f1f5f9 0, #ffffff 52%);
}

.mm-page-hero-figure img {
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
}

.mm-page-hero-figure figcaption {
  margin-top: 0.5rem;
}

/* ---------- Guides hero variant ---------- */

.mm-page-hero--guides h1 {
  font-size: 2.4rem;
  letter-spacing: -0.04em;
}

.mm-page-hero--guides .mm-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
}

/* ---------- Guides listing cards ---------- */

.mm-guide-grid {
  margin-top: 8px;
}

.mm-guide-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mm-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.10);
}

.mm-guide-card-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.mm-guide-card-body {
  padding: 1.25rem 1.35rem 1.2rem;
}

.mm-guide-tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #6b7280;
}

.mm-guide-meta {
  font-size: 0.8rem;
}

/* ---------- Guides callout ---------- */

.mm-section--tight-top {
  padding-top: 28px;
  padding-bottom: 32px;
}

.mm-callout--guides {
  border-radius: 16px;
  background: #f5f7fb;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.25rem 1.5rem;
}

.mm-callout--guides h2 {
  letter-spacing: 0.12em;
  color: #64748b;
}

/* ---------- Guide article layout ---------- */

.mm-guide-header {
  padding-top: 112px;
  padding-bottom: 32px;
}

.mm-guide-header h1 {
  font-size: 2.3rem;
  letter-spacing: -0.04em;
}

.mm-guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.mm-guide-body {
  padding-top: 16px;
  padding-bottom: 64px;
}

.mm-guide-main {
  max-width: 1120px;
}

.mm-guide-hero-figure img {
  border-radius: 18px;
  width: 100%;
  object-fit: cover;
}

.mm-guide-hero-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.mm-article-content {
  margin-top: 1.5rem;
}

.mm-article-content h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.mm-article-content p,
.mm-article-content ul {
  font-size: 0.96rem;
  line-height: 1.7;
}

.mm-article-content .article-callout,
.mm-article-content .mm-article-callout {
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #ecf4ff;
  font-size: 0.9rem;
}

/* ---------- Guide sidebar widgets ---------- */

.mm-guide-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mm-widget-card {
  border-radius: 16px;
  background: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
}

.mm-widget-header {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6b7280;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  background: #f1f5f9;
}

.mm-widget-body {
  padding: 0.9rem 1rem 1rem;
}

.mm-widget-link {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.4rem 0;
}

.mm-widget-link img {
  width: 66px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.mm-widget-link h6 {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.mm-widget-link--subtle img {
  display: none;
}

/* MOBILE NAV HIDE / SHOW */

/**/
#navmenu {
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  #navmenu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    border-radius: 10px;
    z-index: 9999;
  }

  #navmenu.navmenu-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #navmenu ul {
    display: block;
  }

  #navmenu ul li {
    margin-bottom: 12px;
  }

  #navmenu .dropdown ul {
    position: relative;
    display: none;
    padding-left: 1rem;
    box-shadow: none;
  }

  #navmenu .dropdown:hover > ul {
    display: block !important; 
  }

  .mobile-nav-toggle {
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
  }
}

/* --------------------------------------------------------------
   Assessment tools family (Bayley-4, ESI-3, ASRS)
-------------------------------------------------------------- */

/* Shared hero shell */
.mm-section-assessment-hero {
  padding: 6rem 0 3.5rem;
  background:
    radial-gradient(circle at top left, rgba(209, 250, 255, 0.55), transparent 60%),
    radial-gradient(circle at bottom right, rgba(254, 243, 199, 0.45), transparent 55%),
    #f9fafb;
}

.mm-section-assessment-hero .mm-page-hero-eyebrow,
.mm-page-hero--assessment .mm-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.mm-section-assessment-hero h1,
.mm-page-hero--assessment h1 {
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.mm-section-assessment-hero .lead {
  font-size: 1rem;
  line-height: 1.5;
}

/* Hero layout tighten on large screens */
@media (min-width: 992px) {
  .mm-section-assessment-hero .row {
    align-items: center;
  }
}

/* Image card used on all tools */
.mm-page-hero-figure {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  margin: 0;
}

.mm-page-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.mm-page-hero-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

/* Sidecards (right-hand small panels) */
.mm-assessment-sidecard,
.mm-side-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
  margin-top: 1.25rem;
}

.mm-assessment-sidecard .badge-soft,
.mm-side-card .badge-soft {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: #ecfeff;
  color: #0f766e;
  margin-bottom: 0.75rem;
}

/* Mini list on Bayley-4 card */
.mm-mini-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.75rem;
}
.mm-mini-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}
.mm-mini-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #0f766e;
}

/* Shared content shells under heroes */
.mm-assessment-shell {
  padding: 3.5rem 0;
  background: #ffffff;
}

.mm-assessment-shell + .mm-assessment-shell {
  padding-top: 1.5rem;
}

.mm-assessment-overview {
  max-width: 640px;
}

.mm-assessment-shell h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.mm-assessment-shell p {
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Steps (ESI-3 middle row) */
.mm-assessment-shell--steps {
  background: #f9fafb;
}
.mm-assessment-step {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.5rem 1.2rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  height: 100%;
}
.mm-assessment-step h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}
.mm-assessment-step p {
  font-size: 0.9rem;
  margin-bottom: 0;
}
.mm-assessment-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfeff;
  color: #0f766e;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

/* Booking embed cards on ASRS / ESI-3 */
.mm-section-assessment-embed {
  padding: 3.5rem 0;
  background: #f9fafb;
}
.mm-assessment-embed-card {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.14);
  padding: 2.25rem 2.25rem 2rem;
}
.mm-assessment-embed-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.mm-assessment-embed-card p {
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Trust strip */
.mm-assessment-trust-strip {
  padding: 3rem 0 3.5rem;
  background: #020617; /* slightly cleaner solid backdrop */
}

.mm-assessment-trust-card {
  border-radius: 22px;
  background: linear-gradient(135deg, #020617 0%, #020617 50%, #022c22 100%);
  padding: 1.9rem 1.8rem 1.5rem;
  color: #f9fafb;
}

.mm-assessment-trust-card .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #facc15;  /* warm gold for contrast */
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.mm-assessment-trust-card p {
  font-size: 0.94rem;
  margin-bottom: 0.75rem;
  color: #e5e7eb;  /* lighter than body but still high contrast */
}

.mm-assessment-trust-card footer {
  font-size: 0.82rem;
  color: #bfdbfe;
}


/* Feature tiles on Bayley-4 */
.mm-feature-grid {
  margin-top: 0.5rem;
}
.mm-feature-tile {
  border-radius: 18px;
  background: #f9fafb;
  padding: 1.1rem 1.1rem 1rem;
  height: 100%;
}
.mm-feature-icon {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}
.mm-feature-tile p {
  font-size: 0.86rem;
  margin-bottom: 0;
}

/* Timeline on Bayley-4 */
.mm-timeline {
  list-style: none;
  padding-left: 0;
  margin: 0;
  border-left: 2px solid #e5e7eb;
}
.mm-timeline li {
  position: relative;
  padding-left: 1.2rem;
  padding-bottom: 1.2rem;
}
.mm-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.25rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #0f766e;
}
.mm-timeline li:last-child {
  padding-bottom: 0;
}
.mm-timeline h3 {
  font-size: 0.98rem;
}

/* Small screen tweaks */
@media (max-width: 991.98px) {
  .mm-section-assessment-hero {
    padding-top: 5.5rem;
  }
  .mm-page-hero-figure {
    margin-top: 1.75rem;
  }
  .mm-assessment-embed-card {
    padding: 1.75rem 1.5rem;
  }
}

/* =========================================
   Bayley-4 hero – tighten copy spacing
   ========================================= */
.mm-page-hero--assessment {
  padding-top: 5.5rem;   /* was 7.5rem-ish from base hero */
  padding-bottom: 3.25rem;
}

/* Limit width of the text column so lines don't get too long */
.mm-page-hero--assessment .col-lg-7 {
  max-width: 44rem;
}

/* Keep the text column from feeling too tall/wide */
.mm-page-hero--assessment .col-lg-7 p {
  max-width: 44rem;
}

/* Reduce gap between the lead and the supporting paragraph */
.mm-page-hero--assessment .lead {
  margin-bottom: 0.5rem !important;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Slightly calmer line-height for the long intro paragraph 
.mm-page-hero--assessment p {
  line-height: 1.5;
}*/
.mm-page-hero--assessment p.small,
.mm-page-hero--assessment p {
  margin-bottom: 0.6rem;
  line-height: 1.55;
}

/* On mobile, bring image a bit closer to text */
@media (max-width: 991.98px) {
  .mm-page-hero--assessment {
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
  }

  .mm-page-hero--assessment .mm-page-hero-figure {
    margin-top: 1.25rem;
  }
}


/* =========================================
   Assessment booking CTA slab
   ========================================= */

.mm-section-soft {
  background: #f9fafb;
  padding-top: 0;
  padding-bottom: 4.5rem;
}

.mm-section-soft .mm-cta-slab {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

/* Subtle decorative glow in the corner */
.mm-section-soft .mm-cta-slab::before {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.28), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

/* Heading + text hierarchy */
.mm-section-soft .mm-cta-slab h2 {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 0.35rem;
}

.mm-section-soft .mm-cta-slab p.small {
  max-width: 26rem;
}

/* Button group responsiveness */
.mm-section-soft .mm-cta-slab .d-flex {
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .mm-section-soft .mm-cta-slab {
    padding-inline: 2.25rem;
  }
  .mm-section-soft .mm-cta-slab .d-flex {
    justify-content: flex-end;
  }
}


/* =========================================
   Assessment tools – shared styling
   ========================================= */

/* Bayley hero spacing & readability */
.mm-page-hero--assessment {
 padding-top: 5rem;
  padding-bottom: 3rem;
}

.mm-page-hero--assessment .row {
  row-gap: 1.5rem;
}

.mm-page-hero--assessment .lead {
  margin-bottom: 0.75rem !important;
}

.mm-page-hero--assessment p {
  max-width: 46rem;
  line-height: 1.5;
}

/* Small pill nav for switching between tools */
.mm-assessment-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.mm-assessment-nav-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #6b7280;
  margin-right: 0.25rem;
}

.mm-assessment-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: #f3f4f6;
  color: #4b5563;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.mm-assessment-nav-link:hover {
  background: #e5e7eb;
  color: #111827;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.mm-assessment-nav-link.is-current {
  background: #0f766e;
  color: #ecfdf5;
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.35);
}

/* Shared shells for the assessment body sections */
.mm-assessment-shell {
  padding: 3.25rem 0;
}

.mm-assessment-shell + .mm-assessment-shell {
  padding-top: 0;
}

.mm-assessment-overview h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.mm-assessment-sidecard {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

/* Steps tiles */
.mm-assessment-shell--steps .mm-assessment-step {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.04);
  height: 100%;
}

.mm-assessment-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfeff;
  color: #0f766e;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

/* Embed / booking panel – used by ESI-3 + ASRS */
.mm-section-assessment-embed {
  background: #f9fafb;
  padding: 3.25rem 0 4.25rem;
}

.mm-assessment-embed-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09);
}

@media (min-width: 992px) {
  .mm-assessment-embed-card {
    padding: 2.6rem 2.75rem;
  }
}

.square-appointments-wrapper {
  background: #f3f4f6;
  border-radius: 20px;
  padding: 1.25rem;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Trust strip at bottom of assessment pages */
/* ===============================
   TRUST STRIP – improved contrast
   =============================== */

.mm-assessment-trust-strip {
  padding: 3rem 0 3.5rem;
  background: #0f172a; /* deep navy tone */
}

.mm-assessment-trust-card {
  border-radius: 22px;
  background: linear-gradient(135deg, #0f172a 0%, #020617 55%, #064e3b 100%);
  padding: 1.9rem 1.8rem 1.5rem;
  color: #f1f5f9; /* light slate instead of gray */
}

/* Eyebrow text */
.mm-assessment-trust-card .eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: #facc15; /* gold — readable + warm */
  font-weight: 600;
}

/* Body text */
.mm-assessment-trust-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #e2e8f0; /* MUCH clearer */
  margin-bottom: 1rem;
}

/* Footer text */
.mm-assessment-trust-card footer {
  font-size: 0.85rem;
  color: #cbd5e1; /* soft and readable */
  line-height: 1.6;
}


/* Booking CTA slab used at the end of Bayley and (optionally) others */
.mm-section-soft {
  background: #f9fafb;
  padding-top: 0;
  padding-bottom: 4rem;
}

.mm-cta-slab {
  position: relative;
  border-radius: 22px;
  padding: 1.6rem 1.5rem 1.7rem;
  background: linear-gradient(135deg, #0f766e 0%, #0f766e 12%, #ffffff 12%, #ffffff 100%);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.18);
}

.mm-cta-slab h2 {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.mm-cta-slab p.small {
  max-width: 26rem;
}

/* Make text area a bit more comfortable on mobile */
@media (max-width: 575.98px) {
  .mm-cta-slab {
    padding: 1.4rem 1.25rem 1.5rem;
  }
}

/* Button group alignment */
.mm-cta-slab .d-flex {
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .mm-cta-slab {
    padding-inline: 2.25rem;
  }
  .mm-cta-slab .d-flex {
    justify-content: flex-end;
  }
}
/* =====================================================
   Clean CTA slab for assessment pages (Bayley-4, ASRS)
   ===================================================== */

.mm-cta-clean {
  background: #ffffff;
  border-radius: 22px;
  padding: 2rem 2.25rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

/* Soft gradient accent */
.mm-cta-clean::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(56,189,248,0.22), transparent 65%);
  pointer-events: none;
}

.mm-cta-clean h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f172a;
}

.mm-cta-clean p {
  font-size: 0.95rem;
  color: #475569;
  max-width: 32rem;
}

/* Button alignment on desktop */
@media (min-width: 992px) {
  .mm-cta-clean {
    padding: 2.25rem 2.75rem;
  }
  .mm-cta-clean .d-flex {
    justify-content: flex-end;
  }
}
/* ============================================================
   MILESTONE METRICS — ASSESSMENT SYSTEM DESIGN REFRESH
   Bayley-4 • ESI-3 • ASRS
   Cleaned, unified, accessible, brand-consistent
============================================================ */

/* ------------------------------------------------------------
   1. HERO AREA IMPROVEMENTS
------------------------------------------------------------ */

.mm-section-assessment-hero,
.mm-page-hero--assessment {
  padding-top: 6rem;
  padding-bottom: 3.5rem;
  background:
    radial-gradient(circle at top left, rgba(209,250,255,0.55), transparent 60%),
    radial-gradient(circle at bottom right, rgba(254,243,199,0.45), transparent 55%),
    #f9fafb;
}

/* Eyebrow / kicker */
.mm-section-assessment-hero .mm-kicker,
.mm-page-hero--assessment .mm-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b; /* better contrast */
  margin-bottom: 0.75rem;
}

/* Title */
.mm-section-assessment-hero h1,
.mm-page-hero--assessment h1 {
  font-size: clamp(2.1rem, 2.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: #0f172a;
}

/* Lead text */
.mm-section-assessment-hero .lead,
.mm-page-hero--assessment .lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #4b5563;
  margin-bottom: 0.65rem !important;
}

/* Supporting paragraph in hero */
.mm-page-hero--assessment p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 44rem;
}

/* Image card */
.mm-page-hero-figure {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.mm-page-hero-figure img {
  border-radius: 18px;
}

.mm-page-hero-figure figcaption {
  margin-top: 0.5rem;
  color: #64748b;
  font-size: 0.8rem;
}

/* ------------------------------------------------------------
   2. ASSESSMENT CONTENT SECTIONS
------------------------------------------------------------ */

.mm-assessment-shell {
  padding: 3.5rem 0;
  background: #ffffff;
}

.mm-assessment-shell h2 {
  font-size: 1.3rem;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.mm-assessment-shell p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
}

/* ------------------------------------------------------------
   3. TRUST STRIP (ASRS, ESI-3)
------------------------------------------------------------ */

.mm-assessment-trust-strip {
  padding: 3rem 0 3.5rem;
  background: #0f172a;
}

.mm-assessment-trust-card {
  border-radius: 22px;
  padding: 2rem 1.8rem 1.6rem;
  background: linear-gradient(135deg, #0f172a 0%, #020617 60%, #064e3b 100%);
  color: #f1f5f9;
}

.mm-assessment-trust-card .eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: #facc15; /* warm gold */
}

.mm-assessment-trust-card p {
  font-size: 0.98rem;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.mm-assessment-trust-card footer {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   4. UNIFIED BOOKING CTA (Bayley-4, ASRS, ESI-3)
------------------------------------------------------------ */

.mm-section-soft {
  background: #f9fafb;
  padding-top: 0;
  padding-bottom: 4.5rem;
}

/* Clean CTA slab */
.mm-cta-clean {
  background: #ffffff;
  border-radius: 22px;
  padding: 2rem 2.25rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

/* Accent glow */
.mm-cta-clean::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.22), transparent 65%);
}

/* CTA text */
.mm-cta-clean h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.mm-cta-clean p {
  color: #475569;
  font-size: 0.95rem;
  max-width: 32rem;
}

/* Buttons row */
.mm-cta-clean .d-flex {
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .mm-cta-clean .d-flex {
    justify-content: flex-end;
  }
}

/* ------------------------------------------------------------
   5. SMALL-SCREEN TWEAKS
------------------------------------------------------------ */

@media (max-width: 991.98px) {
  .mm-section-assessment-hero {
    padding-top: 5.25rem;
  }
  .mm-page-hero-figure {
    margin-top: 1.5rem;
  }
  .mm-cta-clean {
    padding: 1.75rem 1.5rem;
  }
}

/* ------------------------------------------------------------
   6.immediate fix for mobile nav
------------------------------------------------------------ */

@media (max-width: 991px) {
  #navmenu{
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    position:static !important;
    width:auto !important;
    padding:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
}

/* ============================
   FIX: Prevent desktop nav jump
   Keep dropdowns overlay (like BootstrapMade Tour)
   ============================ */
@media (min-width: 1200px) {

  /* If a dropdown has dropdown-active (e.g., left over from mobile),
     force it to behave like desktop overlay dropdown */
  .navmenu .dropdown.dropdown-active > ul {
    position: absolute !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    top: 100% !important;
    left: 14px !important;
    margin: 0 !important;
    background: var(--nav-dropdown-background-color) !important;
    box-shadow: 0px 0px 30px rgba(0,0,0,0.1) !important;
    border-radius: 4px !important;
    z-index: 9999 !important;
  }

  /* Nested dropdown positioning (flyout) */
  .navmenu .dropdown .dropdown.dropdown-active > ul {
    top: 0 !important;
    left: -100% !important;
  }
}

/* ============================
   FSA/HSA STRIP
   ============================ */
.mm-fsa-strip{
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,23,42,.15);
}

.mm-fsa-strip img{
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.mm-fsa-strip-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15,23,42,.55),
    rgba(15,23,42,.15)
  );
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 991px){
  .mm-fsa-strip img{ height: 300px; }
}

/* FSA/HSA visual — match hero photo style */
.mm-fsa-media{
  position: relative;
  display: block;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
  background: #fff;
}

.mm-fsa-media img{
  width: 100%;
  height: 220px;           /* keeps it from feeling like a banner ad */
  object-fit: cover;
  display: block;
}

.mm-fsa-tag{
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  background: rgba(15, 23, 42, 0.80);
  color: #f9fafb;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
}

@media (max-width: 991.98px){
  .mm-fsa-media img{ height: 200px; }
}

/*---------------------------------------------
FSA/HSA page layout tightening + hero balance
---------------------------------------------*/

.fsa-hsa-page .mm-page-hero { padding-top: 6.5rem; padding-bottom: 2.5rem; }
.fsa-hsa-page .mm-section { padding-top: 2.25rem; padding-bottom: 2.25rem; }

.fsa-hsa-page .mm-section--tight-top { padding-top: 1.25rem; }
.fsa-hsa-page .mm-section--tight-bottom { padding-bottom: 1.75rem; }

.fsa-hsa-page .mm-card-soft { padding: 1.15rem 1.2rem; }
.fsa-hsa-page h2 { margin-bottom: 0.85rem; }

.fsa-hsa-page .mm-measure { max-width: 38rem; }

.fsa-hsa-page .mm-page-hero--fsa .mm-page-hero-figure img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 1.25rem;
}
@media (max-width: 991.98px){
  .fsa-hsa-page .mm-page-hero--fsa .mm-page-hero-figure img{ height: 300px; }
}

@media (min-width: 992px){
  .fsa-hsa-page .mm-sticky-col{ position: sticky; top: 6.5rem; }
}

/* =========================
   FAQ page enhancements
   ========================= */

.faq-page .mm-faq-group-header{
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.faq-page .mm-faq-card{
  height: 100%;
}

.faq-page .mm-faq-shell{
  padding-top: 2.25rem;
  padding-bottom: 2.5rem;
}

.faq-page .mm-page-hero--faq .mm-page-hero-figure img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 1.25rem;
}

@media (max-width: 991.98px){
  .faq-page .mm-page-hero--faq .mm-page-hero-figure img{
    height: 300px;
  }
}

@media (min-width: 992px){
  .faq-page .mm-faq-sidebar{
    position: sticky;
    top: 6.5rem;
  }
}

/* =========================
   Additional Page enhancements
   ========================= */
