* {
    box-sizing: border-box;
}
html, body {
    height: 100%;
}
body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.5;
    --bg-main-color: rgba(255, 255, 255, 1);
    --bg-secondary-color: rgba(234, 239, 239, 0.2); 
    --text-color: black;
    --text-secondary-color: #fff;
    --main-color: #333446;
    --secondary-color: #7F8CAA;
}
.hero {
    position: relative;
    min-height: 50vh;
    background-image: linear-gradient(rgba(127, 140, 170, 0.8), rgba(127, 140, 170, 0.2)), url('/img/img-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.hero__content {
    position: relative;
    color: #ffffff;
    text-align: center;
    max-width: 900px;
}
.hero__content h1 {
    font-size: 4em; 
    position: relative;
    padding: 0 0 20px 0;
    margin: 0 0 20px 0;
}

.hero__content h1::after {
    content: "";
    position: absolute;
    left: 25%;
    bottom: 0;
    width: 50%;
    border-bottom: 1px solid #fff;
  }

.hero__content p {
    font-size: 2em; 
    margin-top: 0; 
    font-weight: 400; 
    letter-spacing: 0.01em; 
    opacity: 0.8;
}

main {
    background: linear-gradient(0deg, var(--bg-main-color) 0%, var(--bg-secondary-color) 100%);
}

.section {
    padding: 60px 24px;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
}
.section h2, .section h3 {
    margin: 0 0 30px 0;
    font-size: 2.2em;
}

.section h3 {
    font-size: 1.7em;
}

.section p a, .section p a:visited {
    color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer;
}

.section p.lead {
    margin: 0 0 30px 0;
    font-size: 18px;
    color: #333;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.service-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.service-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.1em;
}

.service-card h3 i {
    margin-right: 5px !important;
}

.service-card p {
    margin: 0;
    color: #444;
}

.cto-box {
    background-color: #7F8CAA;
    border-radius: 8px;
    color: #fff;
    font-size: 1.5em;
    font-weight: 600;
    padding: 30px 60px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

footer {
    background: var(--main-color);
    color: var(--text-secondary-color);
    padding: 60px 24px;
}
.footer-container {
    display: flex;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.footer-column {
    padding-bottom: 20px;
}
.footer-column-left {
    width: 39%;
}
.footer-column-center {
    width: 39%;
}

.footer-column-right {
    width: 22%;
}

footer.two-column-footer .footer-column-left, footer.two-column-footer .footer-column-center {
    width: 40%;
    padding-left: 10%;
}

footer.one-column-footer .footer-column-left, footer.one-column-footer .footer-column-left p {
    width: 100%;
    text-align: center !important;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-column p {
    padding-bottom: 20px !important;
    text-align: left;
}

footer p {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5;
    text-align: center;
}

footer p a, footer p a:visited { 
    color: inherit !important;
}

footer p a:hover, footer p a:focus { 
    color: inherit !important;
    text-decoration: none;
}

@media (max-width: 480px) {

    .hero {
        padding: 60px 20px;
    }

    .hero__content h1 {
        font-size: 2.5em;
        padding: 0 0 20px 0;
        margin: 0 0 20px 0;
    }

    .hero__content p {
        font-size: 1.75em; 
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cto-box {
        padding: 30px;
    }

    footer {
        padding: 60px 24px;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-column {
        min-width: 0;
        width: 100% !important;
        padding-bottom: 0 !important;
        padding-left: 0 !important;
    }

    footer p {
        text-align: left !important;
    }

    footer.one-column-footer .footer-column-left, footer.one-column-footer .footer-column-left p {
        text-align: left !important;
    }

    .footer-column p {
        padding: 0 !important;
    }

    .footer-container + p { 
        padding-bottom: 20px !important;
    }
  }
  
  @media (min-width: 576px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 2fr;
    }

    footer {
        padding: 3rem 2.5rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-column {
        min-width: 0;
        width: 100%;
        padding-bottom: 0 !important;
        padding-left: 0 !important;
    }

    footer.one-column-footer .footer-column-left, footer.one-column-footer .footer-column-left p {
        text-align: left !important;
    }

    footer p {
        text-align: left;
    }

    .footer-column p {
        padding: 0 !important;
    }

    .footer-container + p { 
        padding-bottom: 20px !important;
    }
  }