/*=============  HEADER CSS  =============*/
/*=================  VARIABLES CSS  ================*/
:root {
    --header-height: 5rem;
    --defaultradius: 8px;

    /*=======  Colors  ========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --black-color: hsl(220, 24%, 12%);
    --black-color-light: hsl(220, 24%, 15%);
    --black-color-lighten: hsl(220, 24%, 18%);
    --white-color: hsl(0, 0%, 100%);
    --grey-color: #999;
    --cyan-color: #74D8EF;
    --blue-color: #0000FF;
    --pink-color: #FF6393;
    --bs-white-rgb: 255, 255, 255;
    --bs-light-rgb: 248, 249, 250;

    /*=======  Font and typography  ========*/
    /*.5rem = 8 px | 1rem = 16px ...*/
    --body-font: "Montserrat", sans-serif;
    --normal-font-size: 1rem; /* Base font size using viewport width */

    /*=======  Font weight  ========*/
    --font-regular: 400;
    --font-semi-bold: 600;

    /*=======  z index  ========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*=======  Responsive typography  ========*/
@media screen and (min-width: 768px) {
    :root {
        --normal-font-size: 1rem;  /* Adjust font size for tablets and larger */
    }
}

@media screen and (min-width: 1024px) {
    :root {
        --normal-font-size: 1rem; /* Maintain font size for larger screens */
    }
}

/*=================  BASE  ================*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

h3 {
    font-family: 'Noto Sans HK', sans-serif;
    font-weight: 600;
}

.top-spacing {
    padding-top: 35px;
}

.size-a {
    gap: 100px;
    display: flex;
    transform: scale(.8);
    justify-content: space-between;
}

.h3, h3 {
    font-size: calc(1.3rem + .6vw);
}

h3 {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

h3 {
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.btn {
    display: inline-block;
    align-self: center;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem 1.35rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn, .card {
    border-radius: var(--defaultradius);
}

/*=================  REUSABLE CSS CLASSES  ================*/
.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

/*=================  HEADER  ================*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    background-color: var(--white-color);
    z-index: var(--z-fixed);
}

.h-title {
    color: black !important;
    font-weight: bold;
}

.h-title-s {
    color: black !important;
    font-weight: bold;
    padding-left: 20px;
    font-size: 13px;
}

/*=================  NAV  ================*/
.nav {
    height: calc(var(--header-height) + 2rem);
}


.nav__logo,
.nav__burger,
.nav__close {
    color: var(--black-color);
}

.nav__data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    column-gap: 0.25rem;
    font-weight: var(--font-semi-bold);
    margin-right: 20px; /* Add margin to create space between logo and contact */
}

.nav__contact {
    display: flex;
    align-items: center;
    gap: 25px; /* Add gap between phone/whatsapp icons and text */   
}

.nav__phone{
    color: blue; /* Change to the color you prefer */
    font-weight: bold; /* Add bold font weight */
}

.nav__whatsapp {
    color: green; /* Change to the color you prefer */
    font-weight: bold; /* Add bold font weight */
}

.nav__toggle {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav__burger,
.nav__close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav__close {
    opacity: 0;
}


/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
    .nav__menu {
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        background-color: white;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4, opacity .3s;
    }
    .nav__menu::-webkit-scrollbar {
        width: 0;
    }
    .nav__list {
        background-color: var(--white-color);
        padding-top: 1rem;
    }

    .nav__list a{
        padding-left: 3rem;
    }
    
    .nav__data{
        padding: 20px;
    }
}

.nav__link {
    color: grey;
    background-color: white;
    font-weight: var(--font-semi-bold);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
    border-radius: 30px;
}

.nav__link:hover {
    background-color: #eff1ee;
    border-radius: 20px;
}

/* Show menu */
.show-menu {
    opacity: 1;
    top: 4rem;
    pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
    opacity: 0;
    transform: rotate(90deg);
}
.show-icon .nav__close {
    opacity: 1;
    transform: rotate(90deg);
}

/*============= BREAKPOINTS ============ */
/* For small devices */
@media screen and (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }
    
    html:lang(en) .booking-wrapper .booking-title {
        font-size: 18px;
        text-align: left;
        margin: 0 auto 20px;
        max-width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .nav__contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0; /* Remove the gap between phone/whatsapp icons */
    }

    .nav__whatsapp {
        display: flex;
        align-items: center;
        gap: 5px; /* Add gap between phone/whatsapp icons and text */
    }
}


