* {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
    box-sizing: border-box;
}

:root {
    --main-color: #f6fa04;
    --second-coor: #cace03;
    --text-color: #060414;
    --hover-color: #060400;
    --container-color: #efe8e0;
    --bg-color: #F7F7F7;
    --text-after-color: #818181;
    --poppins-font: 'Poppins', sans-serif;
    --font-family-2: 'Squada One', sans-serif;
}

#myForm button {
    outline: none;
    border: 0;
}

.content { 
    overflow: hidden;
}

/* Custom Scrollbar */
html::-webkit-scrollbar {
    width: 0.5rem;
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--main-color);
}

body {
    color: var(--text-color);
    background-color: #fff;
}

p, h4 {
    font-family: var(--poppins-font);
}

h2,h3 {
    font-family: var(--font-family-2);
}

a {
    text-decoration: none;
}

img {
    width: 100%;
}

section {
    padding: 3rem 0 2rem;
}

.container {
    max-width: 1060px;
    margin: auto;
    width: 100%;
}

header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 100;  
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--text-color);
    padding: 17px 20px;
    border-radius: 0.8rem;
}
.logo {
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--bg-color);
    text-transform: uppercase;
    font-family: var(--font-family-2);
}

.logo-subtitle {
    font-family: var(--poppins-font);
    font-weight: 500;
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 0.15rem;
}

.logo span {
    color: var(--main-color);
}

.navbar {
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
}

.nav-link {
    font-size: 0.88rem;
    color: var(--text-after-color);
    font-family: var(--poppins-font);
    transition: 0.4s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.nav-link:hover {
    color: var(--bg-color);
    transition: 0.4s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-icons .contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--poppins-font);
    text-transform: uppercase;
    width: 100%;
}

.nav-icons .bx {
    color: var(--bg-color);
    font-size: 20px;
}

.menu-icon {
    display: none;
    flex-direction: column;
    align-items: center;
    row-gap: 5px;
    cursor: pointer;
    z-index: 200;
    transform: 0.3s;
}

.menu-icon div {
    display: block;
    background-color: var(--bg-color);
    height: 2px;
    width: 23px;
    transition: 0.3s;
}

.move .line1 {
    transform: rotate(-45deg) translate(-5px, 5px);
}

.move .line2 {
    opacity: 0;
}

.move .line3 {
    transform: rotate(45deg) translate(-5px, -5px);
}

.home {
    background: white;
    min-height: 670px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 12rem !important;
}

.home-content {
    z-index: 1;
}

.home-img {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.home-img img {
    width: 100%;
}

.home-img::before {
    font-family: var(--font-family-2);
    width: 100%;
    content: 'Alphard';
    font-size: 11rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2rem;
    position: absolute;
    text-align: center;
    top: -80px;
    color: var(--text-after-color);
    z-index: -1;
    transform: translateX(-60px);
    transition: transform 2.5s ease, opacity 2.5s ease;
    animation: revealformright 2.5s ease forwards;
    animation-delay: 0.4s;
}

@keyframes revealformright {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

.input-form {
    font-family: var(--poppins-font);
    max-width: 650px;
    margin: 1rem auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    background-color: var(--bg-color);
    padding: 12px;
    border-radius: 0.5rem;
}

.input-box {
    flex: 1 1 7rem;
    display: flex;
    flex-direction: column;
}

.input-box span {
    font-weight: 500;
}

.input-box input {
    font-family: var(--poppins-font);
    outline: none;
    border: none;
    color: var(--text-after-color);
    background-color: transparent;
    font-size: 0.94rem;
}

.input-border {
    border-right: 1px solid var(--text-after-color);
    padding-right: 5px;
}

.search-btn {
    background-color: var(--text-color);
    color: var(--bg-color);
    font-size: 20px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
}

.search-btn:hover {
    background-color: var(--hover-color);
    transition: 0.3s ease;
}

.heading {
    margin-bottom: 2rem;
}

.heading h2 {
    font-size: 2.2rem;
    font-weight: 500;
}

.trending-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, auto));
    gap: 1.5rem;
}

