/*------------------Images-------------------------*/
.bottomRight3{
  position: absolute;
  bottom: 0%;
  right: 0%;
  opacity: 0.6;
  z-index: 1;
  max-width: 15%;
  height: auto;
}
/* ---------------- Modules Section ---------------- */
.modules-section {
  padding: 6rem 0;
  /* background-color: #f9f9f9; */
}

/* Title: Centered at Top */
.title {
  font-size: 3.8rem;
  color: var(--chambray);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Two-column container */
.modules-container {
  display: flex;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.leftside,
.rightside {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  z-index: 1;
}

/* Module Card Styling */
.module-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

/* .module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
} */

.module-card h3 {
  font-size: 1.5rem;
  color:var(--indigo);
  margin-bottom: 0.8rem;
}

.module-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.module-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .modules-container {
    flex-direction: column;
    gap: 2rem;
  }

  .title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }

  .module-card {
    padding: 1.2rem;
  }

  .module-card h3 {
    font-size: 1.4rem;
  }
}