/* ===================================
   Table of Contents
====================================== */
/* 
1. Font Face Declarations
2. Root Variables
   - Colors
   - Fonts
3. Base Styles
   - Typography
   - Links
   - Buttons
   - Images
4. Utility Classes
   - Color Utilities
   - Background Utilities
   - Sizing Utilities
5. Component Styles
   - Navbar
   - Hero Section
   - Buttons
   - Cards
6. Animation Styles
   - Fade Animations
   - Slideshow
7. Other Styles
8. Media Queries
   - Large Screens (992px)
   - Mobile Screens (450px)
*/

/* ===================================
   1. Font Face Declarations
====================================== */
@font-face {
    font-family: 'judson';
    src: url("../fonts/judson.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'rubik';
    src: url("../fonts/rubik.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===================================
   2. Root Variables
   Define global variables for colors,
   fonts, and reusable values.
====================================== */
:root {
    /* Colors — brand: #ab2f63 (rose) + #494177 (plum) */
    --text-color-1: #5a5668;
    --text-color-2: #d8d4e3;
    --heading-color: #2a2442;
    --color-main: #ab2f63;
    --color-darker: #494177;
    --color-lighter: #e4d4e8;
    --color-subtle: #f9f7fb;
    --color-border: #c9c0d4;
    --color-accent: #f0eaf3;
    --color-error: #c6284a;
    --color-warning: #e2c04a;
    --color-info: #6b5b95;
    --color-success: #2a8f5e;
    --image-overlay: rgba(45, 38, 72, 0.62);
    --hero-scrim: rgba(38, 30, 58, 0.58);

    /* Fonts */
    --font-1: "judson";
    --font-2: "rubik";
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-main);
    box-shadow: 0 0 0 0.2rem rgba(171, 47, 99, 0.18);
}

/* ===================================
   3. Base Styles
   Basic HTML elements and typography
====================================== */
/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-1);
    font-weight: 500;
    line-height: 1.2;
}

h1 { font-size: 90px; line-height: 1.1; }
h2 { font-size: 56px; }
h3 { font-size: 40px; }
h4 { font-size: 32px; }
h5 { font-size: 24px; }
h6 { font-size: 16px; }

p {
    font-size: 16px;
    color: var(--text-color-1);
    font-family: var(--font-2);
}

a {
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
    color: var(--heading-color);
    font-family: var(--font-2);
}

button {
    font-family: var(--font-2);
    font-weight: 600;
    font-size: 14px;
}

img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===================================
   4. Utility Classes
   Reusable utility classes for colors,
   backgrounds, and spacing
====================================== */
/* Color Utilities */
.c-text-1 { color: var(--text-color-1); }
.c-text-2 { color: var(--text-color-2); }
.c-heading { color: var(--heading-color); }
.c-main { color: var(--color-main); }
.c-darker { color: var(--color-darker); }
.c-lighter { color: var(--color-lighter); }
.c-subtle { color: var(--color-subtle); }
.c-border { color: var(--color-border); }
.c-error { color: var(--color-error); }
.c-warning { color: var(--color-warning); }
.c-info { color: var(--color-info); }
.c-success { color: var(--color-success); }
.c-accent { color: var(--color-accent); }
.c-white { color: white !important; }
.c-black { color: black; }

/* Background Utilities */
.bg-text-1 { background-color: var(--text-color-1); }
.bg-text-2 { background-color: var(--text-color-2); }
.bg-heading { background-color: var(--heading-color); }
.bg-main { background-color: var(--color-main); }
.bg-darker { background-color: var(--color-darker); }
.bg-lighter { background-color: var(--color-lighter); }
.bg-subtle { background-color: var(--color-subtle); }
.bg-border { background-color: var(--color-border); }
.bg-error { background-color: var(--color-error); }
.bg-warning { background-color: var(--color-warning); }
.bg-info { background-color: var(--color-info); }
.bg-success { background-color: var(--color-success); }
.bg-accent { background-color: var(--color-accent); }

/* Mobile & tablet: white nav bar (logo row); plum accent border */
@media (max-width: 991.98px) {
    .navbar.bg-subtle {
        background: #fff;
        border-bottom: 1px solid rgba(73, 65, 119, 0.14);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 18px rgba(42, 36, 66, 0.06);
    }

    .site-topbar__social {
        display: none;
    }

    .site-topbar__phones,
    .site-topbar__meta {
        justify-content: flex-start;
    }

    .site-topbar__meta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    .site-topbar__link i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.35rem;
        min-width: 1.35rem;
        flex-shrink: 0;
    }
}

/* Sizing Utilities */
.navbar-size { width: 1300px; }
.page-size {
    width: 1300px;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}
.get-started-size {
    width: 1300px;
    padding-top: 100px;
    padding-bottom: 100px;
    margin-left: auto;
    margin-right: auto;
}

/* Site-wide CTA banner (split panel + photo, replaces legacy Get Started block) */
.site-cta-section {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1rem;
}

.site-cta-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 52px rgba(42, 36, 66, 0.16);
    background: #fff;
    border: 1px solid rgba(201, 192, 212, 0.45);
}

.site-cta-banner__panel {
    flex: 1 1 22rem;
    max-width: 100%;
    padding: 2.35rem 2.1rem 2.25rem;
    background-color: #3a8faf;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        linear-gradient(155deg, #4094b4 0%, #2f7a94 52%, #2a6a86 100%);
    background-size: 16px 16px, 100% 100%;
    color: #fff;
}

/* Careers & nurse application pages */
.careers-page__lead {
    max-width: 42rem;
    font-size: clamp(1rem, 0.95rem + 0.2vw, 1.08rem);
    line-height: 1.65;
    color: var(--text-color-1);
}

.careers-jd-accordion__item {
    border: 1px solid rgba(201, 192, 212, 0.85);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 18px rgba(42, 36, 66, 0.06);
}

.careers-jd-accordion .accordion-button {
    font-family: var(--font-2), sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--heading-color);
    background: linear-gradient(180deg, #fff 0%, var(--color-subtle) 100%);
}

.careers-jd-accordion .accordion-button:not(.collapsed) {
    color: var(--color-main);
    box-shadow: none;
}

.careers-jd-accordion__body {
    font-family: var(--font-2), sans-serif;
    font-size: 0.97rem;
    line-height: 1.62;
    color: var(--text-color-1);
}

.careers-jd-accordion__body h4 {
    font-family: var(--font-2), sans-serif;
}

.careers-jd-meta li {
    margin-bottom: 0.35rem;
    padding-left: 0;
}

.careers-jd-meta strong {
    display: inline-block;
    min-width: 8.5rem;
    color: var(--heading-color);
    font-weight: 600;
}

.careers-page__cta-panel {
    background: linear-gradient(135deg, rgba(171, 47, 99, 0.08) 0%, rgba(73, 65, 119, 0.1) 100%);
    border: 1px solid rgba(201, 192, 212, 0.75);
}

.careers-page__cta-text {
    max-width: 40rem;
    color: var(--text-color-1);
}

.apply-nurse-page .apply-nurse-card {
    border-radius: 16px;
}

.apply-nurse-form .form-label {
    color: var(--heading-color);
}

.apply-nurse-form .form-check-label {
    color: var(--text-color-1);
}

/* Homepage “How it works” — matches site CTA teal panel (gradient + dot grid) */
.home-how-it-works {
    background-color: #3a8faf;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        linear-gradient(155deg, #4094b4 0%, #2f7a94 52%, #2a6a86 100%);
    background-size: 16px 16px, 100% 100%;
    color: #fff;
}

.site-cta-banner__kicker {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-family: var(--font-2), sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.site-cta-banner__plus {
    font-size: 0.65rem;
    opacity: 0.95;
}

.site-cta-banner__title {
    font-family: var(--font-2), sans-serif;
    font-weight: 700;
    font-size: clamp(1.65rem, 1.15rem + 1.8vw, 2.45rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    margin: 0.5rem 0 0.85rem;
    color: #fff;
}

.site-cta-banner__lead {
    margin: 0 0 1.4rem;
    max-width: 36rem;
    font-family: var(--font-2), sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.96);
}

.site-cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.9rem;
}

.site-cta-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-family: var(--font-2), sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.site-cta-banner__btn--call {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.95);
    color: #fff;
}

.site-cta-banner__btn--call:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

