* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: auto;
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
    color: #555;
    font-size: 15px;
    line-height: 30px;
    font-weight: normal;
    text-align: left;
}

h1, h2, h3,
h4, h5, h6 {
    font-size: inherit;
    line-height: inherit;
    font-family: 'Josefin Sans', sans-serif;
}

h1, h2, h3,
h4, h5, h6, p, ul, li, a, span {
    margin: 0;
}

a {
    text-decoration: none;
    color: #555;
    cursor: pointer;
}

.main-container {
    max-width: 1920px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

.inside-container {
    max-width: 940px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0 15px;
}

.sections-detail {
    margin: 0 0 55px;
}

.section-title {
    font-family: 'Roboto Slab', serif;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 0.84px;
    font-weight: 700;
    color: #7b6cd5;
    text-align: center;
}

.section-title-desc {
    font-size: 15px;
    line-height: 40px;
    font-weight: 400;
    letter-spacing: 0.45px;
    color: #666;
    text-align: center;
}
/*Banner*/
.yoga-template .banner {
    background-image: url(../img/herobg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: auto;
    min-height: 620px;
    color: #fff;
    position: relative;
    padding-top: 40px;
}

    .yoga-template .banner .banner-overlay {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        max-width: 1920px;
        background-color: rgba(0,0,0,.5);
        z-index: 2;
    }

    .yoga-template .banner .top-bar {
        padding: 26px 15px;
        border-bottom: 1px solid #fff;
    }

    .yoga-template .banner .top-bar-left,
    .top-bar-right {
        padding-top: 24px;
        z-index: 3;
    }

        .yoga-template .banner .top-bar-left img {
            margin-left: -270px;
        }

        .yoga-template .banner .top-bar-left a {
            color: #fff;
            font-size: 18px;
            letter-spacing: 0.18px;
            font-family: 'Josefin Sans', sans-serif;
            font-weight: 400;
            vertical-align: middle;
        }

    .yoga-template .banner .logo {
        text-align: center;
        z-index: 3;
    }

    .yoga-template .banner .top-bar-right {
        text-align: right;
        margin-right: -270px;
        margin-top: 18px;
    }

        .yoga-template .banner .top-bar-right a {
            font-family: 'Open Sans', sans-serif;
            color: #fff;
            font-size: 18px;
            letter-spacing: 0.18px;
            font-weight: 400;
            vertical-align: middle;
        }

            .yoga-template .banner .top-bar-left a:hover,
            .yoga-template .banner .top-bar-right a:hover {
                color: #fe86d4;
                text-decoration: none;
            }

    .yoga-template .banner .top-bar-left i,
    .top-bar-right i {
        font-size: 16px;
        background-color: #fff;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        text-align: center;
        color: #3e2d40;
        vertical-align: middle;
        padding-top: 5px;
    }

    .yoga-template .banner .banner-content {
        padding: 126px 15px;
    }

        .yoga-template .banner .banner-content .content-col {
            text-align: center;
            z-index: 3;
        }

        .yoga-template .banner .banner-content .site-title {
            font-family: 'Josefin Sans', sans-serif;
            font-size: 40px;
            line-height: 40px;
            font-weight: 700;
            margin-bottom: 18px;
            padding-right: 15px;
        }

        .yoga-template .banner .banner-content .site-title-desc {
            font-size: inherit;
            line-height: 25px;
            letter-spacing: 0.45px;
            margin-bottom: 51px;
            width: 97%;
        }

        .yoga-template .banner .banner-content a.banner-btn {
            font-family: 'Josefin Sans', sans-serif;
            font-size: 20px;
            line-height: 25px;
            letter-spacing: 0.6px;
            font-weight: 700;
            padding: 21px 32px 19px;
            background-color: #fe86d4;
            color: #fff;
            border-radius: 3px;
            text-transform: uppercase;
        }

            .yoga-template .banner .banner-content a.banner-btn:hover {
                text-decoration: none;
                color: #7b6cd5;
            }
/*Service*/
.yoga-template .service-section {
    padding: 62px 15px;
}

    .yoga-template .service-section .service-detail {
        text-align: center;
    }

        .yoga-template .service-section .service-detail a:hover {
            text-decoration: none;
        }

            .yoga-template .service-section .service-detail a:hover .service-title {
                text-decoration: none;
                color: #fe86d4;
            }

    .yoga-template .service-section .service-title {
        font-family: 'Josefin Sans', sans-serif;
        font-size: 25px;
        line-height: 40px;
        font-weight: 700;
        letter-spacing: 0.75px;
        color: #fe86d4;
        margin-bottom: 15px;
    }

    .yoga-template .service-section .service-desc {
        font-family: inherit;
        font-size: inherit;
        line-height: 25px;
        font-weight: 400;
        letter-spacing: 0.40px;
    }

    .yoga-template .service-section .service-detail-img {
        max-width: 90px;
        height: auto;
    }
/*Class Yoga Club*/
.yoga-template .best-class-club .detail-col-club {
    padding-bottom: 10px;
}

.yoga-template .best-class-club .best-class-club-desc .club-section-title {
    font-family: 'Roboto Slab', serif;
    font-size: 28px;
    line-height: 40px;
    color: #7b6cd5;
    font-weight: 600;
    text-align: left;
}

.yoga-template .best-class-club .best-class-club-desc ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 13px;
}

    .yoga-template .best-class-club .best-class-club-desc ul li {
        padding-left: 1.3em;
        margin-bottom: 10px;
    }

        .yoga-template .best-class-club .best-class-club-desc ul li:before {
            content: "\f0e7";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            display: inline-block;
            margin-left: -1.3em;
            width: 1.3em;
            font-size: 12px;
            line-height: 40px;
            color: #7b6cd5;
        }

.yoga-template .best-class-club .best-class-club-img {
    /* background-image: url(../img/the-best-class-yoga.jpg); */
    background-image: url(../img/aboutimg.jpg);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}
/*Advantages*/
.yoga-template .advantages-section {
    padding: 60px 15px 270px;
}

.yoga-template .advantages-section {
    /* background-image: url(../img/pg3.jpeg); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

    .yoga-template .advantages-section .advantages-detail a:hover {
        text-decoration: none;
    }

        .yoga-template .advantages-section .advantages-detail a:hover .advantages-detail-title {
            text-decoration: none;
            color: #fe86d4;
        }

    .yoga-template .advantages-section .advantages-detail-title {
        font-family: 'Josefin Sans', sans-serif;
        font-size: 20px;
        line-height: 25px;
        letter-spacing: 0.6px;
        font-weight: 600;
        color: #444;
        /* color: #fe86d4; */
    }

    .yoga-template .advantages-section .advantages-detail-desc {
        font-family: inherit;
        font-size: inherit;
        line-height: 25px;
        letter-spacing: 0.45px;
        color: #666;
    }

    .yoga-template .advantages-section .advantages-detail-img svg {
        max-width: 50px;
        height: auto;
    }

    .yoga-template .advantages-section .advantages-detail-soul,
    .yoga-template .advantages-section .advantages-detail-health,
    .yoga-template .advantages-section .advantages-detail-relax {
        text-align: right;
        width: 50%;
    }

    .yoga-template .advantages-section .advantages-detail-soul {
        margin: 0 0 24px auto;
    }

    .yoga-template .advantages-section .advantages-detail-health {
        margin: 0 auto 24px;
    }

    .yoga-template .advantages-section .advantages-detail-energy,
    .yoga-template .advantages-section .advantages-detail-mind,
    .yoga-template .advantages-section .advantages-detail-meditat {
        width: 50%;
    }

    .yoga-template .advantages-section .advantages-detail-energy {
        margin-bottom: 24px;
    }

    .yoga-template .advantages-section .advantages-detail-mind {
        margin: 0 auto 24px;
    }

    .yoga-template .advantages-section .advantages-detail-meditat {
        margin-left: auto;
    }
/*Yoga Place*/
.yoga-template .yogaPlace-section {
    padding: 60px 15px;
    background-color: #f5f5f5;
    text-align: center;
}
/* changed */
.yoga-template .inside-container .yogaPlace-col {
    display: grid;
    grid-template-columns: repeat(5, 170px);
    gap: 35px;
    /* margin-left: -40px; */
}
/*  end */
.yoga-template .yogaPlace-section .yogaPlace-img {
    width: 145px;
    height: 145px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 auto 18px;
    overflow: hidden;
}

    .yoga-template .yogaPlace-section .yogaPlace-img .yogaPlace-in-img {
        max-width: 146px;
        border-radius: 50%;
    }

.yoga-template .yogaPlace-section .yogaPlace-col a:hover {
    text-decoration: none;
}

    .yoga-template .yogaPlace-section .yogaPlace-col a:hover .yogaPlace-title {
        text-decoration: none;
        color: #fe86d4;
    }

.yoga-template .yogaPlace-section .yogaPlace-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 22px;
    line-height: 40px;
    letter-spacing: 0.88px;
    font-weight: 600;
    color: #434343;
}

