/* ==========================
   GraceYeo.pro V1
   ========================== */

:root{
    --yellow:#F5BE27;
    --dark:#202127;
    --white:#fff;
    --grey:#666;
    --light:#F6F6F6;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Inter,sans-serif;
    color:var(--dark);
    background:#fff;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    transition:.3s;
}

img{
    max-width:100%;
    display:block;
}

.container{
    max-width:1320px;
}

/*==================================
HEADER
==================================*/

.header{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    background:rgba(255,255,255,.88);
    backdrop-filter:blur(20px);

    min-height:96px;

    /*padding:1px 0;*/
    padding:10px 0;
    transition:.35s;

    z-index:9999;

}

.header.scrolled{

    padding:12px 0;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.logo{

    width:98px;

}

.navbar-nav .nav-link{

    color:#202127;

    font-weight:600;

    margin-left:30px;

}

.navbar-nav .nav-link:hover{

    color:var(--yellow);

}

.navbar-toggler{

    font-size:30px;

    border:none;

    box-shadow:none;

}

/*==================================
HERO
==================================*/

.hero{

    position:relative;

    background:var(--yellow);

    min-height:100vh;

    padding-top:96px;

    overflow:hidden;

}

.hero .row{

    min-height:calc(100vh - 96px);

    align-items:center;

}

.hero>.container{

    position:relative;

    z-index:5;

}

.hero-tag{

    display:inline-block;

    padding:8px 20px;

    background:#fff;

    border-radius:999px;

    font-size:13px;

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:28px;
    margin-top: 80px

}

.hero h1{

    /*font-size:92px;*/
    font-size:70px;
    font-weight:800;

    line-height:.99;

    letter-spacing:-3px;

    max-width:760px;

    margin-bottom:28px;

}

.hero p{

    font-size:24px;

    line-height:1.7;

    color:#333;

    max-width:700px;

    margin-bottom:45px;

}

/*==================================
BUTTONS
==================================*/

.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.hero-buttons .btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    height:62px;

    padding:0 42px;

    border-radius:999px;

    font-weight:700;

    font-size:18px;

}

.hero-buttons .btn-dark{

    background:#202127;

    border:none;

}

.hero-buttons .btn-dark:hover{

    background:#000;

}

.hero-buttons .btn-outline-dark{

    border:2px solid #202127;

}

.hero-buttons .btn-outline-dark:hover{

    background:#202127;

    color:#fff;

}

/*==================================
GY BACKGROUND
==================================*/

.gy-bg{

    position:absolute;

    top:50%;

   /* right:-120px;*/
    right:10px;

    transform:translateY(-50%);

    font-size:520px;

    font-weight:900;

   color: rgba(255,255,255,.15);

    line-height:1;

    pointer-events:none;

    user-select:none;

}

/*==================================
PHOTO
==================================*/

.hero-photo{

    position:relative;

    right:-40px;

    z-index:5;

    max-width:510px;

    animation:float 5s ease-in-out infinite;
    
    top: 60px;

}

/*==================================
FLOAT CARD
==================================*/

.floating-card{

    position:absolute;

    left:-10px;

    bottom:70px;

    width:360px;

    padding:36px;

    background:#202127;

    color:#fff;

    border-radius:24px;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 30px 80px rgba(0,0,0,.28);

    overflow:hidden;

    z-index:20;

}

.floating-card small{

    display:block;

    color:#F5BE27;

    letter-spacing:2px;

    font-size:12px;

    font-weight:700;

    margin-bottom:14px;

}

.floating-card h5{

    margin:0;

    font-size:26px;

    font-weight:700;

    line-height:1.35;

}

/*==================================
DECORATION
==================================*/

.hero::before{

    content:"";

    position:absolute;

    width:760px;

    height:760px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:-220px;

    right:-220px;

}

.hero::after{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    border-radius:50%;

    background:rgba(255,255,255,.10);

    left:-180px;

    bottom:-180px;

}

