/* ========================================= */
/* TRUE YOG - HOME PAGE CSS (PART 1)
/* Premium Yoga Design System
/* ========================================= */


/* =========================
   GLOBAL SECTION SYSTEM
========================= */

section {
    padding: 90px 0;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   TYPOGRAPHY SYSTEM
========================= */

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(31, 122, 76, 0.1);
    color: #1F7A4C;
    font-weight: 500;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222222;
    line-height: 1.3;
    margin-bottom: 15px;
}

.section-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    max-width: 700px;
}

/* =========================
   BUTTON SYSTEM
========================= */

.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #1F7A4C, #2FA66A);
    color: #fff;
    border-radius: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(31, 122, 76, 0.25);
}

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

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    color: #1F7A4C;
    border: 2px solid #1F7A4C;
    border-radius: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #1F7A4C;
    color: #fff;
    transform: translateY(-3px);
}

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

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #F6FCF8 100%);
    overflow: hidden;
}

/* floating background shapes */
.hero-bg-shapes span {
    position: absolute;
    border-radius: 50%;
    background: rgba(31, 122, 76, 0.08);
    animation: float 8s infinite ease-in-out;
}

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

.hero-bg-shapes span:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 10%;
}

.hero-bg-shapes span:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
}

/* floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* hero layout */
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

/* LEFT CONTENT */
.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(31, 122, 76, 0.1);
    color: #1F7A4C;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 14px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

/* TRUST TEXT */
.hero-trust {
    font-size: 14px;
    color: #777;
}

/* RIGHT IMAGE */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: translateY(0);
    transition: 0.4s ease;
}

.hero-image-card img {
    width: 100%;
    display: block;
}

.hero-image-card:hover {
    transform: translateY(-10px);
}

/* glow effect */
.image-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(31,122,76,0.2), transparent);
    opacity: 0.6;
}

/* scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 35px;
    border: 2px solid #1F7A4C;
    border-radius: 20px;
}

.scroll-indicator span {
    display: block;
    width: 4px;
    height: 8px;
    background: #1F7A4C;
    margin: 5px auto;
    border-radius: 10px;
    animation: scrollMove 1.5s infinite;
}

@keyframes scrollMove {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}
/* ========================================= */
/* ABOUT SECTION
/* ========================================= */

.about-section {
    background: #fff;
}

/* ========================================= */
/* ABOUT SECTION */
/* ========================================= */

.about-section {
    background: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* LEFT IMAGE COLLAGE */

.about-images{
    flex:1;
    position:relative;
    width:100%;
    max-width:700px;
    min-height:720px;
}

.img-card{
    position:absolute;
    overflow:hidden;
    border-radius:22px;
    box-shadow:0 25px 60px rgba(0,0,0,.15);
    transition:.4s;
}

.img-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.img-card-1{
    width:420px;
    height:560px;
    top:0;
    left:0;
    z-index:3;
}

.img-card-2{
    width:300px;
    height:360px;
    top:60px;
    right:0;
    z-index:2;
}

.img-card-3{
    width:330px;
    height:250px;
    bottom:0;
    right:20px;
    z-index:4;
}

.img-card:hover{
    transform:translateY(-10px) scale(1.03);
}
/* Glow */

.about-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    background: rgba(31, 122, 76, 0.15);
    filter: blur(90px);
    border-radius: 50%;
    top: 150px;
    left: 120px;
    z-index: 0;
}

/* Right Content */

.about-content {
    flex: 1;
}


/* RIGHT CONTENT */
.about-content {
    flex: 1;
}

/* FEATURE BOX GRID */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* FEATURE BOX */
.feature-box {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(31,122,76,0.1);
    padding: 20px;
    border-radius: 16px;
    transition: 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-box i {
    font-size: 24px;
    color: #1F7A4C;
    margin-bottom: 10px;
}

.feature-box h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #222;
}

.feature-box p {
    font-size: 13px;
    color: #666;
}

/* hover effect */
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31,122,76,0.15);
}

/* ========================================= */
/* WHY TRUE YOG SECTION
/* ========================================= */

