/* ===========================================================
   ABOUT PAGE
   Divine Dharma
=========================================================== */

/*==========================
    HERO SECTION
==========================*/

.about-hero{

    position:relative;
    overflow:hidden;

    padding:130px 0 100px;

    background:
    linear-gradient(
        rgba(17,17,17,.72),
        rgba(17,17,17,.72)
    ),
    url("../images/about-banner.jpg") center center/cover no-repeat;

    color:#fff;

}

.about-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    radial-gradient(circle at top right,
    rgba(212,175,55,.18),
    transparent 40%);

    pointer-events:none;

}

.about-hero-content{

    position:relative;

    z-index:2;

    max-width:760px;

}

.about-hero .badge{

    display:inline-block;

    margin-bottom:18px;

}

.about-hero h1{

    font-family:"Cinzel",serif;

    font-size:58px;

    line-height:1.15;

    margin-bottom:24px;

}

.about-hero h1 span{

    color:var(--color-primary);

}

.about-hero p{

    font-size:18px;

    line-height:1.9;

    color:rgba(255,255,255,.90);

    margin-bottom:40px;

    max-width:650px;

}

.about-hero .hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

/*==========================
    BREADCRUMB
==========================*/

.breadcrumb-section{

    background:#ffffff;

    border-bottom:1px solid #ececec;

}

.breadcrumb{

    display:flex;

    align-items:center;

    gap:14px;

    padding:18px 0;

    list-style:none;

}

.breadcrumb li{

    font-size:15px;

    color:#777;

}

.breadcrumb a{

    color:#444;

    text-decoration:none;

    transition:.3s;

}

.breadcrumb a:hover{

    color:var(--color-primary);

}

.breadcrumb i{

    color:#bbb;

    font-size:12px;

}

/*==========================
    OUR STORY
==========================*/

.about-story{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.story-image{

    position:relative;

}

.story-image img{

    width:100%;

    display:block;

    border-radius:22px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.12);

    transition:.45s;

}

.story-image:hover img{

    transform:scale(1.03);

}

.story-content h2{

    margin:18px 0 24px;

}

.story-content p{

    color:#666;

    line-height:1.9;

    margin-bottom:22px;

}

.story-list{

    margin-top:35px;

    display:grid;

    gap:18px;

}

.story-item{

    display:flex;

    align-items:center;

    gap:16px;

}

.story-item i{

    width:42px;

    height:42px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    background:var(--color-primary);

    font-size:15px;

}

.story-item span{

    font-weight:600;

    color:#333;

}

/*==========================
    MISSION
==========================*/

.light-bg{

    background:#f8f7f3;

}

.mission-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

}

.mission-card{

    background:#fff;

    border-radius:18px;

    padding:45px;

    text-align:center;

    transition:.35s;

    box-shadow:
    0 12px 35px rgba(0,0,0,.06);

}

.mission-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 25px 50px rgba(0,0,0,.12);

}

.mission-icon{

    width:90px;

    height:90px;

    border-radius:50%;

    margin:auto;

    margin-bottom:28px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:
    linear-gradient(
    135deg,
    var(--color-primary),
    #b8860b);

    color:#fff;

    font-size:34px;

}

.mission-card h3{

    margin-bottom:18px;

    font-size:28px;

    font-family:"Cinzel",serif;

}

.mission-card p{

    line-height:1.9;

    color:#666;

}

/*==========================
    COMMON SPACING
==========================*/

.section{

    padding:100px 0;

}

.section-title{

    margin-top:15px;

    margin-bottom:18px;

}

.section-subtitle{

    max-width:760px;

    margin:auto;

    color:#777;

    line-height:1.9;

}

.badge{

    display:inline-block;

    padding:10px 20px;

    border-radius:40px;

    background:rgba(212,175,55,.12);

    color:var(--color-primary);

    font-weight:600;

    font-size:14px;

    letter-spacing:.5px;

    text-transform:uppercase;

}

/*==========================
    ANIMATION
==========================*/

.story-image,
.story-content,
.mission-card{

    transition:all .35s ease;

}

.reveal{

    opacity:0;

    transform:translateY(60px);

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/*==========================
    TABLET
==========================*/

@media(max-width:992px){

.about-hero{

padding:110px 0 80px;

}

.about-hero h1{

font-size:44px;

}

.about-story{

grid-template-columns:1fr;

gap:50px;

}

.mission-grid{

grid-template-columns:1fr;

}

}

/*==========================
    MOBILE
==========================*/

@media(max-width:768px){

.about-hero{

padding:90px 0 70px;

text-align:center;

}

.about-hero h1{

font-size:34px;

}

.about-hero p{

font-size:16px;

}

.about-hero .hero-buttons{

justify-content:center;

}

.story-content{

text-align:center;

}

.story-item{

justify-content:center;

}

.section{

padding:70px 0;

}

.mission-card{

padding:35px 28px;

}

}
/*==========================================================
    WHY CHOOSE US
==========================================================*/

.why-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.why-card{

    background:#fff;

    border:1px solid #ececec;

    border-radius:18px;

    padding:40px 35px;

    text-align:center;

    transition:.35s ease;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}

.why-card:hover{

    transform:translateY(-10px);

    box-shadow:0 22px 45px rgba(0,0,0,.12);

}

.why-card i{

    width:85px;

    height:85px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(
        135deg,
        var(--color-primary),
        #b8860b
    );

    color:#fff;

    font-size:34px;

}

.why-card h3{

    margin-bottom:18px;

    font-size:24px;

    font-family:"Cinzel",serif;

}

.why-card p{

    color:#666;

    line-height:1.9;

}



/*==========================================================
    COUNTER SECTION
==========================================================*/

.counter-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:30px;

}

.counter-box{

    background:#fff;

    border-radius:20px;

    padding:45px 20px;

    text-align:center;

    transition:.35s;

    box-shadow:0 12px 35px rgba(0,0,0,.06);

}

.counter-box:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.12);

}

