/*==================================================
Template Name : Merryland Preschool
File : about.css
Version : 1.0
===================================================*/

:root{
    --theme-color:#ED2D8F;
    --theme-color-2:#F8C62F;
    --theme-color-3:#00c389;
    --title-color:#1b1b3f;
    --text-color:#6d6d6d;
    --white:#ffffff;
    --border:#ededed;
    --bg:#f8fbff;
    --shadow:0 20px 60px rgba(0,0,0,.08);
    --radius:25px;
}

/*==================================
Common
===================================*/

.section-padding{
    padding:120px 0;
}

.pt-0{
    padding-top:0;
}

.mb-60{
    margin-bottom:60px;
}

.mt-40{
    margin-top:40px;
}

.mt-50{
    margin-top:50px;
}

.mt-60{
    margin-top:60px;
}

.fix{
    overflow:hidden;
    position:relative;
}

img{
    max-width:100%;
}

.section-title-main{
    position:relative;
    z-index:2;
}

.section-title-main .sub-title{

     display: inline-block;
    padding: 10px 22px;
    background: #fff3e6;
    color: #ff7a00;
    border-radius: 40px;
    font-weight: 700;
    margin-bottom: 18px;

}

.section-title-main h2{

       font-size: 36px;
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--it-common-black);
    font-family: var(--it-ff-heading);

}

/* .section-title-main h2 span{

    color:var(--theme-color);

} */

.section-title-main p{

    max-width:700px;

    margin:auto;

    margin-top:20px;

    color:var(--text-color);

    line-height:30px;

    font-size:17px;

}

.theme-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 34px;

    background:var(--theme-color);

    color:#fff;


    font-weight:700;

    transition:.4s;

    box-shadow:0 15px 40px rgba(255,123,82,.30);

}

.theme-btn:hover{

    background:var(--theme-color-2);

    color:#fff;

    transform:translateY(-5px);

}

/*==================================
Floating Shapes
===================================*/

.shape-1,
.shape-2{

    position:absolute;

    z-index:1;
    display: none;

}

.shape-1{

    top:90px;

    left:40px;

}

.shape-2{

    right:50px;

    bottom:70px;

}

.shape-1 img,
.shape-2 img{

    width:90px;

    opacity:.18;

}

/*==================================
Breadcrumb Hero
===================================*/

.about-breadcrumb{

    position:relative;

    background:#f7fbff;

    padding:180px 0 120px;

}

.page-heading{

    position:relative;

    z-index:2;

}

.page-heading h1{

    font-size:68px;

    font-weight:800;

    line-height:1.15;

    color:var(--title-color);

    margin-bottom:20px;

}

.page-heading h1 span{

    color:var(--theme-color);

}

.page-heading p{

    font-size:18px;

    line-height:32px;

    color:var(--text-color);

    max-width:540px;

}

.breadcrumb-items{

    display:flex;

    align-items:center;

    gap:15px;

    margin-top:35px;

}

.breadcrumb-items li{

    list-style:none;

    font-weight:600;

}

.breadcrumb-items li a{

    color:var(--title-color);

    transition:.3s;

}

.breadcrumb-items li a:hover{

    color:var(--theme-color);

}

.breadcrumb-images{

    position:relative;

    min-height:600px;

}

.breadcrumb-images .main-image{

    width:430px;

    height:520px;

    border-radius:35px;

    overflow:hidden;

    margin-left:auto;

    box-shadow:var(--shadow);

}

.breadcrumb-images .main-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.small-image{

    position:absolute;

    border-radius:25px;

    overflow:hidden;

    box-shadow:var(--shadow);

}

.small-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.image-1{

    width:170px;

    height:170px;

    left:20px;

    top:30px;

}

.image-2{

    width:170px;

    height:170px;

    bottom:30px;

    left:50px;

}

.image-3{

    width:140px;

    height:140px;

    right:0;

    bottom:40px;

}

.badge-box{

    position:absolute;

    left:220px;

    bottom:120px;

    width:170px;

    height:170px;

    border-radius:50%;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    text-align:center;

    box-shadow:var(--shadow);

    z-index:5;

}

.badge-box img{

    width:45px;

    margin-bottom:10px;

}

.badge-box h4{

    font-size:38px;

    color:var(--theme-color);

    font-weight:800;

}

.badge-box span{

    font-size:15px;

    line-height:24px;

    color:var(--text-color);

}

