/**
* Template Name: Consulting
* Template URL: https://bootstrapmade.com/bootstrap-consulting-website-template/
* Updated: May 01 2025 with Bootstrap v5.3.5
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* 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: "Raleway",  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: #444d4d; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #027d9d; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #b20ac6; /* 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: rgba(255, 255, 255, 0.7);  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-active-color: #b20ac6;
  --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: #444d4d; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #027d9d; /* 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. */
nav a {
  color: var(--nav-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}


nav a.active,
nav a[aria-current="page"] {
  color: var(--nav-active-color);
  border-color: transparent;
}

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

.dark-background {
  --background-color: #027d9d;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #027d9d;
}

/* Booking Modal Styling */
.booking-modal-header {
    background: linear-gradient(90deg, var(--heading-color), var(--accent-color));
    color: var(--contrast-color);
    border-bottom: none;
}

.booking-modal-header .modal-title {
    color: var(--contrast-color);
    font-weight: 700;
}

.booking-modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.9;
}

.booking-modal-header .btn-close:hover {
    opacity: 1;
}

.booking-modal-body {
    background: var(--surface-color);
    padding: 1.25rem 1.25rem; /* slightly more breathing room */
}

.booking-form .form-section {
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 12px;  /* updated border-radius */
    padding: 22px;        /* more inner space */
    margin-bottom: 22px;  /* more outer space */
    box-shadow: 0 2px 10px rgba(0,0,0,0.04); /* updated box-shadow */
}

.booking-form .form-section-title {
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 14px;  /* updated margin */
    display: flex;
    align-items: center;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    padding-bottom: 10px; /* updated padding */
}

.booking-form .form-label {
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: .4rem; /* ensure label separation from inputs */
}

.booking-form .input-group.has-icon .input-group-text {
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
    color: var(--accent-color);
    border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
    font-weight: 600;
    padding: .55rem .75rem;
    min-width: 44px; /* prevent cramped icons */
    justify-content: center;
}

.booking-form .form-control,
.booking-form .form-select {
    min-height: 44px; /* slightly taller controls */
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.booking-form .form-control::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--accent-color), transparent 80%);
}

.booking-form .invalid-feedback {
    display: block;
    font-weight: 500;
    margin-top: .25rem; /* added margin-top for better spacing */
}

.booking-info {
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    color: var(--accent-color);
    border: 1px dashed color-mix(in srgb, var(--accent-color), transparent 50%);
    border-radius: 8px;
}

/* Attachment and checkbox areas: better vertical rhythm */
.booking-form .form-text {
    margin-top: .35rem;
}

.booking-form .form-check {
    margin-top: .25rem;
}

/* Footer buttons */
.booking-modal-footer {
    background: var(--surface-color);
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    padding: .9rem 1.25rem;
}

.booking-modal-footer .btn-success {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 10px 22px;
    font-weight: 700;
    border-radius: 8px;
    transition: all .2s ease;
}

.booking-modal-footer .btn-success:hover {
    background-color: color-mix(in srgb, var(--accent-color), #000 10%);
    border-color: color-mix(in srgb, var(--accent-color), #000 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.booking-modal-footer .btn.btn-link {
    color: var(--default-color);
}

.booking-modal-footer .btn.btn-link:hover {
    color: var(--heading-color);
    text-decoration: underline;
}

/* Stack SLA line smartly on small screens */
@media (max-width: 576px) {
    .booking-form .stack-sm {
        flex-direction: column;
        align-items: flex-start !important;
        gap: .6rem !important;
    }
}

/* Required asterisk inherits existing rule; bump weight for visibility inside sections */
.required label:after {
    color: #df1529;
    font-weight: 800;
}

/* 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);
}

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: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem; /* Reduced padding to make messages smaller */
    border-radius: 0.375rem; /* Slightly smaller border radius */
    margin: 0.5rem 0;
    font-size: 0.875rem; /* Smaller font size */
    position: relative;
    transition: opacity 0.3s ease; /* Smooth transition for hiding */
    max-width: 500px; /* Limit width */
}

.message.error {
    background: #fdecea;
    color: #611a15;
    border-left: 4px solid #dc3545; /* Add colored border */
}

.message.success {
    background: #edf7ed;
    color: #1e4620;
    border-left: 4px solid #28a745; /* Add colored border */
}

.message.info {
    background: #e2f3fe;
    color: #0c5460;
    border-left: 4px solid #17a2b8; /* Add colored border */
}

.message.warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107; /* Add colored border */
}

