﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


/* color codes */
:root {
    --bg-gradient: linear-gradient(105deg, rgba(91, 104, 235, 1) 0%, rgba(40, 225, 253, 1) 100%);
    --bg-gradient-box: linear-gradient(75deg, rgba(125, 60, 205, 0.678) 0%, rgba(72, 180, 216, 0.651) 100%);
    --bg-hover-gradient: linear-gradient(75deg, rgba(40, 225, 253, 1) 0%, rgba(91, 104, 235, 1) 100%);
    --bg-color: #fff;
    --primary-color: #007bff;
    --hover-primary-color: #003D9A;
    --secondary-color: #6c757d;
    --secondary-color-2: #333a3f;
    --hover-secondary-color: #8BB8FF;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --primary-text-color: #212529;
    --secondary-text-color: #212529;
    --primary-bg-color-light: #f8f9fa;
    --primary-color-dark: #0062cc;
}


/* car-insurance-1 Starts */

.car-insurance-1 {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 1) 100%), var(--bg-gradient), linear-gradient(to bottom, rgba(255, 255, 255, 0) 90%, rgba(255, 255, 255, 1) 100%);
    background-blend-mode: screen;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 42rem;
}

.car-insurance-1-text {
    margin-bottom: 7rem;
    padding: 20px 40px;
    width: 50%;
    color: var(--bg-color);
}

    .car-insurance-1-text h1 {
        font-size: 4.5rem;
    }

        .car-insurance-1-text h1:nth-child(2) {
            margin-top: -40px;
        }

    .car-insurance-1-text h3 {
        font-size: 1.6rem;
        color: #010b41;
        font-weight: 500;
        margin-top: -10px;
        margin-bottom: 14px;
    }
.car-insurance-1-text p{
    color: var(--bg-color);
}

.car-insurance-1-text-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 12rem;
    height: 3.5rem;
    padding: 10px;
    margin: 30px 0;
    border-radius: 5px;
    text-align: center;
    border: 2px solid white;
    background: var(--bg-color);
    color: #000;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

    .car-insurance-1-text-btn:hover {
        background-color: transparent;
        color: #fff;
    }

    .car-insurance-1-text-btn h3 {
        font-size: 1.2rem;
        color: inherit;
        margin: 0;
    }

    .bike-insurance-1-photo {
    margin-top: -8rem;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 20px;
    width: 50%;
}

.bike-insurance-1-photo img {
    height: 30rem;
    transition: all ease 0.3s;
}


car-insurance-1-photo {
    margin-top: -8rem;
    overflow: hidden;
    position: relative;
    right: 2rem;
    padding: 20px;
    width: 50%;
}

.car-insurance-1-photo img {
    height: 26rem;
    transition: all ease 0.3s;
}

        .car-insurance-1-photo img:hover {
            transform: scale(1.1);
            transform: rotateX(5deg) rotateY(5deg) translateZ(50px);
        }

@media screen and (max-width: 1130px) {
    .car-insurance-1-text h1 {
        font-size: 3.5rem;
    }

        .car-insurance-1-text h1:nth-child(2) {
            margin-top: -30px;
        }

    .car-insurance-1-text h3 {
        font-size: 1.3rem;
        margin-top: -8px;
        margin-bottom: 12px;
    }

    .car-insurance-1-text-btn {
        width: 9rem;
        height: 3rem;
    }

        .car-insurance-1-text-btn h3 {
            font-size: 0.9rem;
            margin: 0;
        }

    .car-insurance-1-photo img {
        height: 22rem;
    }
}

@media screen and (max-width: 950px) {
    .car-insurance-1-text h1 {
        font-size: 2.8rem;
    }

        .car-insurance-1-text h1:nth-child(2) {
            margin-top: -20px;
        }

    .car-insurance-1-text h3 {
        font-size: 1.1rem;
        margin-top: -5px;
        margin-bottom: 8px;
    }

    .car-insurance-1-text p {
        font-size: 0.9rem;
    }

    .car-insurance-1-text-btn {
        width: 8.5rem;
        height: 2.5rem;
    }

        .car-insurance-1-text-btn h3 {
            font-size: 0.8rem;
            margin: 0;
        }

    .car-insurance-1-photo img {
        height: 17rem;
    }
}