/*==================================
ANIMATION
==================================*/

@keyframes float{

    0%{

        transform:translate(0,0);

    }

    50%{

        transform:translate(0,-15px);

    }

    100%{

        transform:translate(0,0);

    }

}

/*==================================
TABLET
==================================*/

@media (max-width:991px){

.hero{

    text-align:center;

}

.hero h1{

    font-size:50px;
    margin:auto auto 25px;

}

.hero p{

    font-size:20px;

    margin:auto auto 35px;

}

.hero-buttons{

    justify-content:center;

}

.hero-photo{

    right:0;

    margin:60px auto 0;

    max-width:420px;
    
    

}

.floating-card{

    position:relative;

    left:auto;

    bottom:auto;

    margin:30px auto 0;

}

.gy-bg{

  /*  font-size:180px;*/

    right:-30px !important;

}

.navbar-collapse{

    margin-top:20px;

    padding:20px;

    background:#fff;

    border-radius:20px;

}

.navbar-nav .nav-link{

    margin:12px 0;

}

}

/*==================================
MOBILE
==================================*/


@media (max-width:576px){

.logo{

  width:88px;

}

.hero h1{

    font-size:42px;
    line-height: 45px;
    letter-spacing:-1px;

}

.hero p{

    font-size:18px;

}

.hero-buttons .btn{

    width:100%;

}

.hero-photo{

    /*max-width:320px;*/
    max-width:380px;

}

.gy-bg{

    font-size:160px;

}

.floating-card{

    width:100%;

    padding:24px;

}

.floating-card h5{

    font-size:22px;

}

}


/*@media (max-width: 393px) {

    .hero-tag {
        margin-top: 180px;
    }
}*/


/*==================================
Problem Section
==================================*/

.problem-section{

    background:#202127;

    padding:120px 0;

}

.problem-title h2{

    color:#fff;

    font-size:60px;

    font-weight:700;

    line-height:1.08;

    margin-top:18px;

}

.problem-title h2 span{

    color:#F5BE27;

}

.section-no{

    color:#F5BE27;

    font-weight:700;

    margin-right:8px;

}

.section-name{

    color:#999;

    font-size:13px;

    letter-spacing:2px;

}

.problem-card{

    background:#2b2d31;

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    height:100%;

    padding:45px 25px;

    text-align:center;

    transition:.3s;

}

.problem-card:hover{

    transform:translateY(-8px);

    border-color:#F5BE27;

}

.icon-circle{

    width:86px;

    height:86px;

    margin:auto;

    border-radius:50%;

    background:#F5BE27;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:36px;

    color:#202127;

    margin-bottom:35px;

}

.problem-card h4{

    color:#fff;

    font-size:32px;

    font-weight:600;

    line-height:1.45;

}

.problem-card .line{

    width:45px;

    height:4px;

    background:#F5BE27;

    border-radius:20px;

    margin:35px auto 0;

}

@media(max-width:991px){

.problem-section{

    padding:70px 0;

}

.problem-title{

    text-align:center;
    margin-bottom:40px;

}

.problem-title h2{

    font-size:42px;

}

.problem-card{

    padding:30px 20px;

}

.problem-card h4{

    font-size:24px;

}

.icon-circle{

    width:70px;
    height:70px;
    font-size:28px;

}

}


/*=============================
INSIGHT
=============================*/

.insight{

    background:#F8F5EF;

    padding:60px 0;

}

.section-title small{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:20px;

    font-size:13px;

    letter-spacing:2px;

}

.section-title small span{

   /* color:#F5BE27;*/
color:#202127;
    font-weight:700;

}

.section-title h2{

    font-size:72px;

    line-height:.95;

    font-weight:800;

    color:#202127;

    letter-spacing:-2px;

}

.section-title h2 span{

    color:#F5BE27;

}

.insight-list{

    display:flex;

    flex-direction:column;

    gap:42px;

}

.insight-list .item{

    display:flex;

    align-items:flex-start;

    gap:18px;

}

