.hero-content {
    height: 70vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-text-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text-overlay h1 {
    color: var(--Primary, #FFF);
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 100px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-container {
    width: 100%;
    padding: 100px 5% 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}


/* SERVICE CARD */
.service-card {
    width: 100%;
    height: 440px;
    background: #fcfcfc;
    border: 1px solid #dcdcdc;
    padding: 60px 60px 40px;
    border-radius: 4px;
    position: relative;
    text-align: center;
    transition: 0.3s;
    margin-top: 25px;

}

.service-card:hover {
    border: 1px solid #ff3229;
}

/* TOP CIRCLE ICON */
.service-card .icon-img {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 125px;
    height: 125px;
    background: #ff3229;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .icon-img img {
    width: 80px;
}

/* TITLE */
.service-card h3 {
    font-family: "Raleway", sans-serif;
    margin-top: 70px;
    font-size: 20px;
    color: #333;
    letter-spacing: 1px;
    font-weight: 600;
}

.service-card .underline {

    font: normal 14px / 1.8 'Raleway', sans-serif;
    font-weight: inherit;
    width: 40px;
    height: 2px;
    background: #ff3229;
    margin: 12px auto;
}

/* TEXT */
.service-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* BUTTON */
.service-card .btn {
    margin-top: 20px;
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #bbb;
    background: white;
    color: #444;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}

.service-card .btn:hover {
    background: #ff3229;
    color: white;
}



/* Responsive */
@media(max-width: 1499px) {

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        padding: 10pc 5% 60px;
    }


}

@media(max-width: 1399px) {

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        padding: 10pc 5% 60px;
    }


}


@media(max-width: 992px) {

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        padding: 10pc 5% 60px;
    }

}

@media(max-width: 768px) {
    .hero-content {
        height: 30vh;
    }

    .hero-text-overlay h1 {
        font-size: 2.5rem;
    }

    .services-container {
        grid-template-columns: 1fr;
        padding: 10pc 5% 60px;
    }

}

/* OUR SERVICES IMG SECTION */
.our-services-img-section {
    padding: 80px 5%;
    background-color: #fff;
    text-align: center;
}

.services-header-img {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-header-img .pill-badge {
    background-color: #FF3A3A;
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 18px;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    margin-bottom: 20px;
    display: inline-block;
}

.services-header-img h2 {
    font-family: "Outfit", sans-serif;
    color: #1A1A1A;
    text-align: center;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 128%;
    margin-bottom: 20px;
}

.services-header-img p {
    font-family: "Outfit", sans-serif;
    color: #777;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.services-grid-img {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-img {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 12px;
    padding: 40px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card-img .icon-wrap {
    margin-bottom: 25px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card-img .icon-wrap img {
    max-height: 100%;
    max-width: 70px;
}

.service-card-img h3 {
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card-img p {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card-img:hover {
    background-color: #fff5f5;
    border-color: #ff3a3a;
}

.service-card-img:hover h3 {
    color: #ff3a3a;
}

/* responsive */
@media(max-width: 992px) {
    .services-grid-img {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .services-grid-img {
        grid-template-columns: 1fr;
    }

    .services-header-img h2 {
        font-size: 32px;
    }
}

/* CTA SECTION */
.about-cta-section {
    width: 100%;
    background-image: url('../images/aventar/service-cta.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 40px;
}

.cta-overlay {
    background: rgba(26, 26, 26, 0.50);
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    height: 689px;
    justify-content: center;
}

.cta-overlay h2 {
    color: #FFF;
    font-family: "Outfit", sans-serif;
    font-size: 50px;
    font-weight: 600;
    line-height: 128%;
    margin-bottom: 20px;
}

.cta-overlay p {
    font-family: "Outfit", sans-serif;
    color: #FFFAF4;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 40px;
    max-width: 677px;
}

.btn-cta {
    background-color: #FF3A3A;
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-cta:hover {
    background-color: #e62017;
}

@media(max-width: 768px) {
    .cta-overlay h2 {
        font-size: 32px;
    }
}

/* Custom Journey Section for Service Page */
.journey-section-custom {
    padding: 80px 5%;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.journey-container-custom {
    display: flex;
    max-width: 1400px;
    width: 100%;
    background-color: #FAFAFA;
    border: 1px solid #FF3A3A;
    border-radius: 20px;
}

.journey-image-col-custom {
    position: relative;
    width: 45%;
}

.journey-main-img-custom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 19px 0 0 19px;
}

.journey-red-square {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background-color: #FF3A3A;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-content-custom {
    width: 60%;
    padding: 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journey-content-custom h2 {
    font-family: "Outfit", sans-serif;
    color: #000;
    font-size: 50px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 50px;
}

.journey-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.journey-text-block h3 {
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin-bottom: 0;
}

.journey-text-block p {
    font-family: "Outfit", sans-serif;
    font-size: 17px;
    color: #383838;
    line-height: 1.8;
}

@media(max-width: 992px) {
    .journey-container-custom {
        flex-direction: column;
    }

    .journey-image-col-custom,
    .journey-content-custom {
        width: 100%;
    }

    .journey-main-img-custom {
        border-radius: 19px 19px 0 0;
        height: 350px;
    }

    .journey-content-custom {
        padding: 40px;
    }
}

/* =========================================
   COMPREHENSIVE MEDIA QUERIES
   ========================================= */

@media (max-width: 1400px) {
    .hero-text-overlay h1 {
        font-size: 85px;
    }
    .services-container,
    .our-services-img-section,
    .journey-section-custom {
        padding: 60px 5%;
    }
}

@media (max-width: 1200px) {
    .hero-text-overlay h1 {
        font-size: 70px;
    }
    .services-header-img h2 {
        font-size: 55px;
    }
    .journey-content-custom h2 {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        height: 50vh;
    }
    .hero-text-overlay h1 {
        font-size: 55px;
    }
    .cta-overlay {
        height: auto;
        padding: 80px 5%;
    background: rgb(26 26 26 / 63%);
    }
    .cta-overlay h2 {
        font-size: 40px;
    }
    .services-grid-img {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        height: 40vh;
    }
    .hero-text-overlay h1 {
        font-size: 45px;
    }
    .services-container {
        grid-template-columns: 1fr;
    }
    .services-grid-img {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-header-img h2 {
        font-size: 32px;
    }
    .cta-overlay h2 {
        font-size: 32px;
    }
    .cta-overlay p {
        font-size: 16px;
    }
    .journey-content-custom h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
     .services-grid-img {
        grid-template-columns: repeat(1, 1fr);
    }
    .hero-content {
        height: 35vh;
    }
    .hero-text-overlay h1 {
        font-size: 36px;
    }
    .journey-main-img-custom {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        height: 50vh;
    }
    .hero-text-overlay h1 {
        font-size: 50px;
    }
    .services-header-img h2 {
        font-size: 28px;
    }
    .cta-overlay h2 {
        font-size: 26px;
    }
    .btn-cta {
        width: 100%;
        text-align: center;
    }
    .journey-content-custom h2 {
        font-size: 26px;
    }
    .journey-content-custom {
        padding: 30px 20px;
    }
}