/* custom_styles.css */

/* Global Resets & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif; /* Main font set here */
    line-height: 1.6;
    color: #f5b500; /* Main text color for contrast - be mindful of Tailwind text-gray-200 */
    /* REMOVED: overflow-x: hidden; (as discussed, this was likely causing dropdown issues) */
    background-color: #222; /* Dark background for the overall page */
}

a {
    color: #f5b500;
    text-decoration: none;
}

h1, h2, h3 {
    font-weight: 700;
    color: #f5b500;
}

p {
    font-weight: 300;
    color: #f5b500;
}

/* Navigation Bar */
nav {
    position: fixed;
    width: 100%;
    background: rgba(17, 17, 17, 0.8); /* Darker and more transparent */
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: saturate(180%) blur(10px); /* Kept for frosted effect */
}

    nav img {
        height: 40px;
        max-width: 160px;
        object-fit: contain;
    }

    nav ul {
        list-style: none;
        display: flex;
        gap: 20px;
        /* Default for desktop */
    }

        nav ul li a {
            padding: 10px 15px;
            border-radius: 5px;
            transition: background 0.3s;
            font-weight: 600;
            color: #f5b500; /* Changed text color to yellow for better contrast */
        }

            nav ul li a:hover {
                background: #444;
                color: #f5b500;
            }

/* Hamburger menu button */
.menu-button {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Above nav links when open */
}

    .menu-button svg {
        fill: #f5b500; /* Yellow color for the icon */
        width: 30px;
        height: 30px;
    }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f5b500;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
    /* Original background image path */
    background-image: url("495169740_122100239480857556_953647874393082750_n.jpg");
    background-size: cover;
    background-position: center;
}

    .hero h2 {
        font-size: 48px;
        margin-bottom: 20px;
        max-width: 900px;
        line-height: 1.1;
        position: relative;
        z-index: 2; /* Ensure text is above any potential video overlay */
        text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
    }

/* Call to Action Button */
.cta-button {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 2000;
    background-color: #444;
    color: #f5b500;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 0 10px rgba(245, 181, 0, 0.7);
    border: none;
    cursor: pointer;
    user-select: none;
    text-align: center;
}

    .cta-button:hover {
        background-color: #111;
        color: #f5b500;
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(245, 181, 0, 0.9);
    }

/* Section Styling (About, Vision, Services, Objectives, Portfolio, Team) */
section {
    padding: 80px 20px;
    text-align: center;
    background: rgba(38, 38, 38, 0.85); /* Dark semi-transparent background */
    max-width: 1200px;
    margin: 0 auto 60px auto; /* Centered with bottom margin */
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

    section h2 {
        font-size: 36px;
        margin-bottom: 20px;
        position: relative;
        font-weight: 700;
    }

        section h2::after {
            content: "";
            display: block;
            margin: 10px auto;
            width: 80px;
            height: 4px;
            background-color: #f5b500; /* Accent color underline */
            border-radius: 2px;
        }

    section p {
        max-width: 800px;
        margin: 0 auto;
        font-size: 18px;
    }

/* Vision & Mission Specific */
.vision-mission {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

    .vision-mission > div {
        max-width: 450px;
        background: #333;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
        transition: transform 0.3s, box-shadow 0.3s;
    }

        .vision-mission > div:hover {
            transform: translateY(-10px);
            box-shadow: 0 14px 25px rgba(245, 181, 0, 0.8);
        }

    .vision-mission h3 {
        margin-bottom: 15px;
    }

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 700px; /* Constrain width for better layout */
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: #333;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #f5b500;
    cursor: default;
    display: flex;
    flex-direction: column;
    justify-content: center;
    user-select: none;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 14px 25px rgba(245, 181, 0, 0.8);
    }

    .card h3 {
        margin-bottom: 15px;
        color: #f5b500;
        font-size: 1.6rem;
        font-weight: 700;
    }

/* Objectives List */
#objectives ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#objectives li {
    background: #333;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    color: #f5b500;
    font-size: 1.2rem;
    font-weight: 500;
    user-select: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

    #objectives li:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(245, 181, 0, 0.8);
    }

