/* ===========================
   Reset
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
    color: #333;
}

/* ===========================
   Marquee
=========================== */

.marquee {
    overflow: hidden;
    width: 100%;
    background: #222;
    color: #f4f4f4;
    padding: 10px 0;
    position: relative;
}

.marquee-content {
    display: flex;
    width: max-content;
}

.marquee-item {
    flex-shrink: 0;
    white-space: nowrap;
    margin-right: 80px;
}

/* ===========================
   Hero Video
=========================== */

.hero {

    height: 50vh;
    overflow: hidden;

}

.hero video {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

}

/* ===========================
   Navigation
=========================== */

.navbar {

    background: #333;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 15px 25px;

    position: relative;

}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    display: block;
    max-height: 60px;
    width: auto;
}

.brand h1 {
    margin: 0;
    color: #f4f4f4;
    /* font-size: 1.6rem; */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #f4f4f4;
    text-decoration: none;
    display: block;
    padding: 8px;
}

/* Dropdown */

.submenu {
    display: none;
    position: absolute;
    background: #444;
    top: 100%;
    min-width: 180px;
    list-style: none;
}

.submenu li {
    border-bottom: 1px solid #555;
}

.dropdown:hover .submenu {
    display: block;
}

/* Hamburger */

#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    color: #f4f4f4;
    font-size: 2rem;
    cursor: pointer;
}

/* ===========================
   Content Grid
=========================== */

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 30px;
}

.card {
    background: #f4f4f4;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    min-height: 250px;
}

.about-card {
    max-width: 900px;
    margin: auto;
    text-align: left;
    line-height: 1.7;
}

.about-card h1 {
    text-align: center;
    margin-bottom: 30px;
}

.about-card h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: center;
}

.about-card .intro {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.about-card ul {
    padding-left: 30px;
    margin-bottom: 25px;
}

.about-card li {
    margin-bottom: 12px;
}

.contact {
    margin-top: 40px;
    text-align: center;
    font-size: 1.1rem;
}

/* ===========================
   Footer
=========================== */

footer {
    background: #222;
    color: #f4f4f4;
    text-align: center;
    padding: 25px;
}

/* ===========================
   Responsive
=========================== */

/* Tablet */

@media (max-width:900px) {

    .content-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

/* Mobile */

@media (max-width:700px) {

    .hamburger {

        display: block;

    }

    .nav-links {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        background: #333;

        display: none;

        flex-direction: column;

    }

    .nav-links li {

        width: 100%;

    }

    .submenu {

        position: static;

        display: block;

        background: #444;

        padding-left: 20px;

    }

    #menu-toggle:checked~.nav-links {

        display: flex;

    }

    .content-grid {

        grid-template-columns: 1fr;

    }

}