.why-section {
    background: #F6FCF8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

/* FEATURE CARD */
.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s ease;
    border: 1px solid rgba(31,122,76,0.08);
}

.feature-card i {
    font-size: 30px;
    color: #1F7A4C;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #222;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* hover glow */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(31,122,76,0.15);
    border-color: #1F7A4C;
}
/* ========================================= */
/* CLASSES SECTION
/* ========================================= */

.classes-section {
    background: #fff;
}

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

/* CLASS CARD */
.class-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    border: 1px solid rgba(31,122,76,0.08);
}

.class-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.5s ease;
}

/* hover zoom image */
.class-card:hover img {
    transform: scale(1.08);
}

.class-content {
    padding: 20px;
}

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

.class-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* class button */
.class-btn {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, #1F7A4C, #2FA66A);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.class-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(31,122,76,0.25);
}
/* ========================================= */
/* TRANSFORMATION GALLERY
/* ========================================= */

.transform-section {
    background: #F6FCF8;
}

.transform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* gallery items */
.transform-item {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    position: relative;
}

.transform-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: 0.5s ease;
}

/* hover zoom effect */
.transform-item:hover img {
    transform: scale(1.1);
}

/* staggered masonry feel */
.transform-item:nth-child(2) {
    grid-row: span 2;
}

.transform-item:nth-child(4) {
    grid-column: span 2;
}
/* ========================================= */
/* STATS SECTION
/* ========================================= */

