﻿
.banner-container {
    top: -55px;
}

.banner-image {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
}

    .banner-image img {
        height:100%;
        min-width:100%;
    }

    .home-banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
}

.banner-content {
    color: white;
    max-width: 800px;
    margin: auto;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Header Styling */
.section-header {
    margin-bottom: 3rem;
}

    .section-header h2 {
        font-weight: 600;
        color: #352e6e !important;
        position: relative;
        padding-bottom: 0.5rem;
        display: inline-block;
    }

        .section-header h2::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 3px;
            background-color: #212529 !important
        }

    .section-header p.lead {
        font-size: 1.1rem;
        color: #f8fcff;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .banner-image {
        height: 350px;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }

    .banner-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner-image {
        height: 250px;
    }

    .banner-content {
        padding: 1rem;
    }

        .banner-content h1 {
            font-size: 1.4rem;
        }

        .banner-content p {
            font-size: 0.95rem;
        }
}


/* upcomming card */

.upcoming-events-preview {
    position: relative;
    z-index: 1;
    overflow: hidden; /* Ensures ::before doesn't overflow the container */
}

    .upcoming-events-preview::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgb(255 255 255 / 50%), rgb(255 255 255 / 70%)), url(../upcommingBack.jpg) center / cover no-repeat;
        z-index: -1; /* Puts it behind the content */
        opacity: 1;
        transition: opacity 0.3s ease;
    }

.upcommingCard {
    position: relative;
    /* width: 350px; */
     height: 500px !important; 
    border-radius: 20px;
    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;
}


.upcommingCardContainer {
    min-width: 380px;
    max-width: 380px;
    height: 500px;
    min-height: 400px;
    max-height: 500px;
}


/* About ISOI Summary Section on Home Page */
.about-isoi-summary {
    position: relative;
    padding: 60px 0;
    background-color: #362f6f;
    color: #fff;
    overflow: hidden;
}

@media (max-width:480px){
    .about-isoi-summary {
        padding: 40px 0;
   
    }
}




    .about-isoi-summary .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(206 237 255);
        z-index: 1;
    }

    .about-isoi-summary .content-on-overlay {
        position: relative;
        z-index: 2;
    }

.image-container {
    position: relative;
}

.main-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.secondary-img {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 40%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #fff;
    background-color: #fff;
}

.summary-box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 25px 30px;
    border-radius: 8px;
    border-left: 5px solid #362f6f;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    color: #0a0b0c;
    margin-left: 15px;
}

    .summary-box h3 {
        color: #362f6f;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .summary-box p {
        font-size: 1.05rem;
        line-height: 1.7;
        color: #343a40;
    }

    .summary-box .btn-read-more {
        margin-top: 15px;
        margin-top: 15px;
        padding: 10px 20px;
        /* background-color: #82c3e3; */
        color: #37306f;
        border: 2px solid #37306f;
        font-weight: 500;
        font-size: 17px;
        transition:all 0.3s ease-in;
    }

        .summary-box .btn-read-more:hover {
            margin-top: 15px;
            padding: 10px 20px;
            color: white;
            border: 2px solid #37306f;
            text-decoration: none;
            background-color: #37306f;
            transform: translateY(-4px);
        }

        .summary-box .btn-read-more i {
            font-size: 19px;
            transition: all 0.3s ease-in;
        }

        .summary-box .btn-read-more:hover i {
            transform: translateX(4px);
            transition: all 0.3s ease-in;
        }


/* Responsive Tweaks */
@media (max-width: 768px) {
    .secondary-img {
        position: relative;
        bottom: 0;
        right: 0;
        width: 60%;
        margin-top: 20px;
        display: block;
    }
}

/* Carousel Styling (For Featured Members) */
.featured-members {
    padding: 60px 0;
    background-color: #002340;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../featureCard.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
    /*    position:relative;*/
}

    .feature-overlay::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../Dental.png');
        background-size: cover;
        background-position: center;
        opacity: 0.7;
        z-index: 0;
    }

.card.member-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    color: #333;
}

    .card.member-card .card-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #362f6f;
    }

    .card.member-card .card-subtitle {
        color: #4b4481;
        font-size: 0.95rem;
    }

.btn.btn-style {
    background-color: #362f6f;
    color: #fff;
    border: none;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    padding:7px 25px;
}

    .btn.btn-style:hover {
        background-color: #2b275a;
        color: #fff;
    }

.ViewAllBtn {
    border: 1px solid #352d6f !important;
    color: white !important;
    transition: all 0.3s ease-in !important;
    background-color: #352d6f !important;
}