.check{

    width:34px;

    height:34px;

    border-radius:50%;

    background:#F5BE27;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-shrink:0;

    margin-top:6px;

}

.check i{

    color:#202127;

    font-size:16px;

    font-weight:700;

}

.insight-list p{

    margin:0;

    font-size:28px;

    line-height:1.55;

    color:#202127;

}

.board{

    max-width:420px;

    transition:.35s;

}

.board:hover{

     transform:rotate(-5deg) scale(1.05);

}




@media(max-width:991px){

.insight{

    padding:80px 0;

    text-align:center;

}

.section-title h2{

    font-size:50px;

}

.insight-list{

    margin:50px 0;

}

.insight-list .item{

    justify-content:center;

    text-align:left;

}

.insight-list p{

    font-size:22px;

}

.board{

    max-width:280px;

}

}

/*==================================================
  SERVICES
==================================================*/

.services{
    position:relative;
    background:#202127;
    padding:120px 0;
    overflow:hidden;
}

.services::before{
    content:"";
    position:absolute;
    left:-80px;
    top:-80px;
    width:220px;
    height:220px;
    background-image:radial-gradient(#F5BE27 2px,transparent 2px);
    background-size:24px 24px;
    opacity:.08;
}

/*==================================================
  TITLE
==================================================*/

.services-title{
    max-width:820px;
    margin:0 auto 90px;
    text-align:center;
}

.services-title small{
    display:inline-flex;
    align-items:center;
    gap:12px;
    color:#ffffff;
    font-size:14px;
    font-weight:600;
    letter-spacing:3px;
    text-transform:uppercase;
}

.services-title small span{
    color:#F5BE27;
    /*font-size:28px;*/
    font-weight:700;
}

.services-title h2{
    margin-top:18px;
    margin-bottom:0;
    color:#ffffff;
    font-size:64px;
    font-weight:800;
    line-height:1.05;
    letter-spacing:-2px;
}

.services-title h2 span{
    color:#F5BE27;
}

.yellow-line{
    width:90px;
    height:4px;
    background:#F5BE27;
    border-radius:30px;
    margin:35px auto;
}

.services-title p{
    width:700px;
    max-width:100%;
    margin:0 auto;
    color:#D6D6D6;
    font-size:19px;
    line-height:1.9;
}

/*==================================================
  GRID
==================================================*/

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

/*==================================================
  CARD
==================================================*/

.service-card{
    background:#2F3135;
    border-radius:24px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    height:100%;
    transition:.35s;
    box-shadow:0 18px 45px rgba(0,0,0,.15);
}

.service-card:hover{
    transform:translateY(-10px);
    background:#35373B;
    box-shadow:0 30px 80px rgba(0,0,0,.28);
}

/*==================================================
  IMAGE
==================================================*/

.service-thumb{
    padding:18px 18px 0;
}

.service-thumb img{
    width:100%;
    aspect-ratio:5/4;
    object-fit:cover;
    display:block;
    border-radius:18px;
    transition:.4s;
}

.service-card:hover .service-thumb img{
    transform:scale(1.02);
}

/*==================================================
  BODY
==================================================*/

.service-body{
    padding:28px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.service-body h3{
    color:#ffffff;
    font-size:28px;
    font-weight:700;
    line-height:1.25;
    margin-bottom:18px;
}

.service-body p{
    color:#D6D6D6;
    font-size:17px;
    line-height:1.8;
    margin-bottom:auto;
}

/*==================================================
  LINK
==================================================*/

.service-body a{
    display:inline-flex;
    align-items:center;
    gap:12px;
    margin-top:28px;
    color:#ffffff;
    text-decoration:none;
    font-size:17px;
    font-weight:600;
    transition:.35s;
}

.service-body a::after{
    content:"";
    width:42px;
    height:2px;
    background:#F5BE27;
    transition:.35s;
}

.service-body a i{
    color:#F5BE27;
    transition:.35s;
}

.service-card:hover a{
    color:#F5BE27;
}

.service-card:hover a::after{
    width:70px;
}

.service-card:hover a i{
    transform:translateX(8px);
}

/*==================================================
  BUTTON
==================================================*/

.service-btn{
    margin-top:70px;
    text-align:center;
}

.service-btn .btn{
    height:70px;
    padding:0 45px;
    border-radius:18px;
    border:2px solid rgba(245,190,39,.35);
    background:transparent;
    color:#ffffff;
    font-size:18px;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:14px;
    transition:.35s;
}

.service-btn .btn i{
    color:#F5BE27;
    transition:.35s;
}

.service-btn .btn:hover{
    background:#F5BE27;
    color:#202127;
}

.service-btn .btn:hover i{
    color:#202127;
    transform:translateX(8px);
}

/*==================================================
  RESPONSIVE
==================================================*/

@media (max-width:991px){

    .services{
        padding:90px 0;
    }

    .services-title{
        margin-bottom:60px;
    }

    .services-title h2{
        font-size:48px;
    }

    .services-title p{
        font-size:17px;
    }

    .services-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:22px;
    }

}

@media (max-width:767px){

    .services{
        padding:70px 0;
    }

    .services-title h2{
        font-size:40px;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

    .service-body{
        padding:24px;
    }

    .service-body h3{
        font-size:24px;
    }

    .service-body p{
        font-size:16px;
    }

    .service-btn .btn{
        width:100%;
        justify-content:center;
    }

}

/*==================================
PORTFOLIO
==================================*/

.portfolio{

    padding:120px 0;

    background:#F8F7F3;

}

.portfolio-heading{

    position:sticky;

    top:140px;

}

.portfolio-heading small{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:14px;

    font-weight:700;

    letter-spacing:2px;

}

.portfolio-heading small span{

    color:#F5BE27;

   /* font-size:28px;*/

}

.portfolio-heading h2{

    margin:28px 0;

    font-size:62px;

    line-height:1;

    font-weight:800;

}

.portfolio-heading h2 span{

    color:#F5BE27;

}

.portfolio-heading p{

    color:#666;

    line-height:1.8;

}

/* Grid */

.portfolio-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}

/* Card */

.portfolio-card{

    display:block;

    text-decoration:none;

    background:#fff;

    border-radius:26px;

    padding:14px;

    overflow:hidden;

    transition:.35s;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

.portfolio-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 70px rgba(0,0,0,.15);

}

.portfolio-image{

    aspect-ratio:16/10;

    overflow:hidden;

    border-radius:18px;

    background:#F4F4F4;

}

.portfolio-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.45s;

}

