.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1d428a;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo {
  height: 40px;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #ff0000;
}

.carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #000;
}


.slide {
  position: absolute;
  inset: 0;
  display: none;
}

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

.dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  text-align: center;
  padding: 6px 8px;
  background: rgba(0,0,0,0.35);
  border-radius: 999px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active { background: #fff; }


@media (max-width: 768px) {
  .navbar a {
    margin-left: 10px;
    font-size: 14px;
  }
}

.half-split-box {
  display: flex;
  width: 100%;
  height: 500px;
  margin-top: 40px;
}

.half-text, .half-image {
  width: 50%;
  height: 100%;
}

.half-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  font-family: Arial, sans-serif;
  background-color: #d3d3d3;
}

.half-text h2 {
  color: #1d428a;
  margin-bottom: 20px;
}

.half-split-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}

.half-text {
  flex: 1;
  min-width: 300px;
}

.half-image {
  flex: 1;
  min-width: 250px;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.half-image img {
  max-width: 100%;
  height: auto;
}

.team-section {
  margin-bottom: 20px;
}

.team-section h3 {
  margin-bottom: 8px;
}

.team-section ul {
  padding-left: 20px;
}
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body > .topbar,
body > .half-split-box {
  flex-shrink: 0;
}

.half-split-box {
  flex-grow: 1; 
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  color: white;
  text-align: center;
  padding: 15px 0;
  z-index: 1000;
}

.spotlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 80px auto;
  padding: 0 15px;
}


.spotlight-card {
  background: linear-gradient(145deg, #1d428a, #2a5298);
  color: white;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 calc(50% - 20px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.spotlight-card h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #ffcc00;
}

.spotlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.spotlight-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.spotlight-card ul li {
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.spotlight-card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .spotlight-card {
    flex: 1 1 100%;
  }
}

body { padding-bottom: 100px; }

.slide:first-child { display: block; }

.content-box {
  background-color: #d3d3d3;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
}

.spotlights { margin: 40px auto 120px auto; }

.img-fluid.rounded { border-radius: 12px; }

.carousel .slide { display: none; }
.carousel .slide.show { display: block; }
.carousel .slide:first-of-type { display: block; }
.carousel .slide img { display:block; }

body:has(.team-section) { color: #ffffff; }
body:has(.team-section) a { color: #ffffff; }
body:has(.team-section) .content-box,
body:has(.team-section) .content-box * { color: #000000; }

