.hero-section {
    position: relative;
    height: 50vh;
    background-image: url("../content/about.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      to bottom,
      var(--cobalt-blue-50),
      var(--cobalt-blue-50),
      var(--crimson-80)
    );
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
  }
  
  .hero-content h1 {
    color: var(--arctic);
    font-size: 4rem;
    margin: 0;
  }




  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--cobalt-blue);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: #555;
}

 /* Masonry Grid Layout */
 .masonry-container {
    column-count: 4; /* Adjust for responsiveness */
    column-gap: 15px;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    /* border-radius: 8px; */
    overflow: hidden;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
    /* border-radius: 8px; */
}
.masonry-item img:hover {
    transform: scale(1.05);
}


 /* Lightbox (Full-Screen Image) */
 .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    /* border-radius: 10px; */
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: var(--arctic);
    background: var(--crimson);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .masonry-container {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .masonry-container {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .masonry-container {
        column-count: 1;
    }
}
/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

}









/* Video Section Styles */
.video-section {
    padding: 60px 0;
    background: #f9f9f9;
  }
  
  .video-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  .video-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 40px;
  }
  
  .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
  }
  
  .video-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #000; /* Black background for video container */
  }
  
  .video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  .video-item video {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover; /* Ensures video covers the container without distortion */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .video-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
  }
  
  @media (max-width: 480px) {
    .video-grid {
      grid-template-columns: 1fr;
    }
  }