﻿.member-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    gap: 58px !important;
}

.member-profile {
    background-color: white; /* Dark card background */
    color: #fff;
    width: 280px;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .member-profile:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }

.member-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 20px;
}

.member-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.member-title {
    font-size: 14px;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .member-profile {
        width: 90%;
    }
}

.custom-btn {
    width: 130px;
    height: 0px;
    color: #fff;
    border-radius: 5px;
    padding: 0px 0px;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
}

.btn-12 {
    position: relative;
    right: 130px;
    bottom: 20px;
    border: none;
    box-shadow: none;
    width: 130px;
    height: 0px;
    line-height: 42px;
    -webkit-perspective: 230px;
    perspective: 230px;
}

    .btn-12 span {
        background: rgb(0, 172, 238);
        background: linear-gradient(266deg, rgb(253 190 51) 0%, rgb(253 190 51) 100%);
        display: block;
        position: absolute;
        width: 385px;
        height: 40px;
        box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
        border-radius: 5px;
        margin: 0;
        text-align: center;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: all .3s;
        transition: all .3s;
        border-radius: 20px;
    }

        .btn-12 span:nth-child(1) {
            box-shadow: -7px -7px 20px 0px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 20px 0px #0002, 4px 4px 5px 0px #0001;
            -webkit-transform: rotateX(90deg);
            -moz-transform: rotateX(90deg);
            transform: rotateX(90deg);
            -webkit-transform-origin: 50% 50% -20px;
            -moz-transform-origin: 50% 50% -20px;
            transform-origin: 50% 50% -20px;
        }

        .btn-12 span:nth-child(2) {
            -webkit-transform: rotateX(0deg);
            -moz-transform: rotateX(0deg);
            transform: rotateX(0deg);
            -webkit-transform-origin: 50% 50% -20px;
            -moz-transform-origin: 50% 50% -20px;
            transform-origin: 50% 50% -20px;
        }

    .btn-12:hover span:nth-child(1) {
        box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
        -webkit-transform: rotateX(0deg);
        -moz-transform: rotateX(0deg);
        transform: rotateX(0deg);
    }

    .btn-12:hover span:nth-child(2) {
        box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
        color: transparent;
        -webkit-transform: rotateX(-90deg);
        -moz-transform: rotateX(-90deg);
        transform: rotateX(-90deg);
    }

.fact-text a {
    color: #352e6e !important;
    /*text-decoration: none;*/
    transition: color var(--transition-speed) var(--transition-timing);
    font-weight:600;
}

.about-section2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(rgb(141 137 175 / 70%), rgb(193 190 211 / 70%)), url(../Dental.png); */
    background: white !important;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 0;
}

.about-section2 * {
    position: relative;
    z-index: 1;
    color: #352e6e !important;
}


.committee-container {
    max-width: 1360px;
    margin: calc(var(--navbar-height) + -2rem) auto 4rem;
    padding: 30px 20px;
/*    background-color: white !important;*/
}



/* upcomming card */
.upcommingCard {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    /*    cursor: pointer;*/
    transition: transform 0.3s ease;
}
    .upcommingCard:hover {
        transform: scale(1.02);
    }

    .upcommingCard::before {
        content: "";
        background: rgba(0, 0, 0, 0.4);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .upcommingCard:hover::before {
        opacity: 1;
        transition: all 0.3s ease-in;
    }

    .upcommingCard img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.upcommingCard:hover .card-content {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease-in;
}

.card-content h2 {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.card-content .verified {
    color: green;
}

.card-content p {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin: 10px 0;
    font-size: 14px;
}

.follow-btn {
    background: #352e6e;
    color:white;
    border: none;
    padding: 5px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: default !important;
    transition: all 0.3s ease-in-out;

}

    

.upcommingCard .upcomingNAme {
    position: absolute;
    bottom: 0px;
    color: rgb(70, 66, 66);
    text-align: center;
    padding: 5px;
    font-size: 18px;
    font-weight: 500;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease-in;
}

.upcommingCard:hover .upcomingNAme {
    opacity: 0;
    transition: all 0.3s ease-in;
}

.ViewAllEventBtn {
    background-color: white;
    color: rgb(70, 66, 66);
    border: 1px solid rgb(70, 66, 66);
}

    .ViewAllEventBtn:hover {
        text-decoration: none;
        background-color: rgb(122, 113, 113);
        color: white;
        border: 1px solid rgb(179, 166, 166);
        transition: all 0.3s ease-in;
    }

        .ViewAllEventBtn:hover i {
            transform: translateX(3px);
            transition: all 0.3s ease-in;
        }

.exploreClubBtn {
    border: 1px solid #352d6f;
    padding: 7px 25px;
    background-color: #352d6f;
    color: white;
}

    .exploreClubBtn:hover {
        border: 1px solid #352d6f;
        padding: 7px 25px;
        background-color: white;
        color: #352d6f;
        text-decoration: none;
    }

.findStudyClub_Btn {
    border: 2px solid #352d6f;
    color: #352d6f;
    transition: all 0.3s ease-in;
}

    .findStudyClub_Btn:hover {
        background-color: #352d6f;
        color: white;
        border: 2px solid #352d6f;
        text-decoration: none;
    }

        .findStudyClub_Btn:hover i {
            transform: translateX(3px);
            transition: all 0.3s ease-in;
        }


.viewFullCommitte_Btn {
    background-color: rgb(235, 235, 235);
    color: rgb(104, 100, 100);
    border: 1px solid rgb(104, 100, 100);
}

    .viewFullCommitte_Btn:hover {
        text-decoration: none;
        background-color: rgb(104, 100, 100);
        color: white;
        border: 1px solid rgb(104, 100, 100);
        transition: all 0.3s ease-in;
    }
