.hero {
    background: url('../images/home-hero-bg.jpg') center/cover no-repeat;
    text-align: center;
    padding: 135px 20px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
}

.hero-content {
    width: 50%;
    max-width: 760px;
    margin: 0 25%;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 38px;
    font-weight: bold;
    color: #1E2345;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #FF6F5A;
}

.hero p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 100%;
}

.btn-primary {
    background-color: #FF6F5A;
    color: white;
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: inherit;
    font-weight: normal;
    line-height: normal;
    transition: 0.3s ease-in-out;
    margin-top: 0;
}

.btn-primary:hover {
    background-color: #1E2345;
    color: #FF6F5A;
    transform: none;
}

.services {
    background-color: #EFF2FF;
    padding: 36px 20px 40px;
    text-align: center;
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
}

.services p {
    margin-bottom: 10px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px auto 40px;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 10px;
    overflow: hidden;
}

.service-card:hover {
    border-color: #FF6F5A;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-content {
    position: relative;
    z-index: 2;
    background: white;
    padding: 10px;
}

.service-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
}

.service-icon {
    font-size: 2rem;
    color: #1E2345;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
}

.service-card:hover .service-icon {
    color: #FF6F5A !important;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin: 10px 0;
    color: #1E2345;
}

.service-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.get-proposal {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 33.333%;
    margin: 50px auto;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.get-proposal h2 {
    font-size: 22px;
    font-weight: bold;
    color: #1E2345;
    margin-bottom: 15px;
}

.get-proposal p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.proposal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-invoice,
.btn-contact {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: inherit;
    font-weight: bold;
    line-height: normal;
    transition: 0.3s ease-in-out;
    border: none;
    cursor: pointer;
}

.btn-invoice {
    background-color: #FF6F5A;
    color: white;
}

.btn-invoice:hover {
    background-color: #1E2345;
    color: #FF6F5A;
    transform: none;
}

.btn-contact {
    background-color: #ffffff;
    color: #1E2345;
    border: 2px solid #1E2345;
}

.btn-contact:hover {
    background-color: #1E2345;
    color: white;
}

@media (max-width: 960px) {
    .hero {
        padding: 90px 20px;
    }

    .hero-content {
        width: min(calc(100% - 28px), 720px);
        max-width: none;
        margin: 0 auto;
    }

    .service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .get-proposal {
        width: min(calc(100% - 40px), 620px);
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 68px 14px;
    }

    .hero h2 {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero p {
        font-size: 15px;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .proposal-buttons {
        flex-direction: column;
    }
}