.yoga-template .yogaPlace-section .yogaPlace-desc {
    font-family: inherit;
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 0.45px;
    font-weight: 400;
    color: #666;
}
/*Contact us*/
.yoga-template .contact-section {
    padding: 60px 15px;
}

    .yoga-template .contact-section .appointment {
        border: 1px solid #666;
        border-radius: 3px;
        padding: 30px 28px 25px;
    }

        .yoga-template .contact-section .appointment .appointment-title {
            font-family: 'Josefin Sans', sans-serif;
            font-size: 30px;
            line-height: 40px;
            font-weight: 600;
            letter-spacing: 0.6px;
            text-align: center;
            color: #7b6cd5;
        }

        .yoga-template .contact-section .appointment .appointment-desc {
            font-family: inherit;
            font-size: 14px;
            line-height: 20px;
            letter-spacing: 0.56px;
            color: #888;
            text-align: center;
        }

        .yoga-template .contact-section .appointment .appointment-form {
            margin-top: 40px;
        }

            .yoga-template .contact-section .appointment
            .appointment-form .appointment-form-input {
                border: 1px solid #999;
                height: 38px;
                margin-bottom: 9px;
                font-size: 12px;
                line-height: 40px;
                letter-spacing: 0.48px;
            }

            .yoga-template .contact-section .appointment
            .appointment-form .data-input {
                text-transform: uppercase;
            }

            .yoga-template .contact-section .appointment
            .appointment-form .appointment-form-text {
                border: 1px solid #999;
                margin-bottom: 20px;
                font-size: 12px;
                line-height: 40px;
                letter-spacing: 0.48px;
            }

            .yoga-template .contact-section .appointment
            .appointment-form .box-select::before {
                content: "\f0dd";
                font-family: "Font Awesome 5 Free";
                position: absolute;
                top: 41%;
                right: -5%;
                width: 35px;
                height: 38px;
                text-align: center;
                font-size: 14px;
                line-height: 37px;
                color: rgb(255, 255, 255);
                background-color: rgb(123, 108, 213);
                font-weight: 600;
                border-radius: 3px;
                transform: translate(-50%, -50%);
            }

            .yoga-template .contact-section .appointment
            .appointment-form .appointment-form-col-left {
                padding-right: 7px;
            }

            .yoga-template .contact-section .appointment
            .appointment-form .appointment-form-col-right {
                padding-left: 7px;
                padding-right: 7px;
            }

            .yoga-template .contact-section .appointment
            .appointment-form .appointment-form-btn {
                width: 100%;
                padding: 18px 0 13px;
                background-color: #7b6cd5;
                border: 1px solid #7b6cd5;
                border-radius: 3px;
                color: #fff;
                font-family: 'Josefin Sans', sans-serif;
                font-size: 20px;
                line-height: 25px;
                font-weight: 700;
                letter-spacing: 0.6px;
                text-transform: uppercase;
            }

    .yoga-template .contact-section .open-time {
        text-align: center;
    }

        .yoga-template .contact-section .open-time .weekdays {
            margin-top: 50px;
        }

        .yoga-template .contact-section .open-time .weekends {
            margin-top: 40px;
        }

        .yoga-template .contact-section .open-time .open-time-title {
            font-family: 'Josefin Sans', sans-serif;
            font-size: 25px;
            line-height: 40px;
            font-weight: 600;
            letter-spacing: 0.25px;
            color: #7b6cd5;
            margin-bottom: 5px;
        }

        .yoga-template .contact-section .open-time .open-time-clock {
            font-family: inherit;
            font-size: 18px;
            line-height: 40px;
            letter-spacing: 0.72px;
            font-weight: 600;
            color: #444;
        }

        .yoga-template .contact-section .open-time .open-time-course {
            font-family: inherit;
            font-size: inherit;
            line-height: 40px;
            letter-spacing: 0.6px;
            color: inherit;
        }
