  /* Number styling */
  .card-number {
    position: absolute;
    top: 50%;
    left:88%;
    bottom: 55%;
    transform: translate(-50%, -50%);
    font-size: 50px; /* Large Size */
    font-weight: bold;
    color: rgba(0, 0, 0, 0.093); /* 40% Transparency */
    z-index: 0; /* Place in background */
}

/* Ensure col-8 is positioned relative for absolute positioning */
.col-8 {
    position: relative;
    z-index: 1; /* Keep content above */
}

/* Card hover effect */
.card:hover .card-body {
    background-color: #FFFCF4; /* Background color change on hover */
    transition: 0.3s ease-in-out;
}




  /* Instagram Card Styling */
  .instagram-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px; /* Rounded edges */
    transition: transform 0.3s ease-in-out;
}

.instagram-card:hover {
    transform: scale(1.05); /* Slight zoom effect */
}

.instagram-card .image {
    position: relative;
}

.instagram-card img {
    width: 100%;
    display: block;
    border-radius: 15px; /* Rounded edges */
}

/* Hover Overlay */
.instagram-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    transition: height 0.3s ease-in-out;
    border-radius: 15px;
}

.instagram-card:hover .overlay {
    height: 100%;
}

/* Text Styling on Hover */
.instagram-card .text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.instagram-card:hover .text {
    opacity: 1;
}

.instagram-card .text span {
    font-size: 14px;
    color: #ffb600; /* Charity text color */
}

.instagram-card .text h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0 0;
}

/* Plus Icon on Hover */
.instagram-card .popup-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #3E4095;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.instagram-card .popup-icon i {
    color: white;
    font-size: 24px;
}

.instagram-card:hover .popup-icon {
    opacity: 1;
}

  /* Custom Container for news */
  .custom-news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 15px;
}



/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #fafbfc;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.gallery-header {
  background: #1a2332;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: #d4af37;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #e8eaed;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #d4af37;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #d4af37;
}

/* Gallery Section */
.gallery-section {
  padding: 4rem 0 6rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  display: inline-block;
  color: #d4af37;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a2332;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* Enhanced Mosaic Grid with Pinterest-style masonry layout */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 200px;
  gap: 20px;
  margin-bottom: 3rem;
}

/* Updated mosaic items with varying sizes for masonry effect */
.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  grid-row: span 1;
}

/* Added specific size classes for dynamic masonry layout */
.mosaic-item-large {
  grid-row: span 2;
  grid-column: span 2;
}

.mosaic-item-tall {
  grid-row: span 2;
}

.mosaic-item-wide {
  grid-column: span 2;
}

.mosaic-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mosaic-item:hover img {
  transform: scale(1.1);
}

/* Enhanced overlay with sophisticated gradient and content positioning */
.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.1) 0%, rgba(26, 35, 50, 0.4) 50%, rgba(26, 35, 50, 0.85) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 16px;
}

.mosaic-item:hover .mosaic-overlay {
  opacity: 1;
}

/* New content structure with text and icon positioning */
.mosaic-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  z-index: 2;
}

.mosaic-text {
  align-self: flex-end;
  color: white;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}

.mosaic-item:hover .mosaic-text {
  transform: translateY(0);
  opacity: 1;
}

.mosaic-text h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  color: white;
}

.event-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Floating plus icon with elegant styling */
.mosaic-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.mosaic-icon i {
  color: white;
  font-size: 1.2rem;
}

.mosaic-item:hover .mosaic-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Load More Section */
.load-more-section {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.load-more-btn i {
  transition: transform 0.3s ease;
}

.load-more-btn:hover i {
  transform: translateY(2px);
}

/* Floating WhatsApp Button */
.floating {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 100;
  cursor: pointer;
  transition: all 0.3s ease;
}

.floating:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.float-button {
  margin-top: 15px;
}

/* Enhanced responsive design for better mobile experience */
@media (max-width: 1200px) {
  .mosaic-item-large {
    grid-column: span 1;
    grid-row: span 2;
  }

  .mosaic-item-wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .mosaic-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }

  .mosaic-item-large,
  .mosaic-item-tall,
  .mosaic-item-wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .mosaic-content {
    padding: 1rem;
  }

  .floating {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .float-button {
    margin-top: 13px;
  }
}

@media (max-width: 480px) {
  .mosaic-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mosaic-item {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.nav-link:focus,
.load-more-btn:focus,
.floating:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

.mosaic-item:focus-within {
  outline: 2px solid #d4af37;
  outline-offset: 4px;
}

.floating{
    position:fixed;
    width:60px;
    height:60px;
    bottom:30px;
    left:25px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
        font-size:30px;
    box-shadow: 2px 2px 3px #999;
    z-index:100;
  }

  .float-button{
    margin-top:16px;
  }