﻿.bannerbg {
    /*    min-height: 70vh;
    background: var(--linear-bg-color);
    align-items: center;*/

    min-height: 70vh;
    background: var(--linear-bg-color);
    align-items: center;
    display: block;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}
.homecontainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    gap: 20px;
    padding: 30px 20px 20px;
    flex-wrap: wrap;
}
.detai{
    margin-bottom:30px;
}
/* Left Panel */
.left-panel {
    flex: 1;
    text-align: left;
    min-width: 60%;
}

    .left-panel h1 {
        font-size: 50px;
        font-weight: bold;
        text-transform: uppercase;
        line-height: 1.8;
        color:#fff;
        font-style:italic;
       
    }

    .left-panel p {
        font-size: 18px;
        color: #333;
        line-height: 1.5;
        margin-bottom: 20px;
    }

.btn {
    display: inline-block;
    padding: 12px 20px;
    background: var(--btn-primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s;
}

    .btn:hover {
        background: var(--btn-secondary-color);
    }

/* Right Panel - 3D Product Strip */
.right-panel {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align products to the right */
    gap: 15px;
    perspective: 1000px; /* 3D depth effect */
    min-width: 300px;
    cursor:pointer;
}

.insurance-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    justify-content: flex-start;
    width: 100%;
    max-width: 500px;
    transform: rotateY(-10deg);
    padding-right: 20px;
}

    .insurance-item:hover {
        transform: rotateY(0deg) translateY(-5px) scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .insurance-item svg {
        font-size: 30px;
        color: #fff;
        background: var(--primary-color);
        padding: 15px;
        border-radius: 50%;
    }

.insurance-text {
    display: flex;
    flex-direction: column;
}

    .insurance-text p {
        font-size: 18px;
        color: var(--anchor-color);
        font-weight: bold;
        margin: 0;
    }

    .insurance-text span {
        font-size: 12px;
        color: #666;
        font-style:italic;
    }

/* Fully Responsive Design */
@media (max-width: 1024px) {
    .homecontainer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .left-panel {
        text-align: center;
        order:2;
        display:none;
    }

    .right-panel {
        order:1;
        align-items: center; /* Center products on smaller screens */
    }
}

@media (max-width: 768px) {
    .bannerbg {
        min-height:60vh;
    }
        .insurance-item {
      /*  max-width: 280px;*/
        transform: none;
    }

        .insurance-item:hover {
            transform: translateY(-5px);
        }

    .insurance-text p {
        font-size: 16px;
    }

    .insurance-text span {
        font-size: 12px;
    }
}
