/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    scroll-behavior: smooth;
}

.mainBoard {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 120px;
    padding: 20px;
    display: flex;
    gap: 20px;
    opacity: 0; /* Initially hidden */
    animation: fadeIn 0.6s 0.8s forwards; /* Fade in animation*/
}

.Board-member-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

/* Banner Image */
.banner {
    width: 100%;
    /* background-position: top; */
    background-size: contain;
    height: 400px;
    overflow: hidden;
    position: relative;
}

/* .banner::after{
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
} */

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile Section */
.Board-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.img-cont {
    width: 200px;
    height: 200px;
    background: #e6e6e6;
    position: absolute;
    top: 250px;
    left: 50px;

    overflow: hidden;
}

.img-cont img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-cont {
    flex: 1;
}

.info-cont h2 {
    margin: 0;
    font-size: 24px;
    color: rgb(248, 133, 39);
}

.info-cont h4 {
    margin: 5px 0;
    font-size: 18px;
    color: #555;
}

.info-cont p {
    font-size: 16px;
    color: rgb(118, 11, 189);
    line-height: 1.5;
}

.contact-links {
    margin-top: 15px;
}

.contact-links a {
    text-decoration: none;
    color: #1ba000;; /* LinkedIn Blue */
    margin-right: 15px;
    font-size: 18px;
}

.contact-links a:hover {
    color: #6fdd59;
}

/* Side Container */
#sideCont {
    width: 250px;
    border-radius: 5px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0.8rem;
}

.member-preview{
    width: 100%;
    display: flex;
    align-items: end;
    border-radius: 12px;
    padding: 0.8rem;
}

.member-preview a{
    z-index: 1;
    color: #ffffff;
    background: rgb(243, 148, 23);
    padding: 12px;
    font-size: 0.6rem;
    font-family: cursive;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0px 3px 12px rgba(5, 3, 134, 0.199);
}
#sideCont h2{
    color: #f1f1f1;
    padding: 0.8rem;
    background: rgb(48, 145, 48);
    border-radius: 12px;
}


/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .Board-member {
        flex-direction: column;
        align-items: center;
    }

    .img-cont {
        margin-right: 0;
        margin-bottom: 20px;
    }
}
@media (max-width: 480px) {
    .mainBoard {
        flex-direction: column;
        align-items: center;
    }

    .img-cont {
        margin-right: 0;
        margin-bottom: 20px;
    }
}
