﻿/* ==========================================
   HOME PAGE CSS
   YogNamaste LMS
========================================== */

:root{
    --primary:#0b6e69;
    --secondary:#052a2a;
    --gold:#d4a017;
    --light:#f8f5ef;
    --white:#ffffff;
}

/* ==========================================
   HERO SECTION
========================================== */

.hero-section{
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    background:
    linear-gradient(
        to right,
        rgba(248,245,239,.98) 0%,
        rgba(248,245,239,.95) 45%,
        rgba(248,245,239,.60) 70%,
        rgba(248,245,239,.10) 100%
    ),
    url('../myimg/back1.png');
    background-repeat:no-repeat;
    background-position:right center;
    background-size:55% auto;
}

.hero-badge{
    display:inline-block;
    background:#fff;
    color:var(--primary);
    padding:12px 22px;
    border-radius:50px;
    font-weight:600;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    margin-bottom:25px;
}

.hero-title{
    font-size:72px;
    font-weight:700;
    line-height:1.1;
    color:var(--secondary);
    font-family:'Playfair Display',serif;
    margin-bottom:25px;
}

.hero-title span{
    color:var(--primary);
}

.hero-desc{
    font-size:18px;
    color:#666;
    line-height:1.9;
    max-width:600px;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.btn-start{
    background:var(--primary);
    color:#fff;
    padding:15px 30px;
    border-radius:12px;
    font-weight:600;
    transition:.3s;
}

.btn-start:hover{
    background:#085955;
    color:#fff;
}

.btn-demo{
    border:2px solid var(--primary);
    color:var(--primary);
    background:#fff;
    padding:15px 30px;
    border-radius:12px;
    font-weight:600;
    transition:.3s;
}

.btn-demo:hover{
    background:var(--primary);
    color:#fff;
}

.hero-review{
    display:flex;
    align-items:center;
    margin-top:30px;
}

.hero-review img{
    width:42px;
    height:42px;
    border-radius:50%;
    border:3px solid #fff;
    margin-left:-10px;
}

.hero-review span{
    margin-left:15px;
    color:#444;
    font-size:15px;
}

/* ==========================================
   FLOATING CARDS
========================================== */

.floating-card{
    position:absolute;
    background:#fff;
    padding:15px 20px;
    border-radius:15px;
    font-weight:600;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.card-1{
    top:15%;
    right:25%;
}

.card-2{
    top:50%;
    right:48%;
}

.card-3{
    top:50%;
    right:2%;
}

.card-4{
    top:15%;
    right:0;
}

/* ==========================================
   STATS
========================================== */

.stats-wrapper{
    margin-top:-70px;
    position:relative;
    z-index:10;
}

.stats-box-premium{
    background:#fff;
    border-radius:30px;
    padding:40px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.stat-item i{
    font-size:30px;
    color:var(--gold);
}

.stat-item h2{
    font-size:42px;
    font-weight:700;
    color:var(--primary);
}

/* ==========================================
   COURSE SECTION
========================================== */

.course-section{
    padding:90px 0;
    background:#f8f9fb;
}

.course-heading{
    text-align:center;
    margin-bottom:60px;
}

.course-heading h2{
    font-size:56px;
    font-family:'Playfair Display',serif;
    font-weight:700;
    color:var(--secondary);
}

.course-heading p{
    color:#666;
    font-size:18px;
}

/* CARD */

.course-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;
}

.course-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.course-image{
    position:relative;
    height:240px;
    overflow:hidden;
}

.course-img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.course-card:hover .course-img{
    transform:scale(1.08);
}

.course-badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#ff6b00;
    color:#fff;
    padding:6px 12px;
    border-radius:30px;
    font-size:11px;
    font-weight:700;
}

.course-content{
    padding:20px;
}

.course-level{
    color:var(--primary);
    font-size:13px;
    font-weight:600;
    margin-bottom:10px;
}

.course-title{
    font-size:20px;
    font-weight:700;
    color:#222;
    line-height:1.4;
    min-height:60px;
    margin-bottom:12px;
}

.course-info{
    display:flex;
    justify-content:space-between;
    font-size:13px;
    color:#666;
    margin-bottom:12px;
}

.certificate-box{
    background:#f4fff8;
    border:1px solid #d8f4e4;
    border-radius:8px;
    padding:8px;
    color:var(--primary);
    font-size:12px;
    font-weight:600;
    margin-bottom:15px;
}

.price-section{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:15px;
}

.new-price{
    color:var(--primary);
    font-size:28px;
    font-weight:700;
}

.old-price{
    color:#999;
    text-decoration:line-through;
    font-size:14px;
}

.btn-course{
    display:block;
    width:100%;
    text-align:center;
    background:linear-gradient(135deg,#0b6e69,#095955);
    color:#fff;
    padding:12px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.btn-course:hover{
    color:#fff;
    transform:translateY(-2px);
}

/* ==========================================
   WHY CHOOSE US
========================================== */

.feature-section{
    padding:90px 0;
    background:#052a2a;
    color:#fff;
}

.feature-icon{
    width:90px;
    height:90px;
    border-radius:50%;
    background:#0b6e69;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    color:#ffc107;
    font-size:30px;
}

/* ==========================================
   TEACHERS
========================================== */

.teacher-card{
    background:#fff;
    border-radius:20px;
    padding:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.teacher-card:hover{
    transform:translateY(-8px);
}

.teacher-card img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
}

/* ==========================================
   TESTIMONIALS
========================================== */

.testimonial{
    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    height:100%;
}

/* ==========================================
   APP SECTION
========================================== */

.app-section{
    background:linear-gradient(
    135deg,
    #032e2e,
    #0b6e69
    );
    color:#fff;
    padding:90px 0;
}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:991px){

.hero-section{
    min-height:auto;
    text-align:center;
    padding:60px 0;
}

.hero-title{
    font-size:48px;
}

.floating-card{
    display:none;
}

.hero-buttons,
.hero-review{
    justify-content:center;
}

}

@media(max-width:768px){

.hero-title{
    font-size:34px;
}

.hero-desc{
    font-size:14px;
}

.btn-start,
.btn-demo{
    width:100%;
    text-align:center;
}

.course-image{
    height:170px;
}

.course-content{
    padding:12px;
}

.course-title{
    font-size:15px;
    min-height:45px;
}

.new-price{
    font-size:20px;
}

.course-info{
    font-size:11px;
}

.feature-icon{
    width:70px;
    height:70px;
    font-size:24px;
}
}