*{                                                      
   
    box-sizing:border-box;
    padding: 0px;   
    margin: 0px;
    
}

.bar-line {
    display: flex;
    color: #f79c42;
    margin: 22px 13px;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.alumni {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 20px;
}

.first-line,
.second-line {
    flex-grow: 1;
    height: 5px;
    background-color: #f79c42;
    border: none;
    margin: 0;
}

.swiper-container {
    width: 100%;
    padding: 20px 0;
    
}

.block-1 {
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;
    margin: 10vh 0;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.alumni-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35vw; /* Increased width */
    height: 500px; /* Fixed height */
    padding: 2rem; /* Increased padding */
    background-color: #F0F0F0;
    border-radius: 20px;
    box-shadow: -10px -10px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: all 0.3s ease; /* Smooth transition for hover */
}

.alumni-imp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem; /* Added spacing */
}

.alumni-photo {
    width: 15vw; /* Fixed size for images */
    height: 25vh;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    transform: translate(-75px, -75px);
}

.alumni-1 {
    text-align: right;
}

.alumni-name {
    color: rgb(0, 12, 250);
    font-weight: 900;
    font-size: 1.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alumni-branch {
    color: rgb(34, 152, 247);
    font-size: 1.3rem;
    font-weight: 550;
    font-style: italic;
}

.alumni-speaks {
    padding: 1rem;
    color: black;
    font-weight: 700;
    text-align: center;
    font-size: 1.2rem;
    line-height: 24px;
    overflow-y: auto; /* Add scrollbar if text overflows */
    flex-grow: 1; /* Allow text to take remaining space */
}


/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #f79c42;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 50%;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Hover Effects */
.alumni-container:hover {
    background-color: #161145; /* Dark background on hover */
    color: white; /* Text color changes to white */
}

.alumni-container:hover .alumni-name {
    color: orange; /* Name text color changes to white */
}

.alumni-container:hover .alumni-branch {
    color: orange; /* Branch text color changes to white */
}

.alumni-container:hover .alumni-speaks {
    color: white; /* Speech text color changes to white */
}


