/* ***********MOBILE VIEW**************** */
/* ************************************** */
header {
    background-color: var(--color-secondary);
}

/* ********SECTION-1************** */
/* ******************************* */

.section-1 {

    /* min-height: 100vh; */
    padding: 0;

}

.main-section .hero {
    /* min-height: calc(100vh - 75.09px - 100px); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: linear-gradient(to right, var(--color-secondary-tr), var(--color-secondary-tr)), url("./../imgs/hero.jpg");
    background-size: cover;
    padding: 20px;
}



.hero h3 {
    color: var(--color-primary);
}

.hero h1 {
    color: var(--color-white);
    font-size: var(--fs-xlg);
}

.hero p {
    color: var(--color-white);
}

.hero .call-to-action-btns {
    margin-top: 20px;
}


/* *************Our services Section*********************** */
/* ******************************************************** */
.view-all {
    margin-bottom: 20px;
    display: inline-block;
    font-weight: 600;
    text-decoration: underline;
}

.card {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 1px 1px 5px rgba(80, 80, 80, 0.2), -1px -1px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition effect */
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    filter: brightness(70%);
    /* Initial darker effect */
    transition: filter 0.3s ease;
    /* Smooth transition effect */
}

.card:hover img {
    filter: brightness(100%);
    /* Bright on hover */
}

.card:hover {
    transform: translateY(-5px);
    /* Slight lift effect on hover */
    box-shadow: 3px 3px 10px rgba(80, 80, 80, 0.3), -3px -3px 10px rgba(0, 0, 0, 0.3);
}


/* ************* Section3 - core values******************/
/* ******************************************************/
.section-3 {
    padding: 0;
}

.core-values,
.key-benifits {
    background-image: linear-gradient(to right, var(--color-secondary-tr), var(--color-secondary-tr)), url("./../imgs/core-values.jpg");
    min-height: 50vh;
    background-position: center;
    background-size: 180%;
    padding: 20px;
}

.core-values h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.core-values h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.core-values p {
    color: var(--color-white);
    margin-bottom: 20px;
}

.key-benifits {
    background-image: linear-gradient(to right, var(--color-primary-tr), var(--color-primary-tr)), url("./../imgs/key-benifits.jpg");
    background-size: 180%;
}

.key-benifits h3,
.key-benifits p {
    margin-bottom: 20px;
}

.key-benifits li {
    margin-bottom: 10px;
}

/* === Mobile-First Styling === */
.extensive-service-section {
    padding: 40px 15px;
    background: #fff;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

.service-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-headings);
    margin-bottom: 10px;
}

.service-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.service-content p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-rg-txt-dk);
    margin-bottom: 20px;
}

.btn-wrapper {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    /* padding: 10px 25px; */
    /* font-size: 16px; */
    /* border-radius: 5px; */
    transition: background 0.3s ease;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: var(--color-primary-tr);
}

/* testimonials.css */
.testimonials-section {
    padding: 40px 15px;
    background: #f9f9f9;
}

.testimonials-section .section-title {
    margin-bottom: 10px;
}

.testimonials-section .section-subtitle {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.testimonials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.testimonial-item {
    margin-bottom: 20px;
}

.testimonial-card {
    background: var(--color-secondary);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.testimonial-card h3 {
    color: var(--color-white);
    margin-bottom: 10px;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
}

/* contact-faq.css */

.contact-faq-container {
    display: flex;
    flex-direction: column;
    padding: 40px 15px;
}

.contact-faq-container h2 {
    font-size: 30px;
}

.contact-form {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    /* Option 2: Prevent form from shrinking/growing */
    flex-shrink: 0;
}

.contact-form h3 {
    color: var(--color-white);
    margin-bottom: 10px;
}

.contact-form p {
    margin-bottom: 20px;
    color: var(--color-white);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form textarea {
    height: 150px;
}

.faq-section {
    padding: 20px;
}

.faq-section h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.faq-section h2 {
    margin-bottom: 20px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
}

.faq-toggle {
    font-size: 20px;
}

.faq-answer {

    overflow: hidden;
    /* Prevent content from affecting layout during animation */
    transition: all 0.3s ease-in-out;
    height: 0;

    /* padding: 0; */
    /* Add height transition */

    /* Initially hidden */
}

.faq-answer.open {
    /* padding: 10px; */
    height: auto;
    padding-bottom: 10px;
    /* Expand to content height */
}

@media screen and (min-width:800px) {
    /* ***********DESKTOP VIEW**************** */
    /* ************************************** */

    /* ********SECTION-1************** */
    /* ******************************* */

    .section-1 {
        padding: 0;
    }

    .section-1>* {
        max-width: 100%;

    }

    .hero>* {
        max-width: 1140px;
        margin: 0 auto;
        text-align: left;
        width: 100%;
    }

    .main-section .hero {
        padding: 80px 20px;
    }


    .hero h1 {
        font-size: var(--fs-xlg);
    }


    /* *************Our services Section (section-2)*********************** */
    /* ******************************************************** */
    .view-all-wrapper {
        text-align: end;
    }

    /* .view-all {} */

    .card-list {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .card {
        padding: 10px;
    }



    /* *************Core values (section-3)************ */
    /* ************************************************ */
    .section-3>* {
        max-width: 100%;
    }

    .section-3 {
        display: flex;
        justify-content: space-between;
    }

    .section-3>* {
        flex-grow: 1;
        min-height: auto;
        padding: 40px 0;
    }

    .core-values>* {
        max-width: calc(1140px / 2.5);
        margin: 0 auto;

    }



    .key-benifits>* {
        max-width: calc(1140px / 2.5);
        margin: 0 auto;

    }


    /*************** Extensive-service (Section 4) ******************/
    /* *********************************************************** */
    .extensive-service-section {
        padding: 80px 20px;
    }

    .container {
        max-width: 1100px;
    }

    .service-content h2 {
        font-size: 45px;
        margin-bottom: 25px;
    }

    .service-content p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    /* .btn-primary {
        padding: 12px 35px;
        font-size: 18px;
    } */

    /* Testimonial Styles */

    .testimonials-section {
        padding: 60px 20px;
    }

    .testimonials-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .testimonial-item {
        margin-bottom: 0;

    }

    .testimonial-card {
        padding: 30px;
    }

    /* ***************contact-faq (section-5)**************** */
    /* ************************************************** */

    .contact-faq-container h2 {
        font-size: 40px;
    }

    .contact-faq-container {
        flex-direction: row;
        gap: 20px;
    }

    .contact-form {
        width: 50%;
        margin-bottom: 0;
    }

    .faq-section {
        width: 50%;
    }

}