* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.headings {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin-bottom: 20px;
}

.headings h2 {
    font-size: 40px;
    font-weight: 600;
    color: #000;
    text-align: center;
    letter-spacing: 2px;
}


/* Header & Navbar */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 20px;
}

a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

.menu {
    display: none;
    cursor: pointer;
}

.menu-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(206, 206, 206, 0.5);
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1000;
}

.menu-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-drawer ul li {
    padding: 15px;
}

.menu-drawer ul li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.menu-drawer.open {
    left: 0;
}

.close {
    position: absolute;
    top: 16px;
    right: 12px;
    font-size: 35px;
}

.terms {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.terms a {
    color: #035B8D;

}

/* Hero Section */
.hero {
    overflow: hidden;
    background-color: #f6f6f6;
}

.hero-slider-main {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 85vh;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}


.image-wrapper {
    position: relative;
    width: 100%;
    height: 80%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.content {
    position: absolute;
    top: 14rem;
    left: 29%;
    transform: translate(50%);
    color: #fff;
    justify-content: center;
    text-align: center;
    align-items: center;
    width: 20%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /* Webkit prefix */
    -webkit-transition: background 0.3s ease;
    /* Webkit prefix for transition */
    transition: background 0.3s ease;
}

.content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.content p {
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
}

.content h1 span {
    border-bottom: 4px solid #045b8e;
}

.content-btn {
    background: #045b8e;
    color: #fff;
    padding: 11px 17px;
    text-decoration: none;
    border-radius: 20px;
    text-align: center;
    font-size: 16px;
    -webkit-transition: background 0.3s ease;
    /* Webkit prefix for transition */
    transition: background 0.3s ease;
}

.content-btn:hover {
    background: #f5b102;
}

/* Webkit-specific hover and active states */
.content-btn:active,
.content-btn:hover {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.dots {
    position: relative;
    bottom: 4rem;
    left: 48%;
    display: flex;
    gap: 10px;

}

.dot {
    width: 7px;
    height: 7px;
    background: #ccc;
    border-radius: 20%;
    cursor: pointer;
}

.dot.active {
    background: #045b8e;
}


/* Departments */
.dragable-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 2.5rem;
    position: relative;
}

.slide {
    white-space: nowrap;
}

.wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px;
    scrollbar-width: none;
    max-width: 84vw;
    min-width: 30vw;
}

.wrapper::-webkit-scrollbar {
    display: none;

}

.slide-box {
    scroll-snap-align: start;
    flex: 0 0 calc(27% - 17px);
    min-width: 16.1rem;
}

.card {
    position: relative;
    padding: 10px 10px;
    display: flex;
    width: 95%;
    height: 25vh;
    background: white;
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-5px);
}

.font img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 6px;
    margin-right: 8rem;
}



.back {
    position: absolute;
    top: -1px;
    left: 0;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
}


.back {
    background-color: #045b8e;
    color: white;
    transform: rotateY(180deg);
}

.card:hover .front {
    transform: rotateY(180deg);
}

.card:hover .back {
    transform: rotateY(0);
    z-index: 3;
}

.font-content h3 {
    /* margin: 10px 0; */
    text-align: start;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    font-size: 17px;

}

.font-content hr {
    border: none;
    height: 2px;
    color: #ffdddd;
    width: 50%;
    margin: 5px auto;
}

.font-content p {
    font-size: 0.7rem;
    color: #333;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.back-button {
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 40px;
    margin: 10px auto;
    color: #cfcfcf;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}

.back-button:hover {
    color: #f3f0f0;
}

.back-content h3 {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
    text-align: center;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    font-size: 17px;
}

.back-content a {
    display: inline-block;
    vertical-align: middle;
    margin-top: 10px;
}

.back-content hr {
    height: 2px;
    color: #ffdddd;
    width: 80%;
    margin: 5px auto;
}

.back-content a i {
    font-size: 30px;
    color: white;
}


/* Join us today */

.join-us {
    width: 100%;
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #F2FDFF;
    padding: 20px 40px;
}

.join-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.join-content .contents {
    display: flex;
    width: 50%;
    flex-direction: column;
    gap: 4rem;
}

.cont {
    font-size: 20px;
    line-height: 1.5;
}

.app-mob {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-mob img {
    width: 60%;
}

.app-mob img:hover {
    transform: scale(1.1);
    transition: 0.3s;
    cursor: pointer;
}

.app-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.store {
    width: 10rem;
    display: flex;
    align-items: center;
    flex-direction: row;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    box-shadow: 0 0 10px rgba(95, 95, 95, 0.1);
    gap: 15px;
}

.info .store-label {
    font-size: 15px;
}

.store-name {
    font-size: 15px;
    font-weight: 600;
}


/* Why it's working */

.working {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    min-height: 45vh;
    background-color: #dbdbdb;
    padding: 20px 40px;
    gap: 2rem;
}

.working .contents {
    width: 75%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.working .contents .ycard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.working .contents .ycard .texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
}

/* Total Information */

.total-info {
    display: flex;
    justify-content: space-between;
    background-color: #F5F7FA;
    padding: 20px 40px;
}

.total-info-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 20px 40px;
    gap: 8px;
}

.total-info-left h2 {
    font-size: 30px;
}

.total-info-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    gap: 20px;
}