.portfolio-card:hover img{

    transform:scale(1.05);

}

.portfolio-body{

    padding:24px 10px 10px;

}

.portfolio-body h3{

    font-size:28px;

    font-weight:700;

    color:#202127;

    margin-bottom:8px;

}

.portfolio-body span{

    font-size:16px;

    color:#777;

}

/* Button */

.portfolio-more{

    margin-top:60px;

    text-align:center;

}

.btn-portfolio{

    display:inline-flex;

    align-items:center;

    gap:14px;

    padding:18px 40px;

    border-radius:18px;

    background:#202127;

    color:#fff;

    font-size:18px;

    font-weight:600;

    border:2px solid rgba(245,190,39,.35);

    transition:.35s;

}

.btn-portfolio:hover{

    background:#F5BE27;

    color:#202127;

}

.btn-portfolio:hover .bi-arrow-right{

    transform:translateX(6px);

}

.btn-portfolio i{

    transition:.3s;

}

/* Responsive */

@media(max-width:991px){

    .portfolio-heading{

        position:static;

        margin-bottom:50px;

    }

    .portfolio-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .portfolio{

        padding:80px 0;

    }

    .portfolio-heading{

        text-align:center;

    }

    .portfolio-heading h2{

        font-size:46px;

    }

    .portfolio-body h3{

        font-size:22px;

    }

}