/*==================================================
ABOUT MERRYLAND
==================================================*/

.about-school-section{
    position: relative;
    background: #fff;
}

.about-gallery{
    position: relative;
    min-height: 620px;
}

.about-gallery .image{
    position: absolute;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,.10);
}

.about-gallery .image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.about-gallery .image:hover img{
    transform:scale(1.08);
}

.about-gallery .image-one{
    width:300px;
    height:360px;
    left:0;
    top:0;
}

.about-gallery .image-two{
    width:170px;
    height:170px;
    right:20px;
    top:20px;
}

.about-gallery .image-three{
    width:170px;
    height:170px;
    right:20px;
    top:215px;
}

.about-gallery .image-four{
    width:220px;
    height:180px;
    left:70px;
    bottom:0;
}

.about-gallery .image-five{
       width: 241px;
    height: 201px;
    right: 54px;
    bottom: 0;
}

.play-box{

    position:absolute;

    left:220px;

    top:250px;

    width:150px;

    height:150px;

    background:#fff;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    text-align:center;

    box-shadow:0 20px 60px rgba(0,0,0,.12);

    z-index:5;

}

.play-box i{

    font-size:42px;

    color:var(--theme-color);

    margin-bottom:10px;

}

.play-box h5{

     font-size: 15px;
    font-weight: 700;

}

/*====================================
About Content
====================================*/

.about-content{

    padding-left:30px;

}

.about-content p{

    font-size:16px;

    color:var(--text-color);

    line-height:32px;

}

/*====================================
Feature Cards
====================================*/

.feature-box{

    display:flex;

    align-items:center;

    gap:18px;

    background:#fff;

    border-radius:20px;

    padding:10px;

    box-shadow:0 15px 40px rgba(0,0,0,.06);

    transition:.4s;

}

.feature-box:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 60px rgba(0,0,0,.12);

}

.feature-box .icon{

    width:70px;

    height:70px;

    background:#f3f3f3;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

}

.feature-box .icon i{

    font-size:30px;

    color:var(--theme-color);

}

.feature-box h5{

    font-size:16px;

    font-weight:800;

    margin:0;

}

/*====================================
Counter
====================================*/

.about-counter-area{

    margin-top:50px;

}

.counter-item{

    text-align:center;

}

.counter-item h3{

    font-size:48px;

    font-weight:800;

    color:var(--theme-color);

}

.counter-item p{

    margin-top:8px;

    font-size:16px;

    font-weight:600;

}

/*==================================================
MISSION & VISION
==================================================*/

.mission-box,
.vision-box{

    position:relative;

    background:#fff;

    border-radius:30px;

    padding:50px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

    overflow:hidden;

    transition:.4s;

}

.mission-box:hover,
.vision-box:hover{

    transform:translateY(-10px);

}

.mission-box{

    border-top:6px solid var(--theme-color);

}

.vision-box{

    border-top:6px solid var(--theme-color-2);

}

.mission-box .icon,
.vision-box .icon{

    width:95px;

    height:95px;
    font-size: 50px;
    color: var(--theme-color);

    background:#f3f3f3;

    border-radius:25px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:25px;

}

.mission-box .icon img,
.vision-box .icon img{

    width:52px;

}

.mission-box h3,
.vision-box h3{

    font-size:30px;

    font-weight:800;

    /* margin-bottom:20px; */

}

/* .mission-box p,
.vision-box p{

    line-height:32px;

    margin-bottom:25px;

} */

.mission-box ul,
.vision-box ul{

    margin:0;
    padding:0;

}

.mission-box ul li,
.vision-box ul li{

    list-style:none;

    margin-bottom:15px;

    font-weight:600;

}

.mission-box ul li i,
.vision-box ul li i{

    color:var(--theme-color);

    margin-right:10px;

}

.mission-shape,
.vision-shape{

    position:absolute;

    right:-20px;

    bottom:-20px;

    opacity:.08;

}

.mission-shape img,
.vision-shape img{

    width:160px;

}

/*==================================================
PRINCIPAL
==================================================*/

.principal-section{

    background:#f9fcff;

    position:relative;

}

.principal-image-wrapper{

    position:relative;

    text-align:center;

}

.principal-image{

    width:430px;

    height:430px;

    border-radius:50%;

    overflow:hidden;

    margin:auto;

    border:10px solid #fff;

    box-shadow:0 20px 70px rgba(0,0,0,.10);

}

