.course-grid {
  display: none;
  animation: fadeIn 0.4s ease;
}

.course-grid.active {
  display: block;
  /* Instead of grid */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e0e0e0;
  box-shadow: 2px 2px 10px #444444;
  transition: 0.3s;
}

.course-card:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
  scale: 0.95;
}

.course-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.course-desc {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}

.error {
  color: red;
  font-size: 13px;
  display: block;
  margin-top: 3px;
}

.form-group {
  margin-bottom: 15px;
}

input.error-border,
textarea.error-border {
  border: 1px solid red;
}

.chatbot-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1d1a48; /* purple */
  color: #fff;
  border: none;
  border-radius: 8px; /* rectangle with rounded corners */
  width: auto;
  height: auto;
  padding: 12px 24px; /* spacing like the example */
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px; /* space between icon and text */
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.chatbot-btn:hover {
  transform: scale(1.05);
}


/* Modal form styling */
#enquiryForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#enquiryForm .form-group {
  display: flex;
  flex-direction: column;
}

#enquiryForm input,
#enquiryForm textarea {
  width: 100%;
  max-width: 400px;   /* restricts width */
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
}

#enquiryForm textarea {
  resize: none;
  min-height: 80px;
}

#enquiryForm .error {
  color: red;
  font-size: 13px;
  margin-top: 4px;
}

#enquiryForm button {
  max-width: 150px;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  background: linear-gradient(135deg, #002f5f, #004080);
  color: white;
  transition: background 0.3s ease;
}

#enquiryForm button:hover {
  background: linear-gradient(135deg, #004080, #0060b0);
}


