/* =========== HERO SECTION ============ */
@keyframes slideInTop {
    0%{
        opacity: 0;
        transform: translateY(100%);
    }
    20%{
        opacity: 0.3;
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideInBottom {
    0%{
        opacity: 0;
        transform: translateY(-100%);
    }
    20%{
        opacity: 0.3;
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}
.hero{
    padding-top: 150px;
    position: relative;
}
.hero::before{
    content: "";
    position: absolute;
    top: 0; left: 0;
    background-image: url("hero.jpg");
    height: 100vh;
    width: 100vw;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.6);
}
.hero-inside{
    position: relative;
    height: 100vh;
    width: 100vw;
}
.hero .text {
    font-weight: 800;
    font-size: 48px;
    line-height: 73px;
    color: var(--black);
    animation: slideInTop 1s linear 0s 1 normal none;
}
.hero .sub-text {
    animation: slideInBottom 1s linear 0s 1 normal none;
}
.hero hr {
    border:none;
    border-top:4px solid;/* or bottom */
    margin:1em auto; 
    width:30vw;
    color: var(--qmc);
}
.buttons {
    padding-top: 40px;
}
.buttons .btn {
    font-size: 25px;
    font-weight: bold;
    line-height: 34px;
}

/* =========== PROJECT ============ */
.projects{
    min-height: 100vh;
}
.projects-inside{
    padding-top: 100px;
    height: 90%;
    width: 100vw;
}
.projects .text-header {
    margin-bottom: 30px;
}
.projects .text {
    font-weight: 800;
    font-size: 48px;
    line-height: 73px;
    color: var(--black);
}

.projects .card {
    transition: transform 0.3s;
    overflow: hidden;
}

.projects .card:hover {
    transform: scale(1.1);
}

.projects .card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.07);
}

/* =========== SERVICES ============ */
.services{
    min-height: 100vh;
}
.services-inside{
    height: 100%;
    width: 100vw;
}
.services .text-header {
    margin-bottom: 50px;
}
.services .card {
    border: none;
    overflow: hidden;
    border-radius: 20px;
    min-height: 500px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.services .card-title {
    font-weight: 800; 
}
.services .card-img{
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    object-fit: cover;
    width: 100%;
    height: 500px;
}
.services .card-body{
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
@media screen and (max-width: 420px) {
    .services-inside{
        padding-top: 100px;
    }
    .services .card{
        min-height: 300px;
    }
    .services .card-img{
        height: 300px;
    }
}
.services .card:hover{
    transform: scale(0.94);
}
.services .card:hover .card-body{
    transform: translateY(-50px);
    color: black;
}
.services .card-img-overlay{
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.services .card:hover .card-img-overlay {
    background: linear-gradient(
        0deg, 
    rgba(228,4,12,0.35) 0%, 
    rgba(240,214,214,1) 50%, 
    rgba(228,4,12,0.35) 100%
    ); 
}
.services .card:hover .card-img{
    transform: scale(0.99);
    box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3);
}
/* =========== ABOUT US ============ */
.about .text-header {
    font-weight: 800;
    font-size: 24px;
    color: var(--black);
    padding: 7%;
}
.about-inside{
    padding-bottom: 5%;
    padding-right: 5%;
}
@media screen and (max-width :600px) {
    .about-inside{
        padding-right: 0%;
    }
}
.about .text {
    font-weight: 500;
    font-size: 16px;
    color: gray;
}
.about .card-img-top{
    border-radius: 15px 15px 0 0;
}
.about .card{
    transition: border-color 0.5s;
    transition-timing-function: ease-in-out;
}
.about .card:hover {
    border-color: var(--qmc);
    border-width: 2px;
}
.about .badge{
    font-size: 14px;
}
/* =========== CONTACT US ============ */
.contact .text-header {
    font-weight: 800;
    font-size: 24px;
    color: var(--black);
    padding-bottom: 2%;
}
.contact .text {
    font-weight: 500;
    font-size: 16px;
    color: gray;
}
.contact .card {
    border-radius: 10px;
    min-height:50px;
}
.contact .icon {
    width: 50px;
    height: 50px;
    background-color: #eee;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 39px
}
.contact .badge span {
    background-color: var(--qmc);
    width: 60px;
    height: 25px;
    padding-bottom: 3px;
    border-radius: 5px;
    display: flex;
    color: white;
    justify-content: center;
    align-items: center
}