.principal-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.experience-badge{

    position:absolute;

    right:20px;

    bottom:40px;

    width:160px;

    height:160px;

    background:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    box-shadow:0 15px 50px rgba(0,0,0,.10);

}

.experience-badge h3{

    font-size:42px;

    font-weight:800;

    color:var(--theme-color);

}

.experience-badge span{

    font-size:15px;

    line-height:24px;

    text-align:center;

}

.principal-content{

    padding-left:40px;

}

.quote-box{

    position:relative;

    background:#fff;

    border-left:5px solid var(--theme-color);

    border-radius:20px;

    padding:40px;

    box-shadow:0 15px 50px rgba(0,0,0,.06);

    margin-top:30px;

}

.quote-icon{

    width:65px;

    height:65px;

    border-radius:50%;

    background:var(--theme-color);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:26px;

    margin-bottom:20px;

}

.message-feature{

    display:flex;

    align-items:center;

    gap:15px;

    background:#fff;

    padding:18px 22px;

    border-radius:16px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.message-feature i{

    color:var(--theme-color);

    font-size:22px;

}

.principal-footer{

    display:flex;

    align-items:center;

    gap:20px;

}

.signature img{

    width:160px;

}

.principal-info h4{

    font-size:24px;

    font-weight:700;

}

.principal-info span{

    color:var(--text-color);

}

/*==================================================
WHY CHOOSE US
==================================================*/

.why-choose-section{
    background:#f8fbff;
    position:relative;
}

.choose-card{
    background:#fff;
    padding:40px 30px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
    transition:.4s;
    height:100%;
    position:relative;
    overflow:hidden;
}

.choose-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:5px;
    background:var(--theme-color);
    transform:scaleX(0);
    transition:.4s;
}

.choose-card:hover::before{
    transform:scaleX(1);
}

.choose-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(0,0,0,.10);
}

.choose-card .icon{
    width:90px;
    font-size: 40px;
    color: var(--theme-color);
    height:90px;
    margin:auto;
    border-radius:50%;
    background:#f3f3f3;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:25px;
}

.choose-card .icon img{
    width:45px;
}

.choose-card h4{
    font-size:24px;
    margin-bottom:15px;
    font-weight:700;
}

.choose-card p{
    line-height:30px;
}

/*==================================================
TIMELINE
==================================================*/

.timeline-wrapper{
    position:relative;
    max-width:1000px;
    margin:auto;
}

.timeline-wrapper::before{
    content:"";
    position:absolute;
    left:50%;
    top:0;
    width:4px;
    height:100%;
    background:#ececec;
    transform:translateX(-50%);
}

.timeline-item{
    width:50%;
    padding:30px 50px;
    position:relative;
}

.timeline-item.left{
    text-align:right;
}

.timeline-item.right{
    margin-left:auto;
}

.timeline-year{
    width:90px;
    height:90px;
    background:var(--theme-color);
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:700;
    margin-bottom:20px;
    box-shadow:0 10px 30px rgba(255,123,82,.35);
}

.timeline-item.right .timeline-year{
    margin-left:auto;
}

.timeline-content{
    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
}

.timeline-content .icon{
    width:65px;
    height:65px;
    background:#f3f3f3;
    border-radius:18px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:var(--theme-color);
    font-size:28px;
    margin-bottom:20px;
}
.timeline-content h4 {
    font-size: 23px;
    font-weight: 800;
}
/*==================================================
INFRASTRUCTURE
==================================================*/

.campus-gallery{
    position:relative;
    min-height:600px;
}

.campus-gallery .main-image{
    border-radius:30px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.floating-image{
    position:absolute;
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.image-1{
    width:170px;
    top:20px;
    right:-30px;
}

.image-2{
    width:160px;
    bottom:30px;
    left:-40px;
}

.image-3{
    width:140px;
    bottom:90px;
    right:20px;
}

.campus-badge{
    position:absolute;
    left:40px;
    top:40px;
    background:#fff;
    border-radius:20px;
    padding:18px 25px;
    text-align:center;
    box-shadow:var(--shadow);
}

.campus-badge i{
    color:var(--theme-color);
    font-size:30px;
    margin-bottom:10px;
}

.infra-card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    text-align:center;
    transition:.4s;
    box-shadow:0 15px 40px rgba(0,0,0,.05);
    height:100%;
}

.infra-card:hover{
    transform:translateY(-8px);
}

.infra-card .icon{
    width:80px;
    height:80px;
    margin:auto;
    border-radius:20px;
    background:#f3f3f3;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
    color:var(--theme-color);
    margin-bottom:20px;
}

/*==================================================
FACILITIES
==================================================*/

.facility-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.05);
    transition:.4s;
    height:100%;
}

