﻿/*=========================================================
        YOG NAMASTE
        ABOUT US PAGE
=========================================================*/

:root{

    --primary:#0b6e69;
    --secondary:#052a2a;
    --gold:#d4a017;
    --light:#f8f9fb;
    --white:#ffffff;
    --text:#666;
}


/*=========================================================
GENERAL
=========================================================*/

body{

    background:#fff;
}

section{

    padding:90px 0;
}

.section-heading{

    margin-bottom:60px;
}

.section-tag{

    display:inline-block;

    background:#e8faf7;

    color:var(--primary);

    padding:8px 18px;

    border-radius:40px;

    font-size:14px;

    font-weight:600;

    margin-bottom:15px;
}

.section-heading h2{

    font-size:48px;

    font-weight:700;

    color:var(--secondary);

    margin-bottom:20px;
}

.section-heading p{

    color:#777;

    max-width:700px;

    margin:auto;

    font-size:17px;

    line-height:1.8;
}


/*=========================================================
HERO
=========================================================*/

.about-hero{

    min-height:90vh;

    display:flex;

    align-items:center;

    background:
    linear-gradient(
    rgba(248,245,239,.95),
    rgba(248,245,239,.95)),
    url('../myimg/back1.png');

    background-size:cover;

    background-position:center;
}

.hero-badge{

    display:inline-block;

    background:#fff;

    padding:12px 20px;

    border-radius:50px;

    color:var(--primary);

    font-weight:600;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    margin-bottom:25px;
}

.about-hero h1{

    font-size:64px;

    font-weight:700;

    line-height:1.15;

    color:var(--secondary);

    margin-bottom:25px;
}

.about-hero h1 span{

    color:var(--primary);
}

.about-hero p{

    color:#666;

    font-size:18px;

    line-height:1.9;

    margin-bottom:35px;
}

.hero-image{

    animation:float 4s ease-in-out infinite;
}

@keyframes float{

0%{transform:translateY(0);}
50%{transform:translateY(-12px);}
100%{transform:translateY(0);}

}

.hero-buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;
}

.btn-primary-custom{

    background:linear-gradient(135deg,#0b6e69,#095955);

    color:#fff;

    padding:15px 32px;

    border-radius:12px;

    font-weight:600;

    text-decoration:none;
}

.btn-primary-custom:hover{

    color:#fff;

    transform:translateY(-2px);
}

.btn-outline-custom{

    border:2px solid var(--primary);

    color:var(--primary);

    padding:15px 32px;

    border-radius:12px;

    font-weight:600;

    text-decoration:none;
}

.btn-outline-custom:hover{

    background:var(--primary);

    color:#fff;
}


/*=========================================================
ABOUT
=========================================================*/

.about-image{

    border-radius:25px;

    box-shadow:0 25px 50px rgba(0,0,0,.10);
}

.about-section h2{

    font-size:46px;

    font-weight:700;

    color:var(--secondary);

    margin-bottom:25px;
}

.about-section p{

    color:#666;

    line-height:1.9;

    margin-bottom:20px;
}

.about-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-top:30px;
}

.about-features div{

    font-weight:600;

    color:#444;
}

.about-features i{

    color:var(--primary);

    margin-right:10px;
}


/*=========================================================
MISSION
=========================================================*/

.mission-section{

    background:#f7fafc;
}

.mission-card{

    background:#fff;

    padding:40px;

    border-radius:22px;

    text-align:center;

    height:100%;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    transition:.35s;
}

.mission-card:hover{

    transform:translateY(-8px);
}

.mission-card .icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:#0b6e69;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    margin-bottom:25px;
}

.mission-card h3{

    font-weight:700;

    margin-bottom:20px;
}

.mission-card p{

    color:#666;

    line-height:1.8;
}


/*=========================================================
TIMELINE
=========================================================*/

.timeline{

    max-width:900px;

    margin:auto;
}

.timeline-item{

    display:flex;

    margin-bottom:40px;

    align-items:flex-start;
}

.timeline-year{

    width:110px;

    background:#0b6e69;

    color:#fff;

    text-align:center;

    padding:15px;

    border-radius:12px;

    font-weight:700;

    margin-right:25px;
}