.stats-section {
    background: #fff;
    padding: 80px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box {
    padding: 30px;
    border-radius: 18px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(31,122,76,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(31,122,76,0.15);
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F7A4C;
    margin-bottom: 10px;
}

.stat-box p {
    color: #666;
    font-size: 14px;
}
/* ========================================= */
/* TESTIMONIAL SECTION
/* ========================================= */

/*==================================================
      PREMIUM TESTIMONIAL 3D CAROUSEL
      PART 1
==================================================*/

.testimonial-section{
    position:relative;
    overflow:hidden;
    padding:120px 0;
    background:
    radial-gradient(circle at top left,#dff8e8 0%,transparent 35%),
    radial-gradient(circle at bottom right,#e7fff0 0%,transparent 30%),
    linear-gradient(180deg,#ffffff,#f7fdf9);
}

.testimonial-section::before{
    content:"";
    position:absolute;
    width:550px;
    height:550px;
    background:#2fa66a;
    filter:blur(180px);
    opacity:.08;
    top:-180px;
    left:-180px;
    border-radius:50%;
    pointer-events:none;
}

.testimonial-section::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:#1f7a4c;
    filter:blur(170px);
    opacity:.07;
    right:-150px;
    bottom:-180px;
    border-radius:50%;
    pointer-events:none;
}

/*============================*/

.testimonial-slider{
    position:relative;
    width:100%;
    margin-top:70px;
    overflow:hidden;
    perspective:1800px;
    perspective-origin:center;
    padding:80px 0;
}

.testimonial-track{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;
    transform-style:preserve-3d;
    transition:all .85s cubic-bezier(.22,.61,.36,1);
}

/*============================*/

.testimonial-card{
    position:relative;
    flex:0 0 390px;
    min-height:470px;
    padding:38px;
    border-radius:30px;
    overflow:hidden;
    cursor:pointer;

    background:
    linear-gradient(
    135deg,
    rgba(255,255,255,.95),
    rgba(241,255,246,.96),
    rgba(225,248,233,.95));

    border:1px solid rgba(31,122,76,.18);

    backdrop-filter:blur(18px);

    box-shadow:
    0 18px 35px rgba(0,0,0,.08),
    0 35px 80px rgba(31,122,76,.12);

    transition:
    transform .8s cubic-bezier(.22,.61,.36,1),
    box-shadow .8s,
    opacity .8s,
    filter .8s;

    transform-style:preserve-3d;
}

.testimonial-card::before{
    content:"";
    position:absolute;
    inset:0;
    padding:1.5px;
    border-radius:30px;

    background:
    linear-gradient(
    135deg,
    rgba(31,122,76,.55),
    rgba(255,255,255,.9),
    rgba(47,166,106,.45));

    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;
            mask-composite:exclude;

    pointer-events:none;
}

.testimonial-card::after{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius:30px;
    background:
    linear-gradient(
    135deg,
    rgba(47,166,106,.18),
    transparent,
    rgba(31,122,76,.18));

    opacity:0;
    transition:.5s;
    z-index:-1;
}

.testimonial-card:hover::after{
    opacity:1;
}

/*============================*/

.testimonial-card.active{

    transform:
    translateZ(140px)
    scale(1.16);

    opacity:1;

    z-index:10;

    box-shadow:
    0 40px 90px rgba(31,122,76,.24),
    0 20px 40px rgba(0,0,0,.12);

}

.testimonial-card.left{

    transform:
    rotateY(24deg)
    translateX(45px)
    scale(.90);

    opacity:.65;
    filter:blur(.2px);

}

.testimonial-card.right{

    transform:
    rotateY(-24deg)
    translateX(-45px)
    scale(.90);

    opacity:.65;
    filter:blur(.2px);

}

.testimonial-card.hidden{

    opacity:0;
    transform:scale(.78);
    pointer-events:none;

}

/*============================*/

.user{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:30px;
    transform:translateZ(55px);
}

.user img{
    width:82px;
    height:82px;
    border-radius:50%;
    object-fit:cover;

    border:4px solid #2fa66a;

    box-shadow:
    0 12px 30px rgba(31,122,76,.25);

    transition:.45s;
}

.testimonial-card:hover .user img{

    transform:scale(1.08);

    box-shadow:
    0 20px 45px rgba(31,122,76,.35);

}

.user h4{
    font-size:1.35rem;
    color:#1f7a4c;
    margin-bottom:6px;
    font-weight:700;
}

.user span{
    font-size:.95rem;
    color:#666;
    font-weight:500;
}

/*====================================
        TESTIMONIAL CONTENT
====================================*/

.testimonial-card p{
    position:relative;
    font-size:1.04rem;
    line-height:1.9;
    color:#444;
    margin:35px 0 30px;
    text-align:left;
    z-index:2;
    transform:translateZ(45px);
}

.testimonial-card p::before{
    content:"“";
    position:absolute;
    left:-8px;
    top:-48px;
    font-size:6rem;
    font-weight:700;
    color:rgba(31,122,76,.12);
    line-height:1;
    transition:.5s;
}

.testimonial-card:hover p::before{
    transform:translateY(-8px) scale(1.08);
    color:rgba(31,122,76,.22);
}

/*====================================
             STARS
====================================*/

.stars{
    display:inline-flex;
    align-items:center;
    gap:3px;
    font-size:1.3rem;
    color:#f7b500;
    letter-spacing:3px;
    margin-top:auto;

    text-shadow:
    0 0 10px rgba(247,181,0,.45);

    transform:translateZ(45px);

    animation:starGlow 3s ease-in-out infinite;
}

@keyframes starGlow{

    0%,100%{

        text-shadow:
        0 0 10px rgba(247,181,0,.30);

    }

    50%{

        text-shadow:
        0 0 22px rgba(247,181,0,.65);

    }

}

/*====================================
      GLASS SHINE EFFECT
====================================*/

.testimonial-card span,
.testimonial-card h4,
.testimonial-card p,
.stars{
    position:relative;
    z-index:2;
}

.testimonial-card .user{
    position:relative;
    z-index:2;
}

.testimonial-card::before{
    z-index:3;
}

.testimonial-card::after{
    z-index:0;
}

.testimonial-card:hover{

    border-color:rgba(31,122,76,.35);

}

.testimonial-card:hover::before{

    background:
    linear-gradient(
    130deg,
    rgba(255,255,255,.9),
    rgba(47,166,106,.4),
    rgba(255,255,255,.85));

}

.testimonial-card{
    overflow:hidden;
}

.testimonial-card::selection{
    background:#2fa66a;
    color:#fff;
}

/* Moving Shine */

.testimonial-card .shine{
    position:absolute;
    top:-120%;
    left:-60%;
    width:45%;
    height:260%;
    background:rgba(255,255,255,.30);
    transform:rotate(25deg);
    filter:blur(8px);
    pointer-events:none;
    transition:1.1s;
}

.testimonial-card:hover .shine{
    left:145%;
}

/*====================================
        FLOATING EFFECT
====================================*/

.testimonial-card.active{

    animation:
    floatingCard 4s ease-in-out infinite;

}

@keyframes floatingCard{

    0%,100%{

        transform:
        translateZ(140px)
        scale(1.16)
        translateY(0);

    }

    50%{

        transform:
        translateZ(150px)
        scale(1.17)
        translateY(-10px);

    }

}

/*====================================
       PREMIUM HOVER
====================================*/

.testimonial-card:hover{

    box-shadow:
    0 50px 110px rgba(31,122,76,.28),
    0 25px 45px rgba(0,0,0,.14);

}

.testimonial-card:hover h4{

    color:#14643c;

}

.testimonial-card:hover img{

    border-color:#1f7a4c;

}

/*====================================
          MOBILE
====================================*/

@media(max-width:991px){

.about-container{
    flex-direction:column;
}

.about-images{

    position:static;
    display:flex;
    flex-direction:column;
    gap:20px;

    max-width:100%;
    min-height:auto;

    margin-bottom:40px;
}

.img-card{

    position:relative;

    width:100% !important;
    height:100% !important;

    left:auto;
    right:auto;
    top:auto;
    bottom:auto;

    transform:none !important;
}

.img-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.testimonial-slider{

padding:50px 0;

}

.testimonial-track{

gap:18px;

}

.testimonial-card{

flex:0 0 330px;
min-height:430px;
padding:28px;

}

.testimonial-card.active{

transform:
translateZ(60px)
scale(1.05);

}

.testimonial-card.left{

transform:
rotateY(15deg)
scale(.86);

}

.testimonial-card.right{

transform:
rotateY(-15deg)
scale(.86);

}

.user img{

width:68px;
height:68px;

}

.user h4{

font-size:1.15rem;

}

.testimonial-card p{

font-size:.96rem;
line-height:1.75;

}

}

@media(max-width:768px){

.testimonial-slider{

perspective:none;

}

.testimonial-track{

gap:12px;

}

.testimonial-card{

flex:0 0 88%;
min-height:auto;
padding:25px;

}

.testimonial-card.active,
.testimonial-card.left,
.testimonial-card.right{

transform:none;
opacity:1;
filter:none;
animation:none;

}

}

@media(max-width:480px){

.testimonial-section{

padding:80px 0;

}

.testimonial-card{

padding:22px;
border-radius:22px;

}

.user{

gap:14px;

}

.user img{

width:60px;
height:60px;

}

.user h4{

font-size:1rem;

}

.user span{

font-size:.85rem;

}

.testimonial-card p{

font-size:.93rem;
line-height:1.7;
margin:28px 0 22px;

}

.stars{

font-size:1.1rem;

}

}
/* ========================================= */
/* CTA SECTION
/* ========================================= */

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

/* glow effect background */
.cta-section::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.15);
    filter: blur(100px);
    top: -100px;
    left: -100px;
}

.cta-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 15px;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text {
    max-width: 700px;
    margin: auto;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* CTA buttons override */
.cta-buttons a {
    margin: 0 10px;
}

.cta-section .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.cta-section .btn-secondary:hover {
    background: #fff;
    color: #1F7A4C;
}
/* ========================================= */
/* CLOSING SECTION
/* ========================================= */

.closing-section {
    background: #fff;
    text-align: center;
    padding: 60px 0;
}

.closing-title {
    font-size: 1.5rem;
    color: #1F7A4C;
    margin-bottom: 10px;
}

.closing-text {
    color: #666;
    font-size: 14px;
    max-width: 600px;
    margin: auto;
    line-height: 1.6;
}
/* ========================================= */
/* RESPONSIVE DESIGN
/* ========================================= */

@media (max-width: 1024px) {

    .hero-container,
    .about-container {
        flex-direction: column;
        text-align: center;
    }

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

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

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

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

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

}

@media (max-width: 600px) {

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .classes-grid,
    .feature-grid,
    .stats-container,
    .about-features {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

}