.message .message-close {
    margin-left: auto;
    border: 0;
    background: transparent;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message .message-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.message.autohide {
    animation: autohide 5s forwards; /* Auto-hide after 5 seconds */
}

@keyframes autohide {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

/* Responsive design for messages */
@media (max-width: 768px) {
    .message {
        max-width: 100%;
        font-size: 0.8125rem;
        padding: 0.4rem 0.6rem;
    }
}

.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 {
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  padding: 15px;
  background: linear-gradient(90deg, #027d9d, #b20ac6);
  transition: all 0.5s;
  z-index: 997;

}

main.main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/* Make header/nav text white */
.header a,
.header .navmenu a,
.header .navmenu a:visited {
  color: #ffffff !important;
}

/* Keep hover/focus states readable */
.header a:hover,
.header .navmenu a:hover,
.header .navmenu a:focus {
  color: #f1f1f1 !important;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  background: linear-gradient(90deg, #027d9d, #b20ac6);
}

.scrolled .btn-primary {
  background: linear-gradient(90deg, #fff, #fff);
  color: #027d9d;
  font-weight: bold;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@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>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 14px;
  }

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

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

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }


  .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;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  :root{
    --nav-mobile-bg: linear-gradient(180deg,#027D9D 0%, #0e7083 100%);
    --nav-mobile-link: #ffffff;
    --nav-mobile-link-hover-bg: rgba(255,255,255,.12);
  }

  @media (max-width:1199px){
    .navmenu > ul{ background: var(--nav-mobile-bg) !important; }
    .navmenu > ul li a{ color: var(--nav-mobile-link) !important; }
    .navmenu > ul li a:hover,
    .navmenu > ul li a:focus{
      background: var(--nav-mobile-link-hover-bg);
      color: var(--nav-mobile-link) !important;
    }
    .mobile-nav-active .mobile-nav-toggle{ color:#fff; }
  }


  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    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;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

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

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

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

/* --- Mobile nav: slide-in drawer & backdrop overrides --- */
@media (max-width: 1199px) {
  /* Keep header & Book now above the overlay */
  .header.fixed-top { z-index: 1030; }
  .book-now-btn { z-index: 1031; position: relative; }

  /* Use body pseudo as backdrop */
  body.mobile-nav-active::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    z-index: 1029;
  }

  /* Drawer panel */
  .navmenu > ul {
    /* override your absolute+inset "card" */
    position: fixed !important;
    top: 0; right: 0; left: auto; bottom: 0;
    height: 100vh;
    width: 80vw;
    max-width: 360px;
    margin: 0;
    padding: calc(var(--header-height, 64px) + 16px) 20px 24px;
    border-radius: 0;
    border: 0;
    box-shadow: -6px 0 24px rgba(0,0,0,.2);
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1030;              /* above backdrop, below header/book btn */
    display: block !important;  /* keep in flow for transform anim */
  }

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

  /* Big tap targets */
  .navmenu > ul li a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
  }
  .navmenu > ul li a:hover,
  .navmenu > ul li a:focus {
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--nav-dropdown-hover-color);
    outline: none;
  }

  /* Optional: tidy dropdowns inside the drawer */
  .navmenu .dropdown > .dropdown-active {
    display: block;
    background: rgba(33,37,41,.04);
    margin-top: 6px;
    border-radius: 10px;
  }
}

/* Improve the hamburger hit area (works with your .mobile-nav-toggle) */
.mobile-nav-toggle {
  border: 0;
  background: transparent;
  padding: 8px 10px;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.mobile-nav-toggle:focus { outline: 2px solid rgba(255,255,255,.65); outline-offset: 2px; }

/* === Mobile nav link highlight styles === */
@media (max-width:1199px){
  .navmenu > ul li a{
    position: relative;
    border-radius: 12px;
    transition: background .18s ease, color .18s ease;
  }

  /* Dark drawer background version */
  .navmenu > ul li a:hover,
  .navmenu > ul li a:focus{
    background: rgba(255,255,255,.12);
    outline: none;
  }
  .navmenu > ul li a:active{
    background: rgba(255,255,255,.18);
  }

  /* Left accent bar */
  .navmenu > ul li a::before{
    content:"";
    position:absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 2px;
    background: transparent;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .18s ease, background .18s ease;
  }
  .navmenu > ul li a:hover::before,
  .navmenu > ul li a:focus-visible::before,
  .navmenu > ul li a[aria-current="page"]::before{
    background: var(--accent-color);
    transform: scaleY(1);
  }
}

.admin-login-transparent {
  background: transparent !important;
  border: none !important;
  color: transparent !important;
  padding: 0.25rem 0.5rem;
}

.admin-login-transparent:hover {
  border: 1px solid #6c757d !important; /* grey outline */
  color: #6c757d !important;            /* grey text */
  background: transparent !important;   /* keep background transparent */

}


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

.footer .icon {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer .address p {
  margin-bottom: 0px;
}

.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 .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

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

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

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# 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;
}

@media screen and (max-width: 768px) {
  [data-aos] {
    animation-delay: 0s !important;
    animation-duration: 0.001s !important;
  }
}


/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 120px 0 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

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

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

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title div {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title div .description-title {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding-top: 150px;
  position: relative;
  background-color: var(--background-color);
  overflow: hidden;
  padding-bottom: 120px;
}

.hero .hero-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--heading-color);
}

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

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

.hero .hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--default-color);
}

