/* ===================================
   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(../font/judson.woff2) format('woff2'), url(../font/judson.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'rubik';
    src: url(../font/rubik.woff2) format('woff2'), url(../font/rubik.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===================================
   2. Root Variables
   Define global variables for colors,
   fonts, and reusable values.
====================================== */
:root {
    /* Colors */
    --text-color-1: #575D5E;
    --text-color-2: #D4D4D4;
    --heading-color: #0C1516;
    --main-color: #8224e3;
    --color-main: var(--main-color);
    --color-darker: #2a0b4b;
    --color-lighter: #c7a3f2;
    --color-subtle: #f7f3fd;
    --color-border: #c4bccf;
    --color-accent: #efe8f8;
    --color-error: #E22D2D;
    --color-warning: #E2D52D;
    --color-info: #2663cf;
    --color-success: #20bd3c;

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

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

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

/* ===================================
   5. Component Styles
   Styles for specific components
====================================== */
/* 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%28130, 36, 227, 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%280, 0, 0, 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: rgba(0, 0, 0, 0.6);
    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;
}

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

.logo-width {
    width: 15%;
}

/* Hero Section */
.slideshow {
    position: relative;
    max-height: 900px;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: slideshow 20s infinite;
    overflow: hidden;
}

.slideshow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

/* Cards */
.card-hero {
    width: 650px;
    border: none;
    background-color: var(--color-main);
    padding: 24px;
}
.card-hero-wrapper {
    position: absolute;
    left: 2%;
    top: -14%;
    z-index: 100;
}
.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;
}

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

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

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

/* ===================================
   6. Animation Styles
====================================== */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(120px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-120px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-120px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(120px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up,
.fade-in-down,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transform: translate(0, 0);
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
}

.fade-in-up { animation-name: fadeInUp; }
.fade-in-down { animation-name: fadeInDown; }
.fade-in-left { animation-name: fadeInLeft; }
.fade-in-right { animation-name: fadeInRight; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

.large-margin-stars {
    margin-top: 10%;
}

.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(rgba(26, 8, 46, 0.6), rgba(26, 8, 46, 0.6)), url('../img/value-1.jpg');
    background-size: cover;
    background-position: center;
    padding: 32px;
    position: absolute;
    top: -350px;
}

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

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

.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(rgba(26, 8, 46, 0.6), rgba(26, 8, 46, 0.6)), url('../img/services-1.jpg');;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

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

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

.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: scale(1.1) rotate(3deg); 
}

.img-blog-post {
    max-height: 360px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    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(rgba(26, 8, 46, 0.6), rgba(26, 8, 46, 0.6)), url('../img/get-started-1.jpg');
    padding: 64px;
}

.bg-banner, .bg-banner-1, .bg-banner-2, .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(rgba(26, 8, 46, 0.6), rgba(26, 8, 46, 0.6)), url('../img/banner-1.jpg');
}

.bg-banner-1 {
    background-image: linear-gradient(rgba(26, 8, 46, 0.6), rgba(26, 8, 46, 0.6)), url('../img/get-started-1.jpg');
}

.bg-banner-2 {
    background-image: linear-gradient(rgba(26, 8, 46, 0.6), rgba(26, 8, 46, 0.6)), url('../img/services-1.jpg');
}

.bg-banner-3 {
    background-image: linear-gradient(rgba(26, 8, 46, 0.6), rgba(26, 8, 46, 0.6)), url('../img/blog-post-2.jpg');
}

.bg-banner-4 {
    background-image: linear-gradient(rgba(26, 8, 46, 0.6), rgba(26, 8, 46, 0.6)), url('../img/bg-hero-1.jpg');
}

.bg-banner-5 {
    background-image: linear-gradient(rgba(26, 8, 46, 0.6), rgba(26, 8, 46, 0.6)), url('../img/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 {
    height: 860px;
}

.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("../icon/up.svg");
    background-size: auto;
    background-position: center;
}

