*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#faf8f4;
color:#140b01;
}

a{
text-decoration:none;
}

img{
width:100%;
display:block;
}


/* nav */
.hamburger{
    display:none;
    width:35px;
    height:30px;
    position:relative;
    background:none;
    border:none;
    cursor:pointer;
}

.hamburger span{
    position:absolute;
    width:100%;
    height:3px;
    background:#222;
    left:0;
    transition:.3s;
}

.hamburger span:nth-child(1){
    top:4px;
}

.hamburger span:nth-child(2){
    top:13px;
}

.hamburger span:nth-child(3){
    top:22px;
}

.hamburger.active span:nth-child(1){
    transform:rotate(45deg);
    top:13px;
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:rotate(-45deg);
    top:13px;
}
/* HEADER */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:25px 8%;
background:white;
}

.logo h2{
font-size:40px;
font-weight:800;
}

.logo span{
font-size:12px;
letter-spacing:1px;
}

nav{
display:flex;
gap:25px;
}

nav a{
color:#2e170d;
font-weight:600;
text-transform:uppercase;
font-size:24px;
}

nav a.active{

    color:#d6a323;

}

nav  a.active::after{

    width:100%;

}

.white{
background:white;
color:rgb(29, 17, 6);
}
a {
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background-color: #A6A6A6;
  width: 0%;
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
  animation: heartbeat116 1.5s ease-in-out 0.3s infinite;
}

/* Title */

.reviews-header{
    text-align:center;
    padding:60px 20px 30px;
}

.reviews-header h1{
    font-size:54px;
    font-weight:800;
    margin-bottom:10px;
}

.reviews-header p{
    color:#d8a028;
    font-size:20px;
}

/* Rating */

.rating-box{
    max-width:1100px;
    margin:auto;
    background:#fff;
    border:1px solid #e7e7e7;
    border-radius:12px;
    padding:40px;
    display:grid;
    grid-template-columns:300px 1fr;
    gap:50px;
}

.rating-left{
    text-align:center;
}

.rating-left h2{
    font-size:90px;
    line-height:1;
    font-weight:800;
}

.stars{
    color:#d8a028;
    font-size:28px;
    margin:10px 0;
}

.rating-left span{
    color:#666;
}

.rating-row{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:18px;
}

.rating-row span{
    width:70px;
    font-size:14px;
}

.progress{
    flex:1;
    height:8px;
    background:#ececec;
    border-radius:30px;
}

.fill{
    height:100%;
    background:#d8a028;
    border-radius:30px;
}

.fill-82{
    width:82%;
}

.fill-12{
    width:12%;
}

.fill-4{
    width:4%;
}

.fill-1{
    width:1%;
}

.rating-row strong{
    width:40px;
    font-size:13px;
}

/* Button */

.review-button-wrap{
    text-align:center;
    margin:25px 0 40px;
}

.review-btn{
    background:#d8a028;
    color:#000;
    padding:14px 28px;
    border-radius:8px;
    font-weight:700;
}

/* Cards */

.reviews-grid{
    max-width:1200px;
    margin:auto;
    padding:0 20px 60px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.review-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:10px;
    padding:30px;
}

.review-card h3{
    margin:18px 0;
    font-size:20px;
}

.review-card p{
    color:#555;
    line-height:1.7;
}

.review-user{
    margin-top:25px;
    display:flex;
    align-items:center;
    gap:12px;
}

.review-user img{
    width:45px;
    height:45px;
    border-radius:50%;
    object-fit:cover;
}

/* Footer */

/* ================= FOOTER ================= */


footer{

    background:#220801;

    color:#fff;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:35px;

    padding:45px 60px;

}

.footer-box h4{

    margin-bottom:18px;

    font-size:16px;

}

.footer-box p{

    color:#d6d6d6;

    margin-bottom:8px;

    font-size:14px;

}

.footer-box h3{

    font-size:28px;

    margin:15px 0;

}

.footer-box a{

    color:#d8a028;

    font-weight:600;

}



.social{

    display:flex;

    gap:12px;

    margin-bottom:18px;

}

.social a{

    width:34px;

    height:34px;

    border:1px solid rgba(255,255,255,.35);

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

}

.footer-box span{

    color:#d8a028;

    font-weight:600;

}

.copyright{

    background:#110600;

    color:#bbb;

    text-align:center;

    padding:15px;

    font-size:13px;

}

/* Responsive */

@media(max-width:992px){

    .rating-box{
        grid-template-columns:1fr;
    }

    .reviews-grid{
        grid-template-columns:1fr;
    }

    footer{
        grid-template-columns:1fr 1fr;
    }

   nav{
flex-wrap:wrap;
justify-content:center;
}
}

@media(max-width:768px){

  
    .header{
        padding:18px 20px;
    }
    footer{
    grid-template-columns:1fr;
    }

    header{
        position:relative;
        padding:15px 20px;
    }

    .hamburger{
        display:block;
        order:3;
    }

  

    nav{
        display:flex;
        flex-direction:column;
        position:absolute;
        top:82px;
        left:0;
        width:100%;
        background:#fff;
        border-top:1px solid #eee;
        box-shadow:0 8px 20px rgba(0,0,0,.08);

        max-height:0;
        overflow:hidden;
        transition:max-height .35s ease;
        z-index:1000;
    }

    nav.active{
        max-height:500px;
    }

    nav a{
        padding:18px 25px;
        border-bottom:1px solid #f2f2f2;
    }
}