body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

header {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: #ffffff;
    text-align: center;
    padding: 1.5em 0;
    font-size: 1.6em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header:hover {
    transform: translateY(-3px);
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #212529;
    color: #ffffff;
    box-shadow: 0 -6px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    box-sizing: border-box;
}

.footer-text {
    max-width: 700px;
    text-align: center;
    line-height: 1.5;
    padding: 0 10px;
}

.horizontal-text {
    padding: 10px 20px;
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.firstrow {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.firstrow:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.img-p {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.img-p:hover {
    transform: scale(1.05);
}

main {
    padding: 20px;
    margin: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
    box-sizing: border-box;
}

main:hover {
    transform: translateY(-5px);
}

#custom-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.review-box-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    margin: 15px 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    flex-wrap: wrap;
}

.review-box-wrap:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.review-box-thumb {
    display: flex;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.review-logo img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.review-box-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    max-width: 60%;
}

.review-box-name {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0;
    color: #007bff;
}

.review-box-rating {
    margin-top: 5px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-rating span {
    font-weight: bold;
    color: #007bff;
}

.rating {
    display: flex;
    gap: 3px;
}

.rating .icon {
    font-size: 18px;
    color: #ffcc00;
    transition: transform 0.3s ease;
}

.rating .icon:hover {
    transform: scale(1.2);
}

.review-box-info {
    flex-grow: 1;
    text-align: center;
    color: #444;
    font-size: 1em;
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
}

.review-bonus {
    font-size: 1.2em;
    color: #ff5722;
    font-weight: 500;
}

.review-box-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    box-sizing: border-box;
}

.review-box-actions .btn {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: bold;
}

.review-box-actions .btn:hover {
    background: linear-gradient(135deg, #feb47b, #ff7e5f);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.review-box-actions .opiniao {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.review-box-actions .opiniao:hover {
    color: #0056b3;
    text-decoration: underline;
}

.head-main {
    text-align: center;
    margin-bottom: 20px;
}

.head-main a {
    text-decoration: none !important;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.head-main a:hover {
    color: #0056b3;
}

.count {
    border-radius: 50%;
    color: #ffffff;
    width: 40px;
    height: 40px;
    background-color: #ff5722;
    line-height: 40px;
    text-align: center;
    font-weight: 700;
    margin: 0 10px;
    font-size: 1rem;
}

.about {
    padding-top: 20px;
}

.footer-menu a {
    display: inline-block;
    color: #b8b2b2;
    text-decoration: none;
    padding: 0 10px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ffffff;
}

.container-form {
    margin: auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 95%;
    max-width: 500px;
    transition: transform 0.4s ease;
    box-sizing: border-box;
}

.container-form:hover {
    transform: translateY(-3px);
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #007bff;
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    transition: border 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus {
    border: 1.5px solid #007bff;
    outline: none;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border: none;
    color: #ffffff;
    font-size: 1em;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #feb47b, #ff7e5f);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .review-box-wrap {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .review-box-thumb,
    .review-box-meta,
    .review-box-info,
    .review-box-actions {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .review-box-meta {
        padding-left: 0;
    }

    .review-bonus {
        font-size: 1.1em;
        margin-right: 0;
    }

    .footer-text {
        padding: 0 20px;
        line-height: 1.8;
    }

    .container-form {
        width: 90%;
    }
}