.accordion-button.collapsed::after {
    background-image: url("../icon/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: #e9ecef; 
}

.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: filter 0.5s;
    display: block;
}

.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(--text-color-1);
    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: transform 0.3s ease
}

.img-team-wrapper .img-team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.img-team-wrapper .social-team {
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    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%;
}

.footer-logo {
    width: 192px;
    height: 56px;
}

.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: #FAFAFA;
    color: black;
    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: var(--text-color-2);
}

.footer-link:hover {
    color: white;
}

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

.footer-links li {
    margin: 10px 0; 
}

.btn-newsletter:hover {
    background-color: white;
    color: black;
}

@keyframes slideshow {
    0% {
        background-image: url('../img/bg-hero-1.jpg');
    }
    33% {
        background-image: url('../img/bg-hero-2.jpg');
    }
    66% {
        background-image: url('../img/bg-hero-3.jpg');
    }
    100% {
        background-image: url('../img/bg-hero-1.jpg');
    }
}

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

    .slideshow { max-height: 580px; }

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

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

    .w-hero { width: 100%; }

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

    .card-hero-wrapper {
        position: relative;
        left: 0;
    }

    .card-hero {
        width: 100%;
    }

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

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

    .slideshow { max-height: 90vh; }

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

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

    .desktop-toggler { display: none; }
    .footer-text { width: 100%; text-align: left; }
    .card-hero-wrapper {
        position: relative;
    }

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

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

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

    .footer-text {
        width: 100%;
        text-align: left;
    }

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

    .logo-width {
        width: 40%;
    }
}
/* ===================================
   ECS additions
   Everything below is new for Expand Care Solutions (PLAN.md §0 rule 4).
   It reuses the template's tokens, fonts, buttons and radii.
====================================== */

/* The template's fade-in-left/right animations wait off-screen at translateX(±120px)
   until scrolled into view; clip that so the page never scrolls sideways
   (on <main>: overflow set on <body> is handed to the viewport instead) */
main {
    overflow-x: clip;
}

/* Layout: the template's 1300px containers overflow between 993px and 1300px */
@media screen and (min-width: 993px) and (max-width: 1364px) {
    .navbar-size,
    .page-size,
    .get-started-size {
        width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* Accessibility: visible keyboard focus (the template removes outlines). Two-tone ring:
   a white inner ring (≥ 6.3:1 on purple and the dark sections) inside a dark purple ring
   (≥ 13:1 on white and the light backgrounds), so it shows on every background. The
   transparent outline is what Windows high-contrast mode draws instead. */
a:focus-visible,
button:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible,
.accordion-button:focus-visible {
    outline: 3px solid transparent !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--color-darker) !important;
}

/* Top contact bar */
.ecs-topbar {
    padding: 8px 0;
    font-size: 13px;
}

.ecs-topbar-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ecs-topbar-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color-2);
    font-size: 13px;
}

.ecs-topbar-list a:hover { color: white; }
.ecs-topbar-list i { color: var(--color-lighter); }

.ecs-topbar-label {
    color: var(--color-lighter);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ecs-topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-main);
    color: white;
    border-radius: 40px;
    padding: 3px 12px;
    font-family: var(--font-2);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* Navbar */
.ecs-navbar {
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(42, 11, 75, 0.08);
}

/* Line the navbar up with the top bar (container-lg caps at 1140px between 1200px and 1400px) */
.ecs-navbar .container-lg { max-width: none; }

.ecs-logo img {
    width: auto;
    height: 52px;
}

.ecs-nav-cta {
    padding: 12px 22px;
    font-weight: 600;
    white-space: nowrap;
    align-items: center;
}

@media screen and (min-width: 992px) {
    .ecs-nav { gap: 18px; }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .ecs-nav { gap: 6px; }
    .ecs-nav .nav-link { font-size: 14px; }
}

/* Services mega menu */
.ecs-mega .pad {
    width: 100%;
    height: 14px;
}

.ecs-mega-inner {
    display: flex;
    gap: 8px;
}