@media screen and (max-width: 768px) {
    .car-insurance-1 {
        flex-direction: column;
        padding: 20px;
        min-height: 40rem;
    }

    .car-insurance-1-text {
        width: 100%;
        margin-bottom: 2rem;
        padding: 10px 20px;
    }

        .car-insurance-1-text h1 {
            font-size: 2.5rem;
        }

            .car-insurance-1-text h1:nth-child(2) {
                margin-top: -20px;
            }

    .car-insurance-1-photo {
        margin-top: -8rem;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 0;
    }

        .car-insurance-1-photo img {
            height: 17rem;
        }
}

@media screen and (max-width: 520px) {
    .car-insurance-1 {
        min-height: 50rem;
    }

    .car-insurance-1-photo {
        margin-top: -6rem;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 0;
    }

        .car-insurance-1-photo img {
            height: auto;
            width: 80%;
            max-width: 300px;
        }
}

@media screen and (max-width: 340px) {
    .car-insurance-1-text h1 {
        font-size: 1.8rem;
    }

        .car-insurance-1-text h1:nth-child(2) {
            margin-top: -15px;
        }

    .car-insurance-1-text h3 {
        font-size: 0.8rem;
        margin-top: -4px;
        margin-bottom: 7px;
    }

    .car-insurance-1-text p {
        font-size: 0.7rem;
    }

    .car-insurance-1-text-btn {
        width: 7.4rem;
        height: 2rem;
    }

        .car-insurance-1-text-btn h3 {
            font-size: 0.7rem;
            margin: 0;
        }

    .car-insurance-1-photo img {
        width: 90%;
    }
}


/* car-insurance-1 Ends */


/* car-insurance-2 Starts */