.trend-box {
    background-color: var(--bg-color);
    padding: 15px;
    border-radius: 10px;
}

.trend-box:hover {
    background: #fff;
    border: 2px solid var(--bg-color);
    transition: background 0.5s ease;
}

.trend-box h4 {
    display: inline-block;
    font-family: var(--poppins-font);
    background-color: #ebebeb;
    font-size: 0.8rem;
    padding: 8px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.trend-box h4:hover {
    background: #eaeaea;
}

.trend-box img {
    margin: 1.4rem 0 1rem;
    height: 74px;
    width: 100%;
    object-fit: contain;
}

.trend-box h3{
    font-size: 1.4rem;
    font-weight: 500;
}

.trend-box p {
    font-size: 0.9rem;
    margin-top: 7px;
    color: var(--text-after-color);
}

.rentals .heading {
    text-align: center;
    margin-bottom: 2rem;
}

.heading p {
    max-width: 550px;
    width: 100%;
    font-size: 0.9rem;
    margin: 1rem auto;
}

.rentals-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, auto));
    gap: 1.5rem;
}

.rental-box {
    background: var(--bg-color);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.rental-box:hover {
    transform: translateY(-10px);
    transition: transform 0.5s ease;
}

.rental-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rental-top h3 {
    display: inline-block;
    font-family: var(--poppins-font);
    background: #ebebeb;
    font-size: 0.77rem;
    padding: 4px 7px;
    border-radius: 4px;
    font-weight: 600;
}

.rental-top .bx {
    font-size: 20px;
    color: var(--text-after-color);
    cursor: pointer;
}

.rental-top .bx:hover {
    color: var(--main-color);
    transition: 0.3s ease;
}

.rental-box img {
    margin: 1.8rem 0 1rem;
    height: 74px;
    object-fit: contain;
    object-position: center;
}

.rental-box h2 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-after-color);
    margin-top: 5px;
}

.price-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.price-btn p {
    font-size: 0.97rem;
}

.price-btn p span {
    color: var(--text-after-color);
}

.rental-btn {
    font-family: var(--poppins-font);
    background: var(--text-color);
    color: var(--bg-color);
    padding: 7px 10px;
    font-size: 0.97rem;
    border-radius: 4px;
    transition: 0.4s ease;
}

.rental-btn:hover {
    background: var(--hover-color);
    transition: 0.4s ease;
}

.team .heading {
    text-align: center;
}

.team-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, auto));
    gap: 1.5rem;
}

.team-content img {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 100%;
}

.team-box h2 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 1rem;
}

.team-box span {
    font-size: 0.77rem;
    color: var(--text-after-color);
    font-family: var(--poppins-font);
}

.team-box p {
    font-size: 0.88rem;
    font-family: var(--poppins-font);
    color: var(--text-after-color);
    margin-top: 8px;
}

.reviews .heading {
    text-align: center;
}

.reviews-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.t-box {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 10px;
}

.t-box .stars {
    color: var(--main-color);
    font-size: 20px;
}

.t-box p {
    font-size: 1rem;
    margin-top: 10px 0;
}

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-data h3 {
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 500;
}

.profile-data span {
    font-family: var(--poppins-font);
    font-size: 0.94rem;
    font-weight: 400;
    color: var(--text-after-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 40px 0 30px;
}

.footer {
    background-color: var(--text-color);
    color: var(--text-after-color)
}

.footer-box {
    display: flex;
    flex-direction: column;
}

.footer-box .footer-subtitle {
    font-weight: 500;
    color: #ffffff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.social {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.social a .bx {
    font-size: 20px;
    background: var(--text-color);
    color: var(--main-color);
    border-radius: 50%;
    padding: 8px;
    margin-right: 0.8rem;
}

.social a .bx:hover {
    color: var(--text-color);
    background: var(--bg-color);
    transition: background 0.4s ease-in-out;
}

.footer-box h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--bg-color);
    margin-bottom: 1rem;
}

.footer-box p {
    margin-bottom: 8px;
}