.ecs-mega-col {
    flex: 1;
    min-width: 230px;
    padding-top: 8px;
}

.ecs-mega-heading {
    display: block;
    padding: 6px 24px 8px;
    color: var(--color-main);
    font-family: var(--font-2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ecs-mega .dropdown-item {
    padding: 10px 24px;
    font-size: 15px;
}

.ecs-mega .ecs-mega-all {
    margin-top: 8px;
    border-top: 1px solid var(--color-accent);
    color: var(--color-main);
    font-weight: 600 !important;
}

/* Offcanvas panels */
.ecs-offcanvas-logo {
    width: 190px;
    height: auto;
}

.ecs-offcanvas-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.ecs-offcanvas-cta .btn-main { text-align: center; }

.ecs-offcanvas-phone {
    font-weight: 600;
    color: var(--color-main);
}

@media screen and (max-width: 991px) {
    #offcanvasNavbar .offcanvas-header {
        justify-content: space-between;
        border-bottom: 1px solid var(--color-accent);
    }

    #offcanvasNavbar .nav-link {
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid var(--color-accent);
        width: 100%;
        text-align: left;
    }

    #offcanvasNavbar .dropdown-menu {
        position: static;
        background-color: var(--color-subtle);
        padding-bottom: 8px;
    }

    .ecs-mega-inner { flex-direction: column; gap: 0; }
    .ecs-mega-col { min-width: 0; }
    .ecs-mega .dropdown-item { white-space: normal; }
}

/* Inner-page banner */
.ecs-banner {
    height: auto;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.ecs-banner h1 {
    overflow-wrap: anywhere;
}

.ecs-banner-text {
    max-width: 640px;
    font-size: 18px;
}

.ecs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--text-color-2);
    font-family: var(--font-2);
}

.ecs-breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.ecs-breadcrumb a { color: var(--text-color-2); }
.ecs-breadcrumb a:hover { color: white; }

/* Trust badges (replace the template's face stack and star rating) */
.ecs-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ecs-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    color: white;
    font-family: var(--font-2);
    font-size: 14px;
    font-weight: 500;
}

.ecs-trust-badges i { color: var(--color-lighter); }

/* Testimonials without a photo */
.ecs-initials {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-main);
    color: white;
    font-family: var(--font-1);
    font-size: 26px;
}

.ecs-testimonial-role {
    color: var(--text-color-1);
    font-family: var(--font-2);
    font-size: 14px;
}

/* Pagination */
.ecs-pagination {
    --bs-pagination-color: var(--color-main);
    --bs-pagination-hover-color: white;
    --bs-pagination-hover-bg: var(--color-main);
    --bs-pagination-hover-border-color: var(--color-main);
    --bs-pagination-focus-box-shadow: none;
    --bs-pagination-active-bg: var(--color-main);
    --bs-pagination-active-border-color: var(--color-main);
    --bs-pagination-border-color: var(--color-border);
    gap: 8px;
    margin-top: 48px;
}

.ecs-pagination .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50% !important;
    font-family: var(--font-2);
}

/* ===================================
   Footer (ECS)
====================================== */
.ecs-footer p { color: var(--text-color-2); }

.ecs-footer-cta {
    padding: 48px 0;
}

.ecs-footer-cta .ecs-footer-cta-text {
    color: rgba(255, 255, 255, 0.88);
}

.ecs-footer-cta .btn-hero-3:hover {
    background-color: var(--color-darker);
    color: white;
}

.ecs-footer-main {
    padding-top: 80px;
    padding-bottom: 56px;
}

.ecs-footer-logo {
    display: inline-block;
    background-color: white;
    border-radius: 16px;
    padding: 12px;
}

.ecs-footer-logo img {
    width: 120px;
    height: auto;
}

.ecs-footer-heading {
    color: white;
    font-size: 22px;
    margin-bottom: 0;
}

.ecs-footer .footer-links { margin-top: 16px; }

.ecs-footer-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-lighter) !important;
    font-weight: 500;
}

