body {
    font-family: 'Lato';
    font-size: 20px;
    margin: 0;
    padding: 0;
    background: transparent;
    color: white;
}

.header {
    width: 100%;
    padding: 0px;
    /*padding-bottom: 5px;*/
    background-color: white;
}

.container2 {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.navigation a {
    color: black;
}

.navigation {
    color: black;
}

main {
    border-radius: 8px;
    background-color: transparent;
}

.product-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(to right, #2F2B8C 30%, #04BFBF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.product-header p {
    font-size: 20px;
    color: white;
    text-align: center;
}

section>h2 {
    font-size: 1.8em;
    background: linear-gradient(to right, #2F2B8C 30%, #04BFBF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 2px;
}

.gradient-line2 {
    border: 0;
    border-top: 4px solid;
    border-image: linear-gradient(to right, #2F2B8C 30%, #04BFBF) 1;
    height: 0;
    text-align: center;
    width: 15%
}

.slide-in {
  opacity: 0;
  visibility: hidden;
  transform: translateX(50px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.slide-in.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 61px;
    padding: 20px;
    margin: 2% 15%;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.product-info {
    text-align: center;
    color: white;
}

.product-info h3 {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 8px;
    text-align: left;
    color: #2F2B8C;
    transition: color 0.3s ease;
}

.product-header p {
    font-size: 20px;
    color: #2F2B8C;
    text-align: center;
}

.shortDesc {
    font-size: 0.9em;
    color: #2F2B8C;
    margin-top: 8px;
    text-align: left;
    transition: color 0.3s ease;
}

.solution-item:hover .product-info h3 {
    color: white;
}

.solution-item:hover .shortDesc {
    color: white;
}

.solution-btn {
    background-color: white;
    color: #2F2B8C;
    font-weight: 600;
    border: 2px solid;
    padding: 8px 20px;
    font-size: 16px;
    cursor: pointer;
    width: auto;
    text-align: center;
    margin: 10px 0 0 auto;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: absolute; 
    bottom: 10px; 
    right: 10px; 
}

.solution-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px; 
    border: 2px solid #2F2B8C;
    box-sizing: border-box;
    height: 500px; 
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4), 0 10px 20px rgba(0, 0, 0, 0.35);
    z-index: 2;
    transform: perspective(1000px) rotateX(0deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 15px;
    z-index: -1;
    filter: blur(6px);
    transition: all 0.3s ease;
}

.solution-item:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), 0 14px 28px rgba(0, 0, 0, 0.25);
}

.solution-item:hover::before {
    filter: blur(8px);
    background: rgba(47, 43, 140, 0.3);
}

.product-content {
    width: 100%;
}

.image-container {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: auto;
    height: 100%;
    object-fit: cover;
}

/*
.solution-item img {
    width: 100%;
    height: 75%;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}*/

.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    background-color: #2F2B8C;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    display: flex;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    animation: bounce 2s infinite;
    z-index: 1;
  }

  .scroll-to-top-btn:hover {
    background-color: #1d1a6d;
  }

  .whatsapp-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 15px 16px;
    border-radius: 50%;
    font-size: 24px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    animation: pop-in 1s ease-out, bounce 2s infinite;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .whatsapp-btn:hover {
    background-color: #128C7E;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }




@media(max-width:768px) {
    .product-header h1 {
        font-size: 25px;
    }

    main {
        height: auto;
        margin-top: -23px;
    }

    section>h2 {
        font-size: 20px;
    }

    .gradient-line2 {
        border-top: 3px solid;
    }

    .product-grid {
        gap: 4%;
        margin: 5% 5%;
        height: auto;
        min-height: fit-content;
    }

    .product-info h3 {
        font-size: 20px;
    }

    .shortDesc {
        font-size: 15px;
        color: white;
        margin-top: 8px;
    }

    .gradient-line2 {
        border: 0;
        border-top: 4px solid;
        border-image: linear-gradient(to right, #2F2B8C 30%, #04BFBF) 1;
        height: 0;
        width: 37%;
        margin: 0 auto;
    }

    .solution-btn {
        margin: 5px auto 0;
        padding: 6px 15px;
        font-size: 14px;
    }

    .product-header p {
        font-size: 16px;
        color: black;
        text-align: center;
        margin: 20px;
    }

    .product-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 5%;
    }

    .solution-item {
        padding: 35px;
        border-radius: 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        height: auto;
        min-height: 450px;
    }

    .image-container {
        height: auto;
    }

    .solution-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-bottom: 1px solid #ddd;
    }

    .product-info h3 {
        font-size: 20px;
        margin-top: 10px;
        text-align: center;
    }

    .shortDesc {
        font-size: 16px;
        color: #2F2B8C;
        margin-top: 10px;
        text-align: center;
    }

    .solution-btn {
        margin: 15px auto;
        padding: 10px 30px;
        font-size: 18px;
    }

}