/*==================================
ABOUT
==================================*/

.about{

    background:#202127;
    color:#fff;

    overflow:visible;

   padding: 40px 0;

}

/*==================================
PHOTO
==================================*/

.about-photo{

    height:260px;

    display:flex;

    justify-content:center;

    align-items:center;

}

.about-photo-circle{

    width:300px;
    height:300px;

    border-radius:50%;

    background:linear-gradient(180deg,#fafafa,#ececec);

    border:1px solid rgba(255,255,255,.15);

    overflow:hidden;

    margin-top:-70px;

    box-shadow:0 20px 60px rgba(0,0,0,.25);

}

.about-photo-circle img{

    width:100%;
    height:100%;

    object-fit:cover;

    object-position:center top;

}

/*==================================
CONTENT
==================================*/

.about-content{

    padding:55px 35px;

}

.about-content small{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:20px;

    font-size:14px;

    font-weight:700;

    letter-spacing:2px;

}

.about-content small span{

    color:#F5BE27;

 /*   font-size:26px;*/

}

.about-content h2{

    font-size:52px;

    font-weight:800;

    margin-bottom:20px;

}

.about-content p{

    color:#d5d5d5;

    font-size:18px;

    line-height:1.9;

    margin:0;

}

/*==================================
STATS
==================================*/

.about-stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    height:260px;

}

.stat{

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:0 45px;

    border-left:1px solid rgba(255,255,255,.08);

}

.stat:first-child{

    border-left:none;

}

.stat-icon{

    width:74px;
    height:74px;

    border-radius:50%;

    background:#F5BE27;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:20px;

}

.stat-icon i{

    font-size:32px;

    color:#202127;

}

.stat h3{

    font-size:54px;

    font-weight:800;

    margin-bottom:10px;

    line-height:1;

}

.business-title{

    font-size:38px !important;

    line-height:1.15;

}

.stat p{

    color:#d5d5d5;

    font-size:16px;

    line-height:1.6;

    margin:0;

}

/*==================================
TABLET & MOBILE
==================================*/

@media(max-width:991px){

.about{

    padding:70px 0;

}

.about-photo{

    height:auto;

    margin-bottom:40px;

}

.about-photo-circle{

    width:240px;
    height:240px;

    margin-top:0;

}

.about-content{

    padding:0 20px 50px;

    text-align:center;

}

.about-content small{

    justify-content:center;

}

.about-content h2{

    font-size:42px;

}

.about-content p{

    font-size:17px;

}

.about-stats{

    display:block;

    height:auto;

}

.stat{

    position:relative;

    border:none;

    padding:55px 25px;

    text-align:center;

    align-items:center;

}

.stat::after{

    content:"";

    position:absolute;

    left:10%;

    right:10%;

    bottom:0;

    height:1px;

    background:rgba(255,255,255,.08);

}

.stat:last-child::after{

    display:none;

}

.stat-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

}

.stat-icon i{

    font-size:40px;

}

.stat h3{

    font-size:58px;

}

.business-title{

    font-size:36px !important;

}

.stat p{

    font-size:18px;

}

}

/*==================================
SMALL MOBILE
==================================*/

@media(max-width:576px){

.about-photo-circle{

    width:210px;

    height:210px;

}

.about-content h2{

    font-size:36px;

}

.about-content p{

    font-size:16px;

}

.stat h3{

    font-size:52px;

}

.business-title{

    font-size:32px !important;

}

.stat p{

    font-size:17px;

}

}

/*==================================
FOOTER
==================================*/

.footer{

    background:#202127;

    color:#fff;

    padding:50px 0 40px;

}

.footer-top{

    text-align:center;

    max-width:760px;

    margin:0 auto 70px;

}

.footer-top small{

    display:block;

    color:#F5BE27;

    font-size:14px;

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:20px;

}

.footer-top h2{

    font-size:58px;

    font-weight:800;

    margin-bottom:20px;

}

.footer-top p{

    color:#bdbdbd;

    font-size:20px;

    line-height:1.8;

}