.ecs-footer .social-icon-32 {
    border-color: var(--color-lighter);
    color: var(--color-lighter);
}

.ecs-footer .social-icon-32:hover {
    background-color: var(--color-lighter);
    color: var(--color-darker);
}

.ecs-footer-contact {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.ecs-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 12px 0;
    color: var(--text-color-2);
    font-family: var(--font-2);
    overflow-wrap: anywhere;
}

.ecs-footer-contact i {
    width: 18px;
    margin-top: 5px;
    color: var(--color-lighter);
    text-align: center;
}

.ecs-footer-contact small { color: var(--text-color-2); opacity: 0.75; }

/* Bottom padding keeps the legal line clear of the floating buttons */
.ecs-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0 96px;
    font-size: 14px;
}

.ecs-footer-bottom p { font-size: 14px; }

@media screen and (max-width: 991px) {
    .ecs-footer-main { padding-top: 56px; padding-bottom: 40px; }
}

/* ===================================
   Floating WhatsApp (bottom left) + scroll-to-top (bottom right)
====================================== */
.whatsapp-float,
.to-top-float {
    position: fixed;
    bottom: 24px;
    z-index: 1030;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    color: white;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.whatsapp-float {
    left: 24px;
    background-color: #25D366;
    font-size: 28px;
}

.to-top-float {
    right: 24px;
    background-color: var(--main-color);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
}

.to-top-float.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float:hover,
.to-top-float.is-visible:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

@media screen and (max-width: 575px) {
    .whatsapp-float,
    .to-top-float {
        width: 48px;
        height: 48px;
        bottom: 16px;
    }

    .whatsapp-float { left: 16px; font-size: 24px; }
    .to-top-float { right: 16px; font-size: 18px; }
}

/* ===================================
   Home page (ECS)
====================================== */
.ecs-hero-text {
    max-width: 560px;
    font-size: 18px;
}

.ecs-offer-icon {
    font-size: 44px;
    color: var(--color-main);
}

/* Values card: in the flow (the template positions it absolutely over the
   About section and pads the partner logos below it) */
@media screen and (min-width: 993px) {
    .bg-value.ecs-value {
        position: relative;
        top: auto;
        width: 100%;
        margin-top: -350px;
    }
}

.ecs-why-item {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.ecs-why-item i {
    font-size: 26px;
    color: var(--color-lighter);
}

.ecs-why-item p { font-size: 15px; }

.ecs-join-img {
    height: 520px;
}

.ecs-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ecs-check-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-color-1);
    font-family: var(--font-2);
}

.ecs-check-list i {
    margin-top: 4px;
    color: var(--color-main);
}

.ecs-btn-outline {
    padding: 14px 24px;
    border: 1px solid var(--color-main);
    border-radius: 40px;
    color: var(--color-main);
    font-family: var(--font-2);
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

@media screen and (max-width: 992px) {
    .ecs-join-img { height: 380px; }
}

/* Fixed backgrounds are not supported on iOS and paint blank in some mobile browsers */
@media screen and (max-width: 992px) {
    .bg-service { background-attachment: scroll; }
}

@media screen and (min-width: 993px) and (max-width: 1300px) {
    .slideshow h1 { font-size: 72px; }
}

/* ===================================
   About page (ECS)
====================================== */
.ecs-about-wide {
    height: 380px;
}

.ecs-values-img {
    height: 100%;
    min-height: 420px;
    max-height: 760px;
}

.ecs-company-box {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background-color: var(--color-accent);
    border-left: 4px solid var(--color-main);
}

.ecs-company-box i {
    margin-top: 4px;
    color: var(--color-main);
    font-size: 20px;
}

.ecs-company-box a {
    color: var(--color-main);
    text-decoration: underline;
}

.ecs-faq-group {
    margin: 28px 0 14px;
    color: var(--color-main);
    font-family: var(--font-2);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ecs-faq-group:first-child { margin-top: 0; }

.accordion-button {
    font-family: var(--font-2);
}

.ecs-faq-aside .img-faqs {
    max-height: 520px;
}

.ecs-faq-aside .card-contact {
    padding: 32px;
}

.ecs-break { overflow-wrap: anywhere; }

@media screen and (max-width: 575px) {
    .ecs-about-wide { height: 240px; }
    .img-about-3 { height: 420px; }
}

@media screen and (min-width: 992px) {
    .ecs-faq-aside {
        position: sticky;
        top: 24px;
    }
}

/* ===================================
   Services page (ECS)
====================================== */
.ecs-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 18px;
    border: 1px solid var(--color-main);
    border-radius: 40px;
    color: var(--color-main);
    font-size: 14px;
    font-weight: 500;
}

.ecs-chip:hover {
    background-color: var(--color-main);
    color: white;
}

.ecs-section-lead {
    max-width: 680px;
    margin-top: 16px;
}

.ecs-check-sm li {
    font-size: 14px;
    margin-bottom: 8px;
}

.ecs-cta-strip {
    padding-top: 40px;
    padding-bottom: 40px;
}

.ecs-cta-strip-icon {
    flex-shrink: 0;
    font-size: 36px;
    color: var(--color-lighter);
}

#healthcare-staffing,
#cleaning-services {
    scroll-margin-top: 16px;
}

