*{
    font-family: Georgia, 'Times New Roman', Times, serif;
    /* overflow-x: hidden; */
}

html {
    scroll-behavior: smooth;
  }

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.background {
    background-image: url('assets/home-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: grid;
    grid-template-rows: 15% 70% 15%;
}

.logo-top{
    width: 100px;
    padding-right: 21px;
}

.menu-text-item{
    color: #fff;
    transition: all ease-in-out .3s;
    font-size: 10px;
}

.menu-text-item:hover{
    color: goldenrod;
}

.top-grid {
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 27px;
}

.top-grid ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.top-grid ul li {
    display: inline;
    margin-right: 20px;
}

.top-grid ul li a {
    text-decoration: none;
    color: white;
    font-size: 20px;
}

.middle-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: left;
    padding-left: 27px;
    color: goldenrod;
    font-size: 2.5em;
}

.middle-grid p {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.bottom-grid {
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 27px;
}

.text-head{
    font-size: 4em;
}

.text-head-sub{
    font-size: 1.7em;
}

.stats-item{
    padding-right: 70px;
}

.bottom-grid p {
    color: white;
    text-align: center;
    margin: 5px;
}

.button-white {
    background-color: #fff;
    border: none;
    color: goldenrod;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.7em;
    margin: 4px 2px;
    cursor: pointer;
    font-weight: bolder;
    box-shadow: 0px 7px 0px rgba(218, 165, 32, 1), 0px 0px 30px rgba(218, 165, 32, 0.3);
    transition: all ease-in-out .5s;
    border-radius: 7px;
}

.button-white:hover {
    transform: translateY(7px);
    box-shadow: none;
}

.button-golden {
    background-color: goldenrod;
    border: none;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.7em;
    margin: 4px 2px;
    cursor: pointer;
    font-weight: bolder;
    box-shadow: 0px 7px 0px rgb(255, 255, 255), 0px 0px 30px rgba(218, 165, 32, 0.3);
    transition: all ease-in-out .5s;
    border-radius: 7px;
}

.button-golden:hover {
    transform: translateY(7px);
    box-shadow: none;
}

.title{
    font-size: 3em;
    color: goldenrod;
    text-align: center;
    margin-bottom: 0;
}

.subtitle{
    font-size: 2em;
    text-align: center;
    margin-bottom: 0;
}

.pic-profile{
    width: 400px;
    margin: auto;
    text-align: center;
}

.text-bio{
    width: 40%;
    text-align: center;
    margin: auto;
    font-size: 1.4em;
    padding-bottom: 20px;
}

/* Youtube Player */
.iframe-container{
    position: relative;
    width: 50%;
    height: 50%;
    padding-bottom: 28.12%;
}

.iframe-container iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 35px;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
    border: 5px solid goldenrod;
}

.flexCenter{
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Grid Services */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    width: 70%;
    margin: auto;
}

.card {
    border: 2px solid goldenrod;
    border-radius: 25px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0px 0px 17px rgba(0, 0, 0, 0.2);
}

.card img {
    height: auto;
}

.card-content {
    padding-bottom: 15px;
}

.card-content h3 {
    margin-top: 0px;
    margin-bottom: 5px;
    font-size: 1.7em;
}

.card-content p {
    margin: 0;
}

.img-services{
    width: 70px;
    padding-top: 10px;
}

/* Grid Portfolio Videos */
.grid-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    width: 80%;
    margin: auto;
}

.card-videos {
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    padding-top: 55.50%;
    box-shadow: 0px 0px 17px rgba(0, 0, 0, 0.5);
    border: 3px solid goldenrod;
}

.card-videos iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Grid Portfolio Thumbnails */
.grid-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    grid-template-rows: repeat(3, 1fr); /* Three rows */
    gap: 20px;
    padding: 20px;
    width: 80%;
    margin: auto;
}

.card-thumbnails {
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 0px 17px rgba(0, 0, 0, 0.5);
    border: 3px solid goldenrod;
}

.card-thumbnails img {
    display: block;
    width: 100%;
    height: auto;
}

/* Grid Testimonials */
.grid-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    width: 70%;
    margin: auto;
}

.item {
    text-align: center;
}

.small-image {
    width: 50px;
    height: auto;
}

.text-p{
    font-size: 1.2em;
}

/* Contact */
.background-contact{
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: grid;
    grid-template-rows: 15% 70% 15%;
}