.car-insurance-2 {
    width: 100%;
    min-height: 35rem;
    background: var(--bg-color);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.car-insurance-2-box {
    width: 22rem;
    height: 34rem;
    margin-top: -10rem;
    border-radius: 2px;
    background: var(--light-color);
    padding: 40px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .car-insurance-2-box:hover {
        background: var(--bg-gradient-box);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        transform: scale(1.01);
        color: #ffffff;
    }

.c-i-2-b-box-image {
    padding: 8px 0px;
    height: 40%;
}

    .c-i-2-b-box-image img {
        height: 100%;
    }

.c-i-2-b-box-bike-image {
    height: 32% !important;
}

.c-i-2-b-box-text {
    height: 60%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .c-i-2-b-box-text h3 {
        font-size: 1.1rem;
    }

    .c-i-2-b-box-text h4 {
        font-size: 1rem;
    }

.c-i-2-b-box-text-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 8rem;
    height: 2.5rem;
    padding: 10px;
    margin: 15px 0;
    border-radius: 25px;
    text-align: center;
    background: var(--bg-gradient);
    border: 1px solid white;
    transition: background 0.3s ease, border 0.1s ease, color 0.3s ease;
    cursor: pointer;
    color: white;
}

    .c-i-2-b-box-text-btn:hover {
        color: #000;
        background: var(--primary-bg-color-light);
        border: 2px solid white;
    }

    .c-i-2-b-box-text-btn h3 {
        font-weight: 500;
        font-size: 0.9rem;
        margin: auto;
    }

/* Responsive Design */
@media screen and (max-width: 1100px) {
    .car-insurance-2-box {
        width: 20rem;
        height: 30rem;
    }
}

@media screen and (max-width: 1000px) {
    .car-insurance-2-box {
        width: 18rem;
        height: 30rem;
    }
}

@media screen and (max-width: 900px) {
    .car-insurance-2-box {
        width: 16rem;
        height: 30rem;
    }

    .c-i-2-b-box-text h3 {
        font-size: 1.1rem;
    }

    .c-i-2-b-box-text h4 {
        font-size: 1rem;
    }

    .c-i-2-b-box-text p {
        font-size: 0.9rem;
    }

    .c-i-2-b-box-text-btn {
        width: 100%;
        height: 2.5rem;
        padding: 12px;
        margin: 12px 0;
    }

        .c-i-2-b-box-text-btn h3 {
            font-size: 0.95rem;
        }
}

@media (max-width: 768px) {
    .car-insurance-2 {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .car-insurance-2-box {
        width: 80%;
        height: auto;
        margin: 20px 0;
        padding: 20px;
    }

    .c-i-2-b-box-image {
        text-align: center;
        height: 20%;
    }

        .c-i-2-b-box-image img {
            width: 80%;
            height: 100%;
        }

    .c-i-2-b-box-text {
        text-align: center;
        height: auto;
    }

        .c-i-2-b-box-text h3 {
            font-size: 1rem;
        }

        .c-i-2-b-box-text h4 {
            font-size: 0.9rem;
        }

        .c-i-2-b-box-text p {
            font-size: 0.8rem;
        }

    .c-i-2-b-box-text-btn {
        width: 100%;
        height: 2.5rem;
        padding: 10px;
        margin: 10px 0;
    }

        .c-i-2-b-box-text-btn h3 {
            font-size: 0.85rem;
        }
}

/* car-insurance-2 Ends */


/* car-insurance-3 Starts */

.car-insurance-3 {
    width: 100%;
    height: 36rem;
    padding: 20px 6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: "Poppins", sans-serif;
    z-index: 2;
}

    .car-insurance-3 h4 {
        font-weight: 600;
        font-size: 1.6rem;
    }

        .car-insurance-3 h4 span {
            color: var(--primary-color);
        }

        .car-insurance-3 h4:before {
            content: "\2014 \00a0 \00a0";
            color: var(--primary-color);
            font-weight: 700;
        }

        .car-insurance-3 h4::after {
            margin-left: 20px;
            content: "\2014 \00a0 \00a0";
            color: var(--primary-color);
            font-weight: 700;
        }

    .car-insurance-3 p {
        font-size: 0.98rem;
        color: var(--secondary-color);
    }

.car-insurance-3-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 9rem;
    height: 3.4rem;
    padding: 10px;
    margin: 12px auto;
    border-radius: 5px;
    text-align: center;
    border: 2px solid white;
    background: var(--bg-gradient);
    color: #fff;
    transition: all 0.3s ease-in;
    cursor: pointer;
}

    .car-insurance-3-btn:hover {
        color: #ede6e6;
        background-color: var(--bg-gradient-box);
        transform: scale(1.02);
    }

    .car-insurance-3-btn h3 {
        font-weight: 500;
        font-size: 1rem;
        margin: auto;
    }

@media (max-width: 768px) {
    .car-insurance-3 {
        padding: 20px 2rem;
        gap: 15px;
    }

        .car-insurance-3 h4 {
            font-size: 1rem;
        }

            .car-insurance-3 h4::before,
            .car-insurance-3 h4::after {
                margin-left: 10px;
            }

        .car-insurance-3 p {
            font-size: 0.8rem;
        }

    .car-insurance-3-btn {
        width: 7rem;
        height: 3rem;
        padding: 8px;
    }

        .car-insurance-3-btn h3 {
            font-size: 0.9rem;
        }
}


/* car-insurance-3 Ends */


/* car-insurance-4 Starts */
.bike-insurance-4{
    width: 100%;
    height: 30rem;
    background: url('/image/geninsurance/bikeinsurance/image.png') no-repeat center center fixed;
    background-size: cover;
    z-index: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-family: "Poppins", sans-serif;
}

.car-insurance-4 {
    width: 100%;
    height: 30rem;
    background: url('/image/geninsurance/image.png') no-repeat center center fixed;
    background-size: cover;
    z-index: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-family: "Poppins", sans-serif;
}

.car-insurance-4-content-left,
.car-insurance-4-content-right {
    position: relative;
    z-index: 2;
}

.car-insurance-4-content-left {
    width: 60%;
    padding: 20px;
    color: var(--bg-color);
}

    .car-insurance-4-content-left h3 {
        font-weight: 400;
        font-size: 1.4rem;
    }

.car-insurance-4-content-right {
    width: 40%;
    padding: 25px;
    color: var(--bg-color);
}

    .car-insurance-4-content-right ul {
        position: relative;
        padding-left: 30px;
        list-style: none;
    }

        .car-insurance-4-content-right ul li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 20px;
            font-weight: 600;
            font-size: 1.2rem;
            color: #dae8fe;
        }

            .car-insurance-4-content-right ul li:before {
                content: ">";
                font-size: 22px;
                color: #74ff94;
                position: absolute;
                left: 0;
                top: 50%;
                font-weight: 700;
                font-size: 1.6rem;
                transform: translateY(-50%);
                font-family: Arial, sans-serif;
            }

@media (max-width: 768px) {
    .car-insurance-4 {
        height: 43rem;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        text-align: center;
    }

    .car-insurance-4-content-left,
    .car-insurance-4-content-right {
        width: 100%;
        padding: 10px;
    }
}

@media screen and (max-width: 650px) {
    .car-insurance-4 {
        margin-top: 6rem;
    }
}

@media screen and (max-width: 520px) {
    .car-insurance-4 {
        margin-top: 12rem;
    }
}

@media screen and (max-width: 480px) {
    .car-insurance-4 {
        margin-top: 14rem;
    }
}

@media screen and (max-width: 430px) {
    .car-insurance-4 {
        margin-top: 16rem;
        height: 35rem;
    }

    .car-insurance-4-content-left h3 {
        font-size: 1.1rem;
    }

    .car-insurance-4-content-right ul li {
        font-size: 1rem;
        margin-bottom: 16px;
    }

        .car-insurance-4-content-right ul li:before {
            font-size: 1.3rem;
        }
}

@media screen and (max-width: 400px) {
    .car-insurance-4 {
        margin-top: 20rem;
    }
}

@media screen and (max-width: 390px) {
    .car-insurance-4 {
        margin-top: 22rem;
    }
}

@media screen and (max-width: 380px) {
    .car-insurance-4 {
        margin-top: 25rem;
        height: 33rem;
    }

    .car-insurance-4-content-left h3 {
        font-size: 1rem;
    }

    .car-insurance-4-content-right ul li {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

        .car-insurance-4-content-right ul li:before {
            font-size: 1.2rem;
        }
}

@media screen and (max-width:356px) {
    .car-insurance-4 {
        margin-top: 30rem;
    }
}

@media screen and (max-width:330px) {
    .car-insurance-4 {
        margin-top: 40rem;
    }
}

/* car-insurance-4 Ends */


/* car-insurance-5 Starts */

.top-car-insurance-about {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background:
    /* linear-gradient(to top, rgba(255, 255, 255, 0) 98%, rgba(255, 255, 255, 1) 100%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 95%, rgba(255, 255, 255, 1) 100%), */
    var(--light-color);
    font-family: "Poppins", sans-serif;
    margin-bottom: -6rem;
}

    .top-car-insurance-about h2 {
        padding-top: 20px;
        text-align: center;
        color: var(--primary-color);
    }

        .top-car-insurance-about h2 span {
            font-weight: 600;
            color: #000;
        }

.top-car-insurance-content3 {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 20px 20px;
}

.top-car-insurance-content-left3 {
    flex: 0 0 40%;
    text-align: center;
}

    .top-car-insurance-content-left3 img {
        max-width: 100%;
        height: auto;
        color: var(--bg-color);
    }

.top-car-insurance-content-right3 {
    flex: 0 0 60%;
}

    .top-car-insurance-content-right3 p {
        color: #3e495b;
    }

/* Styles for the paragraph text */
.hidden-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .top-car-insurance-about h2 {
        font-size: 20px;
    }

    .top-car-insurance-content3 {
        flex-direction: column;
    }

    .top-car-insurance-content-left3,
    .top-car-insurance-content-right3 {
        flex: 1;
        width: 100%;
    }

    .top-car-insurance-content-left3 {
        margin-bottom: 20px;
    }
}

/* car-insurance-5 Ends */