.hero .hero-content .hero-btns {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
  .hero .hero-content .hero-btns {
    flex-direction: column;
  }
}

.hero .hero-content .hero-btns .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Primary button (normal state) */
.hero .hero-content .hero-btns .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

/* Primary button (hover) */
.hero .hero-content .hero-btns .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
}

/* Outline button (normal state) */
.hero .hero-content .hero-btns .btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

/* Outline button (hover) */
.hero .hero-content .hero-btns .btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}


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

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

.hero .hero-content .hero-stats .stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.hero .hero-content .hero-stats .stat-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--default-color);
}

.hero .hero-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hero .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.hero .hero-image img:hover {
  transform: scale(1.03);
}

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

  .hero .hero-content {
    margin-bottom: 3rem;
    text-align: center;
  }

  .hero .hero-content .hero-btns {
    justify-content: center;
  }

  .hero .hero-content .hero-stats {
    justify-content: center;
  }
}
/*--------------------------------------------------------------
# Work Process Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Work Process Section (NDIS Context)
--------------------------------------------------------------*/
.work-process .steps-content {
    padding-right: 30px;
    margin-bottom: 40px;
}
@media (max-width: 992px) {
    .work-process .steps-content {
        padding-right: 0;
    }
}

.work-process .steps-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}
@media (max-width: 768px) {
    .work-process .steps-content h2 {
        font-size: 2rem;
    }
}

.work-process .steps-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--default-color);
}

.work-process .steps-content p {
    margin-bottom: 2rem;
    color: var(--default-color);
}

/* Steps List */
.work-process .steps-list .step-item {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
}
.work-process .steps-list .step-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}
.work-process .steps-list .step-item:hover .step-number {
    background-color: color-mix(in srgb, var(--accent-color) 10%, white 90%);
    color: var(--accent-color);
}

.work-process .steps-list .step-item .step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--accent-color) 10%, white 90%);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 20px;
}
@media (max-width: 576px) {
    .work-process .steps-list .step-item .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.work-process .steps-list .step-item .step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading-color);
}
@media (max-width: 576px) {
    .work-process .steps-list .step-item .step-content h3 {
        font-size: 1.1rem;
    }
}
.work-process .steps-list .step-item .step-content p {
    font-size: 0.95rem;
    color: var(--default-color);
    margin-bottom: 0;
}

/* Left-side Enhancements */
.work-process .highlight-box {
    background: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 6px;
}
.work-process .highlight-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.work-process .highlight-box ul {
    list-style: none;
    padding: 0;
}
.work-process .highlight-box li {
    margin-bottom: 8px;
    font-weight: 500;
}

.work-process .program-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}
.work-process .program-stats .stat {
    text-align: center;
}
.work-process .program-stats strong {
    display: block;
    font-size: 1.8rem;
    color: var(--accent-color);
}
.work-process .program-stats span {
    font-size: 0.9rem;
    color: #555;
}

