﻿.swiper {
    width: 100%;
    padding: 40px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.card-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 350px;
}

.member-thumb img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.star-rating {
    font-size: 1.2rem;
    color: #fbc02d;
    margin-top: 10px;
}

.single-welcome-slide {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 100%;
    height: 100vh;
    /*                       position: absolute;*/
    /*                       top:0.8%;*/
}

.fixed-Cert {
    /*                       border:2px solid green;*/
    width: 16vw;
}

@media (max-width: 2650px) {

    .single-instagram-item {
        display: flex;
        justify-content: center; /* Horizontal centering */
        align-items: center; /* Vertical centering */
        height: 50%; /* Or a specific height like 300px */
        min-height: 300px;
    }

    .login-wrapper {
        margin-top: -5vh;
    }
}

/* Tablet view (up to 1024px wide) */
@media (max-width: 1024px) {
    .single-welcome-slide {
        height: 80vh;
        background-size: cover;
        background-position: center center;
    }

    .welcome-text h2 {
        font-size: 20px !important;
    }

    .single-instagram-item {
        min-height: 20vh; /* Ensure there's enough space vertically */
    }

    .certificate-container {
        max-width: 90vw;
        margin: auto;
    }

    .single-instagram-item {
        display: flex;
        justify-content: center; /* Horizontal centering */
        align-items: center; /* Vertical centering */
        height: 50%; /* Or a specific height like 300px */
        min-height: 300px;
        /*        border:1px solid green;*/
    }

        .single-instagram-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain; /* Keeps image proportions */
            display: block;
        }
}

/* Mobile view (up to 768px wide) */
@media (max-width: 768px) {
    .single-welcome-slide {
        height: 60vh !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .welcome-text h2 {
        font-size: 15px !important;
    }

    img {
        width: 100% !important;
        height: auto;
    }

    .single-instagram-item {
        min-height: 40px;
    }

        .single-instagram-item img {
            width: 450px !important;
            height: 350px;
        }

    .certificate-container {
        max-width: 87vw;
        margin: auto;
    }
}

.single-instagram-item {
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    z-index: -1 !important;
    height: 50%; /* Or a specific height like 300px */
    /*min-height: 300px;*/ /* Ensure there's enough space vertically */
    width: 95%
}

    .single-instagram-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* Keeps image proportions */
        display: block;
    }

/*.single-welcome-slide .welcome-text p {
    display: block;
    text-align: justify !important;
    text-decoration: none;
}
*/
.login-action {
    text-align: center;
    margin-top: 2px;
}

.custom-search-section {
    background-color: #ffffff;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-radius: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.custom-search-form .form-control {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
}

    .custom-search-form .form-control::placeholder {
        color: black;
    }

.custom-search-form .btn i {
    font-size: 18px;
}

