﻿/* ===========================
           Content-1 Styles
           =========================== */

#content-1 {
    height: 450px;
    width: auto;
    padding-top: 60px;
    padding-bottom: 30px;
    background-size: cover;
    background-image: url("/img/home/services-1-cover.jpg");
    margin-top: 250px;
}

.intro-message-container {
    width: auto;
    padding-inline: 8%;
    margin-top: 75px;
}

    .intro-message-container > .intro-message {
        text-align: justify;
        color: black;
    }

#headline {
    color: #1c4494;
    font-family: Franklin Gothic Heavy;
    font-weight: bolder;
    font-size: clamp(50px, 8vw, 70px);
    line-height: 0.8;
}

#headline2 {
    color: #1c4494;
    font-family: Franklin Gothic Heavy;
    font-weight: bolder;
    font-size: clamp(40px, 8vw, 80px);
    margin-top: -40px;
    line-height: 0.8;
}

#content-3 {
    position: relative;
    z-index: 1; /* Ensure the content is above the background layer */
    /* Optional: Set dimensions and text color */
    min-height: 500px;
    color: white;
    padding: 20px;
    padding-top:120px;
    margin-top: 100px;
}
    #content-3::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1; /* Push the background layer *behind* the content */
        background-image: url('/img/home/services-2-cover.jpg');
        background-size: cover; /* Optional: adjust as needed */
        background-position: center; /* Optional: adjust as needed */
        /* 4. SET THE OPACITY */
        opacity: 0.3;
    }


.sub_headline {
    color: #1c4494;
    font-family: Franklin Gothic Heavy;
    font-weight: bolder;
    font-size: clamp(21px, 3vw, 55px);
}

.terms {
    color: #025994;
    font-weight: bold;
    text-decoration: underline;
    font-size: clamp(15px, 2vw, 25px);
}

.terms_def {
    color: black;
    font-size: clamp(15px, 2vw, 20px);
    width: 800px;
}

.schedule-message {
    margin-inline: 40px;
    color: black;
    font-size: clamp(15px, 2vw, 25px);
}

h5 {
    color: #1c4494;
    font-size: clamp(18px, 4vw, 24px);
    font-family: Segoe UI;
    text-justify: inter-word;
}

#blue-line {
    margin-top: 20px;
    margin-left: -80px;
    width: 1400px;
    height: 40px;
}

#hr_css {
    border-radius: 5px;
    opacity: 100;
    border: 10px solid;
    border-image-slice: 1;
    border-radius: 20px;
    border: 0;
    height: 2.5vw;
    width: auto;
    background-image: linear-gradient(to left,#103a8f,#b4d4ec);
    margin-top: 25px;
    margin-bottom: 25px;
}

#bg-img {
    width: 100%;
    height: 550px
}

.award_bg {
    width: 100%;
}

.pillar_img {
    font-size: 6.2vw;
}

#content-2 {
    margin-top: 40px;
    font-family: Segoe UI;
    /*margin-bottom:-300px;*/
}

.award_img {
    width: 250px;
}

.btn-sched {
    font-family: Arial Narrow;
    width: auto;
    padding-inline: 50px !important;
    color: white;
    background-color: #1c4494;
    padding: 4px;
    font-size: 30px;
}

.ccc {
    font-family: Segoe UI;
    height: 400px;
    text-align: left;
    font-size: clamp(10px, 3vw, 20px);
    color: black;
    line-height: 1.5;
}

.title {
    font-size: 40px;
    color: #1c4494;
    margin-bottom: 15px !important;
}

    .title > strong {
        line-height: 0.9;
        font-family: 'Franklin Gothic Heavy';
    }

.subtitle {
    line-height: 0.9;
    margin-top: -10px;
    font-family: 'Calibri';
    font-size: 24px;
    font-weight: 500;
    color: black;
}

.feature-highlight {
    color: #1c4494;
    font-weight: bold;
}

.terms-definition {
    color: black !important;
    font-size: 21px;
}

.btn-info {
    font-family: Franklin Gothic Heavy;
    width: 430px;
    color: white;
    background-color: #30a4ac;
    border-radius: 40px;
    padding: 15px;
    font-size: 40px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

#appoint.mb-md-5 {
    margin-bottom: 500px;
}

#appoint {
    padding: 60px 0;
    padding-bottom: 0px;
}

/* Services specific styles - Only new additions */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f0f4f8;
}

.services-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-title {
    margin-top:50px;
    text-align: center;
    font-size: 3.2rem;
    font-weight: bold;
    color: #1c4494;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Franklin Gothic Heavy';
}

.service-card {
    border-radius: 65px;
    width: 100%;
    padding: 35px;
    color: white;
    height: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    align-content: center
}

    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    }
    .service-card.dark-navy {
        background: #0b265b;
    }

    .service-card.navy {
        background: linear-gradient(135deg, #1c4494 0%, #1e40af 100%);
    }

    .service-card.teal {
        background: linear-gradient(135deg, #30a4ac 0%, #14b8a6 100%);
    }

    .service-card.full-width {
        background: #0b265b;
    }

.service-title {
    font-size: 2.0rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    font-family: 'Franklin Gothic Heavy';
}

.service-description {
    font-size: 1.35rem;
    line-height: 1.5;
    margin-bottom: 5px; /* or even 0px */
    flex-grow: 1;
    opacity: 0.95;
    color:white;
}

.read-more-btn {
    background-color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 1px 8px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Franklin Gothic Heavy';
    /* Centering */
    margin-left: auto;
    margin-right: auto;
    margin-top:20px;
}

.text-navy-darker {
    color: #0b265b !important;
}

.text-dark-navy {
    color: #0b265b !important;
}
.text-navy {
    color: #1c4494 !important;
}

.text-teal {
    color: #30a4ac !important;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.full-width-service {
    grid-column: 1 / -1;
}

@media only screen and (max-width: 1045px) {
    #headline2 {
        margin-inline: 40px;
    }
}

@media only screen and (max-width: 991px) {
    .feature-section {
        padding-inline: 45px;
    }

    .terms-definition {
        font-size: 20px;
        text-justify: inter-word;
    }

    .services-container {
        padding-inline: 45px;
    }

}

@media only screen and (max-width: 992px) {
    #content_3 {
        height: 800px;
    }
}

@media only screen and (max-width: 795px) {
    #btn_sched {
        padding: 0;
        font-size: 25px;
        width: 250px;
        height: 50px;
    }
}

@media only screen and (max-width: 750px) {
    .title {
        font-size: 35px;
    }
}

@media only screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }


}

@media only screen and (max-width: 648px) {
    .ccc_ {
        padding-bottom: 75px;
    }
}

@media only screen and (max-width: 516px) {
    .service-card {
        height:auto!important;
    }
}

@media only screen and (max-width: 500px) {
    .btn-sched {
        font-size: 20px;
    }

    #content_3 {
        margin-top: -150px;
    }

    #compliance {
        margin-top: -25px
    }

    #competence {
        margin-top: -15px;
    }

    .try {
        padding-bottom: 120px;
    }

    #content_3 {
        margin-top: -80px;
    }

    #btn_sched {
        margin-bottom: 50px;
    }
}

@media only screen and (max-width: 2124px) {
    .ccc_ {
        padding-bottom: 75px;
    }
}

@media only screen and (max-width: 1496px) {
    .ccc_ {
        padding-bottom: 20px;
    }
}