.work-process .testimonial {
    font-style: italic;
    margin: 20px 0;
    padding-left: 15px;
    border-left: 3px solid var(--accent-color);
    color: #444;
}
.work-process .testimonial footer {
    font-size: 0.85rem;
    margin-top: 5px;
    color: #666;
}

/* CTA Button */
.work-process .btn-primary {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.work-process .btn-primary:hover {
    background: #0056b3; /* fallback darker shade */
}
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding: 80px 0;
}

.services .service-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.services .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.services .service-card:hover .icon-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.services .service-card .icon-box {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  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: 2rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.services .service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.services .service-card p {
  margin-bottom: 20px;
  color: var(--default-color);
}

.services .service-card .service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.services .service-card .service-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  color: var(--default-color);
}

.services .service-card .service-features li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 1.1rem;
}

.services .service-card .read-more {
  color: var(--accent-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.services .service-card .read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.services .service-card .read-more:hover {
  color: color-mix(in srgb, var(--accent-color), #000 10%);
}

.services .service-card .read-more:hover i {
  transform: translateX(5px);
}

/* Animations for the Learn more about <SERVICE> button in home.php */
.animated-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    overflow: hidden;
}

.animated-link:hover {
    transform: translateX(5px);
    text-decoration: none;
}

.icon-transition {
    transition: transform 0.3s ease;
    margin-right: 8px !important; /* Fixed spacing from text */
}

.animated-link:hover .icon-transition {
    transform: translateX(4px); /* Reduced movement */
}

.animated-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 0 0 8px 8px;
}

.animated-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card:hover .animated-link {
    background-color: rgba(13, 110, 253, 0.1);
}

.btn-primary {
  background-color: #ffffff;
  border-color: var(--accent-color);
  color: rgb(2, 125, 157);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .swiper-wrapper {
  height: auto !important;
}

.team .team-slider {
  position: relative;
  padding: 20px 0 60px;
}

.team .team-slider .swiper-pagination {
  bottom: 0;
}

.team .team-slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  opacity: 1;
  margin: 0 5px;
  transition: 0.3s;
}

.team .team-slider .swiper-pagination .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 5px;
  background-color: var(--accent-color);
}

.team .team-slider .swiper-button-prev,
.team .team-slider .swiper-button-next {
  width: 40px;
  height: 40px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-radius: 50%;
  color: var(--contrast-color);
  transition: 0.3s;
}

.team .team-slider .swiper-button-prev:after,
.team .team-slider .swiper-button-next:after {
  font-size: 16px;
}

.team .team-slider .swiper-button-prev:hover,
.team .team-slider .swiper-button-next:hover {
  background-color: var(--accent-color);
}

.team .team-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  background-color: var(--surface-color);
  height: 100%;
}

.team .team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team .team-card:hover .team-overlay {
  opacity: 1;
  visibility: visible;
}

.team .team-card:hover .team-image img {
  transform: scale(1.08);
}

.team .team-image {
  position: relative;
  overflow: hidden;
}

.team .team-image img {
  transition: transform 0.6s ease;
}

/* ===== SPOTLIGHT CARD IMAGE FIX ===== */
.spotlight-card .team-image img {
  max-width: 200px;  /* limits width */
  height: auto;      /* preserves aspect ratio */
  margin: 0 auto;    /* centers image */
  display: block;
}

.team .team-image .team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.team .team-image .social-links {
  display: flex;
  gap: 15px;
}

.team .team-image .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--accent-color);
  border-radius: 50%;
  color: var(--contrast-color);
  font-size: 16px;
  transition: 0.3s;
}

.team .team-image .social-links a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-5px);
}

.team .team-content {
  padding: 20px;
  text-align: center;
}

.team .team-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.team .team-content span {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.team .team-content p {
  font-size: 14px;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

@media (max-width: 991px) {
  .team .team-card {
    margin-bottom: 20px;
  }
}


/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
  color: #FFD700;
}

.testimonials .testimonial-item .stars i {
  margin-right: 2px;
}

.testimonials .testimonial-item p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--default-color);
}

