
    
    /* ============================
       Header Styling
    ============================= */
    header {
      background-color: #16324a;           /* Dark blue background */
      color: white;                        /* White text */
      padding: 20px;                       /* Space inside header */
      text-align: center;                  /* Centered text */
    }
    
    /* ============================
       Gallery Section Styling
    ============================= */
    .gallery {
      padding: 20px;                       /* Space inside gallery section */
                  /* White background */
      margin: 20px auto;                   /* Space around and center horizontally */
      border-radius: 8px;                  /* Rounded corners */
      max-width: 1000px;                   /* Limits width on large screens */
      text-align: center;                  /* Centered text */
    }
    
    .gallery h2 {
      color: #1e3d59;                      /* Dark blue heading */
      margin-bottom: 20px;                /* Space below heading */
    }
    
    /* ============================
       Image Grid Layout
    ============================= */
    .image-grid {
      display: flex;                       /* Enables Flexbox layout */
      flex-wrap: wrap;                    /* Allows wrapping to next line */
      gap: 20px;                           /* Space between images */
      justify-content: center;            /* Center the image blocks */
    }
    
    /* ============================
       Individual Image Block
    ============================= */
    .image-grid figure {
      width: 250px;                        /* Fixed width for each image block */
      margin: 0;                           /* Removes default margin */
      overflow: hidden;                    /* Prevents image overflow */
    }
    
    /* ============================
       Image Styling
    ============================= */
    .image-grid img {
      width: 100%;                         /* Makes image fill its container */
      height: auto;                        /* Maintains aspect ratio */
      object-fit: cover;                   /* Crops image to fill space cleanly */
      object-position: center;            /* Centers the image focus */
      border-radius: 10px;                 /* Rounded corners */
      box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Soft shadow for depth */
      transition: transform 0.3s ease;     /* Smooth zoom effect on hover */
    }
    
    /* ============================
       Hover Effect
    ============================= */
    .image-grid img:hover {
      transform: scale(1.05);             /* Slight zoom when hovered */
    }
    
    /* ============================
       Caption Styling
    ============================= */
    .image-grid figcaption {
       margin-top: 8px;                    /*Space above caption */
    }
    
    
    /* ============================
       Navigation Styling
    ============================= */
    nav ul {
      list-style: none;
      padding: 0;
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-top: 10px;
    }
    
    nav a {
      color: white;
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease;
    }
    
    nav a:hover {
      color: #ffd700;
    }
    
    /* ============================
       Mobile Menu Toggle Button
    ============================= */
    .menu-toggle {
      display: none;
      background-color: #1e3d59;
      color: white;
      font-size: 24px;
      border: none;
      padding: 10px;
      cursor: pointer;
    }
    
    /* ============================
       Responsive Navigation
    ============================= */
    @media (max-width: 768px) {
      nav ul {
        flex-direction: column;
        display: flex; /* Hidden by default on mobile */
        background-color: #1e3d59;
        padding: 10px;
        border-radius: 8px;
      }
    
      nav ul.show {
        display: flex; /* Show when toggled */
      }
    
      .menu-toggle {
        display: block; /* Show toggle button on mobile */
        margin: 10px auto;
      }
    }
    
    /* ============================
       Lightbox Styling
    ============================= */
    .lightbox {
      display: none;                      /* Hidden by default */
      position: fixed;                    /* Fixed position on screen */
      top: 0;
      left: 0;
      width: 100vw;                       /* Full viewport width */
      height: 100vh;                      /* Full viewport height */
      background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
      justify-content: center;           /* Center image horizontally */
      align-items: center;               /* Center image vertically */
      z-index: 9999;                      /* On top of everything */
    }
    
    .lightbox img {
      max-width: 90%;                     /* Responsive image size */
      max-height: 80vh;                   /* Prevents overflow */
      border-radius: 10px;                /* Rounded corners */
      box-shadow: 0 0 20px rgba(255,255,255,0.3); /* Soft glow */
      cursor: pointer;                    /* Indicates click to close */
    }
    
    
    
    
    
    
    /* Background slider container */
    .background-slider {
      position: fixed; /* Stays behind everything */
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1; /* Pushes it behind the content */
      overflow: hidden;
    }
    
    /* Each slide */
    .background-slider .slide {
      position: absolute;
      width: 100%;
      height: 100%;
      background-size: cover; /* Ensures full coverage */
      background-position: center;
      opacity: 0;
      animation: slideFade 15s infinite;
    }
    
    /* Fade animation for each slide */
    .background-slider .slide:nth-child(1) {
      animation-delay: 0s;
    }
    .background-slider .slide:nth-child(2) {
      animation-delay: 5s;
    }
    .background-slider .slide:nth-child(3) {
      animation-delay: 10s;
    }
    
    /* Keyframes for fading effect */
    @keyframes slideFade {
      0% { opacity: 0; }
      10% { opacity: 1; }
      30% { opacity: 1; }
      40% { opacity: 0; }
      100% { opacity: 0; }
    }