 /* Hero Section */
     #hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    height: 100vh; /* Ensure hero section takes full viewport height */
         background-color: transparent; /* Set to transparent */
   
}

        #background-slideshow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
           
        }

    #background-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out;
    background-color: transparent; /* Set to transparent */
}

        .slide {
            background-size: cover !important;
            background-position: center !important;
            display: block !important;
        }

        #background-slideshow .slide:not(.active) {
            opacity: 0; /* Hide all slides that do NOT have the active class */
        }

        #background-slideshow .slide.active {
            opacity: 1; /* Only the active slide is visible */
        }
    

        #hero .container {
    position: relative; /* Keep this for z-index and potential child positioning */
    z-index: 1;        /* Keep this to ensure text is above the background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Keep the text shadow */

    /* Adjust these properties to control the space */
    padding-top: 0;      /* Remove top padding */
    padding-bottom: 0;   /* Remove bottom padding */
    margin-top: 0;       /* Remove top margin */
    margin-bottom: 0;    /* Remove bottom margin */
    height: auto;        /* Allow height to be determined by content */
    width: auto;         /* Allow width to be determined by content */
    max-width: 100%;     /* Prevent it from becoming wider than its parent */

    /* Make the background transparent */
    background-color: transparent;
}

        /* In your css/portfolio.css or a global CSS file */
        #hero .btn-outline-light {
            border-width: 2px;
            color: white;
            font-size: 1.1rem; /* Slightly larger text */
            font-weight: 600; /* Semi-bold or bold text */
            padding: 0.75rem 1.5rem; /* Increase padding for a larger button */
        }

        #hero .btn-outline-light:hover {
            background-color: rgba(22, 199, 47, 0.3); /* Slightly more prominent hover */
            border-color: white;
            color: white;
        }

        /* Portfolio Section Styles */
        #twb-pathudi,
        #career-exhibition,
        #youth-committee {
            padding-top: 80px;
            padding-bottom: 80px;
        }

        #twb-pathudi h2,
        #career-exhibition h2,
        #youth-committee h2 {
            margin-bottom: 15px;
        }

        #twb-pathudi .lead,
        #career-exhibition .lead,
        #youth-committee .lead {
            margin-bottom: 20px;
             font-size: 1.5rem;
            font-style: italic, bold;
            color: #777;
        }

        #twb-pathudi .row,
        #career-exhibition .row,
        #youth-committee .row {
            align-items: center;
        }

        /* Interactive Image Wrapper */
        .portfolio-image-wrapper {
            position: relative;
            overflow: hidden;
            border-radius: 0.5rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        }

        .portfolio-image-wrapper img {
            display: block;
            width: 100%;
            height: auto;
            transition: transform 0.3s ease-in-out;
        }

        .portfolio-image-wrapper:hover img {
            transform: scale(1.05);
        }

        /* Image Overlay for Interaction */
        .portfolio-image-wrapper .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(22, 199, 47, 0.8); /* Green overlay */
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
            text-align: center;
            padding: 1rem;
        }

        .portfolio-image-wrapper:hover .image-overlay {
            opacity: 1;
        }

        .portfolio-image-wrapper .image-overlay h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .portfolio-image-wrapper .image-overlay p {
            font-size: 0.9rem;
            font-style: normal;
        }

        /* Style for Primary Buttons (using brand color) */
        .btn-primary,
        .btn-info,
        .btn-warning { /* Targeting all buttons you've used */
            background-color: #16c72f !important;
            border-color: #16c72f !important;
            color: white !important;
        }

        .btn-primary:hover,
        .btn-info:hover,
        .btn-warning:hover {
            background-color: #119425 !important; /* Darker shade on hover */
            border-color: #119425 !important;
        }

        .btn-outline-secondary {
            color: #16c72f;
            border-color: #16c72f;
        }

        .btn-outline-secondary:hover {
            background-color: #f0fff5; /* A very light green */
            border-color: #16c72f;
            color: #119425;
        }