/* ---------------- General layout ---------------- */
body {
  background-color: rgb(57, 64, 132) !important;
  margin: 0;
  font-family: Arial, sans-serif;
}

main {
  margin-top: 120px;
}

.mt-4 {
  margin-top: 1.5rem;
}

.text-white {
  color: #fff;
}

.rounded {
  border-radius: 0.5rem;
}

.move,
.move2 {
  margin-top: 15px;
  margin-bottom: 15px;
}

.move2 {
  margin-top: 25px;
}

/* ---------------- Image gallery ---------------- */
.office-images, .office3-images {
  border: 1px solid #000;
  box-shadow: 2px 2px 4px rgb(0,0,0);
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;  /* wraps nicely on smaller screens */
  margin-bottom: 1rem;
}

.office, office3 {
  flex: 1 1 200px;   /* flexible with a minimum width */
  max-width: 250px;  /* don’t let images get too large */
  height: auto;
  border: solid 1px rgb(0, 0, 0);
  border-radius: 0.5rem;
  box-shadow: 2px 2px 4px rgb(0,0,0);
  margin: 5px;
}

.office-caption, .office3-caption {
  font-size: 1.1rem;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

.office3 {
  color: transparent !important ;
  background-color: transparent !important;
}

/* Jumbotron section spacing */
#jumbotron {
  width: 100%;
  background-color: rgb(165, 170, 181);
  padding: 20px;
  box-sizing: border-box; /* ensures padding doesn’t add extra width */
}

/* Video Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;            
  max-width: 1100px;      
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  margin: 0 auto;         /* center the video */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;            
  height: 100%;
  border: 0;
}

/* Ensure all sections stay centered */
section {
  background-color: rgb(165, 170, 181);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  border: solid 1px rgb(0, 0, 0);
  border-radius: 10px;
  box-shadow: 2px 2px 4px rgb(0, 0, 0);
  margin: 0 auto 60px auto;  
  max-width: 1100px;         
}

/* On very small screens */
@media (max-width: 480px) {
  section {
    width: 100%;       
    max-width: 100%;   
    padding: 15px;     
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ---------------- Quote ---------------- */
#quote {
  font-size: 2rem;
  font-style: italic;
  color: #333;
  margin: 20px 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.move-text {
  margin: 15px;
  font-size: 1.5rem;
}

.img-fluid {
  border: solid 1px rgb(0, 0, 0);
  box-shadow: 2px 2px 4px rgb(0, 0, 0);
}

/* ---------------- Responsive adjustments ---------------- */
@media (max-width: 768px) {
  .office {
    max-width: 180px;
  }

  .office-caption {
    font-size: 1rem;
  }

  .p-5 {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .office {
    flex: 1 1 100%;
    max-width: 100%; 
  }

  .office-caption {
    font-size: 0.95rem;
  }
}
