*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main .service-title{
    width: 100%;
    background: rgb(215,215,250);
    background: linear-gradient(90deg, rgba(215,215,250,1) 0%, rgba(0,44,255,1) 52%, rgba(215,215,250,1) 100%);
    text-align: center;
    /* margin-top: 5px; */
    padding-top: 5px;
    padding-bottom: 5px;
}
.main .service-title .st{
    font-size: 28px;
    color: white;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.main .service-content .ser-cnt{
    margin-top: 25px;
    margin-left: 18%;
}
.main .service-content h3{
    margin-bottom: 5px;
    font-weight: 450;
}
.tabs-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-buttons {
    width: 90%;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    margin-left: 22px;
}
.tab-buttons .tb-menus {
    flex: 1;
    margin: 5px;
    padding: 10px 8px;
    border: 1px solid rgb(129, 155, 250);
    border-radius: 20px;
    background: white;
    font-size: 16px;
    cursor: pointer;
    color: #7b7d83;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-buttons .tb-menus.active {
    /* background-color: lightblue; */
    background: rgb(104,134,241);
    background: linear-gradient(90deg, rgba(104,134,241,1) 48%, rgba(80,114,241,1) 55%, rgba(64,101,241,1) 60%);
    color: white;
}
.tab-buttons .tb-menus:hover{
    letter-spacing: 0.8px;
    font-weight: 450; 
    color: white;
    background: rgb(104,134,241);
    background: linear-gradient(90deg, rgba(104,134,241,1) 48%, rgba(80,114,241,1) 55%, rgba(64,101,241,1) 60%);
}
.tab-content {
    display: none;
    margin-left: 25px;
}

.tab-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    column-gap: none;
    row-gap: 18px;
    animation: fadeIn 0.5s;
}
.tab-content .item {
    width: 85%;
    /* border: 1px solid #ddd; */
    /* border-radius: 8px; */
    overflow: hidden;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); */
    background-color: #fff;
}
.tab-content .item:hover{
    box-shadow: 0px 15px 20px rgb(0, 0, 0, 0.3);
}
.tab-content img {
    width: 100%;
    /* height: 150px; */
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.tab-content .item-details {
    padding: 2px;
}
.tab-content h3 {
    margin: 5px 0;
    font-size: 16px;
    color: #0064a6;
}
.tab-content p {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}
.item .tb-btn{
    padding: 4px 0 15px 2px;
}
.tab-content .item .item-details h3:hover{
    cursor: pointer;
    color: rgb(78,112,233);
}
a{
    list-style: none;
    text-decoration: none;
}
.item .tb-btn .a-btn{
    padding: 5px 7px;
    border-radius: 5px;
    background: rgb(78,112,233);
    background: linear-gradient(90deg, rgba(78,112,233,1) 2%, rgba(78,112,233,1) 12%, rgba(97,127,236,1) 22%);
    color: white;
    font-size: 16px;
}
.item .tb-btn .a-btn:hover{
    letter-spacing: 0.5px;
    background: #365390;
    box-shadow: 0px 15px 20px rgb(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}

@media (max-width: 768px) {
    .tab-content {
      grid-template-columns: 1fr;
    }
}