.testimonials .testimonial-item .testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author {
  display: flex;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.testimonials .testimonial-item .testimonial-footer .quote-icon {
  font-size: 36px;
  color: color-mix(in srgb, var(--accent-color), transparent 70%);
  line-height: 1;
}

.testimonials .testimonial-item .testimonial-c .quote-icon i {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .testimonials .testimonial-item {
    padding: 25px 20px;
  }

  .testimonials .testimonial-item p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 45px;
    height: 45px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
    font-size: 16px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
    font-size: 13px;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .testimonials .testimonial-item {
    padding: 20px 15px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-card {
  height: 100%;
  padding: 40px;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  text-align: center;
}

.faq .faq-card i {
  font-size: 48px;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.faq .faq-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.faq .faq-card p {
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-card .btn-primary {
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 500;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #444D4DFF;
}

.faq .faq-card .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.faq .faq-list {
  padding: 0;
}

.faq .faq-list .faq-item {
    position: relative;
    margin-bottom: 20px;
    padding: 10px;
    background-color: var(--surface-color);
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    cursor: pointer;
}

.faq .faq-list .faq-item:last-child {
    margin-bottom: 0;
}

.faq .faq-list .faq-item h3 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    padding-right: 40px;
    margin-bottom: 0;
    position: relative;
    cursor: pointer;
}

.faq .faq-list .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.faq .faq-list .faq-item .faq-content p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 24px;
    overflow: hidden;
}

.faq .faq-list .faq-item .faq-toggle {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    color: var(--accent-color);
    transition: transform 0.2s ease;
}

.faq .faq-list .faq-item.faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-list .faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 15px;
}

.faq .faq-list .faq-item.faq-active .faq-toggle {
  transform: rotate(45deg);
}

@media (max-width: 768px) {
    .faq .faq-list .faq-item {
        padding: 15px;
    }

    .faq .faq-list .faq-item h3 {
        font-size: 16px;
        line-height: 24px;
    }

    .faq .faq-list .faq-item .faq-toggle {
        right: 15px;
        top: 15px;
        font-size: 20px;
    }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding: 80px 0;
  overflow: hidden;
}

.contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .contact .contact-info {
    margin-bottom: 40px;
  }
}

.contact .contact-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.contact .contact-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
}

.contact .contact-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.contact .contact-card h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.contact .contact-card p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact .contact-card .contact-details {
  margin-bottom: 25px;
}

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

.contact .contact-card .contact-details .contact-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 15px;
  margin-top: 5px;
  flex-shrink: 0;
}

.contact .contact-card .contact-details .contact-item div h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 0 5px;
}

.contact .contact-card .contact-details .contact-item div p {
  font-size: 14px;
  color: var(--default-color);
  margin: 0 0 5px;
  line-height: 1.5;
}

.contact .contact-card .contact-details .contact-item div p:last-child {
  margin-bottom: 0;
}

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

.contact .contact-card .social-links {
  display: flex;
  gap: 12px;
}

.contact .contact-card .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact .contact-card .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.contact .contact-form-wrapper {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 35px;
  position: relative;
  overflow: hidden;
}

.contact .contact-form-wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
}

.contact .contact-form-wrapper .php-email-form .form-group {
  margin-bottom: 15px;
}

