body {
  color: #797979;
  background: #f1f2f7;
  font-family: 'Open Sans', sans-serif;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 13px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
}


      
      


/* Container for news and events */
.containernewsandevents {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 0;
  overflow: hidden;
}

.news-card {
  border: 1px solid #ddd;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 300px;
  margin: 10px auto 20px;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.news-card .card-body {
  padding: 20px;
}

.news-card .card-title {
  font-size: 15px;
  margin-bottom: 15px;
  color: #333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: bold;
}

.news-card .card-text {
  font-size: 15px;
  line-height: 1.5;
  color: black;
}

.news-card .card-footer {
  background-color: maroon;
  padding: 15px 20px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: black;
}

.text-muted {
  color: white;
}

.explore-more {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.explore-btn {
  padding: 10px 20px;
  background-color: maroon;
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
}

@media (max-width: 767px) {
  .containernewsandevents {
      padding: 10px 0;
  }

  .news-card {
      margin-bottom: 30px;
  }
}


/* Style for MISSION, VISION AND MAP */
.containermission {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  background-image: url('../images/bannerswu.png'); /* Replace 'path/to/your/background.jpg' with the actual path to your background image */
  background-size: cover; /* This ensures the background image covers the entire container */
  background: linear-gradient(rgba(97, 3, 4, 0.7), rgba(66, 6, 9, 0.7)), url('../images/bannerswu.png') center/cover no-repeat;
  position: relative;
  margin-bottom: 30px;
}

.left-section,
.right-section {
  flex-basis: 100%;
    margin-bottom: 20px;
}

/* Adjustments for smaller screens */
@media screen and (min-width: 768px) {
  .left-section,
  .right-section {
      flex-basis: calc(50% - 10px); /* Adjust the width of each section as needed */
  }

  #myVideo {
      height: 500px; /* Default height of the video on desktop */
      object-fit: cover; /* Crop the video to fit the container */
  }
}

@media screen and (max-width: 767px) {
  #myVideo {
      height: auto; /* Set height to auto for mobile screens */
      width: 100%; /* Set width to 100% for mobile screens */
  }
}

.map-container {
  position: relative;
  border-radius: 30px; /* Add border radius to match map */
  overflow: hidden; /* Ensure the search bar doesn't overflow outside the map */
}

#map {
  width: 100%; /* Set width to 100% for responsiveness */
  height: 500px; /* Adjust the height as needed */
  border-radius: 30px;
  margin-top: 5px;
  position: relative; /* Add this line */
  z-index: 0; /* Add this line */
}

.search-bar {
  position: absolute;
  top: 7%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; /* Adjust the width of the search bar relative to the map */
  max-width: 300px; /* Set a maximum width for the search bar */
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  z-index: 1; /* Ensure search bar appears above the map */
}

/* Set video width to 100% */
#myVideo {
  width: 99%;
  margin-top: 5px;
  border-radius: 30px;
}

/* Hide video controls */
video::-webkit-media-controls {
  display:none !important;
}

video::-webkit-media-controls-enclosure {
  display:none !important;
}

video::-webkit-media-controls-panel {
  display:none !important;
}

video::-webkit-media-controls-play-button {
  display:none !important;
}

video::-webkit-media-controls-start-playback-button {
  display:none !important;
}

video::-webkit-media-controls-mute-button {
  display:none !important;
}

video::-webkit-media-controls-volume-slider {
  display:none !important;
}

video::-webkit-media-controls-volume-slider-container {
  display:none !important;
}

video::-webkit-media-controls-timeline {
  display:none !important;
}

video::-webkit-media-controls-current-time-display {
  display:none !important;
}

video::-webkit-media-controls-time-remaining-display {
  display:none !important;
}

video::-webkit-media-controls-overflow-button {
  display:none !important;
}

video::-webkit-media-controls-fullscreen-button {
  display:none !important;
}



.container-smart {
  position: relative;
  width: 100%;
  height: 60px; /* Adjust the height as needed */
  margin-top: 5px;
  margin-bottom: 20px;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-family: "Idealist Sans", sans-serif;
}

.text-overlay h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: bold; /* Make the text bold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add text shadow */
}

.text-overlay p {
  font-size: 1.2em;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .text-overlay h2 {
    font-size: 2em;
  }

  .text-overlay p {
    font-size: 1em;
  }
}

@media (max-width: 576px) {
  .text-overlay h2 {
    font-size: 1.5em;
  }

  .text-overlay p {
    font-size: 0.9em;
  }
}




/* Class to trigger the fade in */
.fade-in {
opacity: 1 !important;
}







/* Style for the dropdown menu items */
.dropdown-menu>li>a {
  color: #333;
padding: 8px 20px; /* Add padding to the dropdown menu items */
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
  background-color: #f5f5f5;
  color: #333;
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
  background-color: #007bff;
  color: #fff;
}

/* Navigation bar styles */
.navbar-default {
background-color: #f8f9fa;
border-color: #e7ebee;
padding: 20px 0;
border-radius: 0;
margin-bottom: 0;
  
}

.navbar-default .navbar-toggle {
border-color: #ddd;
}

.navbar-default .navbar-toggle .icon-bar {
background-color: #333;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
background-color: #ddd;
}

.navbar-default .navbar-brand {
padding: 0; /* Remove padding */
}

