#hero {
    width: 100%;
    height: max-content;
    padding: 20px;
    background: #EAF6FC;;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 35px;
}

.hero-left {
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.hero-left span {
    color: var(--heading-color-2);
}

.hero-left h1 {
    font-size: var(--large);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.2;
    text-align: center;
    font-family: var(--font-poppins);
}

.hero-left p {
    font-size: var(--small);
    color: var(--text-color);
    line-height: 1.5;
    text-align: center;
    font-family: var(--font-inter);
}

#hero .hero-left-text {
    text-align: center;
    
   }

#hero .cta-button button {
    background-color: var(--heading-color-2);
    border-radius: 50px;
    padding: 10px 15px;
    font-size: var(--small);
    color: var(--white-color);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: none;
    outline: none;
    border-radius: 30px;
    background: var(--gradient, linear-gradient(90deg, #5B9CD4 0.01%, #215AA7 100.03%));
}

#hero .cta-button button:hover,
#hero .cta-button button:active,
#hero .cta-button button:focus {
    background-color: var(--heading-color-2);
    color: var(--white-color);
    transform: none;
}

#hero .cta-button button p {
    font-size: var(--small);
    font-weight: 600;
    color: var(--white-color);
}

#hero .cta-button button img {
    width: 29px;
    height: 29px;
}

.hero-right {
    width: 100%;
    height: 100%;
    
}

.hero-right img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 30px;
    
}

/* Triangular Layout for Service Features */
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    
    max-width: 600px;
    margin: 0 auto;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    gap: 12px;
}

.product-icon {
    width: 25px;
    height: 25px;
    

}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.product-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.product-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.product-item:nth-child(3) {
    grid-column: 1 / 3;
    grid-row: 2;
    justify-self: center;
    max-width: 150px;
}

.product-text {
    font-size: var(--small);
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.4;
}




 /* Media Queries */



@media (min-width: 425px) {
    .hero-left h1 {
        font-size: var(--h5);
    }

    .hero-left p {
        font-size: var(--body);
    }

    .products-grid {
        max-width: 600px;
    }

    .product-icon {
        width: 30px;
        height: 30px;
    }

    .product-item {
        padding: 12px;
    }

    .product-text {
        font-size: var(--body);
    }

    .product-item:nth-child(2) {
        max-width: 250px;
    }

    .product-item:nth-child(3) {
        max-width: 250px;
    }
}

@media (min-width: 768px) {
    .hero-left h1 {
        font-size: var(--h4);
    }

    #hero {
        padding: 50px 30px;
    }

    .hero-left p {
        max-width: 600px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
        gap: 4px;
    }

    .product-icon {
        width: 25px;
        height: 25px;
    }

    .product-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
        max-width: 100px;
    }

    .product-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .product-item:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
        max-width: 50px;
    }

    .hero-content {
        flex-direction: row;
        gap: 20px;
    }

    .hero-left {
        width: 50%;
        align-items: start;
        gap: 15px;
    }

    .hero-right {
        width: 50%;
        display: flex;
        align-items: start;
        justify-content: start;
    }

    .hero-left h1 {
        text-align: left;
    }

    #hero .hero-left-text {
        text-align: left;
        font-size: 14px;
    }

    .hero-right img {
        width: 400px;
        height: 450px;
        border-radius: 30px;
    }

    .hero-left p {
        font-size: var(--small);
    }

    .product-item {
        padding: 5px;
    }
}

@media (min-width: 1024px) {
    #hero {
        padding: 50px 50px;
    }

    .hero-content {
        gap: 50px;
    }

    .hero-right {
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-left h1 {
        font-size: var(--h4);
    }

    .hero-left {
        gap: 20px;
    }

    #hero .cta-button {
        margin-top: 10px;
    }

    #hero .hero-left-text {
        text-align: left;
        font-size: 14px;
    }

    .hero-right img {
        width: 400px;
        height: 400px;
    }

    .product-item:nth-child(1) {
        max-width: 150px;
    }

    .product-item:nth-child(3) {
        max-width: 100px;
    }

    #hero .cta-button button p {
        font-size: var(--body);
    }

    #hero .cta-button button img {
        width: 32px;
        height: 32px;
    }

    #hero .cta-button button {
        padding: 12px 20px;
    }
}

@media (min-width: 1440px) {
    #hero {
        padding: 90px 80px;
    }

    .hero-left h1 {
        font-size: var(--h3);
        max-width: 700px;
    }

    .hero-left p {
        font-size: 16px;
        max-width: 550px;
    }

    .product-item:nth-child(1) {
        max-width: 170px;
    }

    .product-item:nth-child(3) {
        max-width: 150px;
    }

    #hero .hero-left-text {
        font-size: 20px;
    }

    .hero-left {
        width: 55%;
    }

    .hero-right {
        width: 45%;
    }

    .hero-right img {
        width: 500px;
        height: 530px;
    }

    .products-grid {
        margin: 0 0;
    }

    .product-icon {
        width: 35px;
        height: 35px;
    }
}