body {
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto;
    grid-template-areas:
        "nav"
        "main";
}

a {
    text-decoration: none;
}

/* nav */

nav {
    height: min-content;
    color: var(--background);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navContainer {
    display: flex;
    height: 80px;
    justify-content: space-around;
    align-items: center;
    text-decoration: none;
    background-color: var(--background);
}

.navContainer a {
    text-decoration: none;
}

.navList a:link,
a:visited {
    color: black;
}

.navList {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    position: relative;
}

.navList li {
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
}

.navList a {
    font-size: 18px;
    border-radius: 20px;
    padding: 10px 15px;
    transition: all 0.2s ease;
}

.navList a:hover {
    color: var(--primary);
    background-color: var(--accent2);
}

#menuIcon,
#menuCheckbox {
    display: none;
}

.logoLink {
    min-width: 350px;
}

.logoLink h1 {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: end;
}

#miniNavList {
    display: none;
    text-align: center;
    background-color: var(--background);
}

#miniNavList ul {
    margin: 0;
    padding: 0;
}

#miniNavList li {
    padding: 1rem 0 1rem 0;
    list-style: none;
    border-bottom: solid 1px black;
}

#miniNavList li a {
    padding: 1rem 0 1rem 0;
    text-decoration: none;
}

/* end nav */


/* Hero section */

.hero {
    position: relative;
    top: 0px;
    width: 100%;
    height: calc(100vh - 80px);
    z-index: 0;

    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heroImg {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.heroImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

.heroOverlay {
    position: relative;
    inset: 0;
    width: max-content;
    height: max-content;
    z-index: 5;
    padding: 50px;
    color: var(--text-light);

}

.heroTitle {
    position: relative;
    z-index: 10;
    text-align: center;
    font-size: 7rem;
    margin-bottom: 0.5rem;
}

.heroTitleSub {
    text-align: center;
    font-size: 28px;
}

.heroInfoBox {
    position: relative;
    z-index: 10;
    text-align: center;
    font-family: Roboto, sans-serif;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 20px 40px;
    max-width: 400px;
    margin: 0 auto;
}

.scrollDownIconContainer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    z-index: 10;
    transform: translateX(-50%);

}

.scrollDownIcon {
    width: 50px;
    height: 50px;
}

/* end Hero section */

/* main content area */
main {
    grid-area: main;
    text-align: justify;
    color: var(--text);
}

/* end main content area */

/* Intro Section */
.elegant-underline {
    width: 120px;
    height: 3px;
    margin: 0.5rem auto 1.5rem auto;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.introSection {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* end Intro Section */

/* info section */

.infoSection {
    padding: 4rem 2rem;
    margin-bottom: 100px;
}

.infoCardContainer {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.infoCard {
    width: 200px;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--background);
    border-radius: 15px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 1rem;
    text-align: center;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.infoCard h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.infoCard p {
    margin: 0;
}

.infoCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.infoIconContainer {
    border-radius: 100%;
    background-color: var(--background);
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.infoCard svg {
    width: 80px;
    height: 80px;
    padding: 2rem;
}

/* end info section */


/* Responsive Design */
@media screen and (max-width: 800px) {
    #menuIcon {
        display: block;
        background-image: url(../icons/menuicon.png);
        background-size: contain;
        background-position: center;
        width: 50px;
        height: 50px;
    }

    .navList {
        display: none;
    }

    .logoLink h1 {
        justify-content: start;
    }
}