@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    height: 135px;
    background-color: #f2f2f2;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

header img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    position: absolute;
    left: 30px;
}

header h1 {
    margin: 0 auto;
    font-size: 4rem;
}

nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 10px 0;
    background-color: #f2f2f2;
    border-bottom: 1px solid #e0e0e0;
}
nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s;
}
nav ul{
    list-style: none;
    display: flex;
}

.block {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dadada;
    overflow: hidden;
    width: 80%;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
}

@media (max-width: 1000px) {
    .hero {
        width: 100%;
        border-radius: 0;
    }
    .company {
        width: 100%;
        border-radius: 0;
    }
}
.hero * {
    margin: 20px;
}
.hero img {
    width: max(400px, 50vw);
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.hero p{
    text-align: justify;
    font-size: max(0.8rem, 1vw);
}
.hero h2 {
    font-size: max(1.5rem, 2vw);
    font-weight: 700;
}
.hero button{
    width: max(200px, 20vw);
    height: max(50px, 5vw);
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
}
.hero button:hover {
    background-color: #555;
}

.company * {
    margin-left: 20px;
}
.company p{
    text-align: justify;
    font-size: max(0.9rem, 1vw);
}

.reviews{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 90%;
}

.reviews ul {
    display: flex;
    overflow-x: auto;
    flex-direction: row;
    list-style-type: none;
    padding: 0;
    margin: 0;
    scroll-snap-type: x mandatory;
    padding-left: 20px; /* Adjust the padding as needed */
}

.reviews li {
    display: flex; /* Added to support flex-direction */
    flex-direction: column;
    flex-shrink: 0;
    align-items: center;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-right: 20px;
    max-width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
}

.reviews li img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.reviews li p {
    text-align: center;
    font-size: 1rem;
    margin: 10px 0;
}


