﻿@import './global-colors.css';
@import './global-fonts.css';

.services-hero-section {
    width: 100%;
    height: 50vh;
    position: relative;
    z-index: 1;
}

.hero-text-holder {
    width: 70%;
}

.hero-text-container h2 {
    font-family: var(--CalibriRegular);
    color: var(--white);
    margin-bottom: 2%;
}

.hero-text-container .hero-text {
    font-family: var(--CalibriRegular);
    color: var(--white);
    font-size: 22px;
}

.down-arrow-container {
    bottom: 10%;
}

.service-offering-header {
    position: absolute;
    display: flex;
    justify-content: center;
    bottom: 20px;
    width: 100%;
}

.service-offering-header h2 {
    font-family: var(--CalibriRegular);
    font-size: 40px;
}

.services-hero-section .down-arrow-container img {
    width: 30px;
    height: 30px;
}

.services-section {
    width: 100%;
    background-image: url('/media/0mxfi300/services-offerings-sections.svg');
    background-size: cover;
    padding-top: 4%;
    padding-bottom: 3%;
}

.section-header-text {
    color: var(--dark-blue-black-3);
}


.caption-text {
    color: var(--dark-blue-black-3);
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.4;
}

.card-content-container .card-content {
    width: 75%;
}

.service-card-bg {
    background-color: var(--dark-blue-black-3);
    z-index: 0;
    border-radius: 10px;

}

.service-card-bg.active-bg {
    background-color: transparent;
    color: var(--dark-blue-black-3);
    z-index: 0;
    border-radius: 10px;
    border: solid 1px var(--blue-green);

}

.service-cards-holder .service-card .card-text {
    font-family: var(--CalibriRegular);
    font-weight: 700;
    color: var(--white);
}

.service-cards-holder .service-card .card-text:focus {
    font-family: var(--CalibriRegular);
    font-weight: 700;
    color: var(--black);
}

.contact-us-text {
    font-size: 40px;
    font-family: var(--CalibriRegular);
    font-weight: 700;
    color: var(--white);
}

.card-description {
    background-color: white;
}

h2 {
    font-family: var(--CalibriRegular);
}

.section-header-contact {
    display: flex;
    justify-content: center;
    margin: 20px 0px;
}

.service-cards-holder {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* Default: 2 columns (mobile) */
    gap: 1rem;
}

.details-row {
    grid-column: 1 / -1;
    /* Span entire row */
    width: 100%;
}

@media (min-width: 768px) {
    .service-cards-holder {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-text-holder {
        display: block !important;
    }
}



@media (max-width: 768px) {

    .services-section-mobile {
        width: 100vw;
        background-image: url('/media/bjyfahrj/frame-57.svg') !important;
        background-size: cover;
        padding-top: 10%;
        padding-bottom: 10%;
        margin-top: -8px;
    }

    .service-card-bg {
        background-color: var(--dark-blue-black-3);
        z-index: 0;
        border-radius: 10px;

    }

    .service-card-bg.active-bg {
        background-color: transparent;
        color: var(--dark-blue-black-3);
        z-index: 0;
        border-radius: 10px;
        border: solid 1px var(--blue-green);

    }

    .service-cards-holder .service-card .card-text {
        color: white;
        font-size: clamp(12px, 2.5vw, 14px);
        font-family: var(--CalibriRegular);
        padding: 0 clamp(5px, 2vw, 10px);
        line-height: 1.3;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    .service-cards-holder .service-card .card-text.active-text {
        font-family: var(--CalibriRegular);
        font-weight: 700;
        color: var(--dark-blue-black-3);
    }

    .contact-us-text {
        font-size: clamp(16px, 3vw, 20px);
        font-family: var(--CalibriRegular);
        font-weight: 700;
        color: var(--white);
    }
}

@media (max-width: 420px) {

    .services-section-mobile {
        width: 100vw;
        background-image: url('/media/bjyfahrj/frame-57.svg') !important;
        background-size: cover;
        padding-top: 10%;
        padding-bottom: 10%;
        display: block;
    }

    .service-card-bg {
        background-color: var(--dark-blue-black-3);
        z-index: 0;
        border-radius: 10px;

    }

    .service-card-bg.active-bg {
        background-color: transparent;
        color: var(--dark-blue-black-3);
        z-index: 0;
        border-radius: 10px;
        border: solid 1px var(--blue-green);

    }

    .service-cards-holder .service-card .card-text {
        color: white;
        font-size: 14px;
        font-family: var(--CalibriRegular);
        padding: 0px;
    }

    .service-cards-holder .service-card .card-text.active-text {
        font-family: var(--CalibriRegular);
        font-weight: 700;
        color: var(--dark-blue-black-3);
        padding: 0px;
    }
}

@media (max-width: 414px) {

    .services-section-mobile {
        width: 100vw;
        background-image: url('/media/bjyfahrj/frame-57.svg') !important;
        background-size: cover;
        padding-top: 10%;
        padding-bottom: 10%;
        display: block;
    }

    .service-card-bg {
        background-color: var(--dark-blue-black-3);
        z-index: 0;
        border-radius: 10px;

    }

    .service-card-bg.active-bg {
        background-color: transparent;
        color: var(--dark-blue-black-3);
        z-index: 0;
        border-radius: 10px;
        border: solid 1px var(--blue-green);

    }

    .service-cards-holder .service-card .card-text {
        color: white;
        font-size: 14px;
        font-family: var(--CalibriRegular);
        padding: 0px;
    }

    .service-cards-holder .service-card .card-text.active-text {
        font-family: var(--CalibriRegular);
        font-weight: 700;
        color: var(--dark-blue-black-3);
        padding: 0px;
    }
}

@media (max-width: 376px) {

    .services-section-mobile {
        width: 100vw;
        background-image: url('/media/bjyfahrj/frame-57.svg') !important;
        background-size: cover;
        padding-top: 10%;
        padding-bottom: 10%;
        display: block;
    }

    .service-card-bg {
        background-color: var(--dark-blue-black-3);
        z-index: 0;
        border-radius: 10px;

    }

    .service-card-bg.active-bg {
        background-color: transparent;
        color: var(--dark-blue-black-3);
        z-index: 0;
        border-radius: 10px;
        border: solid 1px var(--blue-green);

    }

    .service-cards-holder .service-card .card-text {
        color: white;
        font-size: 14px;
        font-family: var(--CalibriRegular);
        padding: 0px;
    }

    .service-cards-holder .service-card .card-text.active-text {
        font-family: var(--CalibriRegular);
        font-weight: 700;
        color: var(--dark-blue-black-3);
        padding: 0px;
    }
}