/* Trainers*/
.yoga-template .trainer-section {
    padding: 60px 15px;
    background-color: #f5f5f5;
    text-align: center;
}

    .yoga-template .trainer-section .trainer-col {
        margin-bottom: 40px;
    }

    .yoga-template .trainer-section .trainer-img {
        width: 182px;
        height: 182px;
        background-color: #fff;
        border-radius: 50%;
        margin: 0 auto 12px;
        overflow: hidden;
        border: unset;
    }

        .yoga-template .trainer-section .trainer-img .trainer-in-img {
            max-width: 182px;
            border-radius: 50%;
        }

    .yoga-template .trainer-section .trainer-col a:hover {
        text-decoration: none;
    }

        .yoga-template .trainer-section .trainer-col a:hover .trainer-title {
            text-decoration: none;
            color: #fe86d4;
        }

    .yoga-template .trainer-section .trainer-title {
        font-family: 'Josefin Sans', sans-serif;
        font-size: 20px;
        line-height: 40px;
        letter-spacing: 0.8px;
        font-weight: 600;
        color: #444;
    }

    .yoga-template .trainer-section .trainer-desc {
        font-family: inherit;
        font-size: 15px;
        line-height: 40px;
        letter-spacing: 0.45px;
        font-style: italic;
        font-weight: 400;
        color: #666;
    }