.timeline-content{

    flex:1;

    background:#fff;

    padding:25px;

    border-radius:18px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.timeline-content h4{

    font-weight:700;
}


/*=========================================================
STATS
=========================================================*/

.stats-section{

    background:#052a2a;

    color:#fff;
}

.stat-card{

    padding:30px;
}

.stat-card i{

    font-size:34px;

    color:#ffc107;

    margin-bottom:15px;
}

.stat-card h2{

    font-size:44px;

    font-weight:700;
}

.stat-card p{

    margin:0;
}


/*=========================================================
FEATURES
=========================================================*/

.feature-card{

    background:#fff;

    border-radius:22px;

    padding:35px;

    text-align:center;

    height:100%;

    transition:.35s;

    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.feature-card:hover{

    transform:translateY(-8px);
}

.feature-card i{

    font-size:42px;

    color:#0b6e69;

    margin-bottom:20px;
}

.feature-card h4{

    font-weight:700;

    margin-bottom:15px;
}


/*=========================================================
VALUES
=========================================================*/

.values-section{

    background:#f7fafc;
}

.value-card{

    background:#fff;

    padding:40px;

    text-align:center;

    border-radius:20px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.value-card:hover{

    transform:translateY(-8px);
}

.value-card i{

    font-size:40px;

    color:#0b6e69;

    margin-bottom:20px;
}

.value-card h5{

    font-weight:700;
}


/*=========================================================
TEACHERS
=========================================================*/

.teacher-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

    height:100%;
}

.teacher-card:hover{

    transform:translateY(-8px);
}

.teacher-card img{

    width:100%;

    height:300px;

    object-fit:cover;
}

.teacher-card h4{

    margin-top:20px;

    font-weight:700;
}

.teacher-card span{

    color:#0b6e69;

    font-weight:600;
}

.teacher-exp{

    background:#f5fff9;

    margin:15px;

    padding:10px;

    border-radius:10px;

    color:#0b6e69;

    font-weight:600;
}

.teacher-card p{

    padding:0 20px 25px;

    color:#666;
}


/*=========================================================
TESTIMONIAL
=========================================================*/

.testimonial-section{

    background:#f8fafc;
}

.testimonial-card{

    background:#fff;

    padding:35px;

    border-radius:22px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    height:100%;
}

.testimonial-card h5{

    margin-top:20px;

    font-weight:700;
}


/*=========================================================
CERTIFICATE
=========================================================*/

.certificate-box{

    background:#fff;

    padding:40px;

    border-radius:22px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.35s;
}

.certificate-box:hover{

    transform:translateY(-8px);
}

.certificate-box i{

    font-size:45px;

    color:#0b6e69;

    margin-bottom:20px;
}


/*=========================================================
FAQ
=========================================================*/

.accordion-item{

    border:none;

    margin-bottom:15px;

    border-radius:15px!important;

    overflow:hidden;

    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.accordion-button{

    font-weight:600;

    padding:20px;
}

.accordion-button:not(.collapsed){

    background:#0b6e69;

    color:#fff;
}


/*=========================================================
CTA
=========================================================*/

.cta-section{

    background:
    linear-gradient(
    135deg,
    #052a2a,
    #0b6e69);

    color:#fff;
}

.cta-box{

    text-align:center;
}

.cta-box h2{

    font-size:52px;

    font-weight:700;

    margin-bottom:20px;
}

.cta-box p{

    font-size:18px;

    opacity:.95;

    max-width:750px;

    margin:auto auto 35px;
}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:991px){

.about-hero{

    text-align:center;

    padding:80px 0;

    min-height:auto;
}

.about-hero h1{

    font-size:46px;
}

.about-features{

    grid-template-columns:1fr;
}

.timeline-item{

    flex-direction:column;
}

.timeline-year{

    margin-bottom:20px;
}

.section-heading h2{

    font-size:36px;
}

}

@media(max-width:768px){

section{

    padding:60px 0;
}

.about-hero h1{

    font-size:34px;
}

.section-heading h2{

    font-size:30px;
}

.cta-box h2{

    font-size:34px;
}

.hero-buttons{

    flex-direction:column;
}

.btn-primary-custom,
.btn-outline-custom{

    width:100%;

    text-align:center;
}

.teacher-card img{

    height:250px;
}

}