* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} /* Reset CSS */ /*I always forgot this when starting a new project*/

body {
  font-family: "Hanken Grotesk", sans-serif;
  background-color: #F5F5F5;
} /* Google Font Import */ /* I really prefer the html way of importing fonts so deal with it */

html, body {
    overflow-x: hidden;
} /* Prevents horizontal scroll bar from appearing */ /* I hate horizontal scroll bars */

.header {
    background-color: #F5F5F5;
    padding: 1px 1px;
} /* Header Section */

.footer {
    background-color: #2A4088;
    padding: 100px 40px;
    text-align: center;
    margin-top: 40px;
} /* Footer Section */

.footer h1 {
    color: #F5F5F5;
    font-size: 46px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0px;
} /* Footer h1 Section */

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 20px;
    margin-top: 40px;
} /* h2 Logo Section */

h1 {
    font-family: "Playfair Display", serif;
    font-size: 72px;
    color: #2A4088;
    justify-content: center;
    font-weight: bold;
} /* Introduction Section */

.introduction {
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 60px 20px;
} /* h1 Introduction Section */

h2 {
    font-size: 16px;
    color: #2A4088;
    text-align: center;
    letter-spacing: 10px;
    font-weight: bold;
} /* Introduction Section */

/* Navigation Container */
.nav-menu {
    display: flex;             /* Makes the list horizontal */
    justify-content: center;   /* Centers the items on the page */
    gap: 40px;                 /* Adds space between each word */
    list-style: none;          /* Removes the bullet points */
    padding: 0;
    margin: 60px 0;            /* Adds breathing room top/bottom */
    padding-top: 5px;
}

/* Individual Items */
.nav-menu li {
    font-weight:600;         /* Makes text thick */
    color: #5c6c7f;            /* The grey-blue color from the image */
    cursor: pointer;           /* Shows hand icon on hover */
    font-size: 16px;
}

/* The "Active" or Orange Item */
.nav-menu li.active {
    color: #2A4088;            /* The specific orange color */
}

/* Optional: Hover effect for other items */
.nav-menu li:hover {
    color: #899cda;
    transition: 0.3s;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2A4088;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
}

.dropdown-parent {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    text-align: center;
    list-style: none;
    left: -60%;
    top: 100%;
    border-radius: 5%;
}
.dropdown-content li {
    color: #5c6c7f;
    padding: 8px 14px;
    text-decoration: none;
    display: block;
}

.dropdown-parent:hover .dropdown-content {
    display: block; /* Show the dropdown on hover and hide when not hovering */
}

/* waterfall layout for videos */ /*let me tell you, this took me a while to figure out*/
.content {
    column-count: 3;    /* Creates 3 columns like a newspaper */
    column-gap: 20px;   /* The space between the columns (left/right) */
    padding: 60px;
}

.video-container {
    break-inside: avoid;  /* what this does is aside from preventing breaks, it also helps keep the video and its caption together if you decide to add captions later */
    margin-bottom: 20px;  /* Adds space at the bottom of each video */
    background-color: transparent;
}

.video-container video {
    width: 100%;       /* Forces video to fit the column width */
    height: auto;      /* Keeps the correct shape */
    display: block;    /* Removes any extra space below the video */
    border-radius: 10px; /* Optional: Makes it look smoother */
}

.custom-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Perfect centering */ 
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    color: white;
    border: none;
    border-radius: 50%; /* Makes it a circle */
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10; /* Sits on top of video */
    /* Flexbox to center the triangle icon inside the circle */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px; /* Visual adjustment for the triangle */
}

.custom-play-btn:hover {
    background-color: #ff5722; /* Your orange brand color */
    transform: translate(-50%, -50%) scale(1.1); /* Slight grow effect */
}

.image-container {
    break-inside: avoid;
    margin-bottom: 20px;
    background-color: transparent;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.pdf-container {
    break-inside: avoid;
    margin-bottom: 20px;
    background-color: transparent;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #2A4088;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 100;
    transition: 0.3s;
}

.scroll-to-top:hover {
    background-color: #2A4088;
    transform: scale(1.1);
}

.scroll-to-top.show {
    display: block;
}

@media (min-width: 1600px) { /* Large screens */
    .content {
        column-count: 4;
    }
}

@media (min-width: 2200px) { /* Extra large screens */
    .content {
        column-count: 5;
    }
}

@media (max-width: 768px) { /* Tablets and smaller devices */
    h1 {
    font-size: 24px;
    color: #2A4088;
    justify-content: center;
    font-weight: bold;
    } /* Introduction Section */

    .nav-menu {
    display: none; /* Hide navigation menu on smaller screens */
    }

    .footer {
    background-color: #2A4088;
    padding: 60px 60px;
    text-align: center;
    margin-top: 40px;
    } /* Footer Section */

    .footer h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    padding: 10px 0px;
    } /* Footer h1 Section */

    .content {
        column-count: 1; /* On phones, switch to just 1 column */ 
    }
}

@media (max-width: 768px) { /* Tablets and smaller devices */
    h1 {
        font-size: 32px;
        color: #2A4088;
        justify-content: center;
        font-weight: bold;
    } /* Introduction Section */

    .hamburger {
        display: block;
        padding-top: 15px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        right: 0;
        flex-direction: column;
        background-color: #fefef4;
        width: 100%;
        text-align: center;
        gap: 20px;
        padding: 20px 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        margin: 0;
        padding-top: 20px;
        z-index: 100;
    } /* Hide navigation menu on smaller screens */

    .nav-menu.active {
        display: flex;
        animation: fadeInLeft 0.5s ease-in-out;
    }

    .nav-menu.closing {
        animation: fadeOutRight 0.5s ease-in-out;
    }

    @keyframes fadeInLeft {
        from {
            opacity: 0;
            transform: translateX(100%);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes fadeOutRight {
        from {
            opacity: 1;
            transform: translateX(0);
        }
        to {
            opacity: 0;
            transform: translateX(100%);
        }
    }

    .nav-menu li {
        font-size: 16px;
        padding: 10px 0;
    }

    .footer {
        background-color: #2A4088;
        padding: 60px 60px;
        text-align: center;
        margin-top: 40px;
    } /* Footer Section */

    .footer h1 {
        color: #ffffff;
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        display: inline-block;
        padding: 10px 0px;
    } /* Footer h1 Section */

    .content {
        column-count: 1; /* On phones, switch to just 1 column */ 
        padding: 0px 60px;
    }
}