:root {
    --primary: #4f48e6;
    --bg: #09071D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg);
    color: #fff;
    /* min-height: 50000px; */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 7%;
    background-color: rgba(9, 7, 29, 0.8);
    border-bottom: 1px solid #3731a3;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .navbar-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-style: italic;
}

.navbar .navbar-logo span {
    color: #fff;
}

.navbar .navbar-nav a {
    color: #fff;
    display: inline-block;
    font-size: 1.4rem;
    margin: 1rem;
} 

.navbar .navbar-nav a:hover {
    color: var(--primary);
}
.navbar .navbar-nav a::after {
    content: "";
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid var(--primary);
    transform: scaleX(0);
    transition: 0.2s linear;
}
.navbar .navbar-nav a:hover::after {
    transform: scaleX(1);
}
.navbar .navbar-extra a {
    color: #fff;
    margin: 0 0.5rem;
}
.navbar .navbar-extra a:hover {
    color: var(--primary);
}


#hamburger-menu {
    display: none;
}

/* Landing Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url(assets/pageImg/landingImg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
    background: linear-gradient(0deg, rgba(9, 7, 29, 1) 8%, rgba(255, 255, 255, 0) 50%);
}

/* Landing Content */
.hero .content {
    padding: 1.4rem 7%;
    max-width: 60rem;
}
.hero .content h1 {
    font-size: 5em;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(6, 2, 33, 0.5);
    line-height: 1.4;
}
.hero .content h1 span {
    color: var(--primary);
}
.hero .content p {
    font-size: 1.6rem;
    margin-top: 1rem;
    line-height: 1;
    font-weight: 100;
    text-shadow: 1px 1px 3px rgba(6, 2, 33, 0.5);
}
.hero .content .cta {
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.4rem;
    color: #fff;
    background-color: var(--primary);
    border-radius: 0.5rem;
    box-shadow: 1px 1px 3px rgba(6, 2, 33, 0.5);
}

/* About Section */
.about,
.project {
    padding: 9rem 7% 1.4rem;
}
.about h2,
.project h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
}
.about h2 span {
    color: var(--primary);
}
.about .row {
    display: flex;
}
.about .row .about-img {
    flex: 1 1 45rem;
}
.about .row .about-img img {
        width: 100%;
}
.about .row .content {
    flex: 1 1 35rem;
    padding: 0 1rem;
    position: relative;
}
.about .row .content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.about .row .content h3 span {
    color: var(--primary);
}
.about .row .content p {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 100;
    line-height: 1.6;
}
.about .row .content button {
    position: absolute;
    background-color: transparent;
    cursor: pointer;
    border: none;
    color: #fff;
    right: 0;
    bottom: 0;

}

/* Project Section */
.project h2 span {
    color: var(--primary);
}
.project .holder {
    display: flex;
    align-content: space-between;
    justify-content: center;
    text-align: center;
}
.project .holder .card {
    flex: 1 1 1rem;
    margin: 0 1rem;
    padding: 2rem;
    background-color: #0c0e25;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.project .holder .item h3 {

    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.project .holder .item p {

    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 100;
    line-height: 1.6;
}
.project .holder .item a {
    color: #fff;
    background-color: var(--primary);
    border-radius: 1rem;
    height: 1rem;
    width: 100%;
    font-size: 1.4rem;
    font-weight: 200;
    line-height: 1.6;
    padding: 1rem;
    margin: 3rem 0 ;
    cursor: pointer;
}
/* Report Section */
.report {
    padding: 9rem 7% 1.4rem;
}
.report h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
}
.report h2 span {
    color: #f03030;
}
.report .row{
    display: flex;
    background-color: #0c0e25;
    border-radius: 1rem;
}
.report .row .report-img {
    flex: 1 1 45rem;
    position: relative;
}
.report .row .report-img::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    background: linear-gradient(270deg, rgba(12, 14, 37, 1) 8%, rgba(255, 255, 255, 0) 50%);
}
.report .row .report-img img {
    width: 100%;
    border-radius: 1rem;
}
.report .row .content {
    flex: 2 1 75rem;
    padding: 0 1rem;
}
.report .row .content h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}
.report .row .content h3 span {
    color: #f03030;
}
.report .row .content p {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 100;
    line-height: 1.6;
}
.report .row .content button {
    background-color: var(--primary);
    border-radius: 2rem;
    height: 4rem;
    width: 8rem;
    border: none;
    margin: 2rem 0;
    cursor: pointer;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 200;
}


/* Footer Section */
footer{
    background-color: var(--primary);
    text-align: center;
    padding: 1rem 0 3rem;
    margin-top: 3rem;
}
footer .socials {
    padding: 1rem 0;
}
footer .socials a {
    color: #fff;
    margin: 1rem;
    transition: 0.2s ease;
}
footer .socials a:hover {
    color: var(--bg);
}
footer .links {
    margin-bottom: 1.4rem;
}
footer .links a {
    color: #fff;
    padding: 0.7rem 1rem;
}
footer .links a:hover {
    color: var(--bg);
}
footer .credits {
    font-size: 1rem;
}
footer .credits a {
    color: var(--bg);
}

/* Media Query */
/* Laptop */
@media (max-width: 1366px) {
    html {
        font-size: 75%;
    }
}

/* Tablet */
@media (max-width: 768px) {
    html {
        font-size: 62.5%;
    }
    #hamburger-menu {
        display: inline-block;
    }
    .navbar .navbar-nav {
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: #fff;
        width: 30rem;
        height: 100vh;
        transition: 0.3s;
    }
    .navbar .navbar-nav.active {
        right: 0;
    }
    .navbar .navbar-nav a {
        color: var(--bg);
        display: block;
        margin: 1.5rem;
        padding: 0.5rem;
        font-size: 2rem;
    }
    .navbar .navbar-nav a::after {
        transform-origin: 0 0;
    }
    .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.3);
    }

    .about .row {
        flex-wrap: wrap;
    }
    .about .row .about-img img {
        height: 24rem;
        object-fit: cover;
        object-position: center;
    }
    .about .row .content {
        padding: 0;
    }
    .about .row .content h3 {
        margin-top: 1rem;
        font-size: 2rem;
    }
    .about .row .content p {
        font-size: 1.6rem;
    }

    .report .row {
        flex-wrap: wrap;
    }
    .report .row .report-img {
        position: relative;
    }
    .report .row .report-img::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    background: linear-gradient(0deg, rgba(12, 14, 37, 1) 8%, rgba(255, 255, 255, 0) 50%);
    }
    .report .row .report-img img {
        height: 24rem;
        object-fit: cover;
        object-position: center;
    }
    .report .row .cotent {
        padding: 0;
    }
    .report .row .content h3 {
        margin-top: 1rem;
        font-size: 2rem;
        text-align: center;
    }
    .report .row .content p {
        text-align: center;
    }
    .report .row .content button {
        width: 100%;
        margin: 2rem 0;
    }
}

/* Mobile */
@media (max-width: 450px) {
    html {
        font-size: 55%;
    }
}