/* General Reset & Typography */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* Header Styling */
header {
  background-color: #002b45;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
}

header p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Section Styling */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #002b45;
  border-left: 5px solid #0056b3;
  padding-left: 15px;
}

/* Lists */
ul {
  padding-left: 25px;
  list-style-type: disc;
}

ul li {
  margin-bottom: 10px;
}

/* Contact Box */
.contact-box {
  background-color: #e9ecef;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.contact-box a {
  display: block;
  color: #0056b3;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  margin-top: 10px;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #002b45;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  header p,
  .section-title {
    font-size: 1.1rem;
  }
}

/* Banner Image Styling */
.banner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensures the image covers the space without stretching */
  max-height: 400px; /* Adjust this as needed to fit your design */
}

@media (max-width: 768px) {
  .banner {
    max-height: 250px; /* Adjust for mobile view */
  }
}

/* Slideshow Navigation Circles */
.dot {
  height: 30px; /* Default size */
  width: 30px;
  margin: 0 5px; /* Adjusted margin to provide space between circles */
  background-color: #bbb; /* Default grey */
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  cursor: pointer;
}

/* Active dots for each category */
#guidanceSlideshow .dot.active {
  background-color: #0077cc; /* Blue for Guidance */
}

#bridgingSlideshow .dot.active {
  background-color: #22aa55; /* Green for Bridging */
}

#itServicesSlideshow .dot.active {
  background-color: #ffaa00; /* Yellow for IT Services */
}

.dot:hover {
  background-color: #0056b3; /* Darker shade on hover */
}

/* Slideshow Styling */
.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
  background-color: #f4f4f4; /* Light Grey Background */
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mySlides {
  display: none;
  position: relative;
}

.slide-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
}

@keyframes fade {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

/* Small screen adjustments */
@media screen and (max-width: 768px) {
  .mySlides {
    padding: 10px;
  }

  .dot {
    height: 25px;
    width: 25px;
  }
}