/* ----------------------
   BODY STYLE
------------------------- */

body {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box; 
    overflow-x: hidden;
    overflow-y: hidden;
  }



/* ----------------------
   NESTED TABS
------------------------- */


.servicesTabs {
    padding: 80px 0;
    background-color: #f4f7fa;
    margin-top: 70px;
}

.servicesTabs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.serviceNavPills {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between; 
    margin-bottom: 30px;
    gap: 3px; 
    width: 95%;
    margin: auto;
}

.serviceNavItem {
    list-style-type: none;
    flex: 1 1 auto;
    margin-bottom: 10px; 
}

.serviceNavLink {
    padding: 12px 24px;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    color: #333;
    font-weight: 600;
    background-color: #fff;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%; 
    text-align: center;
    white-space: nowrap; 
}

.serviceNavLink.active {
    background-color: #ff7700;
    color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 123, 255, 0.3);
}

.serviceNavLink:hover {
    background-color: #ff7b00ae;
    color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 86, 179, 0.3);
}


/* Service Tab Content */
.tab-content .tab-pane {
    display: none; 
}

.tab-content .tab-pane.active {
    display: block; 
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px 0;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.image-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.image-gallery img:hover{
    transform: scale(1.4);
}

.contentCon {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contentCon:hover {
    transform: translateY(-10px);
}

.contentCon h4 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.1;
}

.contentCon p {
    font-size: 17px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'arial';
}

.contentCon .tabBtn {
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contentCon .tabBtn:hover {
    background-color: #0056b3;
    color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 123, 255, 0.3);
}

@media (max-width: 1024px) {
    .service-row {
        width: 90%;
        margin: auto;
        display: flex;
        flex-direction: column-reverse;
    }

    .serviceNavLink {
        font-size: 13px;
        padding: 10px;
        margin-bottom: -10px;
    }

    .contentCon h4 {
        font-size: 24px;
        text-align: center;
    }

    .contentCon p {
        font-size: 16px;
        text-align: center;
    }

    .contentCon .tabBtn {
    font-size: 15px;
    background-color: #007bff;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    }

}

@media (max-width: 768px) {
    .serviceNavPills {
        flex-direction: row;
        justify-content: center;
    }

    .serviceNavLink {
        font-size: 14px;
        padding: 10px 20px;
    }

    .service-row {
        border: 1px solid rgba(181, 185, 191, 0.441);
        border-radius: 10px;
        padding: 50px 20px;
        background-color: #ddebfa;
        margin-top: 40px;
    }

    .contentCon {
        padding: 20px;
    }

    .contentCon h4 {
        font-size: 18px;
    }

    .contentCon p {
        font-size: 14px;
    }

    .image-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 5;
    }
}