body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings: "slnt" 0;
    color: #262626;
    font-size: 20px;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
}
form .required::after {
    content: " *";
    color: red;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #1f1f1f 0%, #151515 100%);
    color: #cfcfcf;
}
.site-footer a {
    color: #cfcfcf;
    text-decoration: none;
}
.site-footer a:hover {
    color: #fff;
}
.site-footer-logo {
    width: 200px;
}
.footer-kicker {
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #fff;
}
.footer-desc {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.55;
}
.footer-list a {
    display: inline-block;
    padding: 0.25rem 0;
    color: #fff;
}
.footer-article {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.footer-article img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-article .title {
    font-size: 0.95rem;
    line-height: 1.25;
    color: #fff;
    margin: 0;
}
.footer-article .date {
    margin: 0;
    font-size: 0.85rem;
    color: #ff4fa3;
    font-weight: 600;
}
.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #c14079;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition:
        transform 0.12s ease,
        background 0.12s ease;
}
.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}
.social-btn i {
    font-size: 1.05rem;
    color: #fff;
}
.contact-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
}
.contact-pill i {
    color: #ff4fa3;
    font-size: 1.1rem;
}
.contact-pill a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.site-footer-copyright {
    background-color: #000;
    color: #fff;
    font-size: 0.9rem;
    padding: 1.25rem 0 1.5rem;
    text-align: center;
}

/* Dropdown Submenu */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: 0;
    border-radius: 0.25rem;
    display: none;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.dropdown-menu.show {
    display: block;
}
.dropdown-submenu > .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.01rem;
    content: "";
    border-top: 0.35em solid transparent;
    border-right: 0.35em solid transparent;
    border-bottom: 0.35em solid transparent;
    border-left: 0.35em solid;
}
.popover {
    max-width: 400px;
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto;
    /* border: 2px solid #a0b83f; */
}
.popover-body {
    padding: 0;
}
.popover-agency-header {
    background-color: #4078c1;
    font-size: 1.18rem;
    color: #fff;
}
.popover-maid-header {
    background-color: #5747a7;
    font-size: 1.18rem;
    color: #fff;
}
.popover-content {
    padding: 1rem;
    background-color: #eaeaea;
    font-size: 1.18rem;
}
.sm-hero {
    position: relative;
    z-index: 1;
    background-image: url("../img/sm-hero-bg.webp");
    background-repeat: no-repeat;
    background-size: 55%;
    background-position: right top;
    margin-top: 90px;
}
.sm-header {
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}
.sm-register-logo {
    width: 200px;
}
.sm-header .navbar-brand img {
    width: 200px;
}
.sm-navbar .nav-link {
    font-size: 18px;
    font-weight: 500;
    color: #262626;
    margin: 0 10px;
}
.sm-nav-link-signin img {
    width: 18px;
    margin-right: 3px;
}
.sm-hero-heading {
    padding: 40px 90px;
}
.sm-hero-heading h1 {
    font-size: 50px;
}
.sm-list-stats {
    padding: 0;
    margin: 0;
}
.sm-list-stats li {
    list-style-type: none;
    text-align: center;
    display: inline-block;
}
.sm-card-search {
    border: 0;
    box-shadow: 0px 10px 109px 0px rgba(230, 230, 230, 0.75);
    border-radius: 10px;
}
.sm-card-search .card-header {
    border-color: #e5e5e5;
    display: flex;
    align-items: center;
}
.sm-card-search .card-header nav {
    margin-bottom: -2px;
}
.sm-card-search img {
    width: 24px;
}
.sm-nav-tabs {
    border: 0;
}
.sm-nav-tabs .nav-link {
    border: 0;
    margin: 0;
    font-size: 20px;
    color: #8c8c8c;
    padding-bottom: 15px;
    padding-top: 0;
}
.sm-nav-tabs .nav-link.active {
    font-weight: 500;
    color: #262626;
    position: relative;
    z-index: 1;
}
.sm-nav-tabs .nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    margin: 0 auto;
    width: 50%;
    /* or 100px */
    background-color: #c14079;
    border-radius: 10px;
}
.sm-nav-tabs-separator {
    margin: 0;
    border-width: 2px;
    border-color: #e5e5e5;
    opacity: 1;
}

/* Submit Requirement Btn */
.cta-wrap {
    display: inline-block;
    padding: 3px;
    border-radius: 10px;
    border: 1px solid #4b0f2d;
}
.cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 150px;
    border-radius: 10px;
    padding: 10px;
    background: linear-gradient(90deg, #ea5ea7 0%, #7a234b 100%);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
}
.cta-btn::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 14px;
    background: radial-gradient(
        circle at 18% 50%,
        rgba(255, 255, 255, 0.14),
        rgba(255, 255, 255, 0) 55%
    );
    pointer-events: none;
}
.cta-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.05;
    font-size: 0.8rem;
}
.cta-icon {
    width: 35px;
    height: 40px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
}
.cta-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}
.cta-btn:hover {
    filter: brightness(1.05);
}
.cta-btn:active {
    filter: brightness(0.98);
    transform: translateY(1px);
}

.sm-list-logos li {
    list-style-type: none;
    display: inline-block;
    padding: 0 30px;
}
.sm-db-pills {
    white-space: nowrap;
    padding: 10px 0;
    text-align: center;
}
.sm-db-pill {
    color: #262626;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    font-size: 18px;
    font-weight: 500;
    padding: 5px 15px 5px 20px;
    border-radius: 100px;
    margin: 0 5px;
}
.sm-db-pill .badge {
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    padding: 2px 10px;
    min-width: 40px;
    margin-left: 5px;
}
.sm-about {
    background-image: url("../img/about-bg.png");
    background-repeat: no-repeat;
    background-position: center;
}
.sm-about-blurb-img {
    height: 70px;
}
.sm-ad-box {
    display: block;
    position: relative;
}
.sm-ad-box img {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
}
.sm-ad-box .badge {
    border-radius: 100px;
    font-size: 12px;
    font-weight: 400;
    position: absolute;
    top: 10px;
    left: 10px;
}
.sm-ad-box .badge-black {
    background-color: #262626;
}
.sm-card-profile {
    border-radius: 10px;
    border-color: #ededed;
    box-shadow: 0px 10px 18px 0px rgba(230, 230, 230, 0.19);
    height: 100%;
    overflow: hidden;
}
.sm-card-profile-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.sm-card-profile-img img {
    width: 100%;
    display: block;
}
.sm-card-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #212529;
    color: #ffc107;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}