.btn.ViewAllBtn:hover {
    color: white !important;
    border: 1px solid #352d6f !important;
    text-decoration: none;
    transform: translateY(-3px);
}


@media (max-width: 768px) {
    .featured-members {
        padding: 40px 0;
    }

    .card.member-card {
        margin-bottom: 1rem;
    }

        .card.member-card .card-title {
            font-size: 1rem;
        }

        .card.member-card .card-text {
            font-size: 0.85rem;
        }
}

/* Forum Posts Preview Section */
.forum-preview-wrapper {
    padding: 60px 0;
    background-color: #d2d5e1;
}

.forum-preview-card-container {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 0px !important;
}

.forum-preview-image {
    /* flex: 1 1 50%; */
    position: relative;
    min-height: 350px;
    max-height: 350px;
    min-width: 350px;
    max-width: 350px;
    transform: scale(0.95);
}

/*    .forum-preview-image::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        z-index: 1;
    }
*/

    .forum-preview-content {
    flex: 1 1 50%;
    padding: 30px;
    height: 350px;
}

.forum-preview-tags .badge {
    margin-right: 8px;
    font-size: 0.9rem;
    padding: 10px 12px;
    background-color: #4b438f !important;
}

.forum-preview-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #1b1b6a;
}

.forum-preview-meta {
    font-size: 0.9rem;
    color: #4b438f;
    margin-bottom: 1rem;
}

.forum-preview-text {
    font-size: 1rem;
    color: #342c6e;
    margin-bottom: 1.5rem;
}

.forum-preview-btn {
    transition: all 0.3s ease !important;
    padding: 7px 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #4b438f !important;
    border: 1px solid #4b438f !important;
}

    .forum-preview-btn:hover {
        text-decoration: none;
        background-color: #4b438f !important;
        color: #fff !important;
        border: 1px solid white !important;
    }

.forum-preview-footer {
    text-align: center;
    margin-top: 60px;
}

.upcoming-events-preview {
    padding: 60px 0px;
}

.upcomming-date {
    text-align: center;
    color: rgb(80 71 143);
}

.upcomingBtn {
    padding: 7px 25px !important;
    border: 1px solid #352d6f !important;
    background-color: #352d6f !important;
    color: white !important;
    transition: all 0.3s ease-in !important;
    border-radius: 20px !important;
}

    .upcomingBtn:hover {
        text-decoration: none !important;
        border: 1px solid #352d6f !important;
        background-color: white !important;
        color: #352d6f !important;
        transform: translateY(-2px) !important;
        transition: all 0.3s ease-in !important;
    }

.explore-preview-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    border-radius: 0.375rem;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
    padding: 20px 0px;
    z-index: 10;
}

    .explore-preview-card:hover {
        transform: translateY(-10px);
        box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    }

    .explore-preview-card.card-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        padding: 1.25rem;
        align-items: center;
        transition: all .3s ease-in;
    }

.card-subtitle {
    color: #2b2366;
    text-align: center;
}


.exploreClubBtn {
    border: 1px solid #352d6f !important;
    padding: 7px 25px !important;
    background-color: #352d6f !important;
    color: white !important;
}

    .exploreClubBtn:hover {
        border: 1px solid #352d6f !important;
        padding: 7px 25px !important;
        background-color: white !important;
        color: #352d6f !important;
        text-decoration: none !important;
    }

.view-all-btn-container {
    margin-top: 70px;
    text-align: center;
}



.club-all-btn-container {
    margin-top: 60px;
    text-align: center;
}

.findStudyClub_Btn {
    border: 1px solid #352d6f !important;
    color: #ffffff !important;
    transition: all 0.3s ease-in !important;
    z-index: 10 !important;
    position: relative !important;
    background: #352d6f !important;
}

    .findStudyClub_Btn:hover {
        background-color: #352d6f !important;
        color: #ffffff !important;
        border: 1px solid #352d6f !important;
        z-index: 10 !important;
        position: relative !important;
        text-decoration: none !important;
        transform: translateY(-3px);
    }

        .findStudyClub_Btn:hover i {
            transform: translateX(3px);
        }





.study-clubs-preview {
    position: relative;
    overflow: hidden; /* Prevent overlay overflow */
    z-index: 0;
    padding: 60px 0px;
    background: white;
}

.studyClub-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

    .studyClub-overlay::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom right, rgb(0 0 0 / 5%), rgb(229 161 161 / 80%));
        z-index: -1;
        opacity: 0.5;
    }