/* Portfolio Gallery */
#portfolio .portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
    margin-top: 40px; /* Add margin to separate from h2 */
}

    #portfolio .portfolio-gallery div {
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background: #333; /* Match card background */
        transition: transform 0.3s, box-shadow 0.3s;
    }

        #portfolio .portfolio-gallery div:hover {
            transform: translateY(-10px);
            box-shadow: 0 14px 25px rgba(245, 181, 0, 0.8);
        }

    #portfolio .portfolio-gallery img,
    #portfolio .portfolio-gallery video {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
    }

/* Team Profiles */
.team-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

    .team-profiles > div {
        background: #333;
        padding: 30px 20px;
        border-radius: 15px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        text-align: center;
        color: #f5b500;
        user-select: none;
        cursor: default;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: transform 0.3s, box-shadow 0.3s;
    }

        .team-profiles > div:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(245, 181, 0, 0.8);
        }

    .team-profiles img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 15px;
        box-shadow: 0 0 15px rgba(245, 181, 0, 0.8);
    }

    .team-profiles h3 {
        color: #f5b500;
        margin-bottom: 8px;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .team-profiles p {
        font-weight: 400;
        font-size: 1.1rem;
        max-width: 250px;
    }

/* Footer */
footer {
    background: #111;
    color: #f5b500;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    font-size: 0.9rem;
    user-select: none;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking on small screens */
    align-items: center;
    gap: 20px; /* Space between elements */
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

    .social-icons img {
        width: 40px;
        height: auto;
        cursor: pointer;
        transition: transform 0.3s;
    }

        .social-icons img:hover {
            transform: scale(1.1);
        }

/* Back to Top Button in Footer */
.back-to-top-button {
    background-color: #f5b500;
    color: #222;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 0 8px rgba(245, 181, 0, 0.7);
    border: none;
    cursor: pointer;
    user-select: none;
    text-align: center;
    display: inline-block; /* Allows padding and margin */
    margin-top: 10px; /* Space from other footer content */
}

    .back-to-top-button:hover {
        background-color: #e0a800;
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(245, 181, 0, 0.9);
    }

/* Custom styles for date/time picker indicators */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    /* Invert for dark theme, then apply a yellow tint */
    filter: invert(1) hue-rotate(200deg) saturate(5) brightness(1.5);
    cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 36px;
    }
    /* Hide regular nav links on mobile */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Below the logo */
        left: 0;
        width: 100%;
        background: rgba(17, 17, 17, 0.95); /* Darker background for open menu */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        padding: 1rem 0;
        gap: 5px;
        align-items: center;
        animation: slideDown 0.3s ease-out forwards; /* Smooth animation */
    }

        /* Show nav links when menu is open */
        nav ul.nav-open {
            display: flex;
        }

    /* Show menu button on mobile */
    .menu-button {
        display: block;
    }

    nav {
        flex-direction: row; /* Keep logo and menu button in a row */
        justify-content: space-between; /* Space them out */
        padding: 0.75rem 1rem; /* Adjust padding for mobile nav */
    }

        nav img {
            margin-bottom: 0; /* Remove margin */
        }

    section {
        padding: 50px 15px;
    }

    .service-cards, #objectives ul, .team-profiles {
        grid-template-columns: 1fr;
    }

        .team-profiles > div {
            max-width: 320px;
            margin: 0 auto;
        }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
        right: 15px;
        bottom: 15px;
    }
    /* Footer specific adjustments for mobile */
    footer {
        padding: 20px 15px;
        gap: 15px; /* Reduce gap on smaller screens */
    }

    .social-icons {
        flex-direction: row; /* Keep social icons in a row, but wrap if needed */
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* Animation for dropdown menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

</style >