.login-wrapper {
    width: 100%;
    max-width: 340px;
    /* max-height: 288px; */
    height: auto;
    padding: 25px;
    background: linear-gradient(-226deg, #fff 8%, #eef3f5 100%);
    border-radius: 8px;
    /*                                      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);*/
    /*                       margin-top: 1rem;*/
    position: absolute;
    /*                                      bottom: 10rem;*/
    top: -17vh;
    /*                                      border: 2px solid green;*/
}

.team-content-area .member-thumb {
    margin: 0 auto 18px;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .team-content-area .member-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain !important;
        border-radius: 10px;
        display: block;
    }

@media (max-width: 991px) {
    .welcome-text {
        text-align: center; /* Center the content on medium and smaller screens */
    }
}

@media (max-width: 767px) {
    .login-box {
        margin: 0 auto; /* Center the login box on small screens */
        width: 98%; /* Make it smaller on small screens */
    }
}

@media (max-width: 480px) {
    .about-us-area, .our-team-area, .owl-carousel {
        margin: 85px auto;
        width: 88%; /* Make it smaller on small screens */
    }

    .custom-modal-content {
        background-color: #fff;
        margin: 20% auto !important;
        padding: 20px;
        border-radius: 12px;
        width: 90%;
        max-width: 900px;
        position: relative;
    }

    #search-form {
        margin: 85px auto;
        width: 80%; /* Make it smaller on small screens */
    }

    .single-welcome-slide.bg-img.bg-overlay {
        height: 850px !important;
        /*background-color: #ff6600 !important;*/
    }

    .cat {
        display: flex;
        justify-content: center;
    }

    .certificate-container {
        max-width: 85vw;
        margin: auto;
    }

    .login-wrapper {
        width: 90%;
        max-width: 340px;
        /* max-height: 288px; */
        height: auto;
        padding: 25px;
        background: linear-gradient(-226deg, #fff 8%, #eef3f5 100%);
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        /*                       margin-top: 1rem;*/
        position: relative;
        /*                                          bottom: 10rem;*/
        /*                       top:1%;*/
        /*                                          border: 2px solid red;*/
        top: -13.6rem !important;
    }

    .mySlides {
        opacity: 0;
        transition: opacity 1s ease-in-out;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        object-fit: cover;
        background-size: cover;
        /*        background-size: 10;*/
        background-position: center;
        background-repeat: no-repeat;
    }
}

.event_item.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    height: 100%; /* to fill the column height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/*@media (max-width: 426px) {

    .login-wrapper {
        position: relative;
        top: -13.6rem;
        width: 85%;
    }
}*/

@media (max-width: 375px) {
    .certificate-container {
        max-width: 80vw;
        margin: auto;
    }

    .login-wrapper {
        width: 90%;
        max-width: 340px;
        /* max-height: 288px; */
        height: auto;
        padding: 25px;
        background: linear-gradient(-226deg, #fff 8%, #eef3f5 100%);
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        /*                       margin-top: 1rem;*/
        position: relative;
        /*                                          bottom: 30rem;*/
        /*                       top:1%;*/
        /*                                          border: 2px solid red;*/
    }
}

.event_item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    width: 100%;
    max-width: 500px;
    transition: box-shadow 0.3s ease;
}

    .event_item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.event_name a {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
}

    .event_name a:hover {
        text-decoration: underline;
    }

.event-modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

.event-modal-content {
    position: relative;
    background: linear-gradient(135deg, #ffe6ec, #e6f7ff);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 600px;
    color: #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 0;
    animation: fadeIn 0.4s ease-in-out;
    text-align: justify;
}

    /* Decorative corner circle - Top Left */
    .event-modal-content::before {
        content: "";
        position: absolute;
        top: -40px;
        left: -40px;
        width: 120px;
        height: 120px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        animation: waveMove 6s infinite ease-in-out alternate;
        z-index: 0;
    }

    /* Decorative corner circle - Bottom Right */
    .event-modal-content::after {
        content: "";
        position: absolute;
        bottom: -40px;
        right: -40px;
        width: 120px;
        height: 120px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        animation: waveMove 6s infinite ease-in-out alternate-reverse;
        z-index: 0;
    }

    /* Input fields on top of background shapes */
    .event-modal-content * {
        position: relative;
        z-index: 1;
    }

/* Animation */
@keyframes waveMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15px, 15px) scale(1.1);
    }
}


.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 26px;
    color: black;
    cursor: pointer;
}

.form-control {
    /*background-color: rgba(255,255,255,0.2);*/
    border: 1px solid rgba(255,255,255,0.3);
}

    .form-control::placeholder {
        color: black;
    }

    /* Hover effect */
    .form-control:hover {
        background: linear-gradient(135deg, #fff1f5, #eefaff);
        border-color: #d8d8d8;
    }

    /* Focus (on click/input active) effect */
    .form-control:focus {
        background: linear-gradient(135deg, #ffe6ec, #e6f7ff);
        border-color: #999;
        box-shadow: 0 0 5px rgba(255, 182, 193, 0.4);
    }

.btn-light {
    background-color: #fff;
    color: #764ba2;
    padding: 5px 11px;
    border-radius: 6px;
    transition: 0.3s ease;
}

    .btn-light:hover {
        background-color: #f4f4f4;
        color: #333;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control:disabled, .form-control[readonly] {
    background-color: #bddeff;
    opacity: 1;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 rgba(118, 75, 162, 0.0);
    }

    50% {
        box-shadow: 0 0 20px rgba(118, 75, 162, 0.6);
    }

    100% {
        box-shadow: 0 0 0 rgba(118, 75, 162, 0.0);
    }
}

.event_item.card {
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulseGlow 2s ease-in-out;
    animation-iteration-count: 2; /* Glows twice on load */
}

    /* Hover effect for emphasis */
    .event_item.card:hover {
        transform: scale(1.03);
        box-shadow: 0 0 25px rgba(118, 75, 162, 0.7);
        cursor: pointer;
    }

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-field {
    width: 100%;
    padding-right: 40px; /* space for the eye icon */
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #555;
    user-select: none;
}

/* Container: show 3 in a row, wrap on smaller screens */
.event_items {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 1.5rem;
}

/* Each Card */
.event_card_v2 {
    background: linear-gradient(135deg, #ffe9e9, #fff9e6);
    border: 1px solid rgba(255, 204, 204, 0.4);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 200, 200, 0.25);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    flex: 1 1 calc(33.333% - 2rem); /* 3 cards per row with spacing */
    max-width: calc(33.333% - 2rem);
    text-align: center; /* Center inner text */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #4b2c2c;
}

    /* Hover Effect */
    .event_card_v2:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 30px rgba(255, 180, 180, 0.3);
    }