.counter-box h2{

    font-size:52px;

    color:var(--color-primary);

    font-family:"Cinzel",serif;

    margin-bottom:10px;

}

.counter-box span{

    color:#666;

    font-weight:600;

    letter-spacing:.5px;

}



/*==========================================================
    VALUES
==========================================================*/

.values-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.value-card{

    background:#fff;

    border-radius:18px;

    border:1px solid #ececec;

    padding:35px;

    text-align:center;

    transition:.35s;

}

.value-card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 40px rgba(0,0,0,.10);

}

.value-card i{

    width:80px;

    height:80px;

    border-radius:50%;

    margin:auto;

    margin-bottom:25px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(212,175,55,.15);

    color:var(--color-primary);

    font-size:32px;

}

.value-card h3{

    font-size:24px;

    margin-bottom:18px;

    font-family:"Cinzel",serif;

}

.value-card p{

    color:#666;

    line-height:1.8;

}



/*==========================================================
    TIMELINE
==========================================================*/

.timeline{

    position:relative;

    max-width:900px;

    margin:70px auto 0;

}

.timeline::before{

    content:"";

    position:absolute;

    left:50%;

    top:0;

    bottom:0;

    width:4px;

    background:var(--color-primary);

    transform:translateX(-50%);

}

.timeline-item{

    width:50%;

    position:relative;

    margin-bottom:70px;

}

.timeline-item:nth-child(odd){

    padding-right:70px;

    text-align:right;

}

.timeline-item:nth-child(even){

    margin-left:auto;

    padding-left:70px;

}

.timeline-year{

    display:inline-block;

    padding:10px 24px;

    border-radius:30px;

    background:var(--color-primary);

    color:#fff;

    font-weight:700;

    margin-bottom:20px;

}

.timeline-content{

    background:#fff;

    border-radius:18px;

    padding:35px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.timeline-content:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.timeline-content h3{

    margin-bottom:15px;

    font-family:"Cinzel",serif;

}

.timeline-content p{

    color:#666;

    line-height:1.9;

}

.timeline-item::before{

    content:"";

    position:absolute;

    top:18px;

    width:20px;

    height:20px;

    background:var(--color-primary);

    border-radius:50%;

    border:5px solid #fff;

    box-shadow:0 0 0 5px rgba(212,175,55,.20);

}

.timeline-item:nth-child(odd)::before{

    right:-12px;

}

.timeline-item:nth-child(even)::before{

    left:-12px;

}



/*==========================================================
    RESPONSIVE
==========================================================*/

@media(max-width:992px){

.why-grid{

grid-template-columns:repeat(2,1fr);

}

.values-grid{

grid-template-columns:repeat(2,1fr);

}

.counter-grid{

grid-template-columns:repeat(2,1fr);

}

.timeline::before{

left:25px;

}

.timeline-item{

width:100%;

margin-left:0;

padding-left:70px;

padding-right:0;

text-align:left;

}

.timeline-item:nth-child(odd){

padding-right:0;

padding-left:70px;

text-align:left;

}

.timeline-item:nth-child(even){

padding-left:70px;

}

.timeline-item::before,

.timeline-item:nth-child(odd)::before,

.timeline-item:nth-child(even)::before{

left:15px;

right:auto;

}

}



@media(max-width:768px){

.why-grid,

.values-grid,

.counter-grid{

grid-template-columns:1fr;

}

.why-card,

.value-card,

.counter-box{

padding:35px 25px;

}

.counter-box h2{

font-size:42px;

}

.timeline-content{

padding:25px;

}

}

/*==========================================================
    TEAM SECTION
==========================================================*/

.team-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:60px;

}

