.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }

  .slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .slider {
    position: relative;
    width: 100%;
    height: 100%;
  }

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

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

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    color: white;
    padding: 0 20px;
  }

  .hero-text {
    font-size: 2.8vw;
    line-height: 1.5;
    max-width: 1000px;
  }

  /* Base Setup */
body {
  background-color: #FCF2E8;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  overflow: hidden;
  height: 90vh;
}

.hero-section .slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hero-section .slider img.active {
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  color: #fff;
  font-size: 1.8rem;
  text-align: center;
  line-height: 1.4;
  /*padding: 0 20px;*/
}

/* RESPONSIVE HERO */
@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
  }

  .hero-text {
    font-size: 2.0rem !important;
    text-align: center !important;
  }
}

/* BRAND SECTION */
.brand-container {
  padding: 40px 20px;
}

.cadmech-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.left-content,
.right-content {
  flex: 1 1 48%;
}
@media (max-width: 768px) {
    .left-content, .right-content
 {
        flex: 1 1 100%;
        text-align: center;
    }
    .brand-message p{
      display: none;
    }
}
.student-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.brand-button {
  background: #e44d26;
  color: #fff;
  border: none;
  padding: 12px 30px;
  margin: 30px auto;
  display: block;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

/* RESPONSIVE BRAND SECTION */
@media (max-width: 768px) {
  .cadmech-section {
    flex-direction: column;
    text-align: center;
  }

  .brand-button {
    font-size: 1rem;
    width: 70%;
  }

  .cadmech-title {
    font-size: 1.5rem;
  }
}

/* PARTNERS GRID */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
  padding: 20px;
}

.logo-img {
  width: 100%;
  max-width: 120px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* SECTION 2 FEATURES */
.features-section {
  padding: 40px 20px;
  background: #fff;
  position: relative;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.feature-text {
  text-align: center;
  font-size: 1rem;
  color: #333;
}

/* CIM SECTION */
.section-container {
  padding: 40px 20px;
  text-align: center;
}

.image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.image-card {
  width: 260px;
}

.image-card img {
  width: 100%;
  border-radius: 8px;
}

.image-caption {
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* RESPONSIVE CIM SECTION */
@media (max-width: 768px) {
  .section-description {
    font-size: 1rem;
    padding: 0 15px;
  }

  .cim-title {
    font-size: 1.2rem;
    margin: 20px 0;
  }
}

/* EQUIPMENT SECTION */
.equipment-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 40px 20px;
  gap: 30px;
}

.equipment-item {
  text-align: center;
}

.equipment-item img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.equipment-item h3 {
  margin-top: 10px;
  font-size: 1.1rem;
}

/* SUNSET SECTION */
.sunset-section {
  background: linear-gradient(rgba(210, 83, 21, 0.5), rgba(210, 83, 21, 0.5)), url('/assets/img/sunset-image.webp') center/cover no-repeat;
  color: white;
  padding: 50px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.sunset-section h2 {
  font-size: 1.8rem;
  line-height: 1.5;
}

.contact-form {
  /*background-color: rgba(255, 255, 255, 0.1);*/
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 45%;
  max-width: 450px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 4px;
  border: none;
  font-size: 1rem;
}

.contact-form button {
  background-color: #e44d26;
  border: none;
  padding: 12px;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

/* RESPONSIVE FORM */
@media (max-width: 768px) {
  .sunset-section {
    flex-direction: column;
    text-align: center;
  }

  .sunset-section h2 {
    font-size: 1.3rem;
  }

  .contact-form {
    width: 100%;
  }
}