/* For large devices */
@media screen and (min-width: 1118px) {
    .container {
        margin-inline: auto;
    }

    .nav {
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .nav__toggle {
        display: none;
    }
    .nav__list {
        height: 100%;
        display: flex;
        /* column-gap: 3rem; */
    }
}

/*=============  FOOTER CSS  =============*/
.footer {
    background-color: #d2d3d5;
    padding-top: 40px;
    color: #343a40;
}

.footer-container {
    display: flex;
    justify-content: center; /* Align items horizontally at the center */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    margin: 0 30px; /* Add equal spacing on both sides */
}

.footer-contact {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    font-size: 1.2em;
    color: #007bff;
}

.footer-contact a {
    color: #007bff;
}

.footer-contact span {
    display: block;
    margin-top: 0px;
    color: #6c757d;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        min-width: unset;
        margin-bottom: 30px;
    }
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background-color: white;
}

.footer-content .footer-info {
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer-content .footer-info .copyright-text {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.8); /* Change text color to black */
    background-color: white; /* Set background color to white */
    padding: 5px 10px; /* Add padding for better appearance */
    font-weight: bold;
}

/* CSS for the home section */
#home {
    position: relative;
}

.background-overlay {
    position: relative;
    background-image: url('image/repair.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 200px; /* Add padding to the top and bottom */
    padding-bottom: 100px;
    text-align: center;
    color: white;
}

.background-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust overlay opacity */
    backdrop-filter: blur(5px); /* Apply blur effect to the background image */
    z-index: 0; /* Ensure the overlay is behind the content */
}

.container {
    position: relative;
    z-index: 1;
    color: white; /* Set text color to white for better contrast */
}

.service-title {
    font-size: 68px; /* Adjust the font size as needed */
    margin-bottom: 20px; /* Add spacing below the service title */
    color: #d7226d;
}

.service-category {
    font-size: 22px; /* Adjust the font size as needed */
    margin-bottom: 15px; /* Add spacing below each service category */
}

.service-description {
    font-size: 20px; /* Adjust the font size as needed */
    margin-top: 20px; /* Add spacing above the paragraph */
    margin-bottom: 20px; /* Add spacing below the paragraph */
}

.service-info {
    display: inline-block;
    width: 100%; /* Ensure it takes full width for better alignment */
}

.service-divider {
    display: block;
    margin: 20px auto; /* Center align */
    border: none;
    border-top: 2px solid white; /* Add custom top border */
    width: 50%; /* Set the width of the line */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-title {
        font-size: 38px;
    }

    .service-category {
        font-size: 14px;
    }

    .service-description {
        font-size: 16px;
    }

    .service-divider {
        width: 70%;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 30px;
    }

    .service-category {
        font-size: 12px;
    }

    .service-description {
        font-size: 14px;
    }

    .service-divider {
        width: 80%;
    }
}

/* CSS for the services section */
#services {
    padding-top: 20px;
    padding-bottom: 35px;
    background-color: rgb(219 217 217);
}

#services .container {
    max-width: 1120px;
    margin: 0 auto;
}

#services .text-center {
    text-align: center;
    margin-top: 20px;
}

#services h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: black;
}

#services .text-blue-500 {
    color: #3b82f6;
}

#services p {
    padding-top: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

#services .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#services .col-lg-4 {
    flex: 0 0 calc(33.333% - 30px);
    margin-right: 15px;
    margin-left: 15px;
}

@media (max-width: 991.98px) {
    #services .col-lg-4 {
        flex: 0 0 calc(50% - 30px);
        margin-right: 15px;
        margin-left: 15px;
    }
}

@media (max-width: 767.98px) {
    #services .col-lg-4 {
        flex: 0 0 100%;
        margin-right: 15px;
        margin-left: 15px;
    }
}

#services .service-item {
    height: 100%;
    padding: 20px;
    background-color: #fff;
    border: 2px solid rgb(187, 184, 184);
    border-radius: 8px;
    transition: all 0.3s ease;
}

#services .service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#services .service-item i {
    display: block;
    font-size: 48px;
    margin-bottom: 10px;
    color: #3b82f6;
}

#services .service-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: black;
}

