/* Basic Reset and Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f8fb;
    color: #333;
}

/* --- 1. Navbar Styling with Image Logo --- */
header {
    background-color: #1a435c; /* Dark Teal-Blue */
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; 
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.logo-image {
    height: 70px; /* Fixed height for the logo image */
    width: auto;
    vertical-align: middle;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin-left: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: #2c658d;
}

.hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    display: none; /* Hidden on desktop */
}

/* --- Content Sections --- */
.body-content {
            position: relative;
            z-index: 1; /* Puts content above the background image */
        }

.background-image-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('assets/images/slider-1.jpg') no-repeat center center/cover;
            opacity: 0.3;
            z-index: -1;
        }
.content-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.content-section2 {
    padding: 10px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery Title Span Styling */
.gallery-title-span {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.gallery-title-span h2 {
    color: #1a435c;
    font-size: 2.5em;
    margin-bottom: 5px;
}

.gallery-title-span p {
    color: #666;
    font-style: italic;
}

/* --- 2. Gallery Styling with Zoom Out Effect and Clickable Span --- */
.gallery-section {
            padding: 40px 0;
            text-align: center;
        }

        .gallery-title {
            font-size: 2.5em;
            margin-bottom: 40px;
            color: #333;
            position: relative;
            z-index: 10;
        }

.gallery-container {
    /* Responsive Grid Layout */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden; /* Clips the initially zoomed image */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

.gallery-item a {
    display: block; /* Makes the entire item clickable */
    text-decoration: none;
    color: inherit;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover; 
    display: block;
    
    /* INITIAL ZOOMED IN STATE (for the 'zoom out' effect on hover) */
    transform: scale(1.15); 
    transition: transform 0.5s ease; /* Smooth transition */
}

.gallery-item:hover img {
    /* ON HOVER: ZOOM OUT to original size */
    transform: scale(1.0);
}

.item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    /* Optional: Slide up effect */
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .item-title {
    transform: translateY(0);
}

/* --- Fullscreen Overlay for Zoom Effect --- */
        .fullscreen-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.9);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .fullscreen-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .fullscreen-overlay img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
        }

        .close-button {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            cursor: pointer;
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
        }

        /* --- Footer Styling --- */
  

/* --- 3. Responsive Video Styling --- */
.video-header {
    text-align: center;
    margin-bottom: 20px;
}

.video-header h2 {
    font-size: 2.2em;
}

.video-wrapper {
    /* Maintains the 16:9 aspect ratio */
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- 4. Footer Styling --- */
footer {
    background-color: #2c3e50; 
    color: white;
    padding: 30px 5%;
    text-align: center;
    margin-top: 50px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: white;
    font-size: 1.8em;
    margin: 0 12px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4dc2ff; 
}

/* --- Media Query for Mobile (Responsiveness) --- */
@media (max-width: 768px) {
    
    /* Navbar transition to mobile view */
    .navbar {
        display: none; 
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 65px; 
        left: 0;
        background-color: #1a435c;
    }

    .navbar a {
        padding: 15px 20px;
        text-align: center;
        margin: 0;
        border-bottom: 1px solid #2c658d;
    }

    /* Show the hamburger icon */
    .hamburger {
        display: block; 
    }

    /* JavaScript toggles this class to show the menu */
    .navbar.active {
        display: flex;
    }
}

	.main .content-section .container {
		display: flex;
	}