/* forum Posts Preview Section */
.forum-preview-wrapper {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    /* ::before for background image */
    .forum-preview-wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('../singalPost.jpg') no-repeat center center/cover;
        z-index: -2;
        opacity: 0.8;
    }

    /* ::after for dark overlay */
    .forum-preview-wrapper::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(255 255 255 / 70%); /* adjust opacity as needed */
        z-index: -1;
    }


.recent-forum-posts-preview {
    padding: 100px 0px;
}

.visitMemberWall-btn {
    border: 1px solid #352d6f !important;
    color: #ffffff !important;
    transition: all 0.3s ease-in !important;
    background-color: #352e6e !important;
}

    .visitMemberWall-btn:hover {
        border: 1px solid #352d6f !important;
        color: #ffffff !important;
        transition: all 0.3s ease-in !important;
        background-color: #352e6e !important;
        transform: translateY(-4px);
        text-decoration: none;
    }

/*    meet our office members*/
.office-bearer-profile {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 20px;
    border-top: 4px solid #342d6e;
}

    .office-bearer-profile:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }

.member-image-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #352e6e;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #352e6e;
}

.member-title {
    font-size: 1rem;
    color: #352e6e;
    margin-bottom: 0;
}

.row {
    margin: 20px 0px;
}



/* Accreditations Highlight Section */
.accreditations-highlight {
    position: relative;
    padding: 60px 0;
    background: #b6b6bd;
    overflow: hidden;
}

    .accreditations-highlight .overlay {
        content: '';
        position: absolute;
        inset: 0;
        background: rgb(255 255 255);
        z-index: 1;
    }

    .accreditations-highlight .container {
        position: relative;
        z-index: 2;
    }

    .accreditations-highlight h2,
    .accreditations-highlight p {
        color: #000000eb;
    }

.custom-btn-outline {
    border: 1px solid #352e6e !important;
    color: #ffffff !important;
    /* background-color: transparent; */
    transition: all 0.3s ease !important;
    background-color: #383170 !important;
}

    .custom-btn-outline:hover {
        background-color: #383170 !important;
        color: white !important;
        transform: scale(1.05) !important;
        border: 1px solid white !important;
        text-decoration: none !important;
    }

.btn-info:hover {
    background-color: #1d76d3;
    transform: scale(1.05);
    border: 1px solid #1d76d3;
    text-decoration: none;
}


@media (max-width: 576px) {
    .accreditations-highlight h2 {
        font-size: 1.5rem;
    }

    .accreditations-highlight .btn {
        width: 100%;
    }
}




/* E journal section */
.e-journal-teaser {
    position: relative;
    overflow: hidden;
    padding: 60px 0px;
    color: white;
}

    /* ::before for background image and overlay */
    .e-journal-teaser::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../isoi_background.png');
        z-index: 0;
        pointer-events: none;
        background-repeat:no-repeat;
        background-size:cover;
    }

    /* Bring actual content above ::before */
    .e-journal-teaser .container {
        position: relative;
        z-index: 1;
    }

    .e-journal-teaser h2,
    .e-journal-teaser p,
    .e-journal-teaser h4 {
        color: #ffffff;
    }

    .e-journal-teaser h2,
    .e-journal-teaser p,
    .e-journal-teaser h4 {
        color: #352e6e;
    }

.ejournal-image {
    width: 100%;
    max-width: 470px;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin: 0 auto;
    display: block;
}

    .ejournal-image:hover {
        transform: scale(1.02);
    }

.e-journal-teaser .btn-primary {
    background-color: #352d6f;
    border-color: #2f2962;
    font-size: 1.1rem;
    border-radius: 0.5rem;
}

    .e-journal-teaser .btn-primary:hover {
        background-color: #2f2962;
        border-color: #261f4f;
        transform: translateY(-3px);
        text-decoration: none;
    }

.shadow-xl {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 991.98px) {
    .ejournal-image {
        max-height: 400px;
    }

    .e-journal-teaser .p-5 {
        padding: 2rem;
    }

    .e-journal-teaser h2 {
        font-size: 2rem;
    }
}


@media (max-width: 991.98px) {
    .ejournal-image {
        max-width: 100%;
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .ejournal-image {
        max-height: 250px;
    }
}

.upcommingSectionImage {
    height: 270px;
    display: flex;
    align-items: center;
}

    .upcommingSectionImage img {
        height: auto;
    }

.chatforumImg{
    height:100%;
    width:100%;
}