/* Secretary Message Section - Styles */
#secretary-message {
  width: 100%;
  background-color: #ffffff;
  padding: 2em;
  text-align: center;
}

#secretary-message h2 {
  color: #801707;
  margin-bottom: 1em;
  font-weight: 580;
}

.container-dash {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 2em;
}

.photo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #801707;
}

.message {
  max-width: 950px;
  text-align: left;
}

.message p {
  font-size: 1.2em;
  line-height: 1.5em;
  color: #130000;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .container-dash {
    flex-direction: column;
    text-align: center;
  }

  .message {
    text-align: center;
  }
}

/* News Feed Styles */
.uk-container p {
  color: #ffffff;
}

.uk-heading-bullet {
  color: #000;
}

.text-center {
  color: beige;
  font-weight: bold;
}

.bhg {
  background-color: #4e0000;
}

/* Marquee styles */
.marquee {
  width: 100%;
  background-color: #f1f1f1;
  overflow: hidden;
  white-space: nowrap;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 10s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Vertical Line for Contact Section */
.vl {
  border-left: 2px solid #000;
  height: 100%;
}

@media (max-width: 768px) {
  .vl {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .images-section {
    justify-content: flex-start;
  }
}

/* Styles for the Main Content */

body {
  font-family: Arial, sans-serif;
  color: #333;
}

.container-fluid {
  padding: 20px;
}

.left-section img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Right Section */
.right-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Images Grid */
.right-section .row {
  display: flex;
  flex-wrap: wrap;
}

.right-section .row .col-6 img {
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.right-section .row .col-6 img:hover {
  transform: scale(1.05);
}

/* Contact Info Section */
.contact-info {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info h4 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-info .underline {
  width: 50px;
  height: 3px;
  background-color: #007bff;
  margin-bottom: 15px;
}

.contact-info p {
  margin: 10px 0;
}

.contact-info i {
  margin-right: 10px;
}

.contact-info .map {
  margin-top: 15px;
}

.explore-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ff2600;
  color: white;
  text-decoration: none;
  border-radius: 0%;
  transition: background-color 0.3s ease;
}

.explore-link:hover {
  background-color: #ffd3d3;
  text-decoration: none;
  color: #000;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .left-section img {
    height: auto;
    margin-bottom: 20px;
  }

  .contact-info {
    margin-top: 30px;
  }

  .row .col-6 img {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .contact-info {
    padding: 15px;
  }

  .contact-info h4 {
    font-size: 20px;
  }

  .contact-info p {
    font-size: 14px;
  }
}

/* --- Flood Banner --- */
/*-- 23-10-2024 --*/
.banner-section {
  position: relative;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
}

.banner-link {
  display: block;
  text-decoration: none;
  color: white;
}

.banner-image {
  width: 100%;
  height: auto;
  display: block;
}

/* The section below - Preschool & Contractors */

.two-columns-section {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px;
  padding-bottom: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

.column {
  flex: 0 1 calc(50% - 90px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .column {
    flex: 0 1 100%;
  }
}

.column img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #ddd;
}

.column h3 {
  font-size: 1.2em;
  margin: 10px 0;
  font-weight: bold;
  text-align: center;
}

.column p {
  font-size: 1em;
  color: #160000;
  margin: 0 10px 10px;
  text-align: center;
}

.column:hover {
  transform: translateY(-10px);
}

.column-link {
  text-decoration: none;
  color: inherit;
}

.column-link:hover {
  text-decoration: none !important;
}

/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.popup-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ffffff !important;
  font-size: 8em !important;
  cursor: pointer;
}

.close:hover {
  color: yellow !important;
  transform: rotate(180deg);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Mobile friendly */
@media (max-width: 768px) {
  .column {
    flex: 0 1 100%;
  }

  .column-text {
    padding: 10px;
  }
}

/* Style for the back-to-top button */
#backToTop {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 20px;
  border: none;
  outline: none;
  background-color: #6e0202;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 0%;
  transition: all 0.3s ease-in-out;
  width: 50px;
  height: 50px;
}

/* Button hover effects */
#backToTop:hover {
  background-color: #ad1212;
  transform: scale(1.2);
}

/* Optional: Add an arrow animation on hover */
#backToTop:hover::before {
  position: relative;
  top: -5px;
  transition: top 0.2s;
}

/* General mobile-friendly styles for bhg section */
@media (max-width: 768px) {
  .bhg {
    padding: 15px;
    text-align: center;
  }

  /* Adjust headline font size */
  .bhg h3 {
    font-size: 1em;
    margin-bottom: 10px;
    text-align: left;
  }

  .bhg p {
    text-align: left;
    font-size: 10px;
  }

  /* Slider container adjustments for mobile */
  .uk-slider-container {
    margin-bottom: 20px;
  }

  /* Individual items in the slider */
  .uk-slider-items li {
    margin-bottom: 20px;
    padding: 10px;
  }

  /* Adjust container width for smaller screens */
  .uk-container-small {
    padding: 5px;
    max-width: 100%;
  }

  /* Hide the navigation arrows on smaller screens */
  .uk-position-center-left,
  .uk-position-center-right {
    display: none;
  }

  /* Make dot navigation larger and more clickable */
  .uk-dotnav li {
    width: 15px;
    height: 15px;
  }

  /* Adjust marquee image size for mobile */
  marquee img {
    width: 150px;
    height: auto;
    margin: 0 10px;
  }

  /* Add some spacing to the marquee section */
  marquee {
    margin-top: 15px;
  }
}