/* ===================================
   Service detail page (ECS)
====================================== */
.img-service-detail {
    aspect-ratio: 3 / 2;
    height: auto;
}

.ecs-lead {
    font-size: 19px;
    color: var(--heading-color);
}

.ecs-rich-text p,
.ecs-rich-text li {
    font-family: var(--font-2);
    color: var(--text-color-1);
}

.ecs-include-list {
    list-style: none;
    padding: 0;
}

.ecs-include-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text-color-2);
    font-family: var(--font-2);
}

.ecs-include-list i {
    margin-top: 6px;
    color: var(--color-lighter);
}

.ecs-side-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--color-main);
    font-weight: 600;
}

@media screen and (min-width: 992px) {
    .ecs-sticky-side {
        position: sticky;
        top: 24px;
    }
}

/* ===================================
   Forms (ECS): staffing request, appointment, contact, job application
====================================== */
.ecs-label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-main);
    font-family: var(--font-1);
    font-size: 19px;
}

.ecs-req { color: var(--color-error); }

.input-form {
    min-height: 52px;
    border: 1px solid transparent;
}

.input-form:focus,
.input-form:focus-visible {
    border-color: var(--color-main);
    box-shadow: 0 0 0 3px rgba(130, 36, 227, 0.18);
}

select.input-form {
    appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238224e3' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px 12px;
}

textarea.input-form { resize: vertical; }

input[type=file].input-form {
    padding: 13px 16px;
    font-size: 15px;
}

input[type=file].input-form::file-selector-button {
    margin-right: 14px;
    padding: 8px 16px;
    border: none;
    border-radius: 40px;
    background-color: var(--color-main);
    color: white;
    font-family: var(--font-2);
    cursor: pointer;
}

.ecs-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ecs-form-note {
    font-size: 14px;
}

.ecs-form-note a { color: var(--color-main); text-decoration: underline; }

.ecs-submit {
    min-height: 52px;
    padding-left: 32px;
    padding-right: 32px;
}

@media screen and (max-width: 575px) {
    .ecs-submit { width: 100%; }
    .card-contact { padding: 28px 20px; }
}

.ecs-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ecs-steps li {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.ecs-steps li > span {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-main);
    color: white;
    font-family: var(--font-2);
    font-weight: 600;
}

.ecs-steps strong {
    font-family: var(--font-2);
    color: var(--heading-color);
}

.ecs-steps p { margin: 2px 0 0; }

.ecs-urgent-box {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background-color: var(--color-darker);
    color: white;
    font-family: var(--font-2);
}

.ecs-urgent-box i {
    margin-top: 4px;
    color: var(--color-lighter);
    font-size: 24px;
}

.ecs-urgent-box p { color: var(--text-color-2); }
.ecs-urgent-box a { color: white; font-weight: 600; white-space: nowrap; }