.contact .contact-form-wrapper .php-email-form .form-group label {
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 8px;
  font-size: 14px;
  display: block;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control {
  height: auto;
  border-radius: 8px;
  padding: 12px 20px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 14px;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: none;
}

.contact .contact-form-wrapper .php-email-form .form-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .contact-form-wrapper .php-email-form .form-group textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact .contact-form-wrapper .php-email-form .form-check {
  margin-bottom: 20px;
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input {
  margin-top: 0.3em;
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-input:focus {
  box-shadow: none;
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.contact .contact-form-wrapper .php-email-form .form-check .form-check-label {
  color: var(--default-color);
  font-size: 14px;
  padding-left: 5px;
}

.contact .contact-form-wrapper .php-email-form button {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact .contact-form-wrapper .php-email-form button:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

@media (max-width: 992px) {

  .contact .contact-card,
  .contact .newsletter-card,
  .contact .contact-form-wrapper {
    padding: 25px;
  }
}

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

  .contact .contact-card h3 {
    font-size: 20px;
  }

  .contact .newsletter-card h3 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
/* =========================
   Admin Page Layout
   ========================= */

/* Full-page teal-to-purple gradient */
.admins-page {
  background: linear-gradient(90deg, #027d9d, #b20ac6);
  min-height: 100vh;
  padding: 2rem 0;
}

/* Header: match scrolled gradient */
.admins-page #header {
  background: linear-gradient(90deg, #027d9d, #b20ac6) !important;
  border-bottom: none;
}
.admins-page #header a {
  color: #fff !important;
  font-weight: 500;
}

/* Card & Table areas: pop against gradient */
.admins-page .card,
.admins-page table {
  background: #fff;
  color: #000;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Buttons: match scrolled .btn-primary style */
.admins-page .btn-primary {
  background: #fff;
  color: #027d9d;
  font-weight: bold;
  border: none;
  transition: all 0.2s ease-in-out;
}
.admins-page .btn-primary:hover {
  background: #f0f0f0;
  color: #b20ac6;
}

/* Optional: center login form on admin login page */
.admins-page.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
}
.admins-page.login-page .card {
  max-width: 400px;
  width: 100%;
}

.navmenu a {
  color: #027d9d;
}

.navmenu a.active {
  color: #027d9d;
}

/* Scrolled (cyan bg): white text */
.scrolled .navmenu a {
  color: #ffffff;
}

.scrolled .navmenu a.active {
  color: #ffffff;
}
/* ===== Accessibility: Layout & Navigation ===== */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem;
  width: auto; height: auto; padding: .5rem .75rem;
  background: #fff; border: 2px solid; z-index: 10000;
}
.visually-hidden{
  position:absolute; width:1px; height:1px; margin:-1px; border:0; padding:0;
  clip:rect(0 0 0 0); overflow:hidden; white-space:nowrap;
}
.message{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-radius:.5rem;margin:.5rem 0;}
.message.error{background:#fdecea;color:#611a15;}
.message.success{background:#edf7ed;color:#1e4620;}
.message .message-close{margin-left:auto;border:0;background:transparent;font-size:1.25rem;line-height:1;}
.visually-hidden{
  position:absolute; width:1px; height:1px; margin:-1px; border:0; padding:0;
  clip:rect(0 0 0 0); overflow:hidden; white-space:nowrap;
}

/* FAQ 按钮外观保持与原样一致 */
.faq-toggle{
  background: transparent;
  border: 0;
  font: inherit;
  padding: .5rem 0;
  cursor: pointer;
}
.faq-toggle:focus-visible{ outline: 2px solid var(--accent-color, #0d6efd); outline-offset: 2px; }

/* Accessibility helpers */
.skip-link { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus {
  position:fixed; left:1rem; top:1rem; width:auto; height:auto;
  padding:.5rem .75rem; background:#fff; color:#000; border:2px solid; z-index:10000; border-radius:.5rem;
}
.skip-link.back-to-nav:focus { top:auto; bottom:1rem; }
.visually-hidden { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }

.service-nav .list-group-item {
  background-color: #ffffff;
  color: #027d9d;
  border: 1px solid #027d9d;
  transition: all 0.3s ease;
  font-weight: 500;
}

.service-nav .list-group-item:hover {
  background-color: #027d9d;
  color: #ffffff;
}

.service-nav .list-group-item.active {
  background-color: #b20ac6;
  color: #ffffff;
  border-color: #b20ac6;
  font-weight: bold;
}
/* Standardise all serivce images in both home and service detail */
.service-img-wrapper {
    width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    border-radius: 6px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.service-details .service-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;      /* consistent shape */
  object-fit: cover;         /* fills box, crops edges if needed */
  object-position: center;
  border-radius: 8px;
}

/* Optional: cap the height on very wide screens */
@media (min-width: 1200px) {
  .service-details .service-image { max-height: 520px; }
}

/* OPTIONAL alternative (no cropping): use this class instead of cover if preferred */
.service-details .service-image--contain {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;       /* fits entirely, may letterbox */
  background: #f8f9fa;       /* gentle backdrop for letterboxing */
  border-radius: 8px;
}
.section-subheading {
  margin-top: 2rem; /* Adjust as needed */
  color: var(--accent-color); /* Keeps your purple tone */
}