/*========================*/

.footer-contact{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    margin-bottom:80px;

}

.contact-card{

    display:flex;

    align-items:center;

    gap:20px;

    padding:28px;

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    color:#fff;

    text-decoration:none;

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-8px);

    border-color:#F5BE27;

    color:#fff;

}

.contact-icon{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#F5BE27;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-shrink:0;

}

.contact-icon i{

    font-size:28px;

    color:#202127;

}

.contact-card span{

    display:block;

    color:#bdbdbd;

    font-size:14px;

    margin-bottom:6px;

}

.contact-card h5{

    margin:0;

    font-size:22px;

    font-weight:700;

}

/*========================*/

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

    padding-top:35px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

}

.footer-bottom img{

    width:75px;

}

.footer-bottom p{

    color:#999;

    margin:0;

}

.footer-social{

    display:flex;

    gap:15px;

}

.footer-social a{

    width:46px;

    height:46px;

    border-radius:50%;

    border:1px solid rgba(245,190,39,.3);

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    transition:.3s;

}

.footer-social a:hover{

    background:#F5BE27;

    color:#202127;

}

/*==================================
RESPONSIVE
==================================*/

@media(max-width:991px){

.footer{

    padding:80px 0 35px;

}

.footer-top h2{

    font-size:42px;

}

.footer-top p{

    font-size:18px;

}

.footer-contact{

    grid-template-columns:1fr;

}

.footer-bottom{

    flex-direction:column;

    text-align:center;

}

}

@media(max-width:576px){

.footer-top h2{

    font-size:34px;

}

.footer-top p{

    font-size:17px;

}

.contact-card{

    padding:22px;

}

.contact-icon{

    width:60px;

    height:60px;

}

.contact-card h5{

    font-size:18px;

}

}


/*==================================
TESTIMONIALS
==================================*/

.testimonials{

    background:#F6F1E8;

    color:#202127;

    padding:100px 0;

    overflow:hidden;

}


/*==================================
HEADER
==================================*/

.testimonials-header{

    text-align:center;

    margin:0 auto 50px;

}

.testimonials-header .section-number{

    color:#F5BE27;

    font-size:16px;

    font-weight:700;

    margin-right:10px;

}

.testimonials-header .section-label{

    color:#202127;

    font-size:13px;

    font-weight:700;

    letter-spacing:2px;

}

.testimonials-header h2{

    color:#202127;

    font-size:64px;

    font-weight:800;

    line-height:1;

    margin:25px 0 0;

}


/*==================================
SLIDER
==================================*/

.testimonial-slider{

    position:relative;

    display:flex;

    align-items:center;

    width:100%;

}

.testimonial-track{

    position:relative;

    width:100%;

    overflow:hidden;

}

.testimonial-slide{

    display:none;

    width:100%;

}

.testimonial-slide.active{

    display:block;

}


/*==================================
TESTIMONIAL CARD
==================================*/

.testimonial-card{

    background:#fff;

    border:1px solid rgba(32,33,39,.08);

    border-radius:24px;

    padding:55px 60px;

    display:grid;

    grid-template-columns:260px 1fr;

    gap:60px;

    min-height:320px;

    box-shadow:0 20px 60px rgba(32,33,39,.10);

}


/*==================================
CLIENT
==================================*/

.testimonial-client{

    display:flex;

    flex-direction:column;

    align-items:flex-start;

}

.testimonial-avatar{

    width:100px;

    height:100px;

    border-radius:50%;

    overflow:hidden;

    background:#F5BE27;

    border:3px solid #F5BE27;

    margin-bottom:20px;

    flex-shrink:0;

}

.testimonial-avatar img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}

.testimonial-client h4{

    margin:0 0 6px;

    color:#202127;

    font-size:22px;

    font-weight:700;

}

.testimonial-client p{

    margin:0;

    color:#777;

    font-size:15px;

}


/*==================================
TESTIMONIAL CONTENT
==================================*/