.theme-text {
    color: #035B8D;
}

.total-info-right1 {
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 20px;
}

.total-info-right1-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.total-info-right1-top .icon {
    font-size: 30px;
    font-weight: 900;
    color: #035B8D;
}

.total-info-right1-top .data {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.total-info-right1-top .label {
    font-size: 12px;
    font-weight: 400;
}


/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F9F9F9;
    padding: 20px 40px;
    gap: 2rem;
}

.footer-logo img {
    width: 80%;
}

.footer1 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    padding: 20px 40px;
}

.foot1-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
}

.foot1-left .footer-text {
    width: 60%;
}

.foot1-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
}

.footer2 {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
    padding: 20px 40px;
}

.social-icons {
    display: flex;
    gap: 20px;
}




/* Responsive */

@media screen and (max-width: 1024px) {
    .hero-slider-main {

        max-height: 50vh;
    }

    .content {
        left: 25%;
        width: 26%;

    }

    .content h1 {
        font-size: 1.8rem;
    }

    .content p {
        font-size: 0.8rem;
    }

    .content-btn {
        padding: 10px 14px;
        font-size: 15px;
    }

    .dots {
        bottom: 3.9rem;

    }

    .dragable-slider {

        bottom: 2.8rem;

    }

    .wrapper {
        max-width: 86vw;
        min-width: 36vw;
    }

    .wrapper::-webkit-scrollbar {
        display: none;

    }

    .slide-box {
        scroll-snap-align: start;
        flex: 0 0 calc(24% - 17px);
        min-width: 13.9rem;
    }

    .card {

        padding: 10px;
        border-radius: 12px;

    }


}


@media screen and (max-width: 768px) {

    .headings {
        width: 100%;
        margin-bottom: 20px;
    }

    .headings h2 {
        font-size: 30px;
    }


    .content {
        left: 10%;
        width: 41%;
        top: 7rem;
        /* Adjust for smaller screens */
    }

    .content h1 {
        font-size: 1.4rem;
    }

    .content p {
        font-size: 0.9rem;
    }

    .content-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .hero-slider-main {
        height: 60vh;
    }

    .slide-box {
        flex: 0 0 50%;
        min-width: 21rem;
    }

    .join-content {
        flex-direction: column;
    }

    .app-mob img {
        width: 50%;
    }

    .join-content .contents {
        width: 95%;
        gap: 2rem;
    }

    .working .contents {
        flex-direction: column;
        /* gap: 2rem; */
    }

    .total-info {
        flex-direction: column;
        align-items: start;
    }

    .footer {
        padding: 10px 20px;
    }

    .footer1 {
        flex-direction: column;
        padding: 10px 20px;
    }

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

    .footer2 {
        padding: 10px 20px;
    }


}


@media screen and (max-width: 640px) {
    header {
        padding: 10px 10px;
    }

    .logo img {
        width: 70%;
    }

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

    ul {
        display: none;
    }

    .menu-drawer .mob-ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: -7rem;
        gap: 20px;
    }

    .menu {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }

    .menu-drawer {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .hero-slider-main {
        position: relative;
        width: 100%;
        overflow: hidden;
        height: 100%;
    }


    .hero-slide img {

        height: 400px;

    }


    .content {
        top: 8rem;
        left: 0;
        width: 57%;
    }



    .content h1 {
        font-size: 1.2rem;
        margin-bottom: 1px;

    }

    .content p {
        font-size: 0.7rem;
        padding: 10px;
        margin-bottom: 2px;

    }

    .content-btn {

        padding: 10px 19px;
        font-size: 9px;
    }

    .wrapper {
        max-width: 71vw;

    }


    .dots {
        bottom: 2.2rem;
        left: 45%;
    }

    .dragable-slider {

        bottom: 2.5rem;

    }

    .slide-box {
        min-width: 16.9rem;
    }

    .card {
        width: 260px;
    }


    .cont {
        font-size: 18px;
    }

    .app-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .working .contents {
        width: 90%;
    }

    .total-info {
        padding: 10px 20px;
    }

    .footer2 {
        flex-direction: column;
    }

}

:root {
    --primary: #fff;
    --hover: #c0e4fc;
    --overlay: rgba(0, 0, 0, 0.5);
    --text: #000;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    height: 40vh;
}

.banner-wrapper {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.banner {
    position: relative;
    background: url("../../images/repair-banner.jpg") center/cover no-repeat;
    min-height: 40vh;
    display: flex;
    justify-content: space-between;
    /* content left, button right */
    align-items: center;
    padding: 60px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* background: var(--overlay); */
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: var(--text);
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #000;
}

.button-wrapper {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: auto;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
    padding: 12px 24px;
    border-radius: 12px;
}

.btn {
    background-color: var(--primary);
    color: #0c2c64;
    padding: 14px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

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



@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        min-height: auto;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .button-wrapper {
        position: relative;
        margin: 20px auto 0;
        display: flex;
        justify-content: center;
        padding: 12px 24px;
        border-radius: 12px;
        width: fit-content;
        left: -3px;
    }

    .btn {
        background-color: #c0e4fc;
        color: #0c2c64;
    }

    .btn:hover {
        opacity: 0.7;
        background-color: #2d59a5;
        color: var(--hover);
        /* Optional: hover text color change */
    }
}