  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #210cae;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.navbar-left a {
  margin: 0 15px;
  text-decoration: none;
  color:white;
  font-weight: bold;
  font-size: 1.25rem;
}

.logo {
  width: 100px;
}
.email-button {
  padding: 10px 15px;
  background-color: white;
  color: #210cae;
  border: none;
  border-radius: 5px;
  text-decoration: none;
}

.email-button:hover {
  background-color: #210cae;
  color: white;
}

.search-bar {
  padding: 0.5rem;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #210cae;
  width: 200px;
  outline: none;
  margin: 0 1rem;
}
/* Ticker tape */
.ticker-tape {
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: 1.5rem;
  padding: 1rem 0;
  background-color: #210cae;
  color: white;
  overflow: hidden;
  white-space: nowrap;
  z-index: 1000;
}

.ticker-tape .ticker-content {
  display: inline-block;
  padding-left: 100%; /* Initial offset */
  animation: ticker 10s linear infinite;
  position: relative;
}

.ticker-tape .ticker-content::after {
  content: attr(data-text); /* Repeats the ticker text */
  padding-left: 20px; /* Reduced space between original and repeated content */
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Button Group Styles */
.button-group {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.button-group button {
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 16px;
  cursor: pointer;
  background-color: #210cae;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button-group button:hover {
  background-color: white;
  color: #210cae;
}

/* Section Styles */
.gallery-section {
  display: none;
}

.gallery-section.active {
  display: block;
}

/* Hide gallery items that don't match search query */
.hidden {
  display: none;
}

/* Section Styles */

/* Gallery Grid Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.gallery-item {
  margin-bottom: 15px;
  overflow: hidden;
  position: relative;
  }

.gallery-item img {
  width: 100%;
  transition: transform 0.3s ease;

}

.gallery-item:hover img {
  transform: scale(1.05);
}


.search-bar {
  padding: 0.5rem;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #210cae;
  width: 200px;
  outline: none;
  color: #210cae;
  transition: width 0.3s ease;
}

.footer {
  background-color: #210cae;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  width: 150px;
}

.footer-nav ul {
  list-style-type: none;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-info p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.subscribe-btn {
  background-color: white;
  color: #210cae;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.subscribe-btn:hover {
  background-color: #210cae;
  color: white;
}

/* Footer Bottom */
.footer-bottom {
  background-color: #210cae;
  padding: 10px 0;
  color: #bbb;
  margin-top: 30px;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}




/* Responsive Design */
@media (max-width: 1200px) {
  .gallery {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .navbar-left a {
    display: none;
  }
  .navbar .logo{
    width: 50px;
  }
  .navbar{
    background: #210cae;
  }

  .navbar-right {
    display: flex;
    justify-content: flex-end;
  }
  .navbar-right a{
    display: none;
  }

  .hamburger {
    display: block;
    background: none;
    color: white;
  }

  #menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    text-align: center;
    flex-direction: column;
  }

  #menu a {
    display: block;
    padding: 10px;
    margin: 0;
    color: white;
    font-size: 14px;
    background-color: #210cae;
  }

  #menu a:hover {
    background-color: #ff7f50;
    color: white;
  }
  .button-group {
    display: flex;
    width: 100%;
  }

  .button-group button {
    padding: 5px 10px;
    margin: 0 10px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #210cae;
    color: white;
    border-radius: 0.25rem;
  }

  .gallery {
    margin: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-content > div {
    margin-bottom: 20px;
  }
  


@media (max-width: 480px) {
  .gallery {
    column-count: 2;
  }

  /* Adjust search bar width */
  .search-bar {
    width: 100%; /* Full width search bar */
    font-size: 14px; /* Slightly smaller font for mobile */
    padding: 6px;
  }
  .button-group {
    display: flex;
    width: 100%;
  }

  .button-group button {
    margin: 0 0.25rem;
    font-size: 0.75rem;
    cursor: pointer;
    background-color: #210cae;
    color: white;
    border-radius: 0.25rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-icons {
    margin-top: 10px;
    gap: 10px;
  }

  /* Gallery item adjustments for small screens */

}
