/* Google font */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* Global variable */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* For Gradient Background */
body {
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(#A0D2D2, #CEE8D3);
    font-family: "Roboto", sans-serif;
    color: black;
}

/* Nav bar */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 150px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: none;
    box-shadow: none;
}

.header img {
    width: 60px;
}

.main-nav a {
    text-decoration: none;
    color: black;
    font-weight: 700;
    font-size: 1.1rem;
    margin-left: 3rem;
    position: relative;
    transition: 0.5s;
}

.main-nav a::after {
    content: "";
    width: 0%;
    height: 3.5px;
    background-color: #555;
    border-radius: 10px;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: 0.5s;
}

.main-nav a:hover::after {
    width: 100%;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

.hamburger-menu i {
    font-size: 1.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Footer */
.footer {
    background-color:#90a293;
    color: black;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    padding: 10px;
}

.footer a {
    color: black;
    text-decoration: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1200px) {
    .header {
        padding: 20px 50px;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        margin: 1rem 0;
        text-align: center;
    }

    .hamburger-menu {
        display: block;
    }

    .introduction-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }
}