.sm-card-label-featured {
    top: 8px;
    left: 8px;
    right: auto;
    bottom: auto;
    background: linear-gradient(135deg, #ffe36b 0%, #f5b928 100%);
    color: #342300;
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
    border-radius: 0.2rem;
    box-shadow: 0 2px 5px rgba(71, 47, 0, 0.28);
    letter-spacing: 0.03em;
}
.sm-card-profile .img-thumbnail {
    /* width: 150px; */
    height: 150px;
    /* object-fit: cover; */
}
.sm-card-profile .card-footer {
    background-color: #fff;
    border-color: #ededed;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.sm-card-profile .card-footer a {
    padding: 0 5px;
}
.sm-card-profile .card-footer a img {
    width: 24px;
}
.sm-card-profile:hover {
    border: 2px solid #a0b83f;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.blur-effect {
    filter: blur(8px);
    -webkit-filter: blur(8px); /* For Safari */
}

.sm-register {
    min-height: calc(100vh - 151px);
    background-image: url("../img/about-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
}
.signup-card {
    transition: border-color 0.3s ease;
}
.signup-card.checked {
    border-color: #c04079 !important;
    border-width: 2px;
}
.signup-card:hover {
    border-color: #c04079 !important;
    border-width: 2px;
    cursor: pointer !important;
}
.signup-card input[type="radio"]:checked {
    background-color: #c04079 !important;
    border-color: #c04079 !important;
}
.signup-card input[type="radio"]:checked ~ .card-body {
    background-color: #c04079 !important;
    border-color: #c04079 !important;
}

.form-control {
    padding: 10px 20px;
}
.form-control::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #b1b1b1;
}
.form-control::-moz-placeholder {
    /* Firefox 19+ */
    color: #b1b1b1;
}
.form-control:-ms-input-placeholder {
    /* IE 10+ */
    color: #b1b1b1;
}
.form-control:-moz-placeholder {
    /* Firefox 18- */
    color: #b1b1b1;
}
.form-rounded {
    border: 2px solid #e5e5e5;
    border-radius: 100px;
}

/* Floating bottom sidemenu */
.floating-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border: 2px solid #c71585;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
    justify-content: space-around;
    align-items: center;
    max-width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Stays above other elements */
}
.floating-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: black;
    font-size: 12px;
    margin: 0 10px;
    transition: all 0.3s;
}
.floating-nav a:hover {
    color: #c71585;
}
.floating-nav img {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.text-bg-emerald {
    color: #fff;
    background-color: #40c187;
}

/* Maid Request floating button */
.request-maid-float-btn {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    display: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    overflow: hidden;

    /* Glassmorphism */
    background: rgba(193, 64, 121, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #1b0911;
    transition:
        background 0.3s,
        color 0.3s;
}
.request-maid-float-btn:hover {
    background: #c14079;
    color: #fff;
}
/* Shine animation using ::before */
.request-maid-float-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: shine 3s infinite;
    pointer-events: none;
    border-radius: inherit;
}
@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

/* SideMenu */
.sm-side-menu {
    position: fixed;
    left: 0px;
    top: 20%;
    border: 1px #262626 solid;
    box-shadow: 2.5px 4.33px 7px rgba(129, 129, 129, 0.14);
    width: 80px;
    z-index: 100;
    background: #fff;
    box-shadow: 0px 10px 18px 0px rgba(230, 230, 230, 0.19);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.sm-side-menu ul {
    padding: 0;
    margin: 0;
}
.sm-side-menu ul li {
    cursor: pointer;
    list-style-type: none;
    text-align: center;
}
.sm-side-menu ul li a {
    color: #262626;
    font-size: 14px;
    padding: 15px 5px;
    font-weight: 500;
    text-align: center;
    display: block;
    position: relative;
    line-height: normal;
    text-align: center;
}
.sm-side-menu ul li a:hover {
    color: #c14079;
}
.sm-side-menu ul li a img {
    width: 28px;
    display: block;
    margin: 0 auto 5px auto;
}
.sm-side-menu-quicklinks {
    padding: 0;
}
.sm-side-menu-quicklinks li {
    list-style-type: none;
    margin-bottom: 5px;
}
.sm-side-menu-quicklinks li a {
    color: #262626;
}
.sm-side-menu-quicklinks li a:hover {
    color: #c14079;
}

.profile-card,
.agency-card {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    height: 100%;
}
.profile-card small,
.agency-card small {
    margin-top: 0.1rem;
}
.avatar-wrap-overview {
    /* width: 110px; */
    min-width: 110px;
    text-align: center;
    position: relative;
}
.avatar-wrap {
    width: 180px;
    min-width: 180px;
    text-align: center;
    position: relative;
}
.avatar {
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f6f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 240px; */
    width: 100%;
    position: relative;
}
.avatar img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.featured-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #212529;
    color: #ffc107;
    text-align: center;
    padding: 0.3rem 0;
    font-size: 0.8rem;
    font-weight: 700;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    /* border: 1px solid #f1d5e2; */
    /* padding: 0.5rem 0.75rem; */
    color: #b00055;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1 1 calc(50% - 0.5rem);
}
.chip small {
    display: block;
    color: #6c757d;
    font-weight: 500;
}
/* The Overlay Box on the right */
.locked-content-wrapper {
    position: relative;
}
.login-overlay-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-color: #f9eff4;
    border: 1px solid #f9eff4;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.label-col {
    font-weight: bold;
    text-align: right;
    color: #333;
    width: 40%;
    padding-right: 10px;
}
.value-col {
    text-align: left;
    width: 60%;
    color: #000;
}
/* Enquiry Form */
.enquiry-card {
    background-color: #1f2029;
    border: none;
    box-shadow: 0 15px 35px rgba(194, 59, 115, 0.2);
}
.form-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    color: #fff;
}
.title-bar {
    width: 60px;
    height: 4px;
    background-color: #c14079;
    margin: 10px auto;
    border-radius: 2px;
}
.upload-badge {
    background: #111827;
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 0.5rem;
}
/* Agency Profile */
.agency-table {
    margin-bottom: 0;
}
.table-rounded-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}
.agency-table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
}
.label-text {
    color: #6c757d;
    font-weight: 500;
    width: 35%;
}
.value-text {
    color: #212529;
}
.agency-details {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}
.agency-details .agency-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.agency-details .agency-header img {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    background: #fff;
}