.middle-grid-contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bottom-grid-contact{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.button-white-contact{
    background-color: #fff;
    border: none;
    color: goldenrod;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2.2em;
    margin: 20px;
    cursor: pointer;
    font-weight: bolder;
    box-shadow: 0px 7px 0px rgba(218, 165, 32, 1), 0px 0px 30px rgba(218, 165, 32, 0.3);
    transition: all ease-in-out .5s;
    border-radius: 7px;
}

.button-white-contact:hover{
    transform: translateY(7px);
    box-shadow: none;
}

.qr-code{
    width: 197px;
    margin: 7px;
    border: 3px solid goldenrod;
    border-radius: 25px;
    box-shadow: 0px 0px 30px rgba(255, 255, 255, 0.3);
}


/* Media Querie */
@media screen and (max-width: 1252px){
    .iframe-container{
        position: relative;
        width: 90%;
        height: 90%;
        padding-bottom: 56.25%; 
    }

    .background {
        background-image: url('assets/home-bg2.jpg');
        background-size: cover;
        background-position: center;
        height: 100vh;
        display: grid;
        grid-template-rows: 15% 70% 15%;
    }

    .text-bio{
        width: 60%;
        font-size: 1.4em;
    }

    .grid-videos {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        width: 80%;
    }

    .grid-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        width: 80%;
    }
}

@media screen and (max-width: 1000px){
    .background {
        background-image: url('assets/home-bg3.jpg');
    }

    .pic-profile{
        width: 300px;
    }

    .text-bio{
        width: 80%;
        font-size: 1.4em;
    }

    .grid {
        width: 80%;
    }

    .grid-videos {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        width: 95%;
    }

    .grid-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        width: 95%;
    }

    .grid-testimonials {
        grid-template-columns: repeat(3, 1fr);
        width: 90%;
    }
}

@media screen and (max-width: 750px){
    .iframe-container{
        position: relative;
        width: 100%;
        height: 100%;
        padding-bottom: 56.25%; 
    }

    .background {
        background-image: url('assets/home-bg-mobile2.jpg');
        background-size: cover;
        background-position: center;
        height: 100vh;
        display: grid;
        grid-template-rows: 15% 70% 15%;
    }

    .top-grid {
        justify-content: center;
        align-items: center;
        padding-left: 7px;
    }

    .top-grid ul li a {
        font-size: 14px;
    }

    .middle-grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: goldenrod;
        font-size: 1em;
        padding: 0;
    }

    .text-head{
        font-size: 2em;
    }
    
    .text-head-sub{
        font-size: 1em;
    }

    .logo-top{
        width: 60px;
    }

    .stats-item{
        padding-right: 10px;
        width: 50%;
    }

    .top-grid ul li {
        display: inline;
        margin-right: 10px;
    }

    .button-white {
        padding: 10px 20px;
        font-size: 1.2em;
        margin: 4px 2px;
    }

    .button-golden {
        padding: 10px 20px;
        font-size: 1.2em;
        margin: 4px 2px;
    }

    .text-bio{
        width: 90%;
        font-size: 1.2em;
    }

    .grid {
        grid-template-columns: repeat(2, 2fr);
        width: 80%;
    }

    .grid-videos {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        width: 90%;
    }

    .grid-thumbnails {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        width: 90%;
    }

    .flexCenter{
       width: 95%;
    }

    .bottom-grid {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-left: 10px;
    }

    .main-title{
        text-shadow: 0px 0px 7px rgb(0, 0, 0);
    }

    .middle-grid {
        color: #fff;
    }
}

@media screen and (max-width: 640px){
    .background {
        background-image: url('assets/home-bg-mobile3.jpg');
        background-size: cover;
        background-position: center;
        height: 100vh;
        display: grid;
        grid-template-rows: 15% 70% 15%;
    }

    .pic-profile{
        width: 250px;
    }

    .grid-testimonials {
        grid-template-columns: repeat(1, 1fr);
        width: 90%;
        gap: 0px;
        padding: 0px;
    }

    .text-p{
        font-size: 1em;
    }

}

@media screen and (max-width: 500px){
    .background {
        background-image: url('assets/home-bg-mobile3.jpg');
        background-size: cover;
        background-position: center;
        height: 100vh;
        display: grid;
        grid-template-rows: 15% 70% 15%;
    }

    .top-grid {
        display: block;
        justify-content: center;
        align-items: center;
        margin: auto;
        text-align: center;
    }

    .logo-top{
        width: 90px;
        padding-right: 0px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 450px){
    .grid {
        grid-template-columns: repeat(1, 1fr);
        width: 80%;
    }

    .button-white {
        padding: 10px 10px;
        font-size: 1em;
        margin: 4px 2px;
    }

    .button-golden {
        padding: 10px 10px;
        font-size: 1em;
        margin: 4px 2px;
    }

    .title{
        font-size: 2em;
    }
}

@media screen and (max-width: 400px){
    .flexCenter{
        width: 90%;
    }
}