.navbar-default .navbar-brand img {
height: 150px;
width: auto;
margin-top: -50px;
margin-right: 10px; /* Adjust the margin to move the logo to the left */
}

.navbar-default .navbar-nav>li>a {
color: #333;
padding: 15px 20px;
font-weight: bold;
}


.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li.active>a {
color: white;
background-color: maroon;
}

.navbar-default .navbar-nav>li>.dropdown-menu {
background-color: #f8f9fa;
border: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
color: #333;
padding: 10px 20px;
font-weight: normal;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a:hover {
background-color: maroon;
color: white;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li.active>a {
background-color: maroon;
color: white;
}

.profile-picture {
width: 30px;
height: 30px;
border-radius: 50%;
object-fit: cover;
max-width: 100%;
max-height: 100%;
}





.mission-section,
.vision-section {
  background-color: rgba(255, 255, 255, 0.886);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
  border-radius: 30px;
  width: 650px;
}

.mission-section h2,
.vision-section h2 {
  margin-bottom: 10px;
  color: black;
  font-weight: bold; /* Make the text bold */
  text-align: center; /* Center the text */
}

.mission-description,
.vision-description {
  font-size: 16px;
  color: black;
  text-align: justify; /* Justify the text */
  /* Add any other styles you want */
}





.custom-marker {
  background-color: maroon;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 30px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative;
}
.marker-count {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Custom Modal Styling */
.modal-content {
background-color: #f8f9fa; /* Light background */
border-radius: 10px; /* Rounded corners */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
border: none; /* Remove default border */
margin-top: 150px;
}

.modal-header {
border-bottom: 1px solid #dee2e6; /* Light border for the header */
background-color: maroon; /* maroon background for header */
color: white; /* White text for contrast */
}

.modal-title {
font-weight: bold; /* Bold title */
}

.modal-body {
padding: 20px; /* Spacing around the content */
}

/* Custom Backdrop Style */
.modal-backdrop {
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
}

/* Custom Close Button Style */
.modal-header .close {
color: white;           /* White color for the 'X' */
font-weight: bold;      /* Make it bold */
opacity: 1;             /* Ensure it's fully opaque */
}

.modal-header .close:hover {
color: #ddd;            /* Lighter color on hover for feedback */
}

/* Simple Fade-in Animation */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

.modal-content {
animation: fadeIn 0.5s; /* Apply animation to modal content */
}




/* Carousel */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}




.banner-container {
  width: 100%;
  height: 440px;
  text-align: center;
  margin-top: 70px;
  margin-bottom: 80px;
  overflow: hidden;
  padding: 0; /* Ensures no padding on the container */
    opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
  visibility: hidden;
}

/* Visible state of the element (faded in and moved up slightly) */
.banner-container.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.banner-image {
  width: 100%; 
  height: 100%; 
  object-fit: cover; /* This will cover the entire container, maintaining the image's aspect ratio */
  margin-bottom: 40px;
}

.banner-button {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 30px; /* You can adjust the padding */
  font-size: 20px;
  font-weight: bold; /* Bold text */
  background-color: maroon; /* Change to your desired color */
  color: #ffffff; /* Change to your desired text color */
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  /* Starting animation state: */
  opacity: 0;
  transform: translate(-50%, -70%); /* Adjusted translateY value for starting position */
  transition: all 1s ease-out;
}

.banner-container.visible .banner-button {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.banner-button:hover {
  background-color: #a34646; /* Change to your desired hover color */

}




/* Custom Modal Styles */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.custom-modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  max-width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-close {
  color: black;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}

.custom-close:hover,
.custom-close:focus {
  color: black;
  text-decoration: none;
}

#custom-modal-title,
#custom-modal-description,
#custom-modal-date {
  color: black;
}

#custom-modal-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.separator-line {
  border: 0;
  border-top: 1px solid black;
  margin: 20px 0;
}

#custom-modal-image {
  max-width: 100%;
  max-height: 50vh; /* Limit the height of the image to 80% of the viewport height */
  height: auto; /* Maintain the aspect ratio */
  margin-bottom: 20px;
  display: block;
  margin: 0 auto;
}

#custom-modal-description {
  margin-top: 10px;
  margin-bottom: 15px;
}

#custom-modal-date {
  color: black;
}






  footer {
    background-color: rgb(222, 222, 222);
    padding: 40px 0;
    color: black;
    font-weight: bold;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 100%;
    max-width: 300px;
    margin-bottom: 30px;
    padding: 0 10px; /* Added padding for spacing */
}

.footer-section:not(:last-child) {
    margin-right: 50px;
    margin-left: 50px; /* Added margin between sections */
}

.footer-section h4 {
    margin-bottom: 20px;
    font-weight: bold;
}

.logo-section img {
    max-width: 100%;
    height: auto;
}

.contact-section p {
  margin-bottom: 10px;
  white-space: nowrap; /* Prevent text from wrapping */
  font-weight: normal; /* Set font weight to normal */
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons a {
    margin: 0 10px; /* Adjusted margin for spacing */
    color: maroon;
    font-size: 20px;
    text-decoration: none;
}

/* Media queries for responsiveness */
@media screen and (min-width: 768px) {
    .footer-section {
        flex-basis: calc(50% - 20px);
        margin: 0 10px;
    }
}

@media screen and (min-width: 992px) {
    .footer-section {
        flex-basis: calc(33.33% - 20px);
    }
}