@import url("../fonts/all.css");

body{
    background-color: rgba(15, 27, 51,0.1);
}

.service_container,.video_container{
    margin: 10px;
}
.services-below-container{
    position:relative;
    left:0px;
}
.service-card {
    position: relative;
    width: 100%;
    height: 325px; /* Increased height to accommodate description */
    
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1,1);
    transition: all 0.1s ease-in-out;
}

.service-card:hover{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    /*
      #2d3246
      rgba(2d,50,70,1)
    */
    transform: scale(1.01,1.01);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom,rgba(0,0,0,0.4),rgba(45,50,70,0.7));
    z-index: 1;
}

.service-card:hover::before{
    background-image: linear-gradient(to bottom,rgba(0,0,0,0.6),rgba(45,50,70,1));
}

.service-card-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;

    padding: 20px;
    height: 100%;
    overflow: hidden;
}

.service-card-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-family: simply_rounded;
    position: relative;
    top:90%;
    text-shadow:  0 0 5px var(main-color-dark-transp);
    
}

.service-card-description {
    margin: 0 0 20px;
    color: #fff;
    font-size: 1em;
    text-align: center;
    opacity: 0;
    transition: all .2s ease-in-out;
    position: relative;
    top:40px;
    text-shadow:  0 0 5px var(main-color-dark-transp);
}

.service-card-content:hover .service-card-description{
    opacity: 1;
    top:30px;
}

.service-card-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #e09732;
    color: white;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    transition: all .2s ease-in-out;
    position: relative;
    top:40px;
}

.service-card-content:hover .service-card-button{
    opacity: 1;
    top:30px;
}

.service-card-button:hover {
    background-color: #0056b3;
}

.video-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    text-align: center;
}
.video-card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}

.pip-video-card{
    height: 250px;
    width: 100%;
    background-size: cover;
    box-shadow: 0;
    position: relative;
    top:0;
    transition: all .3s ease;
}

.pip-video-card:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    top:-2px;
}

.pip-video-card-container{
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.1) ,rgba(0,0,0,0.4) 70%);
  border-radius: 10px;
  transition: all .3s ease;
  overflow: hidden;
}
.pip-video-card:hover .pip-video-card-container{
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.1),rgba(0,0,0,0.9) 70%);
}

.pip-video-card-title{
    text-align: center;
    position: relative;
    top:70%;
    font-weight: bolder;
    transition: all .3s ease;
}

.pip-video-card:hover .pip-video-card-title{
    top:50%;
}

.pip-video-card .pip-video-card-link{
    position: relative;
    top:90%;
    margin: auto;
    transition: all .3s ease;
}

.pip-video-card:hover .pip-video-card-link{
    top:0%;
}
