/* ========================================= */
/* TRUE YOG - CLASSES PAGE CSS */
/* ========================================= */

/* ========================================= */
/* HERO SECTION */
/* ========================================= */

.classes-hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    color:#fff;
}

/* HERO BACKGROUND */

.classes-hero-bg{
    position:absolute;
    inset:0;
    z-index:1;
}

.classes-hero-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* OVERLAY */

.classes-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        120deg,
        rgba(0,0,0,.75),
        rgba(31,122,76,.55),
        rgba(0,0,0,.4)
    );
    z-index:2;
}

/* ========================================= */
/* FLOATING SHAPES */
/* ========================================= */

.hero-shapes{
    position:absolute;
    inset:0;
    z-index:3;
    overflow:hidden;
    pointer-events:none;
}

.hero-shapes span{
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
    animation:floatShape 8s ease-in-out infinite;
}

.hero-shapes span:nth-child(1){
    width:220px;
    height:220px;
    top:10%;
    left:6%;
}

.hero-shapes span:nth-child(2){
    width:160px;
    height:160px;
    top:25%;
    right:8%;
    animation-delay:2s;
}

.hero-shapes span:nth-child(3){
    width:280px;
    height:280px;
    bottom:-80px;
    right:18%;
    animation-delay:4s;
}

/* FLOAT ANIMATION */

@keyframes floatShape{
    0%{transform:translateY(0);}
    50%{transform:translateY(-20px);}
    100%{transform:translateY(0);}
}

/* ========================================= */
/* HERO CONTENT */
/* ========================================= */

.classes-hero-content{
    position:relative;
    z-index:5;
    max-width:780px;
}

.classes-hero-content h1{
    font-family:"Playfair Display",serif;
    font-size:3.8rem;
    line-height:1.15;
    margin:18px 0;
    color:#fff;
}

.classes-hero-content p{
    font-size:1.05rem;
    line-height:1.9;
    color:rgba(255,255,255,.9);
    margin-bottom:30px;
}

/* SECTION TAG */

.section-tag{
    display:inline-block;
    padding:8px 18px;
    border-radius:50px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(10px);
    font-size:.85rem;
    letter-spacing:.5px;
}

/* ========================================= */
/* HERO BUTTONS */
/* ========================================= */