.ecs-reason {
    display: flex;
    gap: 16px;
    padding: 20px;
    background-color: var(--color-accent);
}

.ecs-reason i {
    flex-shrink: 0;
    width: 28px;
    margin-top: 4px;
    color: var(--color-main);
    font-size: 22px;
    text-align: center;
}

/* Contact page (ECS) */
.ecs-muted { color: var(--text-color-1); font-size: 14px; }

.ecs-quick-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background-color: var(--color-accent);
    color: var(--heading-color);
}

.ecs-quick-link i:first-child {
    width: 24px;
    color: var(--color-main);
    font-size: 20px;
    text-align: center;
}

.ecs-quick-link span { flex: 1; }
.ecs-quick-link i:last-child { color: var(--color-main); transition: transform 0.3s ease; }
.ecs-quick-link:hover i:last-child { transform: translateX(4px); }

@media screen and (max-width: 575px) {
    .maps { height: 360px; }
}

/* Privacy policy (ECS) */
.ecs-toc ol {
    padding-left: 20px;
    color: var(--color-main);
    font-family: var(--font-2);
}

.ecs-toc li { margin-bottom: 8px; }
.ecs-toc a { color: var(--text-color-1); font-size: 15px; }
.ecs-toc a:hover { color: var(--color-main); }

.ecs-policy {
    background-color: white;
}

.ecs-policy h2 {
    margin: 40px 0 16px;
    font-size: 28px;
    scroll-margin-top: 16px;
}

.ecs-policy ul { padding-left: 20px; }

.ecs-policy li,
.ecs-policy p {
    color: var(--text-color-1);
    font-family: var(--font-2);
    line-height: 1.7;
}

.ecs-policy li { margin-bottom: 6px; }
.ecs-policy a { color: var(--color-main); text-decoration: underline; overflow-wrap: anywhere; }

@media screen and (max-width: 575px) {
    .card-single-post.ecs-policy { padding: 24px 20px; }
    .ecs-policy h2 { font-size: 24px; }
}

/* 404 page (ECS) */
.ecs-404 { min-height: 70vh; }

.ecs-404-links { width: 100%; max-width: 760px; }

.ecs-404-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 100%;
    min-height: 110px;
    padding: 16px;
    background-color: var(--color-accent);
    color: var(--heading-color);
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.ecs-404-link i { color: var(--color-main); font-size: 24px; }
.ecs-404-link:hover { background-color: var(--color-main); color: white; }
.ecs-404-link:hover i { color: white; }

@media screen and (max-width: 992px) {
    .w-text-404 { width: 100%; max-width: 560px; }
}

@media screen and (max-width: 575px) {
    .title-404 { font-size: 120px; margin: -10px 0 -30px; }
}

/* SweetAlert dialogs (form replies) in the site's colours */
.swal-modal { border-radius: 16px; }
.swal-title { font-family: var(--font-1); font-weight: 500; color: var(--heading-color); }
.swal-text { font-family: var(--font-2); }

.swal-button {
    min-height: 44px;
    padding: 10px 28px;
    border-radius: 40px;
    background-color: var(--color-main);
    font-family: var(--font-2);
}

.swal-button:not([disabled]):hover { background-color: var(--color-darker); }
.swal-button:focus { box-shadow: 0 0 0 3px rgba(130, 36, 227, 0.3); }

/* ===================================
   Blog (ECS)
====================================== */
.ecs-inline-search {
    display: flex;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
}

.ecs-inline-search .input-form { min-height: 52px; }

.ecs-inline-search .btn-main {
    flex-shrink: 0;
    width: 56px;
    border-radius: 0 40px 40px 0;
}

.ecs-empty {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    padding: 48px 32px;
    background-color: var(--color-accent);
    text-align: center;
}

.ecs-empty > i {
    font-size: 40px;
    color: var(--color-main);
}

.img-single-post {
    aspect-ratio: 3 / 2;
    height: auto;
}

