/* === Base palette ===
Royal Blue: #1E3A8A
Mid Blue: #2563EB
Accent Blue: #60A5FA
Light Grey: #F3F4F6
Dark Grey: #333333
*/

body {
  font-family: "Nunito Sans", "Segoe UI", "Open Sans", sans-serif;
  color: #333;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

header {
  background-color: #1E3A8A;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
  letter-spacing: 1px;
}

header h1 span {
  color: #60A5FA;
}

header h2 {
  font-weight: 300;
  font-style: italic;
  font-size: 2.5rem;
  margin-top: 0.5rem;
}
/* === Overall layout constraint === */
.page-container {
  max-width: 1400px;      /* Adjust as desired: 1200–1400px looks best */
  margin: 0 auto;         /* Centers horizontally */
  padding: 0 20px;        /* Gentle side padding for breathing room */
}

/* Keep sections spaced and clean inside */
section {
  margin-bottom: 60px;
}

/* Ensure hero carousel doesn’t overflow */
.hero-carousel {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Responsive refinement for smaller screens */
@media (max-width: 768px) {
  .page-container {
    padding: 0 10px;
  }
}

.hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1560264418-c4445382edbc?auto=format&fit=crop&w=1600&q=60');
  background-size: cover;
  background-position: center;
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-overlay {
  background-color: rgba(30, 58, 138, 0.65);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  max-width: 700px;
  padding: 2rem;
}

.hero-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cta-button {
  display: inline-block;
  background-color: #60A5FA;
  color: #fff;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #2563EB;
}

.services {
  background-color: #F3F4F6;
  padding: 4rem 2rem;
  text-align: center;
}

.services h2 {
  color: #1E3A8A;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.service:hover {
  transform: translateY(-5px);
}

.service h3 {
  color: #2563EB;
  margin-bottom: 0.75rem;
}

.about {
  padding: 3rem 2rem;
  text-align: center;
  background-color: white;
  max-width: 900px;
  margin: auto;
}

.about h2 {
  color: #1E3A8A;
}

footer {
  background-color: #1E3A8A;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.container {
  width: 90%;
  margin: 0 auto;
}

/* === Carousel === */

.hero-carousel {
  position: relative;
  max-width: 100%;
  height: 65vh;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  height: 100%;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  animation-duration: 1s;
}

.slide.enter {
  animation-name: slideIn;
}

.slide.leave {
  animation-name: slideOut;
}


.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: transform 5s ease;
}

.slide img:hover {
  transform: scale(1.02);
}

.caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  font-size: 1.1rem;
  text-align: center;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 0.8rem;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  transition: 0.3s slide;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.4);
}

.dots {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #2563EB;
}
/* === Employer Report Link Section === */

.employer-link {
  text-align: center;
  background-color: #F3F4F6;
  padding: 4rem 2rem;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.employer-link .link-container {
  max-width: 800px;
  margin: 0 auto;
}

.employer-link h2 {
  color: #1E3A8A;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.employer-link p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.employer-button {
  display: inline-block;
  background-color: #2563EB;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.employer-button:hover {
  background-color: #1E3A8A;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* === Employer Report Link Section === */

.employer-link {
  text-align: center;
  background-color: #F3F4F6;
  padding: 4rem 2rem;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.employer-link .link-container {
  max-width: 800px;
  margin: 0 auto;
}

.employer-link h2 {
  color: #1E3A8A;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.employer-link p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.employer-button {
  display: inline-block;
  background-color: #2563EB;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.employer-button:hover {
  background-color: #1E3A8A;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}