.site-cta-banner__btn--apply {
    background: #fff;
    border-color: #fff;
    color: #2a2442;
}

.site-cta-banner__btn--apply:hover {
    background: #f4f1f8;
    color: var(--color-darker);
    border-color: #f4f1f8;
}

.site-cta-banner__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.site-cta-banner__btn--apply:focus-visible {
    outline-color: var(--color-darker);
}

.site-cta-banner__phones-sub {
    margin: 1.05rem 0 0;
    font-family: var(--font-2), sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.site-cta-banner__phones-sub a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-cta-banner__phones-sub a:hover {
    color: #fff;
    opacity: 0.9;
}

.site-cta-banner__proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.15rem;
    margin-top: 1.35rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.site-cta-banner__avatars {
    display: flex;
    align-items: center;
}

.site-cta-banner__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    margin-left: -0.45rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.05rem;
    line-height: 1;
}

.site-cta-banner__avatar:first-child {
    margin-left: 0;
}

.site-cta-banner__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.site-cta-banner__stars {
    display: block;
    height: auto;
    max-width: 4.5rem;
}

.site-cta-banner__review-text {
    font-family: var(--font-2), sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.site-cta-banner__visual {
    flex: 1 1 16rem;
    min-height: 260px;
    position: relative;
    background: #1f2a33;
}

.site-cta-banner__img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

@media screen and (max-width: 767.98px) {
    .site-cta-banner__visual {
        min-height: 220px;
        flex: 1 1 100%;
        order: 2;
    }

    .site-cta-banner__panel {
        order: 1;
    }

    .site-cta-banner__img {
        min-height: 220px;
    }

    .site-cta-banner__proof {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===================================
   5. Component Styles
   Styles for specific components
====================================== */
/* Site top bar (above navbar, all pages) */
.site-topbar {
    background: linear-gradient(90deg, var(--color-darker) 0%, #3f3868 50%, var(--color-darker) 100%);
    color: rgba(255, 255, 255, 0.94);
    font-family: var(--font-2), sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-topbar__inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
}

.site-topbar__phones,
.site-topbar__meta,
.site-topbar__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
}

.site-topbar__meta {
    flex: 1 1 220px;
    justify-content: center;
    min-width: 0;
    gap: 0.65rem 1.25rem;
}

.site-topbar__phones {
    flex: 0 1 auto;
}

.site-topbar__social {
    flex: 0 0 auto;
    gap: 0.4rem;
}

.site-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.site-topbar__link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-topbar__link i {
    color: var(--color-lighter);
    font-size: 0.88rem;
    opacity: 0.95;
}

.site-topbar__link--location .site-topbar__location-text {
    max-width: min(340px, 38vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-topbar__sep {
    opacity: 0.45;
    user-select: none;
}

.site-topbar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.site-topbar__icon:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
}

.site-topbar__icon:focus-visible {
    outline: 2px solid var(--color-lighter);
    outline-offset: 2px;
}

/* Main nav offcanvas: social row (top bar socials hidden below 992px) */
.offcanvas-nav-social {
    margin-top: 1.75rem;
    padding: 1.35rem 1rem 0.25rem;
    border-top: 1px solid rgba(73, 65, 119, 0.12);
    background: linear-gradient(
        145deg,
        rgba(73, 65, 119, 0.07) 0%,
        rgba(171, 47, 99, 0.06) 55%,
        rgba(249, 247, 251, 0.95) 100%
    );
    border-radius: 0.75rem;
}

.offcanvas-nav-social__label {
    font-family: var(--font-2), sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-darker);
    margin-bottom: 0.9rem;
    opacity: 0.88;
}

.offcanvas-nav-social__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: flex-start;
}

.offcanvas-nav-social__btn {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.08rem;
    box-shadow: 0 4px 14px rgba(42, 36, 66, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.offcanvas-nav-social__btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(42, 36, 66, 0.26);
    filter: brightness(1.05);
}

.offcanvas-nav-social__btn:focus-visible {
    outline: 2px solid var(--color-main);
    outline-offset: 3px;
}

.offcanvas-nav-social__btn--fb {
    background: linear-gradient(145deg, #3b5998, #2d4373);
}

.offcanvas-nav-social__btn--ig {
    background: linear-gradient(145deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.offcanvas-nav-social__btn--yt {
    background: linear-gradient(145deg, #ff0000, #b20710);
}

.offcanvas-nav-social__btn--li {
    background: linear-gradient(145deg, #0077b5, #005e93);
}

@media (min-width: 992px) {
    .offcanvas-nav-social {
        display: none;
    }
}

/* Navbar */
.navbar-toggler {
    border: none;
}

.navbar-toggler .custom-toggler-icon {
    width: 40px;
    height: 30px;
    border: none;
    background: var(--color-main);
    box-shadow: none;
    outline: none;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: end;
    padding: 5px;
    color: white !important;
}

.navbar-toggler .bar {
    display: block;
    height: 2px;
    border-radius: 2px;
    width: 100%;
    background-color: white;
    border: none;
}

.navbar-toggler .bar-1 { width: 80%; align-self: flex-end; }
.navbar-toggler .bar-2 { width: 100%; }
.navbar-toggler .bar-3 { width: 60%; align-self: flex-end; }

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

.nav-link {
    color: var(--text-color-1);
    font-size: 15px;
    font-family: var(--font-2);
    font-weight: 600;
    box-shadow: none;
}

.desktop-toggler {
    display: block;
    background-color: transparent;
    border: none;
    border-radius: 4px;
}

.desktop-toggler .bar {
    display: block;
    height: 2px; 
    border-radius: 2px; 
    width: 100%;
    background-color: white;
    border: none;
}

.navbar-toggler-icon {
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28171, 47, 99, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
       
.navbar-toggler-icon:hover {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2842, 36, 66, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}         

.search-form {
    width: 800px;
}

.search-form .form-control {
    color: var(--text-color-2);
    font-size: 16px;
}

.search-form .form-control::placeholder {
    color: var(--text-color-1); 
}

.search-form .btn {
    padding: 0;
}

.search-form .input-group {
    border: 1px solid var(--text-color-2); 
    border-radius: 25px;
    padding: 10px 15px;
}

.search-form .input-group:focus-within {
    box-shadow: none;
}

.form-control:focus{
    box-shadow: none;
}

.offcanvas-header .btn-close-custom {
    position: absolute;
    top: 20px; 
    right: 20px; 
    z-index: 10; 
    background-color: transparent;
    border: 1px solid var(--text-color-2);
    border-radius: 10px;
    font-size: 20px;
    padding: 5px 12px;
    cursor: pointer;
}

#offcanvasSearch {
    height: 100vh;
    background-color: var(--hero-scrim);
    color: #fff;
    justify-content: center; 
    align-items: center; 
    display: flex;
    flex-direction: column;
}

.offcanvas.show .nav-link {
    color: var(--text-color-1);  
    font-size: 12px;
}

.offcanvas.show .nav-link:hover {
    color: var(--color-main); 
}

.social-icon-32 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-main);
    border-radius: 50%;
    color: var(--color-main);
    background-color: transparent;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    cursor: pointer;
}

.social-icon-32:hover{
    color: var(--color-subtle);
    background-color: var(--color-main);
}

.nav-link.dropdown-toggle:hover {
    color: var(--color-main);
    box-shadow: none;
}

.nav-link.dropdown-toggle:active{
    box-shadow: none;
}

.nav-link:hover {
    color: var(--color-main); 
}

.nav-link.active {
    color: var(--color-main) !important;
    box-shadow: none;
}

.nav-link:focus,
.dropdown-item:focus {
    color: var(--color-main);
    outline: none;
    box-shadow: none !important;
}

.dropdown-toggle {
    box-shadow: none !important;
}

.dropdown-menu {
    padding-left: 0px;
    padding-top: 0px !important;
    padding-bottom: 16px;
    padding-right: 0px;
    color: var(--text-color-2);
    min-width: 240px;
    border: none;
    box-shadow: none;
    border-radius: 0px;
}

.custom-dropdown-menu {
    top: 100px;
    left: 200px;
}

.dropdown-menu a {
    padding-top: 10px;
    padding-bottom: 10px;
}

.dropdown-menu:hover a:hover {
    color: #fff; 
    background-color: var(--color-main); 
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-item{
    font-weight: 500 !important;
}

.dropdown-item:hover {
    background-color: white !important;
    color: var(--color-main) !important;
}

/* Services submenu in main navbar */
.navbar-nav .nav-item.dropdown {
    position: relative;
}

.navbar-nav .nav-services-dropdown.dropdown-menu {
    position: absolute;
    /* Slight overlap + no margin gap so pointer never leaves .dropdown between toggle and panel */
    top: calc(100% - 6px);
    left: 0;
    margin-top: 0;
    min-width: min(340px, 92vw);
    border-radius: 12px;
    border: 1px solid rgba(42, 36, 66, 0.08);
    box-shadow: 0 12px 40px rgba(42, 36, 66, 0.12);
    padding: 0.45rem 0.25rem 0.55rem;
    z-index: 1050;
}

/* Solid Bootstrap divider replaced by dashed lines on items for a calmer rhythm */
.navbar-nav .nav-services-dropdown .dropdown-divider {
    display: none;
}

.navbar-nav .nav-services-dropdown .dropdown-item {
    white-space: normal;
    font-family: var(--font-2), sans-serif;
    font-size: 0.97rem;
    font-weight: 600;
    line-height: 1.4;
    padding: 0.72rem 1.15rem;
    margin: 0 0.35rem;
    border-radius: 8px;
    color: var(--text-color-1);
}

.navbar-nav .nav-services-dropdown li:has(> a.dropdown-item):not(:last-child) > a.dropdown-item {
    border-bottom: 1px dashed rgba(42, 36, 66, 0.22);
    border-radius: 8px 8px 0 0;
}

.navbar-nav .nav-services-dropdown li:has(> a.dropdown-item):not(:first-child) > a.dropdown-item {
    border-radius: 0;
}

.navbar-nav .nav-services-dropdown li:has(> a.dropdown-item):last-child > a.dropdown-item {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.navbar-nav .nav-services-dropdown .dropdown-item.fw-semibold {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.navbar-nav .nav-services-dropdown .dropdown-item:hover {
    background-color: rgba(171, 47, 99, 0.07) !important;
    color: var(--color-main) !important;
}

/* Mobile off-canvas only: static menu stacks in the drawer without shifting the bar.
   Do NOT apply to desktop — the nav lives inside .offcanvas-body at all breakpoints,
   and position:static there was pushing Team / Blog / Contact when the menu opened. */
@media (max-width: 991.98px) {
    .offcanvas-body .nav-services-dropdown.dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: 0.35rem;
        margin-bottom: 0.5rem;
        box-shadow: none;
        border: 1px solid rgba(42, 36, 66, 0.08);
        padding: 0.35rem 0.15rem 0.45rem;
    }

    .offcanvas-body .nav-services-dropdown .dropdown-item {
        font-size: 0.95rem;
        padding: 0.68rem 0.85rem;
        margin: 0 0.2rem;
    }
}

@media (min-width: 992px) {
    .navbar .offcanvas-body {
        overflow: visible;
    }

    /* Widen hover path from toggle toward the wide menu (diagonal moves stay “inside” the li) */
    .navbar-nav .nav-item.dropdown::after {
        content: "";
        position: absolute;
        left: 0;
        top: 100%;
        width: max(100%, 280px);
        height: 0.85rem;
        z-index: 1049;
    }

    .navbar-nav .nav-item.dropdown:hover > .nav-services-dropdown.dropdown-menu {
        display: block !important;
    }
}

.nav-services-dropdown .dropdown-item.active,
.nav-services-dropdown .dropdown-item.active:hover {
    background-color: rgba(171, 47, 99, 0.1) !important;
    color: var(--color-main) !important;
}

.text-service-detail-lead {
    color: var(--text-color-1);
    font-size: 1.05rem;
}

/* Individual service pages: space below banner, sidebar aligned with main column, stronger copy */
.service-detail-page > .page-size {
    padding-top: clamp(2.75rem, 6vw, 4.25rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.service-detail-page .service-detail-row {
    align-items: flex-start;
}

.service-detail-page .service-detail-primary {
    font-family: var(--font-2), sans-serif;
}

.service-detail-page .service-detail-primary > p,
.service-detail-page .service-detail-primary li {
    font-size: clamp(1.0625rem, 1rem + 0.28vw, 1.125rem);
    line-height: 1.68;
    font-weight: 500;
    color: #3d384d;
}

.service-detail-page .service-detail-primary .lead.text-service-detail-lead,
.service-detail-page .service-detail-primary .text-service-detail-lead {
    font-size: clamp(1.1875rem, 1.05rem + 0.55vw, 1.35rem);
    font-weight: 600 !important; /* over Bootstrap .lead light weight */
    line-height: 1.58;
    color: var(--heading-color);
    max-width: 62ch;
}

.service-detail-page .service-detail-primary h2 {
    font-weight: 700;
    font-size: clamp(1.85rem, 1.35rem + 1.35vw, 2.35rem);
    line-height: 1.15;
    color: var(--heading-color);
}

.service-detail-page .service-detail-primary h3.h5 {
    font-family: var(--font-2), sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.015em;
    color: var(--heading-color);
}

.service-detail-page .service-detail-primary .card-service-detail-1 p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
    color: #3d384d;
}

.service-detail-page .service-detail-primary .card-service-detail-1 h4.h6 {
    font-family: var(--font-2), sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--heading-color);
}

.service-detail-page .service-detail-sidebar {
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .service-detail-page .service-detail-sidebar {
        margin-top: 0.25rem;
    }
}

.service-detail-page .service-detail-sidebar .card-service-detail-1 {
    padding: clamp(1.35rem, 3vw, 1.85rem);
}

.service-detail-page .service-detail-sidebar .card-service-detail-1 > h4 {
    font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.5rem);
    line-height: 1.25;
    font-weight: 700;
    color: var(--heading-color);
}

.service-detail-page .service-detail-sidebar-intro {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--text-color-1);
}

.service-detail-page .service-detail-sidebar .other-services a {
    font-weight: 600;
    font-size: 1rem;
}

.pad{
    width: 240px;
    height: 18px;
    background-color: var(--color-subtle);
    border: none;
    box-shadow: none;
    z-index: 2000;
}

.logo-width {
    width: 15%;
}

/* Homepage hero — slides edge-to-edge; frosted glass only on .home-hero__copy-inner */
.home-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(420px, 72vh, 720px);
    overflow-x: hidden;
    overflow-y: visible;
    background-color: #3a3358;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-hero__layout {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: clamp(420px, 72vh, 720px);
    pointer-events: none;
}

.home-hero__copy {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    flex: 0 1 min(980px, 96vw);
    min-width: min(100%, 280px);
    max-width: min(980px, 96vw);
    background: transparent;
    pointer-events: auto;
    padding-top: clamp(1.5rem, 4vh, 2.75rem);
    padding-bottom: clamp(1.5rem, 4vh, 2.75rem);
    --hero-align-pad: max(
        1.25rem,
        max(
            32px,
            calc((100vw - min(100vw, 1300px)) / 2)
        )
    );
    padding-left: min(var(--hero-align-pad), calc(100% - 14rem));
    padding-right: clamp(1rem, 2.5vw, 2rem);
}

.home-hero__copy-inner {
    width: 100%;
    max-width: min(46rem, 100%);
    min-width: 0;
    box-sizing: border-box;
    padding: clamp(1.25rem, 2.4vw, 1.85rem) clamp(1.25rem, 2.8vw, 2.1rem);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 40px rgba(42, 36, 66, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media (min-width: 1400px) {
    .home-hero__copy {
        flex: 0 1 min(1040px, 54vw);
        max-width: min(1040px, 54vw);
    }

    .home-hero__copy-inner {
        max-width: min(52rem, 100%);
    }

    .home-hero__lead {
        max-width: none;
    }
}

.home-hero__kicker {
    font-family: var(--font-2), sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #5a5668;
    margin: 0 0 0.65rem;
}

.home-hero__title {
    font-family: var(--font-2), sans-serif;
    font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.45rem);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 1.1rem;
    padding: 0;
    color: #2a2a2a;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    text-wrap: balance;
}

.home-hero__title-top {
    display: block;
    font-weight: 400;
    color: #333333;
    letter-spacing: -0.02em;
}

.home-hero__title-accent {
    display: block;
    margin-top: 0.08em;
    font-weight: 800;
    font-size: clamp(2.35rem, 1.6rem + 4.5vw, 4.35rem);
    line-height: 0.98;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8b0000;
}

.home-hero__lead {
    font-family: var(--font-2), sans-serif;
    font-size: clamp(0.9375rem, 0.88rem + 0.25vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.62;
    color: #2a2a2a;
    margin: 0 0 1.45rem;
    max-width: none;
    text-wrap: pretty;
    overflow-wrap: break-word;
    word-break: normal;
}

.home-hero__actions {
    margin-top: 0.15rem;
}

.home-hero__slides {
    position: absolute;
    inset: 0;
}

.home-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    /* Anchor to top: when cover crops, lose bottom first — keep faces/heads visible */
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.home-hero__slide.is-active {
    opacity: 1;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__slide {
        transition: none;
    }
}

.home-hero__dots {
    position: absolute;
    z-index: 4;
    right: 1rem;
    bottom: 1rem;
    pointer-events: auto;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: rgba(42, 36, 66, 0.35);
    backdrop-filter: blur(4px);
}

.home-hero__dot {
    width: 13px;
    height: 13px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: 0 0 0 1px rgba(42, 36, 66, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-hero__dot:hover {
    background: rgba(255, 255, 255, 0.65);
}

.home-hero__dot.is-active {
    background: #ffffff;
    transform: scale(1.15);
}

.home-hero__dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.btn-hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-2), sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.82rem 1.65rem;
    min-height: 3rem;
    border-radius: 999px;
    background-color: #7c8ea6;
    color: #ffffff !important;
    border: 2px solid transparent;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 10px rgba(44, 62, 80, 0.12);
}

.btn-hero-pill:hover {
    background-color: #6a7c94;
    color: #ffffff !important;
}

.btn-hero-pill:focus-visible {
    outline: 2px solid #4a5a6e;
    outline-offset: 3px;
}

.z-index-5 { z-index: 5; }
.w-hero { width: 55%; }

/* Buttons */
.btn-hero-1, .btn-hero-2, .btn-hero-3 {
    font-size: 14px;
    padding: 16px 24px;
    border-radius: 50px;
}

.btn-hero-1 {
    background-color: var(--color-lighter);
    color: var(--heading-color);
    border: none;
}

.btn-hero-1:hover { background-color: white; }

.btn-hero-2 {
    background-color: transparent;
    color: white;
    font-size: 14x;
    border: 1px solid white;
}

.btn-hero-2:hover {
    background-color: white;
    color: var(--heading-color);
}

.btn-hero-3 {
    background-color: white;
    color: var(--heading-color);
    border: none;
}

.btn-hero-3:hover {
    background-color: var(--color-main);
    color: white;
}

/* Homepage: trust bar under hero (single-line ecommerce-style strip) */
.home-trust-bar {
    position: relative;
    z-index: 10;
    width: 100%;
    background: linear-gradient(180deg, #eceef2 0%, #e4e6eb 100%);
    border-bottom: 1px solid rgba(42, 36, 66, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.home-trust-bar__inner {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5rem clamp(0.65rem, 2vw, 1.25rem);
}

.home-trust-bar__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 0.15rem;
    row-gap: 0.35rem;
}

@media (min-width: 1200px) {
    .home-trust-bar__list {
        flex-wrap: nowrap;
        justify-content: space-between;
        column-gap: 0.35rem;
    }
}

.home-trust-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-2), sans-serif;
    font-size: clamp(0.74rem, 0.68rem + 0.22vw, 0.875rem);
    line-height: 1.25;
    color: #4a4758;
    padding: 0.2rem 0.35rem;
}

.home-trust-bar__item + .home-trust-bar__item::before {
    content: "·";
    margin-right: 0.35rem;
    color: rgba(90, 86, 104, 0.45);
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1;
    user-select: none;
}

@media (max-width: 1199.98px) {
    .home-trust-bar__item + .home-trust-bar__item::before {
        display: none;
    }

    .home-trust-bar__list {
        column-gap: 0.65rem;
        row-gap: 0.45rem;
    }
}

.home-trust-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    flex-shrink: 0;
    color: var(--color-main);
    font-size: 0.95rem;
}

/* Mobile / tablet: stacked trust items; icons share one vertical axis */
@media (max-width: 991.98px) {
    .home-trust-bar__list {
        flex-direction: column;
        align-items: stretch;
        max-width: 26rem;
        margin-left: auto;
        margin-right: auto;
        row-gap: 0.55rem;
    }

    .home-trust-bar__item {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.75rem;
        width: 100%;
        padding: 0.45rem 0.5rem;
        text-align: left;
    }

    .home-trust-bar__icon {
        width: 2.25rem;
        min-width: 2.25rem;
        height: 1.5rem;
        margin-top: 0.08rem;
        justify-content: center;
        font-size: 1.05rem;
    }

    .home-trust-bar__text {
        flex: 1;
        min-width: 0;
        line-height: 1.45;
    }
}

.home-trust-bar__text strong {
    font-weight: 700;
    color: #2a2442;
}

/* Spacing after trust bar (replaces old overlapping NCK card offset) */
.home-after-trust {
    padding-top: clamp(1.75rem, 4vw, 2.75rem);
}

/* Cards */
.card-offer {
    width: 100%;
    border: none;
    padding: 24px;
    background-color: var(--color-accent);
    min-height: 275px;
}

.card-service {
    background-color: var(--color-subtle);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-service .service-card-footer {
    margin-top: auto;
    padding-top: 0.25rem;
}

.card-testimonial {
    background-color: var(--color-accent);
    padding: 32px;
}

/* Homepage: testimonials — single-row marquee, auto + manual horizontal scroll */
.home-testimonials__inner {
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.home-testimonials-marquee {
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-left: calc(-1 * max(0px, (100vw - 1300px) / 2));
    margin-right: calc(-1 * max(0px, (100vw - 1300px) / 2));
    padding-inline: max(1rem, calc((100vw - min(100vw, 1300px)) / 2 + 0.25rem));
}

@media (max-width: 1399.98px) {
    .home-testimonials-marquee {
        margin-left: 0;
        margin-right: 0;
        padding-inline: 0;
    }
}

.home-testimonials-carousel {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.home-testimonials-carousel__viewport {
    flex: 1 1 auto;
    min-width: 0;
    container-type: inline-size;
    container-name: home-testimonials;
}

.home-testimonials-viewport {
    --home-t-scroll-pad: 0.25rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--home-t-scroll-pad) 0 calc(var(--home-t-scroll-pad) + 0.1rem);
    scroll-behavior: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Soft edge fade without cropping card bodies */
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 12px,
        #000 calc(100% - 12px),
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 12px,
        #000 calc(100% - 12px),
        transparent 100%
    );
}

.home-testimonials-viewport::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.home-testimonials-viewport:focus-visible {
    outline: 2px solid var(--color-main);
    outline-offset: 4px;
}

@media (max-width: 575.98px) {
    .home-testimonials-carousel {
        flex-wrap: wrap;
        justify-content: center;
    }

    .home-testimonials-carousel > .home-testimonials-carousel__viewport {
        flex: 1 1 100%;
        order: 1;
    }

    .home-testimonials-carousel > .home-blog-carousel__arrow--prev {
        order: 0;
    }

    .home-testimonials-carousel > .home-blog-carousel__arrow--next {
        order: 2;
    }
}

.home-testimonials-track {
    display: inline-flex;
    flex-direction: row;
    align-items: stretch;
    gap: clamp(1rem, 2vw, 1.5rem);
    width: max-content;
    min-height: 1px;
}

.home-testimonials-set {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: clamp(0.85rem, 1.8vw, 1.25rem);
}

.home-testimonial-card {
    flex: 0 0 auto;
    box-sizing: border-box;
    /* Fallback: integer-ish columns so cards are not clipped mid-card */
    width: min(340px, calc(100vw - 4.75rem));
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 17.5rem;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    padding: clamp(1.35rem, 2.5vw, 1.85rem);
    border-radius: 18px;
    border: 1px solid rgba(201, 192, 212, 0.65);
    background: linear-gradient(165deg, #fdfcfe 0%, var(--color-accent) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 14px 40px rgba(42, 36, 66, 0.09);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.home-testimonial-card:hover {
    border-color: rgba(171, 47, 99, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 18px 48px rgba(42, 36, 66, 0.12);
    transform: translateY(-2px);
}

.home-testimonial-card .large-icon {
    font-size: clamp(2rem, 1.5rem + 1.2vw, 2.65rem);
    line-height: 1;
    opacity: 0.92;
}

.home-testimonial-card h4 {
    font-size: clamp(1.15rem, 1.02rem + 0.45vw, 1.35rem);
    font-weight: 700;
    line-height: 1.22;
    color: var(--heading-color);
}

.home-testimonial-card p {
    font-size: 0.9375rem;
    line-height: 1.62;
    color: var(--text-color-1);
    margin-bottom: 0;
    flex-grow: 1;
}

@container home-testimonials (min-width: 520px) {
    .home-testimonial-card {
        width: min(340px, calc((100cqw - 1.25rem) / 2));
    }
}

@container home-testimonials (min-width: 900px) {
    .home-testimonial-card {
        width: min(340px, calc((100cqw - 2 * 1.25rem) / 3));
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-testimonial-card:hover {
        transform: none;
    }
}

.card-blog {
    background: var(--color-accent);
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
    padding: 24px;
}

/* Homepage: Latest News & Blogs — carousel, 3-up desktop, hidden scrollbar */
.home-blog-section {
    border-top: 1px solid rgba(201, 192, 212, 0.55);
}

.home-blog-section__inner {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

.home-blog-section__kicker {
    font-family: var(--font-2), sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6f677d;
    margin: 0 0 0.4rem;
}

.home-blog-section__title {
    font-family: var(--font-1), serif;
    font-weight: 700;
    font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--heading-color);
}

.home-blog-section__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-2), sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background-color: var(--color-darker);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.home-blog-section__cta:hover {
    background-color: var(--color-main);
    color: #fff;
}

.home-blog-carousel {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.home-blog-carousel__viewport {
    flex: 1 1 auto;
    min-width: 0;
}

.home-blog-carousel__arrow {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.125rem;
    height: 3.125rem;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(201, 192, 212, 0.95);
    background: #fff;
    color: var(--color-darker);
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(42, 36, 66, 0.08);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.home-blog-carousel__arrow:hover {
    background: var(--color-darker);
    color: #fff;
    border-color: var(--color-darker);
}

.home-blog-carousel__arrow:focus-visible {
    outline: 2px solid var(--color-main);
    outline-offset: 2px;
}

.home-blog-scroll {
    --home-blog-gap: 1.5rem;
    display: flex;
    gap: var(--home-blog-gap);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.4rem 0 0.35rem;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-blog-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.home-blog-card {
    flex: 0 0 calc((100% - (2 * var(--home-blog-gap))) / 3);
    width: calc((100% - (2 * var(--home-blog-gap))) / 3);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(201, 192, 212, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 26px rgba(42, 36, 66, 0.1);
}

.home-blog-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-subtle);
}

.home-blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-blog-card__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-family: var(--font-2), sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-success);
    padding: 0.42rem 0.62rem;
    line-height: 1;
    border-radius: 4px;
}

.home-blog-card:nth-child(even) .home-blog-card__badge {
    background: var(--color-darker);
}

.home-blog-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.4rem 1.45rem;
}

.home-blog-card__title {
    font-family: var(--font-2), sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.65rem;
    color: var(--heading-color);
}

.home-blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.home-blog-card__title a:hover {
    color: var(--color-main);
}

.home-blog-card__excerpt {
    flex: 1 1 auto;
    font-family: var(--font-2), sans-serif;
    font-size: 0.97rem;
    line-height: 1.58;
    color: var(--text-color-1);
    margin: 0 0 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-card__more {
    margin-top: auto;
    font-family: var(--font-2), sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-main);
}

.home-blog-card__more:hover {
    color: var(--color-darker);
}

.home-blog-card__date {
    display: block;
    margin-top: 0.85rem;
    font-family: var(--font-2), sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8c8499;
}

/* Blog archive (blog.html): same cards as homepage, in a Bootstrap grid — not the carousel rail */
.blog-archive-section .home-blog-section__inner {
    padding-bottom: 2.75rem;
}

.blog-archive-grid > .col {
    min-width: 0;
}

.blog-archive-grid .home-blog-card {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: unset;
    scroll-snap-stop: normal;
}

@media screen and (max-width: 991px) {
    .home-blog-scroll {
        --home-blog-gap: 1.15rem;
    }

    .home-blog-card {
        flex: 0 0 calc((100% - var(--home-blog-gap)) / 2);
        width: calc((100% - var(--home-blog-gap)) / 2);
    }

    .blog-archive-grid .home-blog-card {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .home-blog-carousel__arrow {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 575px) {
    .home-blog-card {
        flex: 0 0 calc(100% - 0.25rem);
        width: calc(100% - 0.25rem);
    }

    .blog-archive-grid .home-blog-card {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .home-blog-carousel {
        gap: 0.5rem;
    }

    .home-blog-carousel__arrow {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.9rem;
    }

    .home-blog-card__title {
        font-size: 1.08rem;
    }

    .home-blog-card__excerpt {
        font-size: 0.9rem;
    }

    .blog-archive-section .home-blog-section__title {
        font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.35rem);
    }
}

.large-padding-top {
    padding-top: 200px;
}

/* ===================================
   6. Animation Styles
====================================== */
/* Fade-in classes kept for markup compatibility; motion removed site-wide */
.fade-in-up,
.fade-in-down,
.fade-in-left,
.fade-in-right {
    opacity: 1;
    transform: none;
    animation: none;
}

.delay-1,
.delay-2,
.delay-3,
.delay-4 {
    animation-delay: 0s;
}

/* ===================================
   7. Other Styles
====================================== */
.page-title {
    font-family: var(--font-2);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.img-stars {
    width: 80px;
}

.testimonial-circle {
    width: 45px; 
    height: 45px; 
    background-color: grey; 
    border: 2px solid white;
    border-radius: 50%; 
    margin-left: -7px;
}

.testimonial-circle-first {
    width: 45px; 
    height: 45px; 
    background-color: grey; 
    border: 2px solid white;
    border-radius: 50%; 
}

.review-text {
    font-family: var(--font-2);
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.large-padding-top-1 {
    padding-top: 680px;
}

.large-padding-bottom{
    padding-bottom: 350px;
}

/* Homepage About block — sensible spacing (replaces old overlap padding) */
.home-about-section {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

@media (min-width: 992px) {
    .home-about-section {
        padding-top: 1.75rem;
        padding-bottom: 2.35rem;
    }
}

.home-about-title {
    font-weight: 500;
    color: var(--heading-color);
    line-height: 1.1;
}

.home-about-title__accent {
    color: var(--color-main);
    font-weight: 700;
}

.home-about-body p {
    margin-bottom: 0.65rem;
}

.home-about-body p:last-child {
    margin-bottom: 0;
}

.img-offer {
    width: 50px;
}

.link-offer {
    font-size: 14px;
    font-family: var(--font-2);
    color: var(--heading-color);
}

.link-offer:hover {
    color: var(--color-main);
}

.link-offer-wrapper {
    width: max-content;
    border-bottom: 1px solid var(--heading-color);
}

.img-about-1 {
    width: 100%;
    height: 482px;
}   

.img-about-2 {
    margin-top: 60px;
    width: 100%;
    height: 482px;
}

.btn-main {
    background-color: var(--color-main);
    padding: 15px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-2);
    border: none;
    color: white;
    border-radius: 40px;
}

.btn-main:hover {
    background-color: var(--color-darker);
    color: white;
}

.max-w-content {
    max-width: max-content;
}

.bg-value {
    width: 1300px;
    background-image: linear-gradient(var(--image-overlay), var(--image-overlay)), url("../images/value-1.jpg");
    background-size: cover;
    background-position: center;
    padding: 32px;
    position: absolute;
    top: -350px;
}

/* Homepage: Why Choose Jamara — calm panel, no hero photo */
.why-jamara-section {
    padding-top: 2rem;
    padding-bottom: 2.25rem;
    background-color: var(--color-darker);
    background-image: radial-gradient(ellipse 95% 55% at 50% -5%, rgba(171, 47, 99, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 70% 45% at 100% 100%, rgba(73, 65, 119, 0.35) 0%, transparent 50%);
}

.why-jamara-panel {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.2rem 1.1rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.why-jamara-panel__title {
    font-family: var(--font-1), serif;
    font-size: clamp(1.55rem, 1.2rem + 1.15vw, 2.35rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.22;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.65rem 0.35rem 0.7rem;
    border-radius: 0 8px 8px 0;
    border-left: 4px solid var(--color-main);
    background: linear-gradient(90deg, rgba(42, 36, 66, 0.55) 0%, rgba(42, 36, 66, 0.12) 72%, transparent 100%);
}

.why-jamara-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem 0.65rem;
    margin-top: 0.95rem;
}

@media (min-width: 768px) {
    .why-jamara-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem 0.75rem;
    }
}

.why-jamara-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.6rem 0.7rem 0.65rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.why-jamara-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.why-jamara-item__icon {
    flex-shrink: 0;
    margin-top: 0.08rem;
    font-size: 1rem;
    line-height: 1;
    color: var(--color-lighter);
    opacity: 0.95;
}

.why-jamara-item__text {
    font-family: var(--font-2), sans-serif;
    font-size: clamp(0.9rem, 0.86rem + 0.12vw, 0.98rem);
    line-height: 1.5;
    opacity: 0.93;
    text-align: left;
}

@media (prefers-reduced-motion: reduce) {
    .why-jamara-item {
        transition: none;
    }

    .why-jamara-item:hover {
        transform: none;
    }
}

.img-sidebar {
    width: 140px;
    height: 40px;
}

/* Right offcanvas (“hamburger” info panel): strong type, air, full-height layout */
#offcanvasHero.offcanvas {
    width: min(100vw - 0.75rem, 27.5rem);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

@media (min-width: 576px) {
    #offcanvasHero.offcanvas {
        width: min(28.5rem, 94vw);
    }
}

#offcanvasHero .offcanvas-header {
    flex: 0 0 auto;
    padding: 1rem 1.35rem 0.85rem;
    border-bottom: 1px solid rgba(42, 36, 66, 0.1);
}

#offcanvasHero .offcanvas-header .btn-close {
    margin-left: auto;
    opacity: 0.75;
    transform: scale(1.05);
}

#offcanvasHero .offcanvas-body.offcanvas-hero-panel {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 1.65rem 1.45rem max(2rem, env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.offcanvas-hero-brand {
    margin-bottom: 0.85rem;
    padding: 0 0.15rem 0 0.1rem;
}

.offcanvas-hero-logo {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 3.65rem;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.offcanvas-hero-tagline {
    font-family: var(--font-2), sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.55;
    color: #3d3552;
    margin: 0 0 1.65rem;
    max-width: 42ch;
    letter-spacing: 0.01em;
}

.offcanvas-hero-section {
    margin-bottom: 1.65rem;
}

.offcanvas-hero-section:last-child {
    margin-bottom: 0;
}

.offcanvas-hero-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.7rem;
    font-family: var(--font-1), serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.offcanvas-hero-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(171, 47, 99, 0.14);
    color: var(--color-main);
    font-size: 0.95rem;
}

.offcanvas-hero-copy {
    margin: 0;
    padding-left: 2.85rem;
    font-family: var(--font-2), sans-serif;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.68;
    color: #453d58;
}

.offcanvas-hero-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding-left: 0.2rem;
}

.offcanvas-hero-link {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-family: var(--font-2), sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
    color: #2f2840 !important;
    text-decoration: none !important;
    word-break: break-word;
}

.offcanvas-hero-link i {
    flex-shrink: 0;
    width: 1.25rem;
    margin-top: 0.12rem;
    color: var(--color-main);
    text-align: center;
    font-size: 0.95rem;
}

.offcanvas-hero-link:hover {
    color: var(--color-main) !important;
}

.offcanvas-hero-section--social {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(42, 36, 66, 0.1);
}

.offcanvas-hero-social {
    padding-top: 0.35rem;
    padding-left: 0.05rem;
    gap: 0.65rem !important;
}

.offcanvas-hero-section--social .social-icon-32 {
    margin-top: 0;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1rem;
    border-width: 2px;
}

.card-value {
    width: 470px;
    border-bottom: 1px solid white;
}

.card-value:last-child{
    border-bottom: none;
}

.card-value-2 {
    width: 100%;
    border-bottom: 1px solid white;
}

.card-value-2:last-child{
    border-bottom: none;
}

/* About page: values grid (no side image) */
.jhc-values-section .jhc-values-intro {
    max-width: 72ch;
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    line-height: 1.6;
    opacity: 0.95;
}

.jhc-value-tile {
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.jhc-value-tile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
}

.jhc-value-tile__icon {
    padding-top: 0.2rem;
    line-height: 1;
    opacity: 0.95;
}

.jhc-value-tile__title {
    font-family: var(--font-1), serif;
    font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
    font-weight: 600;
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
}

.jhc-value-tile__text {
    font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
    line-height: 1.55;
    opacity: 0.92;
}

.img-partner-1,
.img-partner-2,
.img-partner-3,
.img-partner-4,
.img-partner-5,
.img-partner-6,
.img-partner-7,
.img-partner-8,
.img-partner-9,
.img-partner-10 {
    width: 180px;
}

.bg-service {
    background-image: linear-gradient(var(--image-overlay), var(--image-overlay)), url("../images/services-1.jpg");;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

.services-section-lede {
    max-width: 40rem;
    margin-top: 0.65rem;
    margin-bottom: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    font-family: var(--font-2), sans-serif;
    font-size: clamp(0.94rem, 0.88rem + 0.2vw, 1.05rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.img-service-icon{
    width: 85px;
}

.text-service {
    font-size: 13px;
    color: var(--text-color-1);
    font-weight: 500;
    margin-left: 5px;
}

.link-service-wrapper {
    width: max-content;
    border-bottom: 1px solid var(--color-main);
}

.link-service {
    font-size: 14px;
    font-family: var(--font-2);
    color: var(--color-main);
}

.link-service:hover {
    color: var(--heading-color);
}

.card-how-it-works {
    background-color: var(--color-subtle);
    padding: 24px;
}

/* “How it works” cards sit on teal section with section `color: #fff` — restore readable copy on light cards */
.home-how-it-works .card-how-it-works {
    color: var(--heading-color);
}

.home-how-it-works .card-how-it-works h5 {
    color: var(--heading-color);
    font-family: var(--font-2), sans-serif;
    font-weight: 700;
    font-size: clamp(1.05rem, 0.96rem + 0.35vw, 1.2rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.home-how-it-works .card-how-it-works p {
    color: var(--text-color-1);
    margin-bottom: 0;
}

.img-how-it-works-wrapper {
    position: static;
}

.img-how-it-works {
    position: static;
    max-width: max-content;
    width: 580px;
    margin-top: 50px;
    margin-bottom: -100px;
}

.circle-testimonial {
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
}

.testimonial-avatar-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-accent);
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
}

.testimonial-avatar-emoji--hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.22) !important;
}


.name-testimonial {
    font-size: 16px;
    font-family: var(--font-2);
    font-weight: 600;
    color: var(--heading-color);
}

.large-icon {
    font-size: 50px;
}

.bp-card:hover .img-blog-post {
    transform: none;
}

.img-blog-post {
    max-height: 360px;
    object-fit: cover;
    transition: none;
    transform: none;
    transform-origin: center;
}

.metadata-blog {
    font-size: 13px;
    color: var(--color-main);
    font-weight: 600;
    font-family: var(--font-2);
}

.icon-blog {
    width: 13px;
}

.bg-get-started {
    background-image: linear-gradient(var(--image-overlay), var(--image-overlay)), url("../images/get-started-1.jpg");
    padding: 64px;
}

.bg-banner, .bg-banner-blog, .bg-banner-1, .bg-banner-2, .bg-banner-about, .bg-banner-3, .bg-banner-4, .bg-banner-5 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
}

.bg-banner {
    background-image: linear-gradient(var(--image-overlay), var(--image-overlay)), url("../images/banner-1.jpg");
}

.bg-banner-blog {
    background-image: linear-gradient(var(--image-overlay), var(--image-overlay)), url("../images/banner-blog-hero.jpg");
}

.bg-banner-1 {
    background-image: linear-gradient(var(--image-overlay), var(--image-overlay)), url("../images/get-started-1.jpg");
}

.bg-banner-2 {
    background-image: linear-gradient(var(--image-overlay), var(--image-overlay)), url("../images/services-1.jpg");
}

.bg-banner-about {
    background-image: linear-gradient(var(--image-overlay), var(--image-overlay)), url("../images/about-jamara-banner.jpg");
}

.bg-banner-about .about-page-tagline {
    max-width: 38rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-2), sans-serif;
    font-size: clamp(1rem, 0.94rem + 0.28vw, 1.2rem);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.94);
}

.bg-banner-3 {
    background-image: linear-gradient(var(--image-overlay), var(--image-overlay)), url("../images/blog-post-2.jpg");
}

.bg-banner-4 {
    background-image: linear-gradient(var(--image-overlay), var(--image-overlay)), url("../images/bg-hero-1.jpg");
}

.bg-banner-5 {
    background-image: linear-gradient(var(--image-overlay), var(--image-overlay)), url("../images/service-detail-1.jpg");
}

.text-post-terms {
    font-size: 13px;
    color: var(--heading-color);
    font-weight: 600;
    font-family: var(--font-2);
}

.icon-post-terms {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-main);
    border-radius: 50%;
    color: var(--color-main);
    background-color: transparent;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    cursor: pointer;
}

.icon-post-terms:hover{
    color: var(--color-subtle);
    background-color: var(--color-main);
    border: 1px solid var(--color-main);
}

.card-single-post {
    background-color: var(--color-accent);
    padding: 32px;
}

.meta-recent-post{
    font-size: 12px;
    color: var(--text-color-1);
}

.link-recent-post {
    font-size: 16px;
    color: var(--color-main);
}

.link-recent-post:hover {
    color: var(--heading-color);
}

.card-newsletter {
    background-color: var(--color-darker);
    padding: 32px;
}

.card-comment {
    background-color: var(--color-subtle);
    padding: 64px;
}

.input-form {
    width: 100%;
    border: none;
    background-color: white;
    color: var(--heading-color);
    padding: 16px 24px;
    font-size: 16px;
    font-family: var(--font-2);
}

.input-form:focus {
    box-shadow: none;
    outline: none;
}

.icon-plus {
    width: 14px;
    height: 14px;
}

.img-about-3 {
    width: 100%;
    height: 860px;
    object-fit: cover;
    object-position: center;
}

/* About page: mission & vision as continuous paragraphs; fixed typographic measure */
.about-mission-vision-lede {
    max-width: 58ch;
    font-size: clamp(0.9375rem, 0.92rem + 0.15vw, 1rem);
    line-height: 1.58;
    color: var(--text-color-1);
}

.about-mission-vision-lede .about-mv-title {
    font-family: var(--font-2), sans-serif;
    color: var(--heading-color);
    font-weight: 600;
    font-size: 1.0625rem;
    margin-bottom: 0.35rem;
    margin-top: 0;
}

.about-mission-vision-lede .about-mv-title--vision {
    margin-top: 1.25rem;
}

.about-mission-vision-lede .about-mv-text {
    margin-bottom: 0;
    text-wrap: pretty;
}

@media (min-width: 992px) {
    .about-mission-vision-lede {
        margin-top: 2.75rem;
    }
}

/* About page: company intro under wide image — full column width so copy lines up with image */
.about-company-lede {
    max-width: none;
    width: 100%;
    font-size: clamp(0.9375rem, 0.92rem + 0.15vw, 1rem);
    line-height: 1.58;
    color: var(--text-color-1);
}

.about-company-lede p {
    margin-bottom: 0.55rem;
    text-wrap: pretty;
}

.about-company-lede p:last-child {
    margin-bottom: 0;
}

/* About page: Mission / Vision / Purpose cards */
.about-mvp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 2rem 1.5rem 1.85rem;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, var(--color-subtle) 100%);
    border: 1px solid rgba(201, 192, 212, 0.65);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(42, 36, 66, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.about-mvp-card:hover {
    box-shadow: 0 14px 40px rgba(73, 65, 119, 0.12);
    transform: translateY(-4px);
    border-color: rgba(171, 47, 99, 0.22);
}

.about-mvp-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto 1.35rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 6px 20px rgba(171, 47, 99, 0.1);
}

.about-mvp-card--mission .about-mvp-card__icon-wrap {
    box-shadow: 0 6px 20px rgba(171, 47, 99, 0.12);
}

.about-mvp-card--vision .about-mvp-card__icon-wrap {
    box-shadow: 0 6px 20px rgba(73, 65, 119, 0.12);
}

.about-mvp-card--purpose .about-mvp-card__icon-wrap {
    box-shadow: 0 6px 20px rgba(42, 143, 94, 0.1);
}

.about-mvp-card__icon {
    font-size: 1.65rem;
    line-height: 1;
    color: var(--color-main);
}

.about-mvp-card--vision .about-mvp-card__icon {
    color: var(--color-darker);
}

.about-mvp-card--purpose .about-mvp-card__icon {
    color: var(--color-success);
}

.about-mvp-card__title {
    font-family: var(--font-1), serif;
    font-size: clamp(1.3rem, 1.12rem + 0.5vw, 1.72rem);
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.28;
    margin: 0 0 0.85rem;
    letter-spacing: 0.02em;
}

.about-mvp-card__text {
    font-family: var(--font-2), sans-serif;
    font-size: clamp(0.9375rem, 0.9rem + 0.12vw, 1rem);
    line-height: 1.65;
    color: var(--text-color-1);
    text-wrap: pretty;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
    .about-mvp-card {
        transition: none;
    }

    .about-mvp-card:hover {
        transform: none;
    }
}

.accordion,
.accordion-button,
.accordion-item,
.accordion-header,
.accordion-body {
    border: none !important;
    box-shadow: none !important;
}

.accordion-button {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.6px;
    color: var(--text-color-1); 
    background-color: var(--color-accent); 
}

.accordion-subtle {
    background-color: var(--color-subtle) !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("../images/up.svg");
    background-size: auto;
    background-position: center;
}

.accordion-button.collapsed::after {
    background-image: url("../images/left.svg");
    transform: rotate(270deg);
    background-size: auto;
    background-position: center;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: var(--color-main) !important;
}

.accordion-button:hover {
    background-color: var(--color-lighter);
}

.accordion-button:active {
    background-color: transparent !important;
}

.accordion-body{
    background-color: var(--color-subtle) !important;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-item {
    border: none;
    border-radius: 0px !important;
}

.accordion-header, .accordion-body, .accordion-button {
    border-radius: 0px !important;
}

.img-faqs {
    max-height: 670px;
    display: block;
}

.icon-contact {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--color-main);
    border-radius: 50%;
    color: var(--color-main);
    background-color: transparent;
    font-size: 13px;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    cursor: pointer;
}

.icon-contact:hover{
    color: var(--color-subtle);
    background-color: var(--color-main);
    border: 1px solid var(--color-main);
}

.card-contact {
    background-color: var(--color-accent);
    padding: 46px;
}

.maps {
    width: 100%;
    height: 512px;
    transition: none;
    display: block;
}

img.maps {
    object-fit: cover;
}

.card-pricing {
    background-color: var(--color-subtle);
    padding: 32px;
}

.border-pricing {
    color: var(--text-color-1);
}

.border-pricing-1 {
    color: var(--text-color-2);
}

.card-pricing-last {
    background-color: var(--color-main);
    padding: 32px;
    min-height: 760px;
}

.margin-pricing {
    margin-top: 44px;
}

.btn-pricing {
    background-color: white;
    padding: 15px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-2);
    border: none;
    color: var(--text-color-1);
    border-radius: 40px;
}

.btn-pricing:hover{
    background-color: var(--color-darker);
    color: white;
}

.card-team {
    background-color: var(--color-accent);
    padding: 24px;
}

.text-center {
    text-align: center;
}

.img-team-wrapper {
    position: relative;
    overflow: hidden;
}

.img-team {
    display: block;
    transition: none;
}

.img-team-wrapper .img-team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(73, 65, 119, 0.78);
    opacity: 0;
    transition: none;
    z-index: 10;
}

.img-team-wrapper .social-team {
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    opacity: 0;
    transition: none;
    z-index: 11;
}

.img-team-wrapper:hover .img-team-overlay {
    opacity: 1;
}

.img-team-wrapper:hover .social-team {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.icon-social-team {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    color: var(--color-main);
    background-color: var(--color-subtle);
    font-size: 20px;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    cursor: pointer;
}

.icon-social-team:hover{
    color: var(--color-subtle);
    background-color: var(--color-main);
}

.sub-price {
    font-size: 16px;
    color: var(--text-color-1);
    font-family: var(--font-2);
    font-weight: 500;
}

.card-service-detail-1 {
    background-color: var(--color-accent);
    padding: 24px;
}

.card-service-detail-2 {
    background-color: var(--color-darker);
    padding: 24px;
}

.other-services {
    margin-top: 16px;
    border-bottom: 1px solid var(--color-border);
}

.h-404 {
    height: 80vh;
}

.title-404 {
    font-size: 200px;
    color: var(--color-main);
    font-family: var(--font-2);
    font-weight: 700;
    text-align: center;
    margin-top: -36px;
    margin-bottom: -64px;
}

.w-text-404 {
    width: 35%;
}

/* Site footer — premium treatment (scoped to .site-footer wrapper) */
.site-footer {
    position: relative;
    color: #fff;
    background-color: #252038;
    background-image:
        radial-gradient(ellipse 100% 70% at 50% -35%, rgba(171, 47, 99, 0.28) 0%, transparent 52%),
        radial-gradient(ellipse 55% 45% at 100% 0%, rgba(74, 65, 119, 0.45) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(63, 143, 175, 0.14) 0%, transparent 48%),
        linear-gradient(168deg, #322b52 0%, #2a2442 42%, #1c162c 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.35;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.85) 55%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.85) 55%, #000 100%);
}

.site-footer > .page-size {
    position: relative;
    z-index: 1;
    padding-top: clamp(2.75rem, 6vw, 3.75rem);
    padding-bottom: clamp(2.75rem, 6vw, 3.75rem);
}

.site-footer .row {
    --bs-gutter-x: 1.75rem;
}

.site-footer h4.c-white {
    font-family: var(--font-2), sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5) !important;
    line-height: 1.35;
    margin-bottom: 0.85rem;
}

.site-footer .col-lg-3 > div h4:first-of-type {
    color: rgba(255, 255, 255, 0.62) !important;
    margin-bottom: 0.35rem;
}

.site-footer .col-lg-3 > div h4 ~ h4 {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-top: 1.25rem !important;
    margin-bottom: 0.4rem !important;
    padding-top: 0 !important;
}

.site-footer .footer-logo {
    width: min(210px, 78vw);
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: left center;
    display: block;
    margin-bottom: 0.15rem;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.25));
}

.site-footer .footer-text {
    width: 100%;
    max-width: 22rem;
    font-family: var(--font-2), sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.74) !important;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 0.15em;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-footer a:hover {
    color: #fff;
    text-decoration-color: var(--color-main);
}

.footer-logo {
    width: min(210px, 78vw);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.footer-text {
    width: 30%;
    text-align: center;
}

.popup-message {
    display: none;
    background-color: var(--color-border);
    color: var(--heading-color);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.popup-message-2 {
    display: none;
    background-color: var(--color-border);
    color: var(--heading-color);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.input-newsletter {
    border: none;
    max-width: 400px;
    width: 100%;
    background-color: var(--color-subtle);
    color: var(--heading-color);
    border-radius: 40px;
    padding: 12px 20px;
    font-size: 16px;
    font-family: var(--font-2);
    font-weight: 500;
}

.input-newsletter:focus {
    box-shadow: none;
    outline: none;
}

.btn-newsletter {
    max-width: 400px;
    width: 100%;
    background-color: var(--color-main);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 12px 20px;
    font-size: 14px;
    font-family: var(--font-2);
    font-weight: 600
}

.footer-link {
    color: rgba(232, 228, 245, 0.88);
    font-family: var(--font-2), sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.footer-link:hover {
    color: #fff;
}

.site-footer .footer-link {
    color: rgba(240, 236, 252, 0.9);
}

.site-footer .footer-link:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(171, 47, 99, 0.85);
    text-underline-offset: 0.2em;
}

.footer-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: 0.35rem;
}

.footer-links li {
    margin: 0.35rem 0;
}

.site-footer .footer-links li {
    margin: 0.42rem 0;
}

.site-footer .footer-links li:first-child {
    margin-top: 0;
}

.site-footer p.c-text-2 {
    color: rgba(255, 255, 255, 0.78) !important;
    font-family: var(--font-2), sans-serif;
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.btn-newsletter:hover {
    background-color: white;
    color: var(--heading-color);
}

/* ===================================
   8. Media Queries
   Responsive styles for different screen sizes
====================================== */
@media screen and (max-width: 992px) {
    h1 { font-size: 60px; line-height: 1.1em; }
    h2 { font-size: 40px; line-height: 1.2em; }
    h3 { font-size: 28px; line-height: 1.2em; }
    h4 { font-size: 24px; line-height: 1.2em; }
    h5 { font-size: 22px; line-height: 1,1em; }
    h6 { font-size: 16px; line-height: 1,2em; }

    .navbar-size {
        width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }

    .site-topbar__inner {
        padding-left: 32px;
        padding-right: 32px;
    }

    .site-topbar__link--location .site-topbar__location-text {
        max-width: min(100%, 280px);
    }

    .home-hero {
        min-height: clamp(460px, 88vh, 780px);
    }

    .home-hero__layout {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: stretch;
        min-height: clamp(460px, 88vh, 780px);
        padding-top: min(40vh, 300px);
    }

    .home-hero__copy {
        flex: none;
        width: 100%;
        max-width: none;
        min-width: 0;
        padding: 0 1.25rem 1.75rem;
    }

    .home-hero__copy-inner {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .page-size {
        width: 100%;
        padding: 50px 32px;
    }

    .get-started-size {
        width: 100%;
        padding-bottom: 50px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .site-cta-section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .w-hero { width: 100%; }

    .site-footer .footer-text {
        max-width: 28rem;
        margin-left: auto;
        margin-right: auto;
    }

    .bg-value {
        position: relative;
        width: 100%;
        top: 0;
    }

    .card-value {
        width: 100%;
    }

    .large-padding-bottom {
        padding-bottom: 0;
    }

    .large-padding-top-1 {
        padding-top: 0;
    }

    .img-partner-4 {
        display: none;
    }

    .img-partner-9 {
        display: none;
    }

    .bg-get-started {
        padding: 32px;
    }

    .input-newsletter {
        max-width: none;
        width: 100%;
    }

    .btn-newsletter {
        max-width: none;
        width: 100%;
    }

    .logo-width {
        width: 27%;
    }

    .img-partner-1,
    .img-partner-2,
    .img-partner-3,
    .img-partner-4,
    .img-partner-5,
    .img-partner-6,
    .img-partner-7,
    .img-partner-8,
    .img-partner-9,
    .img-partner-10 {
        width: 120px;
    }
}

/* Top bar: single centered column on small screens (avoids split L/R wrap) */
@media screen and (max-width: 767.98px) {
    .site-topbar__inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.65rem;
        padding: 0.65rem 1rem;
    }

    .site-topbar__phones,
    .site-topbar__meta {
        justify-content: flex-start;
        width: 100%;
        flex-wrap: wrap;
    }

    .site-topbar__phones {
        flex: 0 1 auto;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    .site-topbar__meta {
        flex: 0 1 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    .site-topbar__social {
        padding-top: 0.1rem;
    }

    .site-topbar__link {
        white-space: normal;
        justify-content: flex-start;
        text-align: left;
        max-width: 100%;
    }

    .site-topbar__link--location .site-topbar__location-text {
        max-width: min(100%, 22rem);
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }

    .site-topbar__link i {
        flex-shrink: 0;
    }
}

@media screen and (max-width: 450px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    h4 { font-size: 22px; }
    h5 { font-size: 18px; }
    h6 { font-size: 16px; font-weight: 500; }

    .navbar-size {
        width: 100%;
        padding: 0 20px;
    }

    .site-topbar__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-topbar {
        font-size: 0.78rem;
    }

    .home-hero__copy {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-size {
        width: 100%;
        padding: 50px 20px;
    }

    .get-started-size {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .site-cta-section {
        padding: 2.25rem 1.1rem;
    }

    .desktop-toggler { display: none; }

    .large-padding-top {
        padding-top: 50px;
    }

    .img-partner-3 {
        display: none;
    }

    .img-partner-8 {
        display: none;
    }

    .site-footer .footer-text {
        width: 100%;
        max-width: none;
    }

    .bg-get-started {
        padding: 20px;
    }

    .logo-width {
        width: 40%;
    }
}