#services .service-item hr {
    border: 1px solid #a19f9f;
    margin: 15px 0;
}

#services .service-item p {
    font-size: 16px;
    color: #050505;
    margin-bottom: 20px;
}

#services .service-item a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3b82f6;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#services .service-item a:hover {
    background-color: #2563eb;
}

#services .service-item .icon {
    font-size: 48px; /* Adjust the size as needed */
    color: #456dad; /* Adjust the color as needed */
}

@media (max-width: 991.98px) {
    #services .col-lg-4 {
        flex: 0 0 calc(50% - 30px);
        margin-right: 15px;
        margin-left: 15px;
        margin-bottom: 25px; /* Add margin bottom for spacing */
    }

    #services {
        padding-bottom: 10px;
    }
}

@media (max-width: 767.98px) {
    #services .col-lg-4 {
        flex: 0 0 100%;
        margin-right: 15px;
        margin-left: 15px;
        margin-bottom: 25px; /* Add margin bottom for spacing */
    }

    #services .container {
        padding-left: 35px;
        padding-right: 35px;
    }
}

/* Company CSS */
.carousel-section {
    text-align: center;
    padding: 50px 0;
    overflow: hidden;
}

.carousel-section .container h2{
    color: #050505;
    padding-bottom: 15px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 calc(100% / 5); /* Adjust the width as needed */
    margin-right: 10px; /* Add right margin for gap */
    height: 100px; /* Set a fixed height for the carousel items */
}

.carousel-item img {
    width: auto; /* Set image width to auto */
    height: 100%; /* Set image height to 100% of the container */
    object-fit: cover; /* Ensure entire image is visible within container */
}

/* Media query for smaller resolutions */
@media (max-width: 968px) {
    .carousel-item {
        flex: 0 0 calc(100% / 3); /* Adjust the width for smaller resolutions */
        margin-right: 30px; /* Add right margin for gap */
    }
}

/* Media query for even smaller resolutions */
@media (max-width: 680px) {
    .carousel-item {
        flex: 0 0 calc(100% / 2); /* Adjust the width for even smaller resolutions */
        margin-right: 40px; /* Add right margin for gap */
    }
}

/* Media query for very small resolutions */
@media (max-width: 320px) {
    .carousel-item {
        flex: 0 0 100%(100% / 1); /* Full width for very small resolutions */
        margin-right: 50px; /* No margin for gap */
    }
}

/* Specific styling for completed amount */
.service-amount{
    background-color: #eeeded;
    margin-top: 0 auto;
    padding-top: 50px;
}

.service-amount .amount-heading{
    text-align: center;
    color: var(--black-color-light);
    font-size: 1.6rem;
    font-weight: bold;
}

.service-amount .amount-title p {
    text-align: center;
    font-size: 1.1rem;
    color: #999;
    margin-top: 10px;
}

.service-amount .counting{
    min-height: 20vh;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.service-amount .counting .box{
    margin: 2rem 2rem;
    text-align: center;
}

.service-amount .counting .box .count{
    font-size: 3.5rem;
    color: #b8b7b7;
}

.service-amount .counting .box h3{
    font-size: 1.5rem;
    color: #2b2b2bcf;
}

/* User testimonial */
.user-testimonial-heading{
    text-align: center;
    color: var(--black-color-light);
    font-size: 1.6rem;
    font-weight: bold;
    padding-top: 35px;
    padding-bottom: 30px;
    background-color: #fff;
}

.user-wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    background-color: #fff;
}

.user-wrapper .container{
    position: relative;
    width: 350px;
    color: #444;
    background: rgba(231, 231, 231, 0.356);
    margin: 40px 10px;
    padding: 30px 20px;
    border-radius: 30px;
    transition: 0.3s ease;
    border: 2px solid rgb(66 41 41); /* Add black border */
}

.user-wrapper .container .profile{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10%;
    width: 100%;
    display: block;
}

.user-wrapper .container .profile .imgBox{
    position: relative;
    height: 80px;
    width: 80px;
    margin: auto;
    border: 8px solid rgba(231, 231, 231);
    border-radius: 50%;
    overflow: hidden;
}

.user-wrapper .container .profile .imgBox img{
    background: rgba(231, 231, 231);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    object-fit: cover;
    transition: 0.3s ease;
}