/* Inner elements centered */
.event_card_header,
.event_card_body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive: 2 per row on tablet, 1 per row on mobile */
@media (max-width: 992px) {
    .event_card_v2 {
        flex: 1 1 calc(50% - 2rem);
        max-width: calc(50% - 2rem);
    }
}

@media (max-width: 576px) {
    .event_card_v2 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.register-prompt {
    text-align: center;
    /*    margin-top: 20px;*/
}

.forgot-link {
    font-size: 13px;
    color: #516889;
    text-align: center;
}

    .forgot-link a {
        color: #007bff;
        text-decoration: none;
    }

.top-left {
    top: 20px;
    left: 20px;
}

.card-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    background-color: #fdecea;
    border: 1px solid rgba(255, 204, 204, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 400px;
    transition: all 0.3s ease;
}

.member-thumb {
    width: 100%;
    height: 100px;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 10px;
}

    .member-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 10px;
    }

.card-box p {
    height: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* approx for 120px with line-height 1.5 */
    -webkit-box-orient: vertical;
    text-align: justify;
    text-align-last: center; /* Center last line if single-line */
}


/* Optional: consistent title spacing */
.card-box h5 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.star-rating {
    font-size: 18px;
    color: #f39c12;
}

.line1 {
    height: 3px;
    width: 70px;
    background-color: #fc6060;
    margin: 0 auto 30px auto; /* center it */
}

.line2 {
    height: 3px;
    width: 70px;
    background-color: #fc6060;
    margin: 0 auto 5px auto; /* center it */
}

.event_location_v2.highlight-emphasis {
    font-size: 18px;
    color: rgba(255, 64, 88, 0.8); /* Eye-catching red */
    font-weight: 600;
    letter-spacing: 0.5px;
}


.vertical-btn {
    writing-mode: vertical-rl;
    /*transform: rotate(180deg);*/
    position: fixed;
    top: 50%;
    z-index: 9999;
    background: rgba(255, 64, 88, 0.8);
    color: white;
    padding: 10px 6px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    text-align: center;
    /*font-weight: bold;*/
    transition: background 0.3s, transform 0.3s;
}

    .vertical-btn:hover {
        background: #ff69b4;
        /*transform: rotate(180deg) scale(1.05);*/
        color: white;
    }

.left-btn {
    left: 0;
    transform-origin: left center;
}

.right-btn {
    right: 0;
    transform-origin: right center;
    border: none;
    cursor: pointer;
}

@media (max-width: 576px) {
    .vertical-btn {
        padding: 8px 4px;
        font-size: 14px;
    }
}

.slideshow {
    list-style-type: none;
    /*                       position:relative;*/
}

    /** SLIDESHOW **/
    .slideshow,
    .slideshow:after {
        top: -16px; /*Not sure why I needed this fix*/
        /*width: 0*/
        /*                           height: 100%;*/
        left: 0px;
        z-index: 10;
        overflow-x: hidden !important;
    }

        .slideshow li span {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0px;
            left: 0px;
            color: transparent;
            background-size: cover;
            background-position: 50% 50%;
            background-repeat: no-repeat;
            object-fit: contain;
            opacity: 0;
            z-index: -1;
            animation: imageAnimation 145s ease-in-out infinite 0s;
        }

/* Tablet view (up to 1024px wide) */
@media (max-width: 1025px) {
    /* .slideshow li span {
        height: 80vh;
        background-size: cover;
        background-position: center center;
    }*/

    .welcome-text h2 {
        font-size: 20px !important;
    }

    .login-wrapper {
        margin-top: 4.6vh;
    }
}

