/* Hero Section */
.hero-section {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero-section .wrapper {
    max-width: 32rem;
}

.hero-grid {
    max-width: 32rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(30, 169, 228, 0.12);
    border: 1px solid rgba(30, 169, 228, 0.25);
    color: #1ea9e4;
    font-weight: 500;
    border-radius: 1.25rem;
}

.hero-big-text {
    color: #1ea9e4;
    font-size: clamp(2.75rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero-small-text {
    font-size: clamp(1rem, 4vw, 1.375rem);
}

.hero-talk-to-us-link {
    font-size: 1.25rem;
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: #1ea9e4;
    border: 1px solid #1ea9e4;
    color: white;
    text-decoration: none;
    border-radius: 1.75rem;
    margin: 1.5rem 0;
    font-weight: 500;
    transition: all 0.3s ease-in;
}

.hero-talk-to-us-link i {
    padding-left: 1rem;
}

@media (hover: hover) and (pointer: fine) {
    .hero-talk-to-us-link:hover {
        background-color: rgba(30, 169, 228, 0.25);
        color: #1ea9e4;
    }    
}

.hero-talk-to-us-link:active {
    transform: scale(0.9);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1ea9e4;
}

.stat-item span {
    font-size: 0.875rem;
}


/* Decision triggers */
.one-one {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 6rem 0;
}

.decision-trigger {
    display: grid;
    grid-template-columns: auto 1fr;
    background-color: #f1f5f9;
    border-radius: 12px;
}

.decision-trigger-content {
    padding: 1.25rem;
}

.decision-trigger-content h3 {
    font-size: 1.25rem;
}

.decision-trigger-content p {
    margin-bottom: 0;
}

.decision-img {
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

@media (max-width: 1023px) {
    .one-one {
        grid-template-columns: auto;
    }
}

@media (max-width: 520px) {
    .decision-trigger {
        grid-template-columns: auto;
    }

    .decision-img {
        width: 100%;
        border-bottom-left-radius: 0;
        border-top-right-radius: 12px;
    }
}


/* Services */
.services-section.wrapper {
    padding-top: 0;
}

.two-one, .one-two {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.one-two {
    grid-template-columns: 1fr 2fr;
}

.separating {
    height: 2rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.service-img {
    display: block; /* Don't delete: it makes the image occupy the whole space. */
    width: 100%;
    height: 28rem;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    transition: all 0.3s ease-in;
}

@media (hover: hover) and (pointer: fine) {
    .service-item:hover .service-img {
        transform: scale(1.05);
    }
}

.service-content {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)); 
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 12px;
    display: grid; 
    align-items: last baseline;
    padding: 1.5rem;
}

.service-content h3 {
    color: white;
    font-size: clamp(2rem, 10vw, 3rem);
}

.service-content .learn-more, .service-content .get-quote {
    display: inline-block;
    width: 7.5rem;
    text-align: center;
    padding: 0.5rem 0;
    margin: 0.5rem 0.25rem 0 0;
    text-decoration: none;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid #bbbdb2;
    color: #bbbdb2;
    font-weight: 500;
    transition: all 0.6s ease;
}

.service-content .get-quote {
    background-color: #bbbdb2;
    color: black;
    margin-right: 0;
}

@media (hover: hover) and (pointer: fine) {
    .service-content .learn-more:hover {
        border: 1px solid white;
        color: white;
    }

    .service-content .get-quote:hover {
        border: 1px solid white;
        background-color: white;
    }
}

@media (max-width: 1264px) {
    .services-section.wrapper {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .one-two {
        grid-template-columns: 19rem 1fr;
    }
    
    .two-one {
        grid-template-columns: 1fr 19rem;
    }
}

@media (max-width: 767px) {
    .one-two, .two-one {
        grid-template-columns: auto;
    }
}