.user-wrapper .container h2{
    font-size: 20px;
    padding: 5px 0px;
    text-transform: capitalize;
    letter-spacing: 1px;
    text-align: center;
}

.user-wrapper .container p{
    margin-top: 50px;
    padding: 0 8px;
    font-size: 15px;
    opacity: 0.8;
}

.user-wrapper .container .left{
    font-size: 20px;
    display: block;
    text-align: left;
}

.user-wrapper .container .right{
    font-size: 20px;
    display: block;
    text-align: right;
}

/* WhatsApp icon styling */
#wa-btn {
    position: fixed; /* Position fixed so it stays in the same place even when scrolling */
    bottom: 20px; /* Distance from the bottom of the viewport */
    right: 20px; /* Distance from the right of the viewport */
    z-index: 1000; /* Make sure it's above other elements */
    background-color: #25d366; /* Background color of the button */
    border-radius: 50%; /* Make it a circle */
    padding: 10px; /* Adjust padding as needed */
    box-shadow: 0px 2px 4px rgba(250, 249, 249, 0.1); /* Add shadow for depth */
    transition: all 0.3s ease; /* Add transition for smooth movement */
}

#wa-btn:hover {
    transform: scale(1.1); /* Scale up slightly on hover */
}

#wa-btn svg {
    width: 40px; /* Make sure the SVG icon fills the button */
    height: 15%; /* Maintain aspect ratio */
}

/*=============  Service container CSS  =============*/
.service-heading{
    text-align: center;
    color: var(--black-color-light);
    font-size: 2rem;
    font-weight: bold;
    margin-top: 20px;
}

.service{
    background: #ffffff;
}

.service .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.service .box-container .box {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 .3rem .5rem rgba(0, 0, 0, .2);
    border: 1px solid rgba(239, 239, 239, 0.759);
    padding: 2rem 1.5rem; /* Adjust padding */
    margin: 1rem;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 25%;
    max-width: calc(25% - 2rem);
    height: 300px; /* Set a fixed height */
}

/* Media query for mobile screens */
@media (max-width: 1119px) {
    .service .box-container {
        width: 70%; /* Set width to 100% for mobile screens */
        padding: 0; /* Remove padding for mobile screens */
        margin: 0 auto; /* Remove margin for mobile screens */
        margin-bottom: 1%;
        margin-top: 2%;
        height: auto;
    }

    .service .box-container .box {
        width: 100%; /* Set width to 100% for mobile screens */
        max-width: none; /* Remove max-width for mobile screens */
        margin: 0; /* Remove margin for mobile screens */
        margin-bottom: 9%;
        height: auto;
    }
}

@media (max-width: 460px) {
    .service .box-container {
        width: 100%; /* Set width to 100% for mobile screens */
        padding: 0; /* Remove padding for mobile screens */
        margin: 0 auto; /* Center the container */
        height: auto;
        display: flex;
        flex-wrap: wrap; /* Enable wrapping of items */
        
    }

    .service .box-container .box {
        width: 48%; /* Set width to 48% for two boxes per row */
        max-width: none; /* Remove max-width */
        margin: 1%; /* Add a small margin to create space between boxes */
        box-sizing: border-box; /* Ensure padding and border are included in the width */
        height: auto;
    }

    .service .box-container .box .box-content img{
        width: 115px !important;
        height: 100px !important;
    }
    
    .service .box-container .box .box-bottom .btn{
        width: 100px !important;
    }

}

.service .box-container .box .box-content h3{
    font-size: 1.2rem;
    color: var(--black-color);
    text-align: center;
    font-weight: bold;
}

.service .box-container .box-content p{
    font-size: 0.85rem;
    color: black;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    
}

.service .box-container .box-content p::after{
    content: ""; 
    display: block; 
    border-bottom: 1px solid rgba(239, 239, 239, 0.759); 
    margin-top: 30px; 
}

.service .box-container .box .box-bottom .btn{
    line-height: 1.25rem;
    color: #fff;
    margin: auto;
    display: flex;
    width: 130px;
    height: 48px;
    align-items: center;
    background-color: var(--pink-color);
    margin-top: 25px;
}

.service .box-container .box .btn:hover{
    transform: scale(1.03);
    border: none;
}

.service .box-container .box .box-bottom p{
    font-size: 0.9rem;
    color: #999;
    text-align: center;
    margin-top: 25px;
}