/* Mobile view (up to 768px wide) */
@media (max-width: 768px) {
    .slideshow li span {
        height: 60vh !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .welcome-text h2 {
        font-size: 15px !important;
    }

    .video_img {
        width: 100% !important;
        height: auto;
    }

    .login-wrapper {
        position: relative;
        top: 18.6vh !important;
        /*                                          border: 2px solid green;*/
    }
}

@media (max-width: 767px) {
    .login-wrapper {
        width: 90%;
        max-width: 340px;
        /* max-height: 288px; */
        height: auto;
        padding: 25px;
        background: linear-gradient(-226deg, #fff 8%, #eef3f5 100%);
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        /*                       margin-top: 1rem;*/
        position: relative;
        /*                                          bottom: 10rem;*/
        /*                       top:1%;*/
        /*                                          border: 2px solid red;*/
        top: 1.8rem !important;
    }
}

@media (max-width: 480px) {
    .slideshow li span {
        height: 100vh !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .welcome-text h2 {
        font-size: 15px !important;
    }

    /*img {
        width: 120% !important;
        height: auto;
    }*/

    .login-wrapper {
        width: 90%;
        max-width: 340px;
        /* max-height: 288px; */
        height: auto;
        padding: 25px;
        background: linear-gradient(-226deg, #fff 8%, #eef3f5 100%);
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        /*                       margin-top: 1rem;*/
        position: relative;
        /*                                          bottom: 10rem;*/
        /*                       top:1%;*/
        /*                                          border: 2px solid red;*/
        top: -13.6rem !important;
    }
}

@keyframes titleAnimation {
    0% {
        opacity: 0
    }

    8% {
        opacity: 1
    }

    17% {
        opacity: 1
    }

    19% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

.no-cssanimations .cb-slideshow li span {
    opacity: 1;
}

@media (min-width: 1200px) {
    .col-xl-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 32% !important;
        max-width: 50%;
    }
}

@media (max-width: 426px) {
    .login-wrapper {
        width: 90%;
        max-width: 340px;
        /* max-height: 288px; */
        height: auto;
        padding: 25px;
        background: linear-gradient(-226deg, #fff 8%, #eef3f5 100%);
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        /*                       margin-top: 1rem;*/
        position: relative;
        /*                                          bottom: 10rem;*/
        /*                       top:1%;*/
        /*                                          border: 2px solid red;*/
        top: -13.6rem !important;
    }
}
/*slider*/
.mySlides {
    /*    background-size: cover;*/
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
    background-size: 100vw 100vh;
}



.show {
    opacity: 1;
    z-index: 1;
}

.slider-container {
    position: relative;
    max-width: 100%;
    height: 100vh;
    /*                                      border: 2px solid black;*/
}

.login-Box-container {
    position: absolute;
    top: 16.1vh;
    left: 0;
}

.form-control-1 {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.25;
    text-align: center;
    color: #4E5154;
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    font-weight: 600;
    border-radius: 0.25rem;
}

.articles {
    text-align: justify;
}

    .articles::before {
        content: "✔";
        color: #fc6060;
    }

.blur-hover {
    filter: blur(3px);
    opacity: 0.5;
    transform: scale(1);
    transition: all 0.5s ease;
}

    .blur-hover:hover {
        filter: blur(0);
        opacity: 1;
        transform: scale(1.02);
    }

.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .5rem !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.promo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.promo-card {
    /* width: 220px; */
    background: linear-gradient(135deg, #FFA726, #FB8C00);
    border-radius: 16px;
    padding: 20px 15px;
    color: white;
    position: relative;
    gap: 5px;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1;
    margin-bottom: 20px; /* 👈 add this for vertical space below */
}


    .promo-card h1 {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .promo-card h2 {
        font-size: 28px;
        font-weight: bold;
        color: #fff !important;
        margin: 0;
    }

.Offer h2 {
    font-size: 28px;
    font-weight: bold;
    color: #fff !important;
    margin: 0;
}

.promo-card p {
    font-size: 13px;
    margin-top: 5px;
}

.code-box {
    background: white;
    color: black;
    margin: 15px auto 5px;
    padding: 10px;
    width: 100%;
    border-radius: 10px;
    font-weight: bold;
    font-size: 13px;
    border: 2px dashed #333;
}

.brand-button {
    background: #ffb300;
    color: #333;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    margin-top: 8px;
}

.expire-text {
    font-size: 12px;
    color: #fff;
    margin-top: 5px;
}

body.modal-open .content-wrapper {
    filter: blur(5px);
    pointer-events: none;
}


.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.custom-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    position: relative;
}

.custom-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    text-align: center;
}

.event_description_v2, .event_location_v2 {
    line-height: 1.2;
    margin: 0;
    padding: 0;
    text-align: justify;
}

.emoji {
    display: inline-block;
    line-height: 1;
    margin-right: 4px;
    font-size: 1em; /* You can tweak if needed */
}