.team-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    text-align:center;

    border:1px solid #ececec;

    transition:.35s;

    box-shadow:0 12px 30px rgba(0,0,0,.06);

}

.team-card:hover{

    transform:translateY(-12px);

    box-shadow:0 22px 45px rgba(0,0,0,.12);

}

.team-card img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:.45s;

}

.team-card:hover img{

    transform:scale(1.06);

}

.team-card h3{

    margin-top:25px;

    font-family:"Cinzel",serif;

    font-size:24px;

}

.team-card span{

    display:block;

    margin:10px 0 18px;

    color:var(--color-primary);

    font-weight:600;

}

.team-card p{

    padding:0 25px 35px;

    color:#666;

    line-height:1.8;

}



/*==========================================================
    FAQ
==========================================================*/

.faq-wrapper{

    max-width:900px;

    margin:60px auto 0;

}

.faq-item{

    background:#fff;

    border-radius:14px;

    margin-bottom:20px;

    overflow:hidden;

    border:1px solid #ececec;

    box-shadow:0 8px 20px rgba(0,0,0,.05);

}

.faq-question{

    width:100%;

    border:none;

    background:#fff;

    padding:24px 30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    cursor:pointer;

    font-size:18px;

    font-weight:600;

    transition:.3s;

}

.faq-question:hover{

    color:var(--color-primary);

}

.faq-question i{

    transition:.35s;

}

.faq-item.active .faq-question i{

    transform:rotate(45deg);

}

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .4s ease;

}

.faq-answer p{

    padding:0 30px 30px;

    color:#666;

    line-height:1.9;

}



/*==========================================================
    CALL TO ACTION
==========================================================*/

.about-cta{

    background:linear-gradient(
        135deg,
        #111111,
        #1c1c1c
    );

    color:#fff;

    padding:110px 0;

}

.cta-box{

    max-width:900px;

    margin:auto;

    text-align:center;

}

.cta-box h2{

    font-family:"Cinzel",serif;

    font-size:48px;

    margin-bottom:25px;

}

.cta-box p{

    color:rgba(255,255,255,.88);

    line-height:1.9;

    font-size:18px;

    max-width:700px;

    margin:auto;

    margin-bottom:40px;

}

.cta-box .hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}



/*==========================================================
    HOVER EFFECTS
==========================================================*/

.team-card,
.why-card,
.value-card,
.counter-box,
.timeline-content,
.mission-card{

    will-change:transform;

}

.team-card:hover,
.value-card:hover,
.counter-box:hover,
.timeline-content:hover,
.why-card:hover{

    cursor:pointer;

}



/*==========================================================
    PAGE ANIMATION
==========================================================*/

@keyframes fadeUp{

0%{

opacity:0;

transform:translateY(50px);

}

100%{

opacity:1;

transform:translateY(0);

}

}

.fade-up{

    animation:fadeUp .8s ease both;

}

@keyframes floatCard{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-8px);

}

100%{

transform:translateY(0);

}

}

.counter-box:hover{

    animation:floatCard 1.5s ease infinite;

}



/*==========================================================
    IMAGE EFFECTS
==========================================================*/

.story-image img,
.team-card img{

    backface-visibility:hidden;

}

.story-image{

    overflow:hidden;

    border-radius:22px;

}



/*==========================================================
    BUTTON IMPROVEMENTS
==========================================================*/

.about-hero .btn,
.about-cta .btn{

    min-width:180px;

    text-align:center;

}



/*==========================================================
    TABLET
==========================================================*/

@media(max-width:992px){

.team-grid{

grid-template-columns:repeat(2,1fr);

}

.cta-box h2{

font-size:38px;

}

}



/*==========================================================
    MOBILE
==========================================================*/

@media(max-width:768px){

.team-grid{

grid-template-columns:1fr;

}

.team-card img{

height:300px;

}

.faq-question{

font-size:16px;

padding:20px;

}

.faq-answer p{

padding:0 20px 20px;

}

.about-cta{

padding:80px 0;

}

.cta-box h2{

font-size:30px;

line-height:1.4;

}

.cta-box p{

font-size:16px;

}

.cta-box .hero-buttons{

flex-direction:column;

align-items:center;

}

.cta-box .btn{

width:100%;

max-width:280px;

}

}