/*Join Us*/
.yoga-template .join-us-section {
    padding: 55px 15px;
    text-align: center;
}

    .yoga-template .join-us-section .join-us-btn {
        font-family: 'Josefin Sans', sans-serif;
        font-size: 20px;
        line-height: 25px;
        letter-spacing: 0.6px;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        background-color: #7b6cd5;
        border: 1px solid #7b6cd5;
        border-radius: 3px;
        padding: 21px 52px 19px 53px;
    }

        .yoga-template .join-us-section .join-us-btn:hover {
            text-decoration: none;
            color: #fe86d4;
        }

    .yoga-template .join-us-section .join-us-call {
        font-family: inherit;
        font-size: 16px;
        line-height: 40px;
        letter-spacing: 0.64px;
        margin-top: 22px;
    }

    .yoga-template .join-us-section .join-us-phone-nr {
        font-family: inherit;
        font-size: 18px;
        line-height: inherit;
        letter-spacing: inherit;
        font-weight: 600;
        color: #222;
    }

        .yoga-template .join-us-section .join-us-phone-nr:hover {
            text-decoration: none;
            color: #fe86d4;
        }
/*Copyright*/
.yoga-template .footer .copyright {
    padding: 30px 15px;
    background-color: #7b6cd5;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 26px;
}

    .yoga-template .footer .copyright .created-by {
        color: #fff;
    }

        .yoga-template .footer .copyright .created-by:hover {
            color: #fe86d4;
            text-decoration: none;
        }

    .yoga-template .footer .copyright .social {
        text-align: right;
        font-size: 14px;
        line-height: 26px;
    }

        .yoga-template .footer .copyright .social a {
            color: #fff;
            font-size: 25px;
            margin-left: 20px;
        }

            .yoga-template .footer .copyright .social a:hover {
                color: #fe86d4;
            }

        .yoga-template .footer .copyright .social .fab {
            padding-left: 14px;
        }
/* Updated  - Latin & Afro Style icon*/
.latin {
    width: 90px;
    height: 90px;
}
/* Advantages Logo */
.advantlogo {
    position: relative;
}

    .advantlogo img {
        width: 300px;
        height: 400px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 50%);
        z-index: 2;
    }