/* Agency Profile */
.agency-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.agency-logo {
    width: 180px;
    height: 180px;
    border-radius: 0.75rem;
    border: 2px solid #e9ecef;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.agency-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .agency-header {
        flex-direction: column;
        text-align: center;
    }
    .agency-logo {
        width: 120px;
        height: 120px;
    }
}

.sm-profile-hero .img-thumbnail {
    width: 220px;
    height: 220px;
    object-fit: cover;
}
.sm-profile-hero-intro .img-thumbnail {
    width: 100%;
    height: 200px;
    background-size: cover;
    object-position: top;
}
.sm-profile-hero-cards_agency .sm-profile-hero-card h4 {
    min-height: 30px;
}
.sm-profile-hero-card h4 {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sm-profile-hero-card {
    margin-right: 10px;
}
.sm-profile-hero-card:last-of-type {
    margin-right: 0;
}
.sm-profile-card-lg {
    border: 2px solid #e5e5e5;
    border-radius: 10px;
}
.sm-profile-card-lg_primary {
    border-color: #c14079;
}
.sm-profile-card-lg p:last-of-type {
    margin-bottom: 0;
}
.sm-profile-card-lg .card-body {
    padding: 25px 35px;
}
.sm-profile-card-lg_overview {
    position: sticky;
    top: 0.5rem;
}
.sm-profile-card-overview-profile {
    display: flex;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
}
.sm-profile-card-overview-profile img {
    max-height: 180px;
}
.sm-profile-card-overview-profile .sm-desc-list {
    width: 100%;
}
.sm-profile-card-overview-profile-list dl {
    text-align: left;
    margin-bottom: 5px;
}
.sm-profile-card-overview-profile-list dl dt,
.sm-profile-card-lg_overview .sm-desc-list dt {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: #515151;
    line-height: normal;
}
.sm-profile-card-overview-profile-list dl dd,
.sm-profile-card-lg_overview .sm-desc-list dd {
    font-size: 15px;
    color: #262626;
    font-weight: 500;
}
.sm-profile-card-lg_overview .sm-desc-list {
    align-items: center;
    margin-bottom: 7px;
}
.sm-profile-card-lg_overview .sm-desc-list dt {
    width: 40%;
}
.sm-profile-card-lg_overview .sm-desc-list dd {
    padding-left: 15px;
}
.sm-table th,
.sm-table td {
    border-bottom: 0;
    padding: 10px 20px;
}
.sm-table th {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #515151;
    background-color: #f6f2f4;
}
.sm-table th:first-of-type {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.sm-table th:last-of-type {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.sm-table td {
    font-size: 18px;
    font-weight: 500;
}
.sm-table-skill th,
.sm-table-skill td {
    padding: 10px 8px;
}
.sm-table-skill td {
    font-size: 14px;
}
.sm-table-skill .sm-preference-stars {
    width: 116px;
}
.sm-table-skill .sm-preference-stars img {
    width: 20px;
}
.sm-table-skill tr:last-child td {
    padding-bottom: 0;
}
.sm-table-skill th.sm-table-skill-area {
    width: 124px;
}
.sm-table-skill .sm-other-info-icon {
    width: 24px;
}
.sm-other-info-icon {
    width: 32px;
}
.sm-desc-list {
    display: flex;
    align-items: flex-start;
}
.sm-desc-list:last-of-type {
    margin-bottom: 0;
}
.sm-desc-list dt {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #515151;
    display: inline-block;
    width: 20%;
}
.sm-desc-list dd {
    font-size: 18px;
    display: inline-block;
    flex: 1;
    margin-bottom: 0;
}
.sm-desc-list_col {
    flex-direction: column;
}
.sm-desc-list_col dt,
.sm-desc-list_col dd {
    display: block;
    width: 100%;
}
.sm-desc-list_profile {
    display: flex;
    flex-direction: row;
    align-items: start;
    margin-top: 3px;
}
.sm-desc-list_profile-title {
    font-size: 14px;
    font-weight: 500;
    color: #515151;
}
.branch-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 4px;
}
.branch-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
}
.sm-desc-list_profile-data {
    margin-left: auto;
    font-weight: 500;
}
.sm-desc-list_profile-data span {
    font-size: 16px;
    display: block;
}
.sm-desc-list_profile-data span > span {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
}

.sm-card-contact-agency img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 0;
}
.sm-card-contact-agency-form .form-control {
    border-width: 1px;
}
.sm-card-contact-agency-form textarea.form-control {
    border-radius: 20px;
}
.card-experience {
    overflow: hidden;
}
.card-experience-count {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sm-meta-icon img {
    width: 18px;
}
.tab-pane-agency-profile p,
.tab-pane-agency-profile ul li {
    font-size: 16px !important;
}
.tab-pane-agency-profile ul {
    padding-left: 20px;
}
.agency-profile-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.agency-img-top {
    height: 200px; /* fixed height */
    width: 100%;
    object-fit: contain; /* show full image, no crop */
    background-color: #f8f9fa; /* background for empty space */
    padding: 10px; /* avoid image touching edges */
}

.sm-article-thumbnail img {
    width: 50px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
}
.sm-card-latest-article {
    display: flex;
    align-items: center;
}
.sm-card-latest-article {
    border-bottom: 1px solid #f2dbe5;
}
.sm-card-latest-article:last-of-type {
    border-bottom: none;
}
.sm-card-article-list {
    box-shadow: 0px 10px 18px 0px rgba(230, 230, 230, 0.19);
    border-color: #ededed;
    margin-bottom: 25px;
}
.sm-card-article-list .card-header {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sm-card-article-list .card-header a {
    display: block;
    width: 100%;
    height: 100%;
}
.sm-card-article-list .card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sm-article-meta {
    margin: 0;
    padding: 0;
}
.sm-article-meta li {
    list-style-type: none;
    display: inline-block;
    margin-right: 30px;
}
.sm-article-meta li:last-child {
    margin-right: 0;
}
.sm-article-featured-img img {
    height: 200px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
}
.sm-article-content {
    font-size: 18px;
}
.sm-article-content p {
    margin-bottom: 30px;
}
.sm-rich-text {
    overflow-wrap: break-word;
    word-break: break-word;
}
.sm-rich-text a {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.sm-rich-text img {
    max-width: 100%;
    height: auto;
}
.sm-rich-text table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
}
.sm-rich-text table th,
.sm-rich-text table td {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}
.sm-article-hashtags a {
    margin-right: 5px;
}

.sm-card-featured,
.sm-card-featured .card-footer {
    background-color: #fffcfd;
}
.sm-card-featured {
    border-color: #c14079;
}
.sm-card-ribbon-wrapper {
    width: 83px;
    height: 83px;
    overflow: hidden;
    position: absolute;
    top: -1px;
    left: 0px;
}
.sm-card-ribbon {
    color: #fff;
    text-align: center;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    position: relative;
    padding: 4px 0 3px 0;
    top: 17px;
    left: -36px;
    width: 140px;
    background-color: #c14079;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}
.sm-card-ribbon-wrapper_xs .sm-card-ribbon {
    font-size: 9px;
    padding: 6px 0 3px 2px;
    top: 11px;
    left: -50px;
}
.sm-profile-lock {
    padding: 20px 15px;
    background-color: #f9eff4;
    text-align: center;
    position: absolute;
    /* top: 50%; */
    width: calc(100% - 70px);
}
.text-blur {
    color: transparent;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.sm-profile-lock-title {
    font-size: 16px;
}
.sm-profile-lock-title img {
    width: 20px;
    margin-right: 3px;
    margin-top: -3px;
    display: inline-block;
}
.sm-card-agency-featured {
    border: 1px solid #c14079;
}

.sm-profile-hero-intro .featured-badge {
    transform: rotate(-45deg);
    transform-origin: 0 0;
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    position: relative;
    padding: 4px 0 3px 0;
    top: 60px;
    left: -18px;
    width: 110px;
    background-color: #c14079;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

.sm-card-agency-logo {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f2f5;
    margin-bottom: 10px;
    padding: 10px 0;
}
.sm-card-agency-logo .img-thumbnail {
    border: 0;
    background-color: transparent;
    width: 80%;
    height: auto;
    max-height: 200px;
}
.sm-table-skill tr {
    border-top: 1px solid #ececec;
}
.sm-table-skill tr.tr-assessment td {
    font-weight: 400;
}
.sm-table-skill tr.tr-assessment td span {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: #515151;
    padding-right: 5px;
}
.sm-table-skill tr:first-child,
.sm-table-skill tr.tr-assessment {
    border-top: none !important;
}

.exit-modal {
    cursor: pointer;
    z-index: 11111;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}
.modal-backdrop.show {
    background-color: #fff;
    opacity: 0.85;
}
.modal-content {
    border-color: #ededed;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}
.modal-header {
    background-color: #c14079;
    color: #fff;
    border: 0;
}
.modal-header .btn-close {
    background-color: #fff;
}

.sm-maid-request-modal-dialog {
    max-width: min(1180px, calc(100vw - 2rem));
}
.sm-maid-request-modal-content .modal-body {
    padding: 1rem 1.25rem 0.75rem;
    overflow: visible;
}
.sm-maid-request-modal-content .modal-footer {
    padding: 0.75rem 1.25rem 1rem;
}
.sm-maid-request-modal-content .form-label {
    font-size: 14px;
    margin-bottom: 0.25rem;
}
.sm-maid-request-modal-content .form-control,
.sm-maid-request-modal-content .select2-container .select2-selection--multiple {
    min-height: 42px;
}
.sm-maid-request-modal-content textarea.form-control {
    min-height: 86px;
}
.sm-maid-request-modal-content .iti {
    width: 100%;
}

.img-maid-req {
    width: 50% !important;
    height: auto;
}

.sm-yt-video,
.sm-gdrive-video {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
    border-radius: 10px;
}
.sm-yt-video iframe,
.sm-gdrive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.sm-td-label {
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    color: #515151 !important;
}

.sm-hero-agencies {
    padding: 60px 0 120px 0;
}
.sm-search-agency-form {
    margin-top: -90px;
}
.sm-featured-agencies {
    border: 2px solid #c14079;
    border-radius: 10px;
}
.sm-card-agency .sm-desc-list {
    align-items: center;
}
.sm-card-agency .sm-desc-list dt,
.sm-card-agency .sm-desc-list dd {
    width: 50%;
    font-weight: 500;
}
.sm-card-agency .sm-desc-list dt {
    text-align: left;
}
.sm-card-agency .sm-desc-list dd {
    text-align: right;
}
.sm-card-agency h3 {
    height: 40px;
    line-height: 1.3;
}
.iti .iti__selected-dial-code,
.iti__search-input,
.iti__flag-box,
.iti__country-name,
.iti__dial-code {
    font-size: 0.875rem;
}

/* Back to top button */
#back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 99;
    font-size: 1.4rem;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    transition: opacity 0.3s;
}
#back-to-top-btn:hover {
    opacity: 0.7;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 15px; /* Adjust as needed */
    right: 20px;
    z-index: 99;
}
.floating-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    width: 55px;
    height: 55px;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    transition: opacity 0.3s;
}
.floating-button:hover {
    opacity: 0.7;
}
.floating-button-label {
    display: none;
}

/* Search Engine */
#maidTypeDropdown + .dropdown-menu,
#nationalityDropdown + .dropdown-menu,
#ageDropdown + .dropdown-menu,
#languageDropdown + .dropdown-menu,
#regionDropdown + .dropdown-menu,
#natagencyDropdown + .dropdown-menu,
#createdatagencyDropdown + .dropdown-menu {
    padding: 0;
    overflow-y: auto;
}
#maidTypeDropdown,
#nationalityDropdown,
#ageDropdown,
#languageDropdown,
#regionDropdown,
#natagencyDropdown,
#createdatagencyDropdown {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sm-search-maid-action-grid {
    display: grid;
    gap: 0.5rem;
}

.iti {
    display: block !important;
}
.iti--inline-dropdown .iti__dropdown-content {
    z-index: 99;
}
.select2 {
    width: 100% !important;
}
.select2-container .select2-search--inline .select2-search__field {
    font-size: 1rem !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    font-size: 1rem;
}
.select2-container--default .select2-results > .select2-results__options {
    font-size: 1rem;
}

.search-sidebar {
    position: sticky;
    top: 100px;
    height: calc(90vh - 60px);
    /* overflow-y: auto; */
}
.search-sidebar-sm {
    position: sticky;
    top: 20px;
    margin-bottom: 20px;
    /* overflow-y: auto; */
}
.search-sidebar-body {
    max-height: calc(90vh - 180px);
    overflow-y: auto;
}
.search-sidebar-footer {
    position: sticky;
    bottom: 0;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #212529; /* Change color to your desired text color */
    border-color: #dee2e6; /* Change border color to your desired color */
}

.link-hover a:hover {
    text-decoration: underline;
}

/* Scroller */
/* Container DIV - automatically generated */
.simply-scroll-container {
    position: relative;
}
/* Clip DIV - automatically generated */
.simply-scroll-clip {
    position: relative;
    overflow: hidden;
}
/* UL/OL/DIV - the element that simplyScroll is inited on
Class name automatically added to element */
.simply-scroll-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.simply-scroll-list li {
    padding: 0;
    margin: 0;
    list-style: none;
}
.simply-scroll-list li img {
    border: none;
    display: block;
}
/* Custom class modifications - adds to / overrides above
.simply-scroll is default base class */
/* Container DIV */
.simply-scroll {
    width: 100%;
    height: 110%;
    margin-bottom: 1em;
}
/* Clip DIV */
.simply-scroll .simply-scroll-clip {
    width: 100%;
    height: 110%;
}
/* Explicitly set height/width of each list item */
.simply-scroll .simply-scroll-list li {
    float: left; /* Horizontal scroll only */
    width: 130px;
    height: 200px;
}
#scroller li img:hover {
    border: 2px solid #a0b83f;
}

