﻿@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;
}


/* gen-insurance-1 Starts */

.gen-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%;
    min-height: 120vh;
}

.gen-insurance-1-text {
    margin-bottom: 7rem;
    padding: 20px 40px;
    width: 50%;
    color: var(--bg-color);
}

.gen-insurance-1-text p{
    color: #fff;
}

.gen-insurance-1-text h1 {
    font-size: 4.5rem;
}

.gen-insurance-1-text h1:nth-child(2) {
    margin-top: -40px;
}

.gen-insurance-1-text h3 {
    font-size: 1.6rem;
    color: #010b41;
    font-weight: 500;
    margin-top: -10px;
    margin-bottom: 14px;
}

.gen-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;
}

.gen-insurance-1-text-btn:hover {
    background-color: transparent;
    color: #fff;
}

.gen-insurance-1-text-btn h3 {
    font-size: 1.2rem;
    color: inherit;
    margin: 0;
}

.gen-insurance-1-photo {
    /* margin-top: -6rem; */
    overflow: hidden;
    position: relative;
    right: 2rem;
    padding: 20px;
    width: 50%;
}

.gen-insurance-1-photo img {
    height: 30rem;
    transition: all ease 0.3s;
}

.gen-insurance-1-photo img:hover {
    transform: scale(1.1);
    transform: rotateX(5deg) rotateY(5deg) translateZ(50px);
}


@media screen and (max-width: 1130px) {
    .gen-insurance-1-text h1 {
        font-size: 3.5rem;
    }

    .gen-insurance-1-text h1:nth-child(2) {
        margin-top: -30px;
    }

    .gen-insurance-1-text h3 {
        font-size: 1.3rem;
        margin-top: -8px;
        margin-bottom: 12px;
    }

    .gen-insurance-1-text-btn {
        width: 9rem;
        height: 3rem;
    }

    .gen-insurance-1-text-btn h3 {
        font-size: 0.9rem;
        margin: 0;
    }

    .gen-insurance-1-photo img {
        height: 22rem;
    }
}

@media screen and (max-width: 950px) {
    .gen-insurance-1-text h1 {
        font-size: 2.8rem;
    }

    .gen-insurance-1-text h1:nth-child(2) {
        margin-top: -20px;
    }

    .gen-insurance-1-text h3 {
        font-size: 1.1rem;
        margin-top: -5px;
        margin-bottom: 8px;
    }

    .gen-insurance-1-text p {
        font-size: 0.9rem;
    }

    .gen-insurance-1-text-btn {
        width: 8.5rem;
        height: 2.5rem;
    }

    .gen-insurance-1-text-btn h3 {
        font-size: 0.8rem;
        margin: 0;
    }

    .gen-insurance-1-photo img {
        height: 17rem;
    }
}

