:root {
    --soft-orange: #ae896c;
    --coffee: #7b542f;
    --dark-chocolate: #4a3a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-chocolate);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.x-btn {
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.x-btn-primary {
    background: var(--coffee);
    color: #fff;
}

.x-btn-primary:hover {
    opacity: 0.9;
}

.x-btn-outline {
    background: transparent;
    border: 1px solid var(--coffee);
    color: var(--coffee);
}

.x-btn-outline:hover {
    background: var(--coffee);
    color: #fff;
}

.hero-image {
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    max-width: 500px;
    background: linear-gradient(135deg, var(--soft-orange), var(--coffee));
    height: 95%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Scales the image to cover the div while maintaining aspect ratio */
    object-position: center; /* Centers the visible area of the image */
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
}

.cta {
    background: linear-gradient(135deg, var(--soft-orange), var(--coffee));
    border-radius: 40px;
    padding: 50px 32px;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 16px;
    margin-bottom: 24px;
}

footer {
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
    padding-bottom: 20px;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-block {
    padding-bottom: 5px;
}

.contact-block br {
    display: none;
}

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-block br {
        display: block;
    }

    .contact-block {
        padding-bottom: 10px;
    }

}