
/* teachers training workshop */
/* =========================
   TTWS CONTAINER
========================= */
.ttws {
  background: #ffffff;
  padding: 35px 28px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.ttws:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

/* =========================
   TEXT
========================= */
.ttws p {
  font-size: 16px;
  color: #374151;
  margin-bottom: 14px;
  line-height: 1.7;
}

/* =========================
   H4 (BOTTOM HEADING)
========================= */
.ttws h4 {
  margin-top: 22px;
  font-size: 18px;
  color: #1f2933;
  font-weight: 600;
  position: relative;
}

/* subtle underline */
.ttws h4::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #d1d5db;
  display: block;
  margin-top: 6px;
}

/* =========================
   BUTTON (CLEAN STYLE)
========================= */
.ttws a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #1d4ed8;
  background: transparent;
  border: 1.5px solid #1d4ed8;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* minimal hover */
.ttws a:hover {
  background: #1d4ed8;
  color: #ffffff;
  transform: translateY(-1px);
}

/* =========================
   GALLERY SECTION
========================= */
.ttws .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0 10px;
}

/* images */
.ttws .gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* hover effect */
.ttws .gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

  .ttws {
    padding: 25px 18px;
  }

  .ttws p {
    font-size: 15px;
  }

  .ttws h4 {
    font-size: 16px;
  }

  /* gallery becomes 1 column */
  .ttws .gallery {
    grid-template-columns: 1fr;
  }

  .ttws .gallery img {
    height: 180px;
  }
}