.footer-box p span {
    display: inline-block;
    width: 50px;
}

.footer-box .link {
    font-family: var(--poppins-font);
    color: var(--bg-color);
    margin-bottom: 10px;
}

.copyright {
    font-family: var(--poppins-font);
    font-weight: 600;
    padding: 30px;
    color: var(--bg-color);
    text-align: center;
}


/* making responsive */
@media (max-width: 1080px) {
    .container {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 970px) {
    .section {
        padding: 2rem 0;
    }

    .home-img::before {
        font-size: 8rem;
        top: -60px;
    }
}

@media (max-width: 880px) {
    .nav {
        padding: 12px 20px;
        border-radius: 0.6rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .home {
        min-height: 500px;
        padding-top: 9rem !important;
    }

    .home-img::before {
        font-size: 6rem;
        top: -38px;
    }

    .t-box .stars {
        font-size: 15px;
    }

    
    .profile-data h3 {
        font-size: 0.80em;
        line-height: 1rem;
        font-weight: 500;
    }

    .profile-data span {
        font-family: var(--poppins-font);
        font-size: 0.80rem;
        font-weight: 400;
        color: var(--text-after-color);
    }
    
    .t-box p {
        font-size: 0.95rem;
        margin-top: 10px 0;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-content, .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    header {
        top: 15px;
    }

    .nav-icons .bx {
        font-size: 17px;
    }

    .menu-icon {
        display: flex;
    }

    .navbar {
        position: absolute;
        top: 110%;
        left: 50%;
        transform: translate(-50%);
        width: 90vw;
        background-color: var(--text-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-radius: 1rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    .open-menu {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    .nav-link {
        display: block;
        margin: 1rem 0;
    }

    .home {
        min-height: 440px;
        padding-top: 8rem !important;
    }

    .home-img::before {
        font-size: 5rem;
        top: -34px;
        letter-spacing: 1.2rem;
    }

    .profile img {
        width: 45px;
        height: 45px;
    }

    .t-box .stars {
        font-size: 15px;
    }

    
    .profile-data h3 {
        font-size: 0.80em;
        line-height: 1rem;
        font-weight: 500;
    }

    .profile-data span {
        font-family: var(--poppins-font);
        font-size: 0.80rem;
        font-weight: 400;
        color: var(--text-after-color);
    }
    
    .t-box p {
        font-size: 0.80rem;
        margin-top: 10px 0;
    }

    .search-btn {
        display: block;
        width: 100%;
    }
    
    .reviews-content, .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 477px) {
    .home-img {
        width: 95%;
        margin: auto;
    }

    .home-img::before {
        font-size: 4rem;
        top: -32px;
        letter-spacing: 1rem;
    }

    .input-form {
        flex-direction: column;
        align-items: normal;
    }

    .input-box {
        flex: none;
    }

    .input-border {
        border-right: none;
        padding: 0 0 10px;
        border-bottom: 1px solid var(--text-after-color);
    }

    .heading h2 {
        font-size: 2rem;
    }

    .t-box .stars {
        font-size: 15px;
    }

    
    .profile-data h3 {
        font-size: 0.80em;
        line-height: 1rem;
        font-weight: 500;
    }

    .profile-data span {
        font-family: var(--poppins-font);
        font-size: 0.80rem;
        font-weight: 400;
        color: var(--text-after-color);
    }
    
    .t-box p {
        font-size: 0.80rem;
        margin-top: 10px 0;
    }

    .reviews-content, .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .home-img::before {
        font-size: 3.5rem;
        top: -22px;
        letter-spacing: 0.8rem;
    }

    .t-box .stars {
        font-size: 15px;
    }

    .profile-data h3 {
        font-size: 0.75rem;
        line-height: 1rem;
        font-weight: 500;
    }

    .profile-data span {
        font-family: var(--poppins-font);
        font-size: 0.75rem;
        font-weight: 400;
        color: var(--text-after-color);
    }
    
    .t-box p {
        font-size: 0.75rem;
        margin-top: 10px 0;
    }
}