.card-elevated {
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
}

.about-me-avatar {
    width: 140px;
    height: 140px;
    border-radius: 999px;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.social a {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--secondary);
    background: #fff;
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.social a:hover,
.social a:focus {
    transform: translateY(-2px);
    border-color: rgba(193, 64, 121, 0.45);
    color: #c14079;
}

.section-title {
    letter-spacing: 0.04em;
}

.top-accent {
    height: 8px;
    background: linear-gradient(90deg, #c14079, rgba(193, 64, 121, 0.35));
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
}

.content p {
    line-height: 1.85;
}

/* Improve focus visibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(193, 64, 121, 0.35);
    outline-offset: 2px;
}

.sm-video-intro-copy {
    font-size: 1.05rem;
    line-height: 1.75;
}

.sm-video-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(28, 42, 61, 0.08);
}

.sm-video-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #1f2937;
    cursor: pointer;
}

a.sm-video-thumb {
    text-decoration: none;
}

.sm-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.sm-video-thumb:hover img,
.sm-video-thumb:focus img {
    transform: scale(1.03);
}

.sm-video-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.16);
}

.sm-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
}

.sm-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ff4fa3;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    animation: sm-video-play-pulse 1.6s ease-in-out infinite;
}

.sm-video-play i {
    margin-left: 4px;
}

@keyframes sm-video-play-pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(255, 79, 163, 0.35);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 0 14px rgba(255, 79, 163, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sm-video-play {
        animation: none;
    }
}

.sm-video-modal {
    border-radius: 8px;
    overflow: hidden;
}

#maidVideoModal {
    z-index: 11200;
}

body.maid-video-modal-open .modal-backdrop {
    z-index: 11190;
}

.sm-video-modal .modal-body {
    position: relative;
}

.sm-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111827;
}

.sm-video-frame iframe {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: auto;
}

.modal-open .floating-buttons,
.modal-open #back-to-top-btn {
    pointer-events: none;
}

/* Helper classes */
.btn-primary {
    background-color: #c14079;
    border-color: #c14079;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    background-color: #ce4482;
    border-color: #ce4482;
    box-shadow: none !important;
}
.btn-primary.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #da8baf;
    border-color: #da8baf;
}
.btn-outline-primary {
    color: #ce4482;
    border-color: #ce4482;
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: #ce4482;
    border-color: #ce4482;
}

.btn-bordered {
    border: 2px solid #e5e5e5;
}
.btn-bordered:hover {
    border: 2px solid #333;
}
.btn-bordered-primary {
    border-color: #c14079;
}
.btn-rounded {
    border-radius: 100px;
}
.btn-sm {
    padding: 5px 30px !important;
}
.btn-sm {
    padding: 5px 20px 5px 20px !important;
}
.btn-md {
    padding: 7px 20px 7px 20px !important;
}
.btn-md {
    padding: 10px 25px 10px 25px !important;
}
.btn-bordered.btn-rounded.btn-sm.dropdown-toggle {
    padding: 5px 70px 5px 20px !important;
}
.btn-bordered.btn-rounded.btn-md.dropdown-toggle {
    padding: 6px 70px 6px 20px !important;
}
.btn-bordered.btn-rounded.btn-lg.dropdown-toggle {
    padding: 10px 80px 10px 30px !important;
}
.btn-bordered.btn-rounded.btn-sm.dropdown-toggle::after,
.btn-bordered.btn-rounded.btn-md.dropdown-toggle::after,
.btn-bordered.btn-rounded.btn-lg.dropdown-toggle::after {
    position: absolute;
    top: 45%;
    right: 20px;
}
.btn-caret img {
    margin-right: -10px;
}
.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none;
}
.btn-facebook {
    background-color: #3b5998;
}
.btn-facebook:hover {
    background-color: #2d4373;
}
.btn-twitter {
    background-color: #000000;
}
.btn-twitter:hover {
    background-color: #333333;
}
.btn-linkedin {
    background-color: #0077b5;
}
.btn-linkedin:hover {
    background-color: #005582;
}
.btn-whatsapp {
    background-color: #25d366;
}
.btn-whatsapp:hover {
    background-color: #128c7e;
}
.btn-telegram {
    background-color: #0088cc;
}
.btn-telegram:hover {
    background-color: #0077b3;
}

