@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{ --main-color: #CB4D27; }
body{ background-color: #eee; }
h1{ padding: 0 0 30px; }
.serviceBox{
    color: var(--main-color);
    font-family:'Poppins', sans-serif;
    text-align: center;
    padding: 10px 15px 30px;
    position: relative;
    z-index: 1;
}
.serviceBox:before,
.serviceBox:after{
    content: "";
    background: linear-gradient(to left bottom,#eee,#fff,#fff);
    border-radius: 15px;
    position: absolute;
    top: 45px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    box-shadow: 0 5px 8px rgba(0,0,0,0.3);
    z-index: -1;
}
.serviceBox:after{
    background: var(--main-color);
    width: 50%;
    height: 50%;
    border-radius: 0 0 20px 0;
    box-shadow: none;
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
    z-index: -2;
}
.serviceBox .service-icon{
    color: var(--main-color);
    background: #fff;
    font-size: 40px;
    line-height: 70px;
    width: 70px;
    height: 70px;
    margin: 0 0 30px;
    border-radius: 50px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3),0 0 0 8px var(--main-color);
}
.serviceBox .service-icon i{ line-height:inherit; }
.serviceBox .title{
    font-size: 19px;
    font-weight: 600;
    text-transform: capitalize;
    margin: 0 10px 10px;
}
.serviceBox .description{
    color: #123897;
    font-size: 12px;
    line-height: 18px;
    justify-content:center;
    
    margin: 0 15px;
}
.serviceBox.golden{ --main-color: #D49530; }
.serviceBox.green{ --main-color: #8BC904; }
.serviceBox.dark-green{ --main-color: #02917E; }
@media only screen and (max-width: 1199px){
    .serviceBox{ margin: 0 0 30px; }
}

/* modal popup css */
h1{ padding: 0 0 30px; }
.modal-box{ font-family: 'Poppins', sans-serif; }
.modal-box .show-modal{
    color: #fff;
    background-color: #3a9781;
    font-size: 18px;
    font-weight: 600;
    text-transform: capitalize;
    padding: 10px 15px;
    margin: 80px auto 0;
    border: none;
    border-radius: 5px 5px;
    outline: none;
    display: block;
    transition: all 0.3s ease 0s;
}
.modal-box .show-modal:hover,
.modal-box .show-modal:focus{
    color: #fff;
}
.modal-backdrop.in{ opacity: 0; }
.modal-box .modal-dialog{
    width: 400px;
    margin: 50px auto 0;
}
.modal.fade .modal-dialog{
    transform: scaleY(0);
    transition: all 400ms cubic-bezier(.47,1.64,.41,.8);
}
.modal.in .modal-dialog{ transform: scaleY(1); }
.modal-box .modal-dialog .modal-content{
    color: #3a4943;
    background: #b9e9d7;
    text-align: center;
    border: 5px solid #f1fefa;
    border-radius: 25px 25px;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.2);
}
.modal-box .modal-dialog .modal-content .close{
    color: #fff;
    background: #399781;
    font-size: 25px;
    font-weight: 400;
    text-align: center;
    line-height: 35px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 1;
    position: absolute;
    left: auto;
    top: 10px;
    right: 10px;
    z-index: 1;
    transition: all 0.3s;
}
.modal-box .modal-dialog .modal-content .close span{
    margin: -2px 0 0 0;
    display: block;
}
.modal-content .close:hover{ color: #fff; }
.modal-box .modal-dialog .modal-content .modal-body{ padding: 30px 10px 25px !important; }
.modal-box .modal-dialog .modal-content .modal-body .modal-icon{
    color: #fff;
    background: #3a4943;
    font-size: 100px;
    line-height: 115px;
    width: 115px;
    height: 115px;
    margin: 0 auto 10px;
    border-radius: 50%;
}
.modal-box .modal-dialog .modal-content .modal-body .modal-icon i{ line-height:inherit; }
.modal-box .modal-dialog .modal-content .modal-body .title{
    font-size: 45px;
    font-weight: 600;
    text-transform: capitalize;
    margin: 0 0 12px;
}
.modal-box .modal-dialog .modal-content .modal-body .description{
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 30px;
}
.modal-box .modal-dialog .modal-content .modal-body .btn{
    color: #373737;
    background: #eaf8f3;
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    padding: 14px 32px 13px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}
.modal-box .modal-dialog .modal-content .modal-body .btn:hover{
    color: #3a9781;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}
@media only screen and (max-width: 767px){
    .modal-box .modal-dialog{ width: 95% !important; }
}



.hori-timeline .events {
    border-top: 3px solid rgb(4, 59, 209);
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0;
    overflow-x: auto;
}

.hori-timeline .event-list {
    position: relative;
    text-align: center;
    width: 32%;
    padding-top: 45px;
}

.hori-timeline .event-list:before {
    content: "";
    position: absolute;
    height: 36px;
    border-right: 2px dashed #123897;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .hori-timeline .events {
        flex-direction: column;
    }

    .hori-timeline .event-list {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* Media query to adjust table size on small screens */
@media (max-width: 768px) {
    .table {
        font-size: 14px; /* Reduce font size for better readability */
    }
    .table th, .table td {
        padding: 8px; /* Adjust padding to keep table compact */
    }
}



  
