.creation-head {
  margin-top: 20px;
  text-align: center; /* Center align */
  font-size: 30px;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 20px;
  padding: 5%;
}

.grid-item {
  text-align: center;
}
.grid-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.grid-item h3 {
  margin-top: 10px;
  font-size: 18px;
}
.grid-item p {
  text-align: justify;
  margin-top: 10px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on smaller devices */
  }
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr; /* 1 per row on very small screens */
  }
}

.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
}

.form-container {
  width: 100%;
  max-width: 600px;
  padding: 30px;
  border: 1px solid #000;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", sans-serif;
  color: #000;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: normal;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #000;
  border-radius: 10px;
  font-size: 1em;
}

.form-container textarea {
  resize: vertical;
}

.form-container button {
  width: 100%;
  padding: 12px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-container button:hover {
  background-color: #333;
}

.privacy-policy-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  text-align: justify; /* Corrected from 'content: justify' */
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.privacy-policy-container h3 {
  margin-bottom: 15px;
}

.terms-container {
  max-width: 1300px;
  margin: 60px auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.terms-container h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000;
}

.terms-container h2 {
  font-size: 1.5em;
  margin-top: 30px;
  color: #111;
}

.terms-container p {
  margin: 15px 0;
}
/* pop up */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 5% 10%;
  box-sizing: border-box;
}

.popup-content {
  text-align: center;
  justify-content: center;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 700px;
  max-height: 90vh; /* so it never fills 100% of screen */
  overflow-y: auto;
  width: 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow-y: hidden;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}
@media (max-width: 600px) {
  .popup-content {
    width: 100%;
    padding: 1.5rem;
    font-size: 14px;
  }

  .popup-content h2 {
    font-size: 18px;
  }

  .popup-content p {
    font-size: 14px;
  }

  .close-btn {
    font-size: 20px;
    top: 5px;
    right: 10px;
  }

  .popup-overlay {
    padding: 5%;
  }
}

.internship-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
}

.internship-container {
  width: 100%;
  max-width: 600px;
  padding: 30px;
  border: 1px solid #000;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", sans-serif;
  color: #000;
}

.internship-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: normal;
}

.internship-container input,
.internship-container textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #000;
  border-radius: 10px;
  font-size: 1em;
}

.internship-container textarea {
  resize: vertical;
}

.internship-container button {
  width: 100%;
  padding: 12px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.internship-container button:hover {
  background-color: #333;
}
