/* ---------- Base Reset ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #222222;
    line-height: 1.6;
}

/* ---------- Branding Colors ---------- */
:root {
    --brand-orange: #ff7f00;
    --brand-orange-light: #ffb366;
    --brand-yellow: #FFDD57;
    --brand-teal: #3D9CA8;
    --light-gray: #F0F0F0;
    --dark-gray: #222222;
}

/* ---------- Layout Elements ---------- */
header,
footer {
    background-color: var(--light-gray);
    padding: 1rem 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav {
    background-color: #fff;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

nav a {
    color: var(--brand-orange);
    font-weight: bold;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

nav a:hover {
    background-color: var(--brand-orange-light);
    color: white;
}

a {
    color: var(--brand-teal);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ---------- Buttons ---------- */
.button {
    background-color: var(--brand-orange);
    border: none;
    padding: 1rem 2rem;
    /* slightly larger click zone */
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    /* more prominent text */
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 127, 0, 0.3);
    margin-top: 0.75rem;
    display: inline-block;
    animation: glowPulse 2s infinite;
    /* subtle pulsing effect */
}

.button:hover {
    background-color: var(--brand-orange-light);
    box-shadow: 0 4px 10px rgba(255, 127, 0, 0.5);
}



.button:hover {
    background-color: var(--brand-orange-light);
    box-shadow: 0 4px 10px rgba(255, 127, 0, 0.5);
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card ul li {
    margin-bottom: 0.75rem;
}

/* ---------- Card / Section Styling ---------- */
.card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.card h2 {
    color: var(--brand-orange);
    margin-bottom: 1rem;
}

.card img {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.card img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ---------- Inputs & Forms ---------- */
input[type="text"],
input[type="email"],
textarea,
select {
    background-color: #f9f9f9;
    color: #222;
    border: 1px solid #ccc;
    padding: 0.5rem;
    border-radius: 6px;
    width: 100%;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--brand-orange);
    outline: none;
    box-shadow: 0 0 5px rgba(255, 127, 0, 0.3);
}

/* ---------- Alerts / Highlights ---------- */
.alert {
    background-color: #fff5e6;
    border-left: 5px solid var(--brand-orange);
    padding: 1rem;
    margin: 1rem 0;
    color: #cc6600;
    font-weight: bold;
}

/* ---------- Animations ---------- */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 8px rgba(255, 127, 0, 0.1);
    }

    50% {
        box-shadow: 0 0 12px rgba(255, 127, 0, 0.3);
    }

    100% {
        box-shadow: 0 0 8px rgba(255, 127, 0, 0.1);
    }
}

.glow {
    animation: glowPulse 3s infinite;
}



/* ---------- Mobile Hamburger Nav ---------- */

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.navbar-brand {
    font-weight: bold;
    color: var(--brand-orange);
    font-size: 1.2rem;
}

.navbar-toggle {
    background: none;
    border: none;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    height: 3.5rem;
    /* ← Keep this one */
    border-radius: 6px;
    cursor: pointer;
    display: none;
    color: var(--brand-orange);
}


.navbar-links {
    display: flex;
    gap: 1rem;
}

.navbar-links a {
    color: var(--brand-orange);
    font-weight: bold;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.navbar-links a:hover {
    background-color: var(--brand-orange-light);
    color: white;
}

html {
    scroll-behavior: smooth;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .fluid_video_wrapper {
        max-width: 95%;
        height: auto;
    }

    @media (max-width: 768px) {
        .card .button {
            width: 90%;
            /* Wide button on mobile */
            font-size: 1.2rem;
            padding: 1rem;
        }
    }

    .navbar-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 1.0rem;
        color: orange;
        border: none;
        background: none;
        cursor: pointer;
    }

    .navbar-toggle span {
        margin-top: 0.2em;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .navbar-links.show {
        display: flex;
    }

    .navbar-links a {
        width: 100%;
        text-align: center;
    }

    .nav-label {
        font-size: 0.85rem;
        margin-left: 0.4em;
    }
}


.video-container {
    max-width: 720px;
    margin: 2rem auto;
    padding: 0;
    display: flex;
    justify-content: center;
}

/* FluidPlayer injects a wrapper around the video */
.video-container .fluid_video_wrapper {
    width: 100%;
    max-width: 720px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(180, 60, 255, 0.2);
    overflow: hidden;
}

.video-container .fluid_video_wrapper video {
    width: 100%;
    height: auto;
    border-radius: 16px;
}


/* Highlight hero CTA button more prominently */
.card .button {
    font-size: 1.1rem;
    /* Slightly bigger text */
    padding: 1rem 2rem;
    /* More click-friendly */
    margin-top: 0.75rem;
    animation: glowPulse 2s infinite;
    /* Reuse existing subtle pulse */
}




.project-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.video-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.2s ease;
    overflow: hidden;
}

.video-card:hover {
    transform: translateY(-3px);
}

.video-card img {
    width: 100%;
    max-width: 800px;
    /* prevents giant previews */
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.video-card h2 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    color: var(--brand-orange);
}

.video-card p {
    font-size: 0.95rem;
    color: #555;
    padding: 0 0.75rem 1rem;
}

.project-card:hover {
    transform: translateY(-3px);
}

.project-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.project-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.topic-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}