.hero-buttons{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.hero-buttons a{
    display:inline-flex;
    align-items:center;
    gap:10px;
}

/* PRIMARY BUTTON */

.btn-primary{
    padding:14px 26px;
    border-radius:50px;
    background:linear-gradient(135deg,#1F7A4C,#2FA66A);
    color:#fff;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
    box-shadow:0 15px 35px rgba(31,122,76,.25);
}

.btn-primary:hover{
    transform:translateY(-3px);
    box-shadow:0 20px 45px rgba(31,122,76,.35);
}

/* SECONDARY BUTTON */

.btn-secondary{
    padding:14px 26px;
    border-radius:50px;
    border:2px solid rgba(255,255,255,.6);
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.btn-secondary:hover{
    background:#fff;
    color:#1F7A4C;
}

/* ========================================= */
/* BREADCRUMB */
/* ========================================= */

.breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:.95rem;
}

.breadcrumb a{
    color:#fff;
    text-decoration:none;
    opacity:.9;
}

.breadcrumb a:hover{
    color:#8CE99A;
}

.breadcrumb .active{
    color:#8CE99A;
    font-weight:600;
}

.breadcrumb i{
    font-size:.8rem;
    opacity:.7;
}

/* ========================================= */
/* INTRO SECTION */
/* ========================================= */

.classes-intro{
    background:#fff;
}

.classes-intro .section-header{
    text-align:center;
    max-width:800px;
    margin:auto;
}

.classes-intro h2{
    font-size:2.6rem;
    margin:15px 0;
    color:#222;
}

.classes-intro p{
    color:#666;
    line-height:1.9;
}
/* ========================================= */
/* CLASSES FILTER SECTION */
/* ========================================= */

.classes-filter{
    background:#F6FCF8;
}

.filter-wrapper{
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:50px;
}

/* FILTER BUTTON */

.filter-btn{
    padding:10px 20px;
    border-radius:50px;
    border:1px solid rgba(31,122,76,.2);
    background:#fff;
    color:#222;
    font-size:.95rem;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
}

.filter-btn:hover{
    transform:translateY(-2px);
    border-color:#1F7A4C;
    color:#1F7A4C;
}

/* ACTIVE FILTER */

.filter-btn.active{
    background:linear-gradient(135deg,#1F7A4C,#2FA66A);
    color:#fff;
    border:none;
    box-shadow:0 15px 30px rgba(31,122,76,.25);
}

/* ========================================= */
/* CLASSES GRID */
/* ========================================= */

.classes-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

/* ========================================= */
/* CLASS CARD */
/* ========================================= */

.class-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
    transition:.4s ease;
    position:relative;
}

.class-card:hover{
    transform:translateY(-10px);
    box-shadow:0 30px 70px rgba(31,122,76,.18);
}

/* IMAGE */

.class-img{
    position:relative;
    height:240px;
    overflow:hidden;
}

.class-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.class-card:hover .class-img img{
    transform:scale(1.08);
}

/* TAG */

.class-tag{
    position:absolute;
    top:15px;
    left:15px;
    background:rgba(31,122,76,.9);
    color:#fff;
    padding:6px 14px;
    border-radius:50px;
    font-size:.8rem;
    backdrop-filter:blur(8px);
}

/* CONTENT */

.class-content{
    padding:22px;
}

.class-content h3{
    font-size:1.3rem;
    margin-bottom:12px;
    color:#222;
}

/* META INFO */

.class-meta{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    font-size:.85rem;
    color:#666;
    margin-bottom:12px;
}

.class-meta span{
    background:#F6FCF8;
    padding:5px 10px;
    border-radius:20px;
    border:1px solid rgba(31,122,76,.1);
}

/* DESCRIPTION */

.class-content p{
    font-size:.95rem;
    color:#666;
    line-height:1.7;
    margin-bottom:18px;
}

/* BUTTON */

.class-content .btn-primary{
    width:100%;
    text-align:center;
    display:inline-flex;
    justify-content:center;
}
/* ========================================= */
/* FEATURED CLASS SECTION */
/* ========================================= */

.featured-class{
    background:#fff;
}

.featured-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

/* IMAGE */

.featured-image{
    position:relative;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.featured-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s ease;
}

.featured-image:hover img{
    transform:scale(1.05);
}

/* BADGE */

.featured-badge{
    position:absolute;
    top:18px;
    left:18px;
    background:linear-gradient(135deg,#1F7A4C,#2FA66A);
    color:#fff;
    padding:8px 16px;
    border-radius:50px;
    font-size:.85rem;
    box-shadow:0 15px 30px rgba(31,122,76,.25);
}

/* CONTENT */

.featured-content h2{
    font-size:2.6rem;
    margin:15px 0;
    color:#222;
}

.featured-content p{
    color:#666;
    line-height:1.9;
    margin-bottom:20px;
}

/* LIST */

.featured-list{
    list-style:none;
    margin-bottom:25px;
}

.featured-list li{
    margin-bottom:12px;
    color:#444;
    padding-left:22px;
    position:relative;
}

.featured-list li::before{
    content:"✔";
    position:absolute;
    left:0;
    color:#1F7A4C;
    font-weight:bold;
}

/* ========================================= */
/* BENEFITS SECTION */
/* ========================================= */

.class-benefits{
    background:#F6FCF8;
}

.benefits-grid{
    margin-top:60px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

/* BENEFIT CARD */

.benefit-card{
    background:#fff;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
    position:relative;
    overflow:hidden;
}

.benefit-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(31,122,76,.15);
}

/* ICON */

.benefit-card i{
    width:70px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 18px;
    border-radius:50%;
    background:linear-gradient(135deg,#1F7A4C,#2FA66A);
    color:#fff;
    font-size:1.6rem;
    box-shadow:0 15px 30px rgba(31,122,76,.25);
}

.benefit-card h3{
    margin-bottom:10px;
    color:#222;
}

.benefit-card p{
    color:#666;
    line-height:1.7;
}
/* ========================================= */
/* CLASS SCHEDULE SECTION */
/* ========================================= */

.class-schedule{
    background:#fff;
}

.schedule-grid{
    margin-top:60px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.schedule-card{
    background:#F6FCF8;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
    transition:.35s;
    border:1px solid rgba(31,122,76,.08);
}

.schedule-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(31,122,76,.12);
    background:#fff;
}

.schedule-card h3{
    margin-bottom:10px;
    color:#222;
}

.schedule-card p{
    font-size:1.1rem;
    font-weight:600;
    color:#1F7A4C;
    margin-bottom:8px;
}

.schedule-card span{
    color:#666;
    font-size:.95rem;
}

/* ========================================= */
/* FINAL CTA SECTION */
/* ========================================= */

.classes-cta{
    position:relative;
    padding:120px 0;
    background:linear-gradient(135deg,#1F7A4C,#2FA66A);
    overflow:hidden;
    text-align:center;
    color:#fff;
}

/* FLOATING SHAPES */

.cta-shapes{
    position:absolute;
    inset:0;
    overflow:hidden;
}

.cta-shapes span{
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    animation:ctaFloat 9s ease-in-out infinite;
}

.cta-shapes span:nth-child(1){
    width:240px;
    height:240px;
    top:-80px;
    left:-60px;
}

.cta-shapes span:nth-child(2){
    width:180px;
    height:180px;
    right:10%;
    top:20%;
    animation-delay:2s;
}

.cta-shapes span:nth-child(3){
    width:320px;
    height:320px;
    right:-120px;
    bottom:-120px;
    animation-delay:4s;
}

@keyframes ctaFloat{
    0%{transform:translateY(0);}
    50%{transform:translateY(-25px);}
    100%{transform:translateY(0);}
}

/* CTA CONTENT */

.cta-content{
    position:relative;
    z-index:2;
    max-width:850px;
    margin:auto;
}

.cta-content h2{
    font-size:3rem;
    margin-bottom:15px;
    color:#fff;
}

.cta-content p{
    font-size:1.05rem;
    line-height:1.9;
    margin-bottom:35px;
    color:rgba(255,255,255,.92);
}

/* CTA BUTTONS */

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
}

.cta-buttons .btn-primary{
    background:#fff;
    color:#1F7A4C;
}

.cta-buttons .btn-primary:hover{
    background:#F6FCF8;
}

.cta-buttons .btn-secondary{
    border:2px solid rgba(255,255,255,.6);
    color:#fff;
}

.cta-buttons .btn-secondary:hover{
    background:#fff;
    color:#1F7A4C;
}

/* ========================================= */
/* RESPONSIVE DESIGN */
/* ========================================= */

@media (max-width:991px){

    .classes-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .featured-wrapper{
        grid-template-columns:1fr;
        gap:40px;
    }

    .benefits-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .schedule-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .classes-hero-content h1{
        font-size:3rem;
    }

    .cta-content h2{
        font-size:2.4rem;
    }
}

@media (max-width:768px){

    .classes-grid{
        grid-template-columns:1fr;
    }

    .benefits-grid{
        grid-template-columns:1fr;
    }

    .schedule-grid{
        grid-template-columns:1fr;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:flex-start;
    }

    .hero-buttons a{
        width:100%;
        justify-content:center;
    }

    .classes-hero-content h1{
        font-size:2.4rem;
    }

    .cta-content h2{
        font-size:2rem;
    }

    .cta-buttons{
        flex-direction:column;
        align-items:center;
    }

    .cta-buttons a{
        width:100%;
        max-width:320px;
        justify-content:center;
    }
}
