/* General styles */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

h1 {
  color: #333;
}

p {
  font-size: 1.1rem;
  color: #666;
  text-align: justify;
}

/* Navbar */
.navbar {
  margin-bottom: 30px;
}

.navbar-brand {
  font-weight: bold;
}
.navbar .dropdown-menu {
  position: absolute;
  z-index: 1050;
}

/* Carousel */
.carousel-inner img {
  width: 100%;
  height: auto;
}

/* Resize carousel images for larger screens (greater than 768px) */
@media (min-width: 768px) {
  .carousel-inner img {
    height: 50%; /* Smaller height on larger screens */
    width: 50%; /* Smaller width on larger screens */
  }

  .carousel {
      width: 75%; /* Carousel takes 3/4 of the width on larger screens */
      margin: 0 auto; /* Center the carousel */
  }
}

/* Main content */
.container {
  max-width: 100%;
  margin: 0 auto;
}


/* Make the video the same size as the image on large screens */
@media (min-width: 992px) {
  .video-responsive {
      width: 100%;
      height: 100%;
  }
}

/* Ensure cards are the same height */
.card.h-100 {
  height: 100%;
}

/* Make the image in the horizontal card larger on large screens */
@media (min-width: 992px) {
  .horizontal-card-img {
      width: 100%;
      height: auto;
  }
}

/* Optional: Add margins to horizontal card image to avoid overflow on smaller screens */
@media (max-width: 991px) {
  .horizontal-card-img {
      width: 100%;
      height: auto;
  }
}

.gallery-img {
  width: 100%;
  height: auto;
}

/* Hide all pages by default */
.page {
  display: none;
}

/* When a page is targeted in the URL */
#page-1:target, #page-2:target, #page-3:target , #page-4:target {
  display: block;
}

.tips{
  font-weight: bold;
  text-decoration: underline;
}
/*Electricity*/
.pagenav {
  display: flex;
  justify-content: space-around; 
  flex-wrap: wrap;
}

.pagenav a {
  margin-right: 10px; 
  text-decoration: none;
  color: black;
}
