/*==========================================
    ABOUT PAGE CSS
    International Siyane Vipassana
===========================================*/

:root{
    --primary:#2e7d32;
    --secondary:#f8f9fa;
    --gold:#d4af37;
    --dark:#1f1f1f;
    --white:#ffffff;
    --transition:.35s ease;
}

/* General */

body{
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    background:#f8f9fa;
    color:#444;
    overflow-x:hidden;
}

section{
    padding:80px 0;
}

h1,h2,h3,h4,h5{
    font-weight:700;
}

p{
    line-height:1.8;
    color:#666;
}

/*==========================================
Hero
===========================================*/

.about-hero{

    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("../assets/hero.jpg")
    center center/cover no-repeat;

    height:420px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    color:#fff;

}

.about-hero h1{

    font-size:3rem;

    font-weight:700;

}

.about-hero p{

    color:#fff;

    font-size:1.2rem;

}

/*==========================================
Cards
===========================================*/

.card{

    border:none;

    border-radius:18px;

    overflow:hidden;

    transition:.35s;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.card img{

    transition:.35s;

}

.card:hover img{

    transform:scale(1.05);

}

/*==========================================
Buttons
===========================================*/

.btn-success{

    background:var(--primary);

    border:none;

    padding:12px 28px;

}

.btn-success:hover{

    background:#1b5e20;

}

.btn-warning{

    background:var(--gold);

    border:none;

    color:#fff;

}

/*==========================================
Founder Image
===========================================*/

.rounded-circle{

    border:6px solid #fff;

    box-shadow:0 15px 30px rgba(0,0,0,.15);

}

/*==========================================
Timeline
===========================================*/

.timeline{

    position:relative;

    margin-left:25px;

    border-left:4px solid var(--primary);

}

.timeline-item{

    position:relative;

    margin-bottom:45px;

    padding-left:35px;

}

.timeline-item::before{

    content:"";

    position:absolute;

    width:18px;

    height:18px;

    background:var(--primary);

    border-radius:50%;

    left:-11px;

    top:6px;

}

.timeline-item h4{

    color:var(--primary);

    margin-bottom:5px;

}

/*==========================================
Facilities
===========================================*/

.card-img-top{

    height:220px;

    object-fit:cover;

}

/*==========================================
Gallery
===========================================*/

.gallery-img{

    width:100%;

    height:240px;

    object-fit:cover;

    border-radius:15px;

    cursor:pointer;

    transition:.35s;

}

.gallery-img:hover{

    transform:scale(1.05);

    box-shadow:0 15px 30px rgba(0,0,0,.18);

}

/*==========================================
Video
===========================================*/

iframe{

    border-radius:15px;

}

/*==========================================
Statistics
===========================================*/

.bg-success{

    background:linear-gradient(135deg,#2e7d32,#388e3c)!important;

}

.display-4{

    font-weight:700;

}

/*==========================================
Table
===========================================*/

.table{

    background:#fff;

    border-radius:10px;

    overflow:hidden;

}

.table thead{

    background:var(--primary);

    color:#fff;

}

/*==========================================
Footer
===========================================*/

footer{

    background:#202020;

}

footer h4,
footer h5{

    color:#fff;

}

footer p{

    color:#ccc;

}

footer a{

    color:#ddd;

    transition:.3s;

}

footer a:hover{

    color:#fff;

}

/*==========================================
Animation
===========================================*/

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:.7s;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}
/* Back To Top Button */

.back-to-top{

width:50px;

height:50px;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

box-shadow:0 5px 20px rgba(0,0,0,.25);

}

/* Fade Animation */

section,
.card,
.timeline-item{

opacity:0;

transform:translateY(40px);

transition:.8s ease;

}

.fade-up.show{

opacity:1;

transform:translateY(0);

}

/*==========================================
Responsive
===========================================*/

@media(max-width:992px){

.about-hero{

height:330px;

}

.about-hero h1{

font-size:2.4rem;

}

.card-img-top{

height:200px;

}

}

@media(max-width:768px){

.about-hero{

height:280px;

}

.about-hero h1{

font-size:2rem;

}

.about-hero p{

font-size:1rem;

}

.timeline{

margin-left:10px;

}

.timeline-item{

padding-left:25px;

}

.gallery-img{

height:180px;

}

.card-img-top{

height:180px;

}

section{

padding:60px 0;

}

}

@media(max-width:576px){

.about-hero{

height:240px;

}

.about-hero h1{

font-size:1.6rem;

}

.about-hero p{

font-size:.95rem;

}

.gallery-img{

height:160px;

}

.card-img-top{

height:160px;

}

.btn{

width:100%;

margin-top:10px;

}

}