* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

.container {
    width: 85%;
    margin: 0 auto;
    padding: 0 1.5em;
}

.sectionheading {
    text-align: center;
    color: #006C76;
    font-size: 2em;
    padding: 2em 0;

}




/*-----------------------top menu-------------------------------- */

.topmenu {

    width: 100%;
    background-color: #006C76;
    padding: 5px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    list-style: none;
}

.row li {
    margin-left: 5px;
    color: aliceblue;
    font-size: 1em;
    padding: 2px 0;
}

.row li a {
    color: aliceblue;
    margin: 2px;
    text-decoration: none;
}

/*--------------------primary menu-------------------------------- */

.primarynav {
    width: 100%;
    background-color: #f2f3f8;
    border-bottom: 1px solid rgb(223, 220, 220);
    padding: 0.5em 0px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.consultant {
    display: flex;
}

.consultant a {
    margin-right: 1em;
}

.logo img {
    max-width: 150px;
}

.primary_menu {
    display: none;
    padding: 0.5em;
}

.primary_menu.active {
    display: flex;
}

.primary {
    margin: auto;
    list-style: none;
    text-align: center;
}

.primary li {
    margin-bottom: 1em;
}

.primary a {
    padding: 1em;
    font-size: 1.2em;
    text-decoration: none;
    color: #171432;
}

.primary a:hover {
    color: #006C76;
    font-weight: 800;
}

.navbar {

    align-items: center;
}

.get_consultant {
    text-decoration: none;
    background-color: #171432;
    color: antiquewhite;
    padding: 4px;
    border-radius: 1em;
}

.get_consultant:hover {
    background-color: #006C76;
}

/*-----------------------submenu--------------------------------- */

.nav__sublist {
    display: none;
    list-style: none;
    padding: 1em;
}

.nav__sublist.active {
    display: block;
}

.tooglebar {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toggle .tooglebar.fa-xmark {
    transform: rotate(90deg);
}


/* -----------------------herosection----------------------------- */

.herosection {
    padding: 3em 0px;
    background-color: #f2f3f8;
}

.heroright {
    padding: 1em 0px;
    /* text-align: center; */
}

/* heroleft side */

.heroleft {
    padding: 1em 0px;
}

.herotag {
    color: #0c818bd7;
    font-size: 1em;
    letter-spacing: 2px;
    padding: 1em 0;
}

.hero_tittle {
    color: #171432;
    font-size: 3em;
}

.hero_paragraph {
    color: #333333d5;
    line-height: 1.3em;
    font-size: 1.1em;
    padding: 1em 0px;
}

.hero_higlight {
    color: #006C76;
}

.viewmore {
    display: block;
    background-color: #171432;
    color: aliceblue;
    text-decoration: none;
    font-size: 2em;
    border-radius: 1em;
    padding: 5px;
    text-align: center;
}

.viewmore:hover {
    background-color: #006C76;
}

.contactus {
    display: block;
    border: 2px solid #006C76;
    color: #171432;
    text-decoration: none;
    font-size: 2em;
    border-radius: 1em;
    padding: 5px;
    text-align: center;
    margin-top: 0.5em;
}

.contactus:hover {
    background-color: #006C76;
    color: white;
}

/* hero left imagee side */

.heroright img {
    display: block;
    max-width: 300px;
    border-radius: 10%;
    margin: 0 auto;
}

.hero_sec {
    align-items: center;
    justify-content: space-between;
}

/* ----------------------our services section----------------------*/

.servicebx {
    max-width: 400px;
    margin-bottom: 1em;
    border-radius: 2em;
    text-align: center;
    box-shadow: 00px 0px 1px gray;
    padding: 2em 0em;
}

.servicebx:hover {
    box-shadow: 2px 2px 2px #555;
}

.servicebx i {
    font-size: 4em;
}

.servicebx h3 {
    font-size: 1.4em;
    padding: 0.5em;
    line-height: 1.4em;
}


.servicebx p {
    width: 70%;
    margin: auto;
    text-align: center;
    padding: 1.2em 0;
    color: gray;
    line-height: 1.4em;
}


.servicebx a {
    background-color: #006C76;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.3em;
    padding: 0.4em;
    border-radius: 1em;
}

.servicebx a:hover {
    background-color: #171432;
}

/*-------------------------------about---------------------------- */

.aboutus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2em;
}

/* ===== Left Section (Image + Overlay Card) ===== */

.left {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
}

.imagebg {
    position: relative;
    background-image: url("img/office.jpg");
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 1em;
    overflow: hidden;
    /* ✅ ensures child elements don't overflow */
    width: 100%;
    max-width: 500px;
    /* ✅ keeps it inside container */
}

.image {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: rgba(0, 108, 118, 0.9);
    width: 75%;
    padding: 1.5em;
    border-radius: 0 1.5em 1.5em 0;
    box-sizing: border-box;
    color: white;
}

/* Inner content */

.imagejos {
    display: flex;
    align-items: center;
}

.imagejos img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    margin-right: 1em;
}

