html,
body {
  height: 100%;
  margin: 0;
}

body{
  /* font-family: 'Roboto', sans-serif; */
  font-family: "Open Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1.2rem;
  color: #F9FAFBFF;
  font-weight: 400;
  line-height: 1.6;  
  background: #1A1A1A;
  display: flex;
  flex-direction: column;
}

section {
  flex: 1;
}

/* Sub Hero Section Styles */
.subhero {
  background-image: url("images/subhero.png");
  background-size: cover;
  background-position: center;
  height: 200px;
  /* Adjust this height to make the hero smaller */
  display: flex;
  align-items: center;
  justify-content: center;
}

.subhero h1 {
  font-size: 2.5rem;  
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);  
}

.subhero p {
  font-size: 1.5rem; 
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);  
}

/* Sub Hero Section Styles */
.hero {
  position: relative;
  text-align: center;
  color: #F9FAFBFF;  
}

.hero img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);  
  padding: 15px;
  max-width: 95%;
}

.hero-text h2 {
  font-size: 2.6rem;  
  font-weight: bold;  
  min-width: 70%;
}

.hero-text p {
  font-size: 1.5rem;  
  font-weight: 900;  
}

/* Media queries for smaller screens */
@media (max-width: 768px) {
  .hero-text {
    max-width: 95%;
    min-width: 500px;
    padding: 15px;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-text {
    max-width: 95%;
    min-width: 350px;
    padding: 10px;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1.3rem;
  }
}

/* Styling for social media icons in footer */
.social-icons a {
  color: #F9FAFBFF;
  font-size: 1.5rem;
  margin: 0 10px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #ddd;
}

.featured-events .card {
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensures uniform height */
}

.featured-events .card-img-top {
  width: 100%;
  height: 60%; /* Set a fixed height for images */
  object-fit: cover; /* Ensures images are cropped properly */
}

.featured-events .card-body {
  flex-grow:1; /* Expands to fill remaining space */
  display: flex;
  flex-direction: column;
  justify-content:space-between;
}


.contact-info {
  border: 1px solid #4E4C4BFF;
  padding: 40px;
  border-radius: 15px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

/* Optional: Add responsiveness */
@media (max-width: 768px) {
  .subhero h1 {
    font-size: 2rem;
  }

  .subhero p {
    font-size: 1rem;
  }
}

.pagination .page-item.active .page-link {
  background-color: #007bff !important;
  /* Blue background for active page */
  color: white !important;
  /* White text */
  border-color: #007bff !important;
}

.pagination .page-item .page-link {
  color: #007bff;
  /* Default page link color */
}

.pagination .page-item .page-link:hover {
  background-color: #0056b3;
  /* Darker blue on hover */
  color: white;
}

@media (max-width: 768px) {
  .table-container table {
    display: block;
    width: 100%;
  }

  .table-container thead {
    display: none;
    /* Hide headers on small screens */
  }

  .table-container tbody,
  .table-container tr,
  .table-container td {
    display: block;
    width: 100%;
  }

  .table-container tr {
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
  }

  .table-container td {
    text-align: left;
    padding: 10px;
    position: relative;
  }

  .table-container td::before {
    content: attr(data-label);
    /* Use data attributes as labels */
    font-weight: bold;
    display: block;
    color: #333;
  }
}


/* Highlight the active nav link */
.navbar-nav .nav-link.active {
  font-weight: 700; /* Make it bold */
  color: #f8d210 !important; /* Change text color */
  border-bottom: 2px solid #f8d210; /* Add an underline */
}

.navbar-brand img {
  height: 50px; /* Adjust as needed */
  width: auto;
}

.media-partner {
  text-align: center;
  margin-bottom: 20px;
}

.media-partner h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.media-partner-img {
  width: 150px;  /* Adjust size as needed */
  height: 150px;
  border-radius: 50%; /* Makes the image circular */
  object-fit: cover; /* Ensures the image fills the circular space */
  border: 3px solid #ffc107; /* Optional: Adds a border with a warning color */
}



.event-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Flexbox for Large Screens */
.event-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gallery {
  position: relative;
  flex: 1;
  /* Takes available space */
  
  display: flex;
  justify-content: center;
}

.event-image {
  width: 100%;
  height: 100%;
 object-fit: cover;
  border-radius: 10px;
}

.event-details {
  flex: 1;
  /* Takes available space */
  
  text-align: left;
}

.event-details p {
  margin-bottom: 10px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.event-description {
  margin-top: 20px;
  text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .event-header {
    flex-direction: column;
    align-items: flex-start;
    /* Aligns everything to the left */
    text-align: left;
    /* Ensures text stays left-aligned */
  }

  .event-details {
    max-width: 100%;
    margin-top: 20px;
    text-align: left;
    /* Keeps text left-aligned */
  }
}


.enventdetail-video-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  gap: 15px;
  width: 100%;
}

.video-wrapper {
  width: 100%;
  max-width: 500px;
}

.video-wrapper iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; 
}


.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  margin-bottom: 15px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