.testimonial-content{

    position:relative;

    padding-top:5px;

}

.quote-mark{

    display:block;

    color:#F5BE27;

    font-size:80px;

    font-weight:800;

    line-height:.7;

    margin-bottom:25px;

}

.testimonial-content p{

    max-width:900px;

    margin:0;

    color:#333;

    font-size:21px;

    line-height:1.75;

}


/*==================================
ARROWS
==================================*/

.testimonial-arrow{

    width:52px;

    height:52px;

    min-width:52px;

    padding:0;

    border-radius:50%;

    border:1px solid rgba(32,33,39,.25);

    background:transparent;

    color:#202127;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;

    transition:.3s;

    z-index:10;

}

.testimonial-arrow:hover{

    background:#F5BE27;

    color:#202127;

    border-color:#F5BE27;

    transform:translateY(-3px);

}

.testimonial-prev{

    margin-right:20px;

}

.testimonial-next{

    margin-left:20px;

}


/*==================================
DOTS
==================================*/

.testimonial-dots{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:35px;

}

.testimonial-dots button{

    width:8px;

    height:8px;

    padding:0;

    border:0;

    border-radius:50%;

    background:#aaa;

    transition:.3s;

}

.testimonial-dots button.active{

    width:28px;

    border-radius:10px;

    background:#F5BE27;

}


/*==================================
TABLET
==================================*/

@media(max-width:991px){

    .testimonials{

        padding:80px 0;

    }


    .testimonials-header{

        text-align:center;

        margin-bottom:40px;

    }


    .testimonials-header h2{

        font-size:50px;

    }


    .testimonial-card{

        grid-template-columns:1fr;

        gap:35px;

        padding:45px;

    }


    .testimonial-client{

        flex-direction:row;

        align-items:center;

        gap:20px;

    }


    .testimonial-avatar{

        width:80px;

        height:80px;

        margin:0;

    }


    .testimonial-client h4{

        font-size:21px;

    }


    .testimonial-content p{

        font-size:19px;

    }

}


/*==================================
MOBILE
==================================*/

@media(max-width:576px){

    .testimonials{

        padding:65px 0;

    }


    .testimonials-header{

        text-align:center;

        margin-bottom:30px;

    }


    .testimonials-header .section-number{

        font-size:14px;

        margin-right:7px;

    }


    .testimonials-header .section-label{

        font-size:12px;

        letter-spacing:1.5px;

    }


    .testimonials-header h2{

        font-size:38px;

        line-height:1.1;

        margin-top:18px;

    }


    .testimonial-slider{

        align-items:center;

    }


    .testimonial-card{

        padding:30px 25px;

        border-radius:20px;

        min-height:auto;

        grid-template-columns:1fr;

        gap:30px;

    }


    .testimonial-client{

        flex-direction:row;

        align-items:center;

        gap:15px;

    }


    .testimonial-avatar{

        width:70px;

        height:70px;

        margin:0;

        border-width:2px;

    }


    .testimonial-client h4{

        font-size:19px;

    }


    .testimonial-client p{

        font-size:14px;

    }


    .testimonial-content{

        padding-top:0;

    }


    .quote-mark{

        font-size:65px;

        margin-bottom:20px;

    }


    .testimonial-content p{

        font-size:17px;

        line-height:1.7;

    }


    .testimonial-arrow{

        width:42px;

        height:42px;

        min-width:42px;

        font-size:16px;

    }


    .testimonial-prev{

        margin-right:10px;

    }


    .testimonial-next{

        margin-left:10px;

    }


    .testimonial-dots{

        margin-top:25px;

    }

}




/*==================================
BACK TO TOP
==================================*/

.back-to-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:#F5BE27;

    color:#202127;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    font-size:24px;

    box-shadow:0 12px 35px rgba(0,0,0,.25);

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.35s;

    z-index:999;

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.back-to-top:hover{

    background:#202127;

    color:#F5BE27;

    transform:translateY(-5px);

}