.imagejos h5 {
    margin: 0;
    font-size: 1.1em;
}

.imagejos h4 {
    margin: 0;
    color: yellow;
    font-size: 0.9em;
}

.image p {
    color: #ddd;
    line-height: 1.5em;
    margin-top: 1em;
}

/* ===== Right Section (Text) ===== */

.right {
    flex: 1 1 50%;
}

.right .h3 {
    display: inline-block;
    color: #006C76;
    font-size: 1.2em;
    margin-bottom: 0.5em;
    background-color: #1599a56e;
    padding: 0.4em;
}

.right h2 {
    font-size: 1.8em;
    margin-bottom: 1em;
}

.right p {
    color: #555;
    line-height: 1.6em;
    margin-bottom: 1.5em;
    text-align: justify;
}

.viewmor {
    display: inline-block;
    background-color: #171432;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    padding: 0.8em;
    border-radius: 0.5em;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.viewmor:hover {
    background-color: #006C76;
}

/*------------------------why choose use--------------------------*/

.whyu {
    margin-top: 3em;
    display: flex;
    flex-wrap: wrap;

}

.whyright {
    display: grid;
    grid-template-columns: 1fr 1fr;

}

.whcs {
    color: #006C76;
    padding: 10px 0;
    font-size: 2.2em;
    font-weight: bolder;
    font-family: ArialNarrow Bold;

}

.whyleft p {
    color: rgb(77, 76, 76);
    font-size: 20px;
    text-align: justify;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 2em;
}

.ourv {
    display: inline-block;
    color: #006C76;
    background-color: #006c767c;
    padding: 5px;
    margin-bottom: 10px;
}

.item {
    padding: 1em;
}

.item h5 {
    font-weight: 400;
    font-size: 1em;
    line-height: 1.4em;

}

.item i {
    font-size: 2.7em;
    color: #006C76;
    padding: 0.5em;
}

.whyright {
    text-align: center;
    justify-content: space-between;

}

.item h5 {
    text-align: center;
}

/*----------------------------counttable---------------------------*/

.conttable {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;


}

.statbox {
    padding: 1em;




}

.statbox h2 {
    font-size: 3em;
    color: #ffffff;

}

.statbox p {
    font-size: 2em;
    padding: 0.5em;
    font-weight: 700;
    color: #171432;
}

/*-----------------------testimonial=-----------------------------*/

.testh {
    padding-top: 1.2em;
    text-align: center;
    color: #006C76;
    font-size: 2em;
}

.testp {
    text-align: center;
    font-size: 1.1em;
    padding: 1em;
}

.card {
    max-width: 350px;
    padding: 1em;
    border: 1px solid gray;
    border-radius: 1em;
    margin: 1.3em;


}

.card .text {
    font-size: 1.2em;
    text-align: justify;
    line-height: 1.3em;
    padding: 0.5em 0;
}

.stars {
    color: #FBBC04;
}

.quote-icon i {
    color: #C6DAFC;
    font-size: 1.5em;
}

.name_role .name {
    font-weight: 600;
}

.name_role .role {
    color: #555;
    font-weight: 200;
    font-size: 1.1em;

}

.card .header img {
    width: 25%;
    border-radius: 100%;
    border: 1px solid gray;
}

.card .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonialreviews {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.card {
    flex: 0 0 300px;
    margin-right: 1rem;
    box-sizing: border-box;
}

.testimonial {
    overflow: hidden;
}

.card:hover {
    border: 2px solid #006C76;
}

/*-----------------------clientlogo--------------------------------*/

.clients {

    background-color: #F0EDED;

}

.logop {
    padding: 0.5em;
    font-size: 1.2em;
    text-align: center;
}

.scrolling-wrapper img {
    margin-left: 1em;
    width: 160px;
}

.logoreview {
    overflow: hidden;
    width: 100%;
}

.scrolling-wrapper {
    padding: 0.5em;
    width: 90%;
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 15s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/*-------------------------ourteam--------------------------------*/

.temh1 {
    font-size: 2.7em;
    color: #006C76;
    padding: 0.1em;
    font-weight: 900;
}

.temp {
    font-size: 1.2em;
    line-height: 1.3em;
    padding: 1em 0em;
    color: #555;
}

.team1 {
    text-align: center;
    background-color: #D9F0F2;
    border-radius: 1em;
    margin: 1em;
    padding: 2em 0em;
}

.team1 img {
    border-radius: 100%;
    width: 120px;
    border: 4px solid #006C76;
}

.team1 p {
    padding: 1em 3em;
}

.team1 h3 {
    margin-top: 0.5em;
    font-size: 1.5em;
    color: #006C76;
}

.team1 h5 {
    font-size: 1em;
    color: #171432;
}

.teamsocialicons a {
    margin: 0.6em;
    text-decoration: none;
    color: #171432;
}

.teamsocialicons a:hover {
    color: #006C76;
}

/*------------------------gallery---------------------------------*/

.gh2 {
    color: #006C76;
    font-size: 2em;
}

.gp {
    padding: 0.5em;
    font-size: 1.2em;
    color: #555;
}

.gallery-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.gallery-item {
    position: relative;
    width: 16rem;

    height: 10rem;

    border-radius: 0.75rem;

    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    cursor: pointer;
    transition: transform 0.5s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.view-more-btn {
    margin-top: 2rem;
    background-color: #ef4444;

    /* red-500 */
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;

    /* rounded-md */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.view-more-btn:hover {
    background-color: #b91c1c;
    /* red-700 */
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;

}

.cta {
    background-color: #C7E2FD;
}

.cta__title {
    color: #006C76;
    font-size: 2.5em;
    padding: 1.5em 0em;
    text-align: center;
}

.cta__list {
    list-style: none;
    font-size: 1.2em;
    line-height: 1.5em;
}

.cta__item {
    margin-bottom: 2em;
}

.cta__image {
    padding: 3em 0em;
}

.cta__image img {
    display: block;
    margin: auto;
    width: 300px;
    max-width: 250px;
    border-radius: 1em;
}

.cta__buttons {
    text-align: center;
    margin: 2em 0em;
}

.cta__button {
    display: inline-block;
    font-size: 1.4em;
    text-decoration: none;
    margin-right: 1.5em;
    padding: 0.5em 0.4em;
}

.cta__button1 {
    background-color: #006C76;
    border-radius: 0.5em;
    color: white;
}

.cta__button2 {
    background-color: white;
    border-radius: 0.5em;
    color: #006C76;
}

.cta__contact {
    font-size: 1.1em;
    color: #006C76;
    font-weight: 700;
}

.cta_mail {
    text-decoration: none;
    color: #006C76;
}

.cta__button1:hover {
    background-color: #171432;
}

.cta__button2:hover {
    background-color: #006C76;
    color: white;
}

.cta__contact span:hover {
    color: #171432;
}

.cta__contact a:hover {
    color: #171432;
}

/*--------------------------footer-------------------------------*/

footer {
    background-color: #006C76;
    text-align: justify;
    

}

.footer_1 h3 {
    color: white;
    font-size: 1.4em;
    padding-top: 2em;
    padding-bottom: 0.5em;
    text-align: justify;
}

.footer_1 p {
    color: #D9F0F2;
    padding-bottom: 1em;
}

.footer_2 h3 {
    color: white;
    padding: 5px;
}

.footer_2 ul {
    list-style: none;
    color: #D9F0F2;

}

.footer_2 ul li {
    padding: 0.4em;
}

.footer_3 h3 {
    color: white;
    padding: 5px;
}

.footer_3 ul {
    list-style: none;
    color: #D9F0F2;
}

.footer_3 ul li {
    padding: 0.4em;


}

.footer_4 h5 {
    color: white;
    font-size: 1.2em;
    padding: 4px;

}

.footer_4 p {
    color: #D9F0F2;
    padding: 0.3em;
    line-height: 1.4em;
}

.footer_5 {
    color: white;
    font-size: 1.1em;
    padding: 1em 0em;
}

.containerservice {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em;
    /* adds consistent spacing between boxes */
}

.servicebx {
    flex: 1 1 300px;
    box-sizing: border-box;
    background: #fff;
    padding: 1.5em;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicebx:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/*--------------------RESPONSIVE BREAKPOINTS----------------------*/

@media (min-width: 640px) {
    .nav__sublist {
        position: fixed;
        background-color: #F2F3F8;
        border-radius: 1em;

    }


    .primary_menu {
        display: flex;
        width: 100%;
        padding: 0.5em;
    }

    .tooglebar {
        display: none;

    }

    .primary {
        display: flex;
        flex-wrap: wrap;

    }


    .heroleft {
        width: 45%;
    }

    .heroright {
        width: 50%;
    }

    .viewmore {
        display: inline-block;
        font-size: 1.5em;
        padding: 0.5em;
    }

    .contactus {
        display: inline-block;
        font-size: 1.5em;
        padding: 0.5em;
    }

    .servicebx {
        flex: 1 1 280px;
        max-width: 340px;
    }

    .containerservice {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;

    }

    .whyu {
        align-items: center;
    }

    .whyleft {
        width: 40%;
    }

    .whyus {
        margin-bottom: 2em;
    }

    .whyright {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        width: 60%;
    }

    .conttable {
        display: flex;
        flex-wrap: wrap;
        padding: 3em 0;
    }



    .ourteamright {
        display: flex;


    }

    .team1 {
        max-width: 350px;
    }

    .cta__contents {
        display: flex;
        align-items: center;
    }

    .cta_left {
        width: 60%;
    }

    .cta_right {
        width: 40%;
    }

    .cta__buttons {
        display: flex;
    }

    .cta__contact {
        display: flex;
        flex-wrap: wrap;
    }

    .griditem {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    footer {
        padding-top: 2em;
    }

    .footer_1 {
        width: 30%;
        text-align: justify;
    }

    .footer_2 {
        width: 30%;

    }

    .footer_3 {
        width: 30%;

    }

    .footer_4 {
        width: 25%;
        text-align: justify;

    }

    .footer_5 h5 {
        margin-top: 1em;
        text-align: center;
    }
    .footer_1 h3{
        
        text-align: start;
    }

    .sublist-viewmore {
        display: none;
        position: absolute;
        background: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        border-radius: 6px;
        z-index: 100;
    }

    .sublist-services {
        display: none;
        position: absolute;
        background: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        border-radius: 6px;
        z-index: 100;
    }

    /* Show submenu only when hovering parent */

    .viewmore1:hover .sublist-viewmore {
        display: block;
    }

    .services:hover .sublist-services {
        display: block;
    }


}

@media (min-width: 900px) {


    .ourteamrow {
        display: flex;
        flex-wrap: wrap;
    }

    .ourteamleft {
        width: 30%;
    }

    .ourteamleft img {
        width: 200px;
    }


    .ourteamright {
        display: flex;
        width: 70%;
    }



}