@media only screen and (min-device-width: 250px) and (max-device-width: 700px) and (orientation: portrait) {
    .ourser1 p {
        width: 100% !important;
        left: 0% !important;
    }

    .card-services{

        width: 100% !important;
        margin-left: 0% !important;
    }

    a.more-servinfo, a.more-servinfo {
        font-size: 20px !important;
        padding: 3% !important;
    }
}


.hov li{
    color: white;
    background-color: #B20925;
    }

.ourser1 {
position: relative;
margin-top: 15%;
width: 100%;
height: 40%;
}

.osphoto {
position: absolute;
right: 0px;
width: 35%;
border-radius: 50px 0px 0px 50px;
}

.ospath {
    position: absolute;
    right: 0px;
    width: 20%;
    border-radius: 0px 0px 0px 50px;
    z-index: -1;
    margin-top: 25%;

}

.ourser1 h2 {
position: relative;
    font-family: 'lato';
    font-weight: 800;
    color: #B20925;
    top: 70px;
    font-size:50px;
    margin-left: 20%;
}

.ourser1 p {
position: relative;
font-family: 'lato';
font-weight: 400;
color: #0D2763;
top: 80px;
font-size: 20px;
width: 40%;
text-align: center;
left: 12%;
    }
    
    

    .services {
        margin-top: 20%;
        margin-bottom: 40px;
    
    }
    
    .card-services {
        transition: box-shadow 0.7s;
        text-align: center;
display: block;      
  padding: 15px;
        width: 60%;
        margin-left: 20%;
        border-radius: 50px;
        box-sizing: border-box;
        box-shadow: -3px -3px 7px #B20925;
        margin-top: 40px;
    }

    .servi-icons {
        width: 130px;
        height: 130px;
        margin:  auto;
        display:  flex;
        border-radius: 100%;
    }
    
    .card-services:hover {

    }
    
    
    .enter-sicon {
        width:  95%;
        height:  95%;
        margin:  auto;
        text-align:  center;
        border-radius: 100%;
        display: flex;
    }
  
    .card-services:hover .enter-sicon svg, .card-services:focus .enter-sicon svg {
        opacity: 1;
    }
    h3.serv-name {
        font-size:  27px;
        font-family:  'Lato';
        font-weight: 800;
        color: #B20925;
        text-transform: uppercase;
        margin-bottom:  10px;
    }
    
    hr.serv-hr {
        width:  90%;
        opacity: 1;
        border: 1px solid #0D2763;
    }
    
    p.ssubinfo {
        margin-top:  10px;
        color: #0D2763;
        font-family:  'Lato', sans-serif;
        font-weight: 400;
        font-size:  16px;
        margin-bottom: 30px;
    }
    
    a.more-servinfo, a.more-servinfo {
        font-family:  'Lato', sans-serif;
        color: white;
        padding: 1%;
        background-color: #0D2763;
        text-decoration:  none;
        font-weight: 500;
        font-size:  15px;
        border-radius: 50px;
        text-transform:  capitalize;
        opacity: 1;
        transition: opacity 0.4s;
    }
    
    a.more-servinfo:hover, a.more-servinfo:focus {
        background-color: #B20925;

    }
    .card-services:hover a.more-servinfo, .card-services:focus a.more-servinfo {
        opacity: 1;
    }
    .card-services:hover a.more-servinfo::after, .card-services:focus a.more-servinfo::after {
        width: 35%;
    }
    a.more-servinfo::after {
        content:  '';
        display:  none;
        margin:  auto;
        width: 0%;
        transition: width 0.4s;
        border-top: 1px solid;
        margin-top:  3px;
    }
    
  
    .col-sm-12.session-title {
        text-align:  center;
        padding-bottom: 30px;
    }
    
    h1.session-tit {
        margin:  0;
        font-size:  26px;
        font-weight:  900;
        color: #313437;
        font-family:  'Roboto', sans-serif;
        opacity:  0.8;
    }
    
    hr.ss-hr {
        width:  80px;
        border:  1px solid;
        margin:  0 auto;
        margin-top:  10px;
        margin-bottom:  10px;
        opacity:  0.1;
    }
    
    p.ss-pp {
        font-family:  'Open sans', sans-serif;
        font-weight: 500;
        color: #969696;
        font-size:  14px;
        width:  400px;
        margin:  auto;
        max-width:  100%;
    }