@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playwrite+CU:wght@100..400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all .3s linear;
    color: #fff;
    text-transform: capitalize;
}

body {
    background-color: #1a1110;
    font-family: "Lato", sans-serif;
}

header {
    position: relative;
    padding: 2em 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url(../images/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
}

.logo {
    font-size: 2em;
    font-weight: 600;
    flex: 1;
    color: #fff;
    display: flex;
    align-items: center;
}

.logo img {
    width: 70px;
    margin-right: 1%;
}

.navbar {
    width: 100%;
    padding: 2rem 3rem;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    top: 0;
    position: fixed;
}

.navbar.scrolled {
    background-color: #000;
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

.nav-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.item {
    display: flex;
    justify-content: center;
}

.nav-items li {
    list-style: none;
    padding: 1em;
}

.nav-items li a {
    text-decoration: none;
    transition: all .3s ease;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-items li::before {
    content: "";
    width: 0;
    height: 2px;
    background: #ff4500;
    display: block;
    margin: auto;
    transition: .3s;
}

.nav-items li:hover::before {
    width: 100%;
}

.nav-menu {
    display: none;
}

.main-section {
    width: 80%;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    position: absolute;
    color: #fff;
}

.heading-1 {
    font-size: 2.3em;
}

.heading-2 {
    font-size: 3.5em;
    padding: 1.5% 0;
    font-family: "Playwrite CU", sans-serif;
}

.btn {
    padding: 9px 15px;
    font-size: 18px;
    letter-spacing: 2px;
    cursor: pointer;
    background-color: #ff4500;
    border: 2px solid #ff4500;
    transition: all .3s ease-out;
}

.btn-header:hover {
    opacity: .7;
}

.main-btn {
    display: flex;
}

.btn-1:hover {
    background-color: transparent;
}

.btn-2 {
    background-color: transparent !important;
    margin-left: 1%;
    align-items: center;
    display: flex;
}

.btn-2 i {
    font-size: 2em;
    margin-right: 6px;
    color: #ff4500;
}

.btn-2:hover {
    background-color: #ff4500 !important;
}

.btn-2:hover i {
    color: #fff;
}

.sec {
    padding: 8% 0 3% 0;
    width: 85%;
    margin: auto;
}

.head {
    text-align: center;
}

.head .heading-2 {
    font-family: "Lato", sans-serif;
}

.head .heading-1 {
    font-family: "Playwrite CU", sans-serif;
    color: #f0f8ff;
    font-size: 1.4em;
}

.heading-2 span {
    color: #ff4500;
}

.boxes {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.box {
    text-align: center;
    padding: 5% 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 1.35);
    border: 2px solid transparent;
}

.box img {
    width: 150px;
}

.box p {
    max-width: 275px;
    margin-inline: auto;
    text-align: center;
    line-height: 1.75rem;
    color: #888;
}

.box h4 {
    margin: 1rem;
    font-size: 1.7rem;
    font-weight: 700;
}

.box:hover {
    border: 2px solid #fff;
    cursor: pointer;
    border-radius: 10px;
}

.about-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 6em;
    align-items: center;
}

.about .heading-1,
.about .heading-2 {
    grid-column: 1;
}

.about .prgf {
    grid-column: 2;
    text-align: right;
    color: #777;
}

.about-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2em;
    margin-top: 5%;
}

.prgf-1 {
    color: #888;
    padding-bottom: 5%;
}

.box-1 {
    background-color: #ffeedc;
    box-shadow: rgba(0, 0, 0, 2.24) 0 3px 8px;
    border: 5px solid #d2691e;
}

.box-1 img {
    width: 100%;
}

.box-1-text {
    padding: 4%;
}

.box-1-text button:hover {
    color: #000;
}

.contact {
    margin-top: 6%;
    width: 100%;
    background-color: #312c2a;
}

.contact-box {
    display: grid;
    width: 85%;
    margin: auto;
    align-items: center;
    grid-gap: 2rem;
    grid-template-columns: 1fr 1fr;
}

.left-box .heading-1 {
    color: #ff4500;
}

.right-box {
    text-align: right;
}

.right-box img {
    width: 100%;
}

.footer-container {
    display: grid;
    gap: 4rem 2rem;
    grid-template-columns: repeat(4, 1fr);
}

.footer-logo img {
    max-width: 40px;
}

.footer-logo span {
    display: flex;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-col .footer-text {
    max-width: 350px;
    color: #999;
    margin: 2rem 0;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.footer-socials a {
    font-size: 1.8rem;
    text-decoration: none;
    padding: 3%;
}

.footer-socials a:hover {
    background-color: #ff4500;
}

.footer-col h4 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.footer-links {
    display: grid;
    gap: 1rem;
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #999;
}

.footer-links a:hover {
    color: #ff4500;
}

.footer-bar {
    padding: 1rem;
    font-size: 1rem;
    text-align: center;
    background-color: #312c2a;
}

.top {
    background-color: #ff4500;
    font-size: 40px;
    padding: .5rem;
    position: fixed;
    border-radius: 10%;
    right: 5%;
    cursor: pointer;
    bottom: -50%;
}

.top:hover {
    transform: translateY(-.6rem);
}

.top.show {
    bottom: 8%;
}

@media (max-width: 1024px) {

    .about-heading {
        gap: 0 2em;
    }

    .about-box,
    .boxes {
        gap: 1em;
    }

    .box-1-text .btn {
        padding: 9px;
        font-size: 15px;
    }

    .left-box .heading-1 {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {

    .nav-items {
        position: absolute;
        top: -1%;
        left: 0;
        width: 100%;
        padding: 5em 0 2em 0;
        display: flex;
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: .9rem;
        background-color: #000;
        transition: .3s;
        z-index: -1;
        transform: translateY(-100%);
    }

    .nav-items.open {
        transform: translateY(0);
    }

    .item {
        flex-direction: column;
    }

    .nav-menu {
        display: block;
        font-size: 2em;
    }

    .about-heading {
        grid-template-columns: 1fr;
    }

    .about .prgf {
        grid-column: 1;
    }

    .boxes,
    .about-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-box {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 426px) {

    .boxes,
    .about-box {
        grid-template-columns: repeat(1, 1fr);
    }

    .navbar {
        padding: 2rem 2rem;
    }

    .heading-1 {
        font-size: 1.2em;
    }

    .heading-2 {
        font-size: 3em;
    }

    .btn {
        padding: 9px;
        font-size: 15px;
    }

    .footer-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 321px) {
    .heading-1 {
        font-size: 1.5em;
    }

    .heading-2 {
        font-size: 2.5em;
    }

    .footer-bar span {
        font-size: 14px;
    }
}