@import url("animationstyle.css");

.profile-card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.profile-card:hover {
    transform: scale(1.05);
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.partner-banner {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    background-color: #41b2f1;
}

.industry-banner {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    background-color: #08104a;
}

.banner {
    position: relative;
    width: 100%;
    height: 75vh;
    max-height: 100%;
    overflow: hidden;
}

.partner-thumbnail {
    background-color: #FFFFFF;
    width: 250px;
    height: 200px;
    /* makes it fit in like an <img> */
    background-size: cover;
    /* or contain */
    background-position: center center;
    background-repeat: no-repeat;
}

.half-rounded-rectangle {
    width: 100%;
    height: 150px;
    /* Adjust height as needed */
    background-color: #6494a4;
    /* Background color */
    border-radius: 75px 0 0 75px;
    /* Rounded corners only on the left side */
    overflow: hidden;
    /* Ensure the image inside is clipped to the container's rounded corners */
    position: relative;
}

.half-rounded-rectangle-right {
    width: 100%;
    height: 150px;
    background-color: #6494a4;
    border-radius: 0 75px 75px 0;
    padding: 20px;
    overflow: hidden;
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    /* Horizontally center the text */
    align-items: center;
}

.half-rounded-rectangle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the container area without spilling over */
    object-position: center;
    /* Keeps the image centered */
}

.round-card {
    border: 1px solid #ddd;
    border-radius: 0 25px 25px 0;
    /* Rounded corners only on the right side */
    overflow: hidden;
    /* Ensures the rounded corners work properly */
}

.card-text {
    font-size: 16px;
    color: white;
    margin: 0;
}

button.connect-btn {
    display: flex;
    justify-content: center;
    /* Center the content inside the button */
    align-items: center;
    /* Vertically center the text */
    padding: 5px 0;
    width: 50%;
    /* Button takes 50% of the parent width */
    margin: 10px auto;
    /* Add some margin to give spacing */
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .banner-overlay {
        height: 60%;
        /* Increase the overlay height on smaller screens */
    }
}