* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    background: #050505;
    color: white;

    font-family: 'Montserrat', sans-serif;

}




header {

    position: absolute;
    width: 100%;
    z-index: 5;

}


nav {

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 35px 8%;

}



.logo img {

    width:150px;
    height:auto;
    display:block;

}


.logo span {

    color: #ff5a00;

}



nav ul {

    display: flex;
    gap: 40px;
    list-style: none;

}


nav a {

    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;

}



.nav-btn,
.main-btn,
.submit-btn {

    background: #ff5a00;

    padding: 16px 35px;

    color: white;

    text-decoration: none;

    font-weight: 700;

    display: inline-block;

    transition: .3s;

    cursor: pointer;
}



.nav-btn:hover,
.main-btn:hover,
.submit-btn:hover {

    background: white;
    color: black;

}






.hero {

    height: 100vh;

    display: flex;
    align-items: center;

    padding-left: 8%;

    position: relative;

    overflow: hidden;


    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, .95),
            rgba(0, 0, 0, .4)),
        url("https://images.unsplash.com/photo-1542282088-fe8426682b8f") center/cover;


}



.hero-content {

    max-width: 800px;
    z-index: 2;

}



.tag {

    color: #ff5a00;
    letter-spacing: 5px;
    font-size: 14px;

}



h1 {

    font-size: 90px;
    line-height: .9;

    font-weight: 900;

    margin: 25px 0;

}



h1 span {

    color: #ff5a00;

}



.description {

    color: #ccc;
    font-size: 18px;

    max-width: 500px;

    line-height: 1.8;

    margin-bottom: 35px;

}




.orange-glow {

    position: absolute;

    right: -200px;
    bottom: -200px;

    height: 500px;
    width: 500px;

    background: #ff5a00;

    filter: blur(150px);

    opacity: .3;

}





.services {

    padding: 120px 8%;

}




.heading p,
.orange {

    color: #ff5a00;
    letter-spacing: 4px;

}



.heading h2,
.process h2,
.contact h2 {

    font-size: 55px;
    margin-top: 20px;

}



.cards {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    margin-top: 60px;

}



.card {

    background: #111;

    padding: 45px;

    border-left: 3px solid #ff5a00;

    position: relative;

}



.card span {

    position: absolute;

    right: 25px;
    bottom: 20px;

    font-size: 60px;

    font-weight: 900;

    color: #222;

}



.card p {

    color: #aaa;

    line-height: 1.8;

    margin-top: 20px;

}





.process {

    padding: 100px 8%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    background: #0c0c0c;

}



.text {

    color: #aaa;

    margin-top: 25px;

    line-height: 1.8;

}




.numbers div {

    border-bottom: 1px solid #333;

    padding: 25px;

    font-size: 20px;

}



.numbers strong {

    color: #ff5a00;

    font-size: 40px;

    margin-right: 25px;

}





.gallery {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    height: 500px;

}



.image {

    background-size: cover;
    background-position: center;

}



.one {

    background-image: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70");

}


.two {

    background-image: url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7");

}


.three {

    background-image: url("https://images.unsplash.com/photo-1542362567-b07e54358753");

}




.contact {

    padding: 120px 20px;

    text-align: center;

}



.contact p {

    color: #aaa;
    margin: 25px;

}

.SubQ {
    opacity: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.4s ease;
}

.hidden {
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
    max-height: 0;
}

.SubQ input {
    padding: 10px 6%;
}

.hear {
    grid-column: 1/ -1;
    justify-self: center;
    width: 60%;
}

.submit-btn {
    grid-column: 1/ -1;
    justify-self: center;
    color: white;
    background-color: #ff5a00;
    border: none;
    font-family: inherit;
}

.submit-btn:active {
    background-color: #ff7226;
}

#subject {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    text-align: center;
    font-size: 16px;
    font-family: inherit;
    color: #333;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666'%3E%3Cpath d='M1 3l5 6 5-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;

    padding-right: 40px;
}

#subject:focus {
    outline: none;
    border-color: #ff5a00;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15);
}


footer {

    padding: 30px;

    text-align: center;

    color: #777;

}





@media(max-width:900px) {

    nav ul {
        display: none;
    }


    h1 {
        font-size: 55px;
    }


    .cards,
    .process,
    .gallery {

        grid-template-columns: 1fr;

    }


    .gallery {

        height: auto;

    }


    .image {

        height: 300px;

    }


}