@media screen and (max-width: 768px) {
    .gen-insurance-1 {
        flex-direction: column;
        padding: 20px;
        min-height: 100vh;
    }

    .gen-insurance-1-text {
        width: 100%;
        margin-bottom: 2rem;
        padding: 10px 20px;
    }

    .gen-insurance-1-text h1 {
        font-size: 2.5rem;
    }

    .gen-insurance-1-text h1:nth-child(2) {
        margin-top: -20px;
    }

    .gen-insurance-1-photo {
        margin-top: -8rem;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .gen-insurance-1-photo img {
        height: 20rem;
    }
}

@media screen and (max-width: 520px) {
    .gen-insurance-1 {
        min-height: 80vh;
    }

    .gen-insurance-1-photo {
        margin-top: -5rem;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .gen-insurance-1-photo img {
        height: auto;
        width: 90%;
        max-width: 300px;
    }
}

@media screen and (max-width: 340px) {
    .gen-insurance-1-text h1 {
        font-size: 1.8rem;
    }

    .gen-insurance-1-text h1:nth-child(2) {
        margin-top: -15px;
    }

    .gen-insurance-1-text h3 {
        font-size: 0.8rem;
        margin-top: -4px;
        margin-bottom: 7px;
    }

    .gen-insurance-1-text p {
        font-size: 0.7rem;
    }

    .gen-insurance-1-text-btn {
        width: 7.4rem;
        height: 2rem;
    }

    .gen-insurance-1-text-btn h3 {
        font-size: 0.7rem;
        margin: 0;
    }

    .gen-insurance-1-photo img {
        width: 90%;
    }
}

/* gen-insurance-1 Ends */


/* gen-insurance-2 Starts */

.gen-insurance-2 {
    width: 100%;
    height: 80vh;
    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;
    margin-bottom: -6rem;
}

.gen-insurance-2-box {
    width: 22rem;
    height: 34rem;
    margin-top: -8rem;
    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;
}

.gen-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;
}

.g-i-2-b-box-image-bike img:hover {
    transform: scale(1.1);
    transform: rotateX(5deg) rotateY(5deg) translateZ(50px);
}

.g-i-2-b-box-image-bike {
    padding: 8px 0px;
    height: 40%;
    text-align: center;
}

.g-i-2-b-box-image-bike img {
    height: 11rem;
    width: 48%;
    position: relative;
    right: 15px;
    transition: all ease 0.3s;
}

.g-i-2-b-box-image {
    padding: 8px 0px;
    height: 40%;
}

.g-i-2-b-box-image img {
    height: 100%;
    transition: all ease 0.3s;
}

.g-i-2-b-box-image img:hover {
    transform: scale(1.1);
    transform: rotateX(5deg) rotateY(5deg) translateZ(50px);
}

.g-i-2-b-box-text {
    height: 60%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.g-i-2-b-box-text h3 {
    font-size: 1.1rem;
}

.g-i-2-b-box-text h4 {
    font-size: 1rem;
}

.g-i-2-b-box-text-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    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;
}

.g-i-2-b-box-text-btn:hover {
    color: #000;
    background: var(--primary-bg-color-light);
    border: 2px solid white;
}

.g-i-2-b-box-text-btn a:hover {
    color: #000;
}

.g-i-2-b-box-text-btn a {
    color: var(--bg-color);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.g-i-2-b-box-text-btn h3 {
    font-weight: 500;
    font-size: 0.9rem;
    margin: auto;
}

/* Responsive Design */
@media screen and (max-width: 1100px) {
    .gen-insurance-2-box {
        width: 20rem;
        height: 30rem;
    }
}

@media screen and (max-width: 1000px) {
    .gen-insurance-2-box {
        width: 18rem;
        height: 30rem;
    }
}

@media screen and (max-width: 900px) {
    .gen-insurance-2-box {
        width: 16rem;
        height: 30rem;
    }

    .g-i-2-b-box-text h3 {
        font-size: 1.1rem;
    }

    .g-i-2-b-box-text h4 {
        font-size: 1rem;
    }

    .g-i-2-b-box-text p {
        font-size: 0.9rem;
    }

    .g-i-2-b-box-text-btn {
        width: 100%;
        height: 2.5rem;
        padding: 12px;
        margin: 12px 0;
    }

    .g-i-2-b-box-text-btn h3 {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .gen-insurance-2 {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .gen-insurance-2-box {
        width: 80%;
        height: auto;
        margin: 20px 0;
        padding: 20px;
    }

    .g-i-2-b-box-image-bike,
    .g-i-2-b-box-image {
        text-align: center;
        height: 20%;
    }

    .g-i-2-b-box-image-bike img,
    .g-i-2-b-box-image img {
        width: 80%;
        height: 100%;
    }

    .g-i-2-b-box-text {
        text-align: center;
        height: auto;
    }

    .g-i-2-b-box-text h3 {
        font-size: 1rem;
    }

    .g-i-2-b-box-text h4 {
        font-size: 0.9rem;
    }

    .g-i-2-b-box-text p {
        font-size: 0.8rem;
    }

    .g-i-2-b-box-text-btn {
        width: 100%;
        height: 2.5rem;
        padding: 10px;
        margin: 10px 0;
    }

    .g-i-2-b-box-text-btn h3 {
        font-size: 0.85rem;
    }
}

/* gen-insurance-2 Ends */