.ecs-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    color: var(--text-color-2);
    font-family: var(--font-2);
}

.ecs-post-meta li { display: inline-flex; align-items: center; gap: 8px; }
.ecs-post-meta i { color: var(--color-lighter); }

.ecs-post-banner h1 {
    max-width: 960px;
    font-size: 64px;
}

.ecs-post-body h2 { font-size: 36px; margin: 40px 0 16px; }
.ecs-post-body h3 { font-size: 28px; margin: 32px 0 14px; }
.ecs-post-body img { height: auto; margin: 16px 0; }
.ecs-post-body a { color: var(--color-main); text-decoration: underline; }
.ecs-post-body ul, .ecs-post-body ol { padding-left: 22px; }
.ecs-post-body li { margin-bottom: 8px; line-height: 1.7; }
.ecs-post-body p { line-height: 1.7; }

.ecs-post-body blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background-color: var(--color-accent);
    border-left: 4px solid var(--color-main);
    font-family: var(--font-1);
    font-size: 22px;
}

.ecs-share-row { border-top: 1px solid var(--color-border); }

.ecs-recent-thumb {
    aspect-ratio: 3 / 2;
    height: auto;
}

@media screen and (max-width: 992px) {
    .ecs-post-banner h1 { font-size: 48px; }
}

@media screen and (max-width: 450px) {
    .ecs-post-banner h1 { font-size: 34px; }
    .ecs-post-body h2 { font-size: 28px; }
}

/* ===================================
   Careers and vacancies (ECS)
====================================== */
.ecs-job-card {
    padding: 28px;
    background-color: white;
    border-top: 4px solid var(--color-main);
}

.ecs-job-card h3 a { color: var(--heading-color); }
.ecs-job-card h3 a:hover { color: var(--color-main); }

.ecs-job-cat {
    color: var(--color-main);
    font-family: var(--font-2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ecs-job-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    font-family: var(--font-2);
    font-size: 14px;
    color: var(--text-color-1);
}

.ecs-job-facts li { display: inline-flex; align-items: center; gap: 8px; }
.ecs-job-facts i { color: var(--color-main); }

.ecs-job-facts-lg {
    flex-direction: column;
    gap: 16px;
    font-size: 15px;
}

.ecs-job-facts-lg li { align-items: flex-start; }
.ecs-job-facts-lg i { width: 18px; margin-top: 4px; text-align: center; }
.ecs-job-facts-lg strong { display: block; color: var(--heading-color); font-weight: 600; }

.ecs-closed-box {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background-color: #fff4e5;
    border-left: 4px solid #d97706;
    font-family: var(--font-2);
}

.ecs-closed-box i { margin-top: 4px; color: #b45309; font-size: 20px; }
.ecs-closed-box a { color: var(--color-main); text-decoration: underline; }
#apply { scroll-margin-top: 16px; }

/* h2/h3 that keep the template's h5 look (blog card titles, offcanvas labels), so the heading
   outline stays in order without Bootstrap's 20px .h5 size */
.ecs-h5 { font-size: 24px; }
@media screen and (max-width: 992px) { .ecs-h5 { font-size: 22px; } }
@media screen and (max-width: 450px) { .ecs-h5 { font-size: 18px; } }

/* Home on desktop (client screenshots img-1 to img-3, 2026-10-21) */
@media screen and (min-width: 993px) {
    /* The 24/7 / vetted card over the bottom of the hero is mobile-only, so the
       section below it no longer needs the extra room */
    .card-hero-wrapper { display: none; }
    .large-padding-top { padding-top: 100px; }

    /* About → values card: the card rises 250px into the About section
       (margin-top -350px + 100px padding), so this leaves an 80px gap */
    .ecs-home-about { padding-bottom: 250px; }
    .ecs-home-about > .page-size { padding-bottom: 80px; }

    /* Join Our Team → the next section on the same background: one gap, not two paddings */
    .ecs-home-join + .bg-subtle > .page-size { padding-top: 0; }
}
