/* Company colors */
:root {
  --blue: #0047ab;
  --red: #e63946;
  --yellow: #f4d35e;
  --white: #ffffff;
  --dark-blue: #003370;
}

/* Reset & basic styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--white);
  color: var(--dark-blue);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background-color: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 2rem 1rem;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.3rem;
}

.header p {
  font-size: 1.2rem;
  font-weight: 600;
}

.main-content {
  flex: 1;
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-section img {
  flex: 1 1 300px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

#hero-text {
  flex: 1 1 400px;
}

#hero-text h2 {
  color: var(--red);
  margin-bottom: 1rem;
}

#hero-text p {
  font-size: 1.1rem;
  color: var(--dark-blue);
}

.info-section {
  background-color: var(--yellow);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.info-section h3 {
  color: var(--blue);
  margin-bottom: 1rem;
}

.info-section ul {
  list-style-type: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-blue);
}

.info-section ul li {
  padding: 0.4rem 0;
}

.call-to-action {
  text-align: center;
  background-color: var(--red);
  color: var(--white);
  padding: 2rem 1rem;
  border-radius: 10px;
}

.call-to-action h3 {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

.call-to-action p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: var(--yellow);
  color: var(--dark-blue);
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background-color: #d6bc2f;
}

.footer {
  background-color: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* =================== */
/* ✅ RESPONSIVE STYLES */
/* =================== */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }

  .hero-section {
    flex-direction: column;
  }

  #hero-text {
    text-align: center;
  }

  #hero-text h2 {
    font-size: 1.6rem;
  }

  #hero-text p {
    font-size: 1rem;
  }

  .call-to-action h3 {
    font-size: 1.5rem;
  }

  .call-to-action p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }

  .info-section ul {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 1.7rem;
  }

  .main-content {
    padding: 1.5rem 1rem;
  }

  .call-to-action h3 {
    font-size: 1.3rem;
  }

  .btn {
    width: 100%;
    padding: 0.7rem;
    font-size: 1rem;
  }
}
.program-highlight {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  background-color: var(--white);
  margin-top: 3rem;
}

/* Each box */
.program-highlight > div {
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(33.333% - 1rem); /* 3 per row */
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

/* Hover effect */
.program-highlight > div:hover {
  transform: translateY(-5px);
}

/* Color variation per box */
.program-highlight > div:nth-child(1) {
  background-color: #fff7d0; /* soft yellow tint */
}
.program-highlight > div:nth-child(2) {
  background-color: #eaf6ff; /* soft blue tint */
}
.program-highlight > div:nth-child(3) {
  background-color: #ffeaea; /* soft red tint */
}
.program-highlight > div:nth-child(4) {
  background-color: #e5f9e7; /* soft green tint */
}

/* Icon */
.u-icon {
  display: inline-block;
  background-color: var(--white);
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.u-icon img {
  width: 50px;
  height: 50px;
  display: block;
}

/* Titles and text */
#cta-title {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

#cta-text {
  font-size: 1rem;
  color: var(--dark-blue);
}

/* Register button */
.program-highlight .btn {
  background-color: var(--blue);
  color: var(--white);
  margin-top: 2rem;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .program-highlight > div {
    flex: 1 1 calc(45% - 1rem); /* 2 per row on tablets */
  }
}

@media (max-width: 600px) {
  .program-highlight {
    flex-direction: column;
    align-items: center;
  }

  .program-highlight > div {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
/* Container that holds the image and text */
.info-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
/* Ensure it doesn't shrink too much */
.info-image {
  flex: 0 0 auto; /* prevent shrinking */
  max-width: 120px; /* limit size */
  margin-right: 1.5rem; /* space between image and text */
}

/* Circular image */
#electronic-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;     /* make it a true circle */
  object-fit: cover;
  display: block;
  overflow: hidden;
  flex-shrink: 0;         /* prevent shrinking in flex layout */
}
/* Ensure image doesn't stretch */
#electronic-image img {
  width: 100%;
  height: auto;
  display: block;
}
/* Ensure text doesn't overflow */
.info-text h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
} 

/* Text container */
.info-text {
  flex: 1;
}

/* Optional: Add spacing below section if needed */
@media (max-width: 600px) {
  .info-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #electronic-image {
    margin-bottom: 1rem;
  }
}
/* ✅ Outer wrapper for image + text */
  body {
      margin: 0;
      font-family: sans-serif;
    }
    .hero-carousel {
      width: 100%;
      position: relative;
      background-color: var(--blue);
    }

    .slideshow-wrapper {
      height: 60vh;
      min-height: 300px;
      max-height: 700px;
      overflow: hidden;
      position: relative;
    }

    .slideshow-container {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .mySlides {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 1.2s ease-in-out;
      z-index: 1;
    }

    .mySlides.active {
      opacity: 1;
      z-index: 2;
    }

    .slideshow-overlay {
      position: absolute;
      bottom: 40px;
      left: 50px;
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      padding: 20px 30px;
      border-radius: 10px;
      z-index: 3;
      max-width: 60%;
    }

    .slideshow-overlay h2 {
      color: var(--yellow);
      margin-bottom: 10px;
    }

    .slide-btn {
      display: inline-block;
      background: var(--red);
      color: #fff;
      margin-top: 15px;
      padding: 0.5rem 1.2rem;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
    }

    .slide-btn-prev,
    .slide-btn-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2rem;
      color: var(--yellow);
      background-color: rgba(0, 0, 0, 0.3);
      border: none;
      padding: 10px 15px;
      cursor: pointer;
      z-index: 4;
    }

    .slide-btn-prev {
      left: 10px;
    }

    .slide-btn-next {
      right: 10px;
    }

    .slide-indicators {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 5;
    }

    .dot {
      height: 12px;
      width: 12px;
      margin: 0 4px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      transition: background-color 0.3s;
    }

    .dot.active,
    .dot:hover {
      background-color: var(--yellow);
    }

/* message form */
/* Contact Form Outer Wrapper */
.contactForm- {
  background-color: #f9fafb;
  padding: 4rem 1rem;
  display: flex;
 text-align: center;
  align-items: center;
}

/* Contact Form Box */
.contactForm {
  background-color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
}

/* Form Layout */
.uformAlignment {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Title */
.form-title {
  font-size: 2rem;
  color: var(--blue);
  text-align: center;
  margin-bottom: 1rem;
}

/* Form Group Spacing */
.form-group {
  display: flex;
  flex-direction: column;
}

/* Labels */
.form-group label {
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

/* Inputs and Textarea */
.form-group input,
.form-group textarea {
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.15);
}

/* Textarea Sizing */
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit Button */
.u-btn-1 {
  background-color: var(--blue);
  color: var(--white);
  font-weight: 600;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.u-btn-1:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .contactForm {
    padding: 2rem 1.5rem;
  }

  .form-title {
    font-size: 1.6rem;
  }
}