.facility-card:hover{
    transform:translateY(-10px);
}

.facility-image{
    overflow:hidden;
}

.facility-image img{
    transition:.5s;
    height:220px;
    object-fit:cover;
}

.facility-card:hover img{
    transform:scale(1.08);
}

.facility-content{
    padding:30px;
    text-align:center;
}

.facility-content .icon{
    width:70px;
    height:70px;
    margin:auto;
    border-radius:50%;
    background:#f3f3f3;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--theme-color);
    font-size:28px;
    margin-bottom:20px;
}

/*==================================================
TEACHERS
==================================================*/

.teacher-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
    transition:.4s;
}

.teacher-card:hover{
    transform:translateY(-10px);
}

.teacher-image{
    overflow:hidden;
}

.teacher-image img{
    transition:.5s;
}

.teacher-card:hover img{
    transform:scale(1.08);
}

.teacher-content{
    padding:30px;
    text-align:center;
}

.teacher-social{
    margin-top:20px;
}

.teacher-social a{
    width:42px;
    height:42px;
    background:#f3f3f3;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:var(--theme-color);
    margin:0 4px;
    transition:.3s;
}

.teacher-social a:hover{
    background:var(--theme-color);
    color:#fff;
}

/*==================================================
STATISTICS
==================================================*/

.stat-card{
    background:#fff;
    padding:35px 20px;
    text-align:center;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.05);
    transition:.4s;
}

.stat-card:hover{
    transform:translateY(-8px);
}

.stat-card .icon{
    font-size:36px;
    color:var(--theme-color);
    margin-bottom:15px;
}

.stat-card h2{
    font-size:42px;
    font-weight:800;
}

/*==================================================
TESTIMONIALS
==================================================*/

.testimonial-card{
    background:#fff;
    border-radius:25px;
    padding:35px;
    box-shadow:0 15px 40px rgba(0,0,0,.05);
    height:100%;
}

.quote{
    color:var(--theme-color);
    font-size:42px;
    margin-bottom:20px;
}

.testimonial-user{
    display:flex;
    align-items:center;
    margin-top:30px;
}

.testimonial-user img{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
    margin-right:15px;
}

/*==================================================
CTA
==================================================*/

.cta-wrapper{
    background:linear-gradient(135deg,#ff7b52,#ff956d);
    border-radius:35px;
    padding:70px;
    color:#fff;
}

.cta-wrapper h2{
    color:#fff;
    font-size:48px;
    margin:20px 0;
}

.cta-wrapper p{
    color:rgba(255,255,255,.9);
}

.cta-wrapper .theme-btn{
    background:#fff;
    color:var(--theme-color);
}

.cta-wrapper .theme-btn:hover{
    background:var(--title-color);
    color:#fff;
}
/*==========================
Responsive
===========================*/

@media (max-width:991px){

.section-title-main h2{
    font-size:40px;
}

.page-heading h1{
    font-size:48px;
}

.breadcrumb-images,
.about-gallery,
.campus-gallery{
    min-height:auto;
}

.timeline-wrapper::before{
    left:20px;
}

.timeline-item{
    width:100%;
    padding-left:70px;
    padding-right:0;
    text-align:left!important;
}

.timeline-item.right{
    margin-left:0;
}

.timeline-year{
    margin-left:0!important;
}

.principal-content{
    padding-left:0;
    margin-top:50px;
}

.about-content{
    padding-left:0;
    margin-top:50px;
}

}

@media(max-width:767px){

.section-padding{
    padding:80px 0;
}

.section-title-main h2{
    font-size:32px;
}

.page-heading h1{
    font-size:38px;
}

.principal-image{
    width:300px;
    height:300px;
}

.badge-box,
.experience-badge{
    display:none;
}

.cta-wrapper{
    padding:40px 25px;
    text-align:center;
}

.cta-wrapper h2{
    font-size:32px;
}

.theme-btn{
    width:100%;
}

}