/* services */
.services {
    margin: 80px 0px;
    justify-content: space-evenly;
    gap: 35px;
}

/* Add a page for images & video  */
.gallery-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    min-height: 100vh;
}

.gallery-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

    .gallery-header h2 {
        font-size: 2rem;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 3px;
        font-weight: 700;
    }

.gallery-header {
    margin-bottom: 30px;
}

    .gallery-header p {
        font-size: 1.2rem;
        opacity: 0.9;
    }

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 10px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.filter-tab {
    padding: 12px 35px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 50px;
    font-weight: 500;
}

    .filter-tab:hover {
        background: rgba(255,255,255,0.2);
    }

    .filter-tab.active {
        background: white;
        color: #667eea;
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 320px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

    .gallery-item:hover {
        transform: scale(1.05) rotate(1deg);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

    .gallery-item img,
    .gallery-item video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    .gallery-item:hover img,
    .gallery-item:hover video {
        transform: scale(1.1);
    }

    .gallery-item .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        padding: 20px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .gallery-item:hover .overlay {
        transform: translateY(0);
    }

.overlay-content {
    color: white;
}

    .overlay-content h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .overlay-content .badge {
        display: inline-block;
        padding: 5px 12px;
        background: rgba(255,255,255,0.2);
        border-radius: 20px;
        font-size: 0.85rem;
        margin-top: 5px;
    }

.gallery-item .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.gallery-item:hover .play-button {
    background: white;
    transform: translate(-50%, -50%) scale(1.15);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 22px solid #667eea;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 6px;
}

.gallery-item.hidden {
    display: none;
}

/* Modal Lightbox */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.97);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 95%;
    max-height: 95%;
    position: relative;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content img,
.modal-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: white;
    color: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 1001;
}

    .modal-close:hover {
        transform: rotate(90deg);
        background: #667eea;
        color: white;
    }

.modal-info {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.95);
    padding: 15px 30px;
    border-radius: 30px;
    color: #667eea;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}


/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-button {
    background: linear-gradient( 45deg, #abd216, #77c71a ); /*(45deg, #ffd700, #ffed4e)*/
    color: #333;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

    .chat-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
    }



/*    gallery section */

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}*/

gallery-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #fff;
}

.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.gallery-container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-item-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

    .pagination button {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: #fff;
        padding: 12px 20px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        min-width: 44px;
        font-weight: 600;
    }

        .pagination button:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .pagination button:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .pagination button.active {
            background: #4a90e2;
            box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
            transform: scale(1.1);
        }

    .pagination .page-btn {
        min-width: 44px;
    }

    .pagination .ellipsis {
        background: transparent;
        cursor: default;
    }

.page-info {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .modal.active {
        display: flex;
    }

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

    .modal-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }

.modal-title {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 1001;
}

    .modal-title h2 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .modal-title p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }

.modal-instructions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .pagination button {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .modal-title {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading spinner */
.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #4a90e2;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*    gallery section end */




/* =========================================================
   Site header / navigation + Courses panel + Account extras
   Added: nav bar (Home / Courses / Login-Account), course
   cards and the design tokens the Account pages already
   reference (var(--eu-teal) etc.) but that were never defined.
   ========================================================= */

:root {
    --eu-teal: #7b6cd5;
    --eu-teal-dark: #5f4fc0;
    --eu-gold-1: #fe86d4;
    --eu-gold-2: #ffb5e6;
    --eu-text-dark: #2b2b2b;
    --eu-muted: #8a8a8a;
}

.eu-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

    .eu-site-header .eu-nav-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .eu-site-header .eu-nav-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

        .eu-site-header .eu-nav-logo img {
            height: 42px;
            width: auto;
        }

        .eu-site-header .eu-nav-logo span {
            font-family: 'Josefin Sans', sans-serif;
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--eu-text-dark);
            letter-spacing: .03em;
        }

.eu-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .eu-nav-links li a {
        display: inline-block;
        padding: 8px 16px;
        border-radius: 30px;
        font-family: 'Josefin Sans', sans-serif;
        font-size: .92rem;
        font-weight: 600;
        color: var(--eu-text-dark);
        transition: background .15s ease, color .15s ease;
    }

        .eu-nav-links li a:hover,
        .eu-nav-links li a.active {
            background: var(--eu-teal);
            color: #fff;
        }

.eu-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eu-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 30px;
    background: var(--eu-teal);
    color: #fff !important;
    font-family: 'Josefin Sans', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
}

    .eu-icon-btn:hover {
        background: var(--eu-teal-dark);
    }

    .eu-icon-btn.eu-account-logged-in {
        background: #fff;
        color: var(--eu-teal) !important;
        border: 1.5px solid var(--eu-teal);
    }