.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine:before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: -100px;
    animation: shine 3s infinite linear;
}
@keyframes shine {
    0% {
        left: -100px;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.text-primary {
    color: #c14079 !important;
}
.text-secondary {
    color: #426268 !important;
}
.text-dark {
    color: #262626 !important;
}
.text-gray {
    color: #555454 !important;
}
.text-success {
    color: #34a539 !important;
}
.text-muted {
    color: #bdb4b4 !important;
}
.text-emerald {
    color: #40c187 !important;
}
.bg-primary {
    background-color: #c14079 !important;
}
.bg-ltprimary {
    background-color: #f9eff4;
}
.bg-ltgray {
    background-color: #f7f7f7;
}
.lh-normal {
    line-height: normal !important;
}
.bg-primary-50 {
    background-color: #f9eaf1;
}
.bg-primary-25 {
    background-color: #f6f2f4;
}
.bg-primary-gradient {
    background: #ffffff;
    background: linear-gradient(
        0deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(243, 216, 228, 1) 100%
    );
}
.bg-cream {
    background: #ffe1a3;
    background: linear-gradient(
        180deg,
        rgba(255, 225, 163, 1) 0%,
        rgba(255, 246, 227, 1) 100%
    );
}
.lh-2 {
    line-height: 1.4 !important;
}
.fs-10 {
    font-size: 10px;
}
.fs-12 {
    font-size: 12px;
}
.fs-14 {
    font-size: 0.875rem;
}
.fs-xs {
    font-size: 0.95rem;
}
.fs-default {
    font-size: 1rem !important;
}
.fs-18 {
    font-size: 1.125rem;
}
.fs-20 {
    font-size: 1.25rem;
}
.fs-24 {
    font-size: 1.5rem;
}
.fs-28 {
    font-size: 1.75rem;
}
.fs-30 {
    font-size: 1.875rem;
}
.fs-32 {
    font-size: 2rem;
}
.fs-36 {
    font-size: 2.25rem;
}
.fs-40 {
    font-size: 2.6rem;
}
.fs-50 {
    font-size: 2.825rem;
}
.fs-60 {
    font-size: 3.75rem;
}
.flex-1 {
    flex: 1;
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.py-lg {
    padding: 6rem 0;
}
.flex-1 {
    flex: 1;
}
.flex-100 {
    flex-basis: 100%;
}
.px-md-10 {
    padding-right: 10rem !important;
    padding-left: 10rem !important;
}
.bounce-right {
    animation: bounce-right 1s infinite;
}
@keyframes bounce-right {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

@media only screen and (max-width: 640px) {
    .tinymce-table,
    .tinymce-table tr,
    .tinymce-table td {
        display: block !important;
        width: 100% !important;
    }
    .tinymce-reset-pad {
        padding: 0 !important;
    }
    .tinymce-mb {
        margin-bottom: 16px !important;
    }
    .tinymce-2col td {
        width: 50% !important;
        display: inline-block !important;
        vertical-align: top;
    }
    .tinymce-stack-gap {
        margin-bottom: 14px !important;
    }
}

/* The header's desktop links and request CTA need more than Bootstrap's lg width. */
@media (max-width: 1199.98px) {
    .sm-header .navbar-offcanvas {
        --bs-offcanvas-width: min(360px, 88vw);
        background-color: #fff;
    }
    .sm-header .navbar-offcanvas .offcanvas-header {
        border-bottom: 1px solid #f0e5eb;
    }
    .sm-header .navbar-offcanvas .offcanvas-title {
        color: #262626;
        font-size: 1.125rem;
        font-weight: 700;
    }
    .sm-header .navbar-offcanvas .offcanvas-body {
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        padding: 1rem 1.25rem 1.5rem;
    }
    .sm-header .navbar-offcanvas .navbar-nav {
        margin-bottom: 1rem;
    }
    .sm-header .navbar-offcanvas .nav-link {
        margin: 0;
        padding: 0.65rem 0;
    }
    .sm-header .navbar-offcanvas .dropdown-menu {
        border: 0;
        box-shadow: none;
        min-width: 0;
        padding-left: 0.75rem;
        position: static;
    }
    .sm-header .navbar-offcanvas .btn-bordered.btn-rounded.btn-sm.dropdown-toggle {
        position: relative;
    }
    .sm-header .navbar-offcanvas .cta-wrap {
        border: 0;
        padding: 0;
    }
}

@media (min-width: 1200px) {
    .sm-header .navbar-offcanvas .offcanvas-body {
        align-items: center;
    }
    .sm-header .navbar-offcanvas .offcanvas-body > .navbar-nav {
        order: 1;
    }
    .sm-header .navbar-offcanvas .offcanvas-body > .nav-item {
        order: 2;
    }
    .sm-header .navbar-offcanvas .offcanvas-body > .cta-wrap {
        margin-left: 1rem;
        order: 3;
    }
}

@media (max-width: 991.98px) {
    .profile-card .d-flex.align-items-start {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
    .profile-card .avatar-wrap {
        margin-bottom: 1rem;
    }
    .profile-card .flex-grow-1 {
        width: 100%;
    }
    .profile-card .d-flex.flex-wrap.align-items-center {
        justify-content: center;
    }
    .profile-card .mt-3.d-flex.flex-wrap.gap-2 {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
    .profile-card .mt-3.d-flex.flex-wrap.gap-2 .chip {
        flex: 1 1 calc(50% - 0.5rem);
    }
    .profile-card .mt-4.d-flex.flex-wrap.gap-2 {
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .px-md-10 {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }
    .sm-hero {
        background-size: 70%;
        background-position: 170% 15%;
        background-image: none;
    }
    .sm-hero-heading {
        padding: 5px 20px;
    }
    .sm-header .navbar-brand img {
        width: 120px;
    }
    .sm-hero-heading h1 {
        font-size: 22px;
    }
    .sm-list-logos li {
        width: 45%;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    .sm-list-logos li img {
        width: 100%;
    }
    .sm-card-search img {
        width: 18px;
    }
    .sm-card-search .card-header {
        border: none;
    }
    .sm-search-nav-xs {
        border-bottom: 1px solid #e5e5e5;
    }
    .sm-nav-tabs .nav-link {
        font-size: 16px;
        width: 50%;
    }
    .btn-bordered.btn-rounded.btn-md.dropdown-toggle {
        font-size: 12px;
    }
    .sm-agency-search-input {
        font-size: 12px;
        padding: 6px 20px !important;
    }
    .sm-tab-pane-search > .row {
        display: block;
    }
    .sm-tab-pane-search > .sm-search-maid-row {
        display: flex;
    }
    .sm-search-maid-row > .col {
        width: 50%;
    }
    .sm-search-maid-row > .sm-search-maid-actions {
        width: 100%;
    }
    .sm-search-maid-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .img-maid-req {
        width: 100% !important;
        height: auto;
    }
    .floating-nav {
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        border: none;
        border-radius: 0%;
        border-top: 1px solid #262626;
        padding: 10px 0;
    }
    .floating-nav a {
        font-size: 12px;
    }
    .floating-nav img {
        width: 20px;
        height: 20px;
    }
    .request-maid-float-btn {
        left: 0;
        transform: none;
        font-size: 1rem;
        margin: 0 20px;
    }
    .sm-side-menu {
        bottom: 0px !important;
        width: 100%;
        top: auto;
        border-radius: 0;
        border: 0;
        border-top: 1px solid #262626;
    }
    .sm-side-menu ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .sm-side-menu ul li a {
        font-size: 12px;
        padding: 10px 5px;
    }
    .sm-side-menu ul li a img {
        width: 20px;
    }
    .no-widget {
        padding-bottom: 1rem !important;
    }
    .fs-14 {
        font-size: 0.75rem !important;
    }
    .fs-default {
        font-size: 0.875rem !important;
    }
    .fs-18 {
        font-size: 1rem;
    }
    .fs-20 {
        font-size: 1rem;
    }
    .fs-24 {
        font-size: 1.125rem !important;
    }
    .fs-28 {
        font-size: 1.25rem !important;
    }
    .fs-30 {
        font-size: 1.6rem !important;
    }
    .fs-32 {
        font-size: 1.45rem;
    }
    .fs-40 {
        font-size: 1.75rem !important;
    }
    .fs-50,
    .fs-60 {
        font-size: 1.75rem !important;
    }
    #featured-agency-list .featured-agency-card {
        display: flex;
        box-shadow: none;
        background: transparent;
    }
    #featured-agency-list .featured-agency-link {
        display: block;
    }
    #featured-agency-list .featured-agency-logo {
        height: 140px;
        padding: 10px;
        margin-bottom: 0;
    }
    #featured-agency-list .featured-agency-body {
        padding: 8px 6px;
        text-align: center;
    }
    #featured-agency-list .featured-agency-title {
        line-height: 1.25;
    }
    .fs-agency-profile {
        font-size: 0.9rem;
    }
    .agency-table td {
        padding: 0.5rem 0.5rem;
    }
    .py-lg {
        padding: 3rem 0;
    }
    .sm-register {
        background-position-y: 5%;
        min-height: calc(100vh - 132px);
    }
    #back-to-top-btn {
        bottom: 90px;
    }
    .floating-buttons {
        bottom: auto;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .floating-button {
        width: 36px;
        min-height: 118px;
        height: auto;
        margin-bottom: 0;
        padding: 10px 6px;
        flex-direction: column;
        gap: 14px;
        border-radius: 8px 0 0 8px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    }
    .floating-button i {
        font-size: 1.2rem;
    }
    .floating-button-label {
        display: block;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0;
        text-transform: uppercase;
        white-space: nowrap;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
    }
    #maidTypeDropdown,
    #nationalityDropdown,
    #ageDropdown,
    #languageDropdown,
    #regionDropdown,
    #natagencyDropdown,
    #createdatagencyDropdown {
        width: auto;
    }
    .sm-table th {
        font-size: 12px;
    }
    .sm-table td {
        font-size: 14px;
        vertical-align: middle;
    }
    .sm-preference-stars img {
        width: 12px;
    }
    .sm-profile-card-lg .card-body {
        padding: 15px;
    }
    .sm-table th,
    .sm-table td {
        padding: 8px 10px;
    }
    .sm-other-info-icon {
        width: 24px;
    }
    .sm-desc-list {
        flex-direction: column;
    }
    .sm-desc-list dt {
        width: 100%;
    }
    .sm-desc-list dt {
        font-size: 12px;
    }
    .sm-desc-list dd {
        font-size: 16px;
    }
    .sm-profile-card-lg_overview .sm-desc-list {
        flex-direction: row;
    }
    .sm-profile-hero .img-thumbnail {
        width: 100px;
        height: 100px;
    }
    .sm-shortlist-xs img {
        width: 18px;
    }
    .flex-xs-100 {
        flex-basis: 100%;
    }
    .sm-profile-hero-cards {
        justify-content: space-between;
    }
    .sm-profile-hero-card {
        width: 48%;
        flex-basis: 48%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .sm-profile-hero-card h4 {
        min-height: 24px;
    }
    .sm-card-profile-img img {
        height: 210px;
    }
    .sm-card-label {
        font-size: 1rem;
    }
    .sm-card-label-featured {
        font-size: 0.7rem;
    }
    .sm-card-agency .sm-desc-list {
        flex-direction: row;
    }
    .sm-desc-list {
        flex-direction: column;
        margin-top: 0.5rem;
    }
    .sm-desc-list dt {
        width: 100%;
    }
    .sm-desc-list dt {
        font-size: 12px;
    }
    .sm-article-meta li {
        margin-right: 15px;
    }
    .sm-profile-lock {
        width: calc(100% - 30px);
    }
    .card-skills .sm-preference-stars img {
        width: 20px;
    }
    .button-wrapper {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }
    .card-experience-count {
        font-size: 12px;
        width: 24px;
        height: 24px;
    }
    /* .sm-table-skill {
        width: 700px;
    }
    */
    .sm-table-skill,
    .sm-table-skill thead,
    .sm-table-skill tbody,
    .sm-table-skill tr,
    .sm-table-skill th,
    .sm-table-skill td {
        display: block;
    }
    .sm-table-skill thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .sm-table-skill tr:nth-child(odd) {
        background: #ccc;
    }
    .sm-table-skill td {
        /* Behave like a "row" */
        border: none;
        position: relative;
        padding-left: 45%;
        vertical-align: middle;
        text-align: left !important;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .sm-table-skill td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 7px;
        left: 5px;
        width: 30%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 500;
        text-transform: uppercase;
        color: #515151;
        display: inline-block;
        font-size: 12px;
    }
    .sm-table-skill td:nth-of-type(1):before {
        content: "Area of work";
    }
    .sm-table-skill td:nth-of-type(2):before {
        content: "Willingness";
    }
    .sm-table-skill td:nth-of-type(3):before {
        content: "Preference";
    }
    .sm-table-skill td:nth-of-type(4):before {
        content: "Experience";
    }
    .sm-table-skill td:nth-of-type(5):before {
        content: "Assessment";
    }
    .sm-table-skill tr.tr-assessment td:first-child {
        display: none;
    }
    .sm-table-skill tr.tr-assessment td span {
        display: none;
    }
    .sm-table-skill td:first-child {
        padding-top: 10px;
    }
    .sm-table-skill td:last-child {
        padding-bottom: 10px;
    }
    .sm-table-skill tr:nth-of-type(odd) td {
        background-color: #f6f2f4;
    }
    .w-xs-75 {
        width: 60% !important;
    }
    .sm-card-article-list .card-header {
        height: 100%;
        display: contents;
    }
    .agency-profile-img {
        width: 100%;
        height: 200px; /* fixed height */
        object-fit: contain;
    }

    /* Compact horizontal featured-agency previews on *-maids pages. */
    .featured-maid-agency-card-body .featured-maid-agency-logo {
        display: block;
        flex: 0 0 88px;
        width: 88px;
        margin: 0 0.75rem 0 0 !important;
    }
    .featured-maid-agency-card-body .agency-profile-img {
        width: 100%;
        height: 88px;
        padding: 4px;
        background-color: #fff;
    }
    .featured-maid-agency-details {
        min-width: 0;
        text-align: left;
    }
    .featured-maid-agency-details p:last-child {
        display: -webkit-box;
        margin-bottom: 0 !important;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
    .featured-maid-agency-details p:first-child {
        margin-bottom: 0.25rem !important;
    }
}

@media (max-width: 575.98px) {
    #maidVideoModal .modal-dialog {
        margin: 0.5rem;
    }

    #maidVideoModal .modal-body {
        padding: 0.75rem;
    }

    #maidVideoModal .sm-video-frame {
        aspect-ratio: 9 / 14;
        max-height: calc(100dvh - 110px);
    }

    #maidVideoModal.is-google-drive-video .sm-video-frame {
        overflow: hidden;
    }

    #maidVideoModal.is-google-drive-video .sm-video-frame iframe {
        height: calc(100% + 200px);
        transform: translateY(-60px);
    }
}

/* Maid request contact preferences */
.sm-contact-method-values {
    gap: 0.5rem;
}

.sm-contact-method-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.sm-contact-method-chip--call {
    background-color: #c14079;
}

.sm-contact-method-chip--message {
    background-color: #198754;
}