.eu-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--eu-text-dark);
    cursor: pointer;
}

@media (max-width: 860px) {
    .eu-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 16px;
        box-shadow: 0 8px 14px rgba(0,0,0,.08);
        display: none;
    }

        .eu-nav-links.eu-nav-open {
            display: flex;
        }

        .eu-nav-links li a {
            display: block;
            padding: 12px 6px;
            border-radius: 0;
            border-bottom: 1px solid #f1eef8;
        }

    .eu-nav-toggle {
        display: inline-block;
    }
}

/* ---- Courses panel (Views/Home/Courses.cshtml) ---- */
.eu-courses-section {
    padding: 60px 0 30px;
}

.eu-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .eu-course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .eu-course-grid {
        grid-template-columns: 1fr;
    }
}

.eu-course-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .eu-course-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .13);
    }

    .eu-course-card img {
        width: 100%;
        height: 190px;
        object-fit: cover;
    }

.eu-course-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.eu-course-level {
    display: inline-block;
    align-self: flex-start;
    background: #f2eefc;
    color: var(--eu-teal);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.eu-course-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--eu-text-dark);
    margin-bottom: 6px;
}

.eu-course-desc {
    font-size: .88rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

.eu-course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: .8rem;
    color: var(--eu-muted);
}

.eu-course-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--eu-text-dark);
}

    .eu-course-price small {
        font-size: .72rem;
        font-weight: 400;
        color: var(--eu-muted);
    }

.eu-course-btn {
    display: block;
    text-align: center;
    padding: 11px;
    border-radius: 8px;
    background: var(--eu-teal);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background .15s ease;
}

    .eu-course-btn:hover {
        background: var(--eu-teal-dark);
    }

    .eu-course-btn.eu-course-owned {
        background: #eef6f0;
        color: #1d6a3a;
        cursor: default;
    }

    .eu-course-btn:disabled {
        opacity: .7;
        cursor: wait;
    }

/* ---- Shared alert styles (used by Courses panel + Account pages) ---- */
.eu-auth-alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: .85rem;
}

.eu-auth-alert-error {
    background: #fdecea;
    color: #a33;
    border: 1px solid #f4c7c3;
}

.eu-auth-alert-info {
    background: #eef6f0;
    color: #1d6a3a;
    border: 1px solid #cde8d3;
}

/* ---- My Courses / Orders list (Views/Account/MyCourses.cshtml) ---- */
.eu-orders-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--eu-muted);
}

    .eu-orders-empty a {
        display: inline-block;
        margin-top: 10px;
        color: #fff;
        background: var(--eu-teal);
        padding: 9px 20px;
        border-radius: 30px;
        font-weight: 600;
        font-size: .85rem;
        text-decoration: none;
    }

        .eu-orders-empty a:hover {
            background: var(--eu-teal-dark);
        }

.eu-order-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #ece6d8;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 14px;
}

.eu-order-main {
    flex: 1;
    min-width: 0;
}

.eu-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.eu-order-number {
    font-weight: 700;
    font-size: 1rem;
    color: var(--eu-text-dark);
}

.eu-order-date {
    font-size: .8rem;
    color: var(--eu-muted);
    white-space: nowrap;
}

.eu-order-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eu-order-total {
    font-weight: 700;
    color: var(--eu-text-dark);
}

@media (max-width: 560px) {
    .eu-order-card {
        flex-direction: column;
    }
}
