/* ===== Hero Banner ===== */
.hero-banner {
  background-image: url('https://gtecntapslaonline.in/wp-content/uploads/2025/06/courses_banner-scaled.jpg'); /* Replace with your image URL */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 150px 20px;
  color: #fff;
  text-align: center;
  position: relative;
}
.hero-banner::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}
.hero-banner .container {
  position: relative;
  z-index: 1;
}
.hero-banner h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-banner p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: auto;
}

/* ===== Section Layout ===== */
.section {
  padding: 60px 20px;
  background: #111;
  color: #eee;
}
.section:nth-child(even) {
  background: #1a1a1a;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
}
.section p {
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
  text-align: center;
}

/* ===== Accordion ===== */
.accordion {
  max-width: 900px;
  margin: 0 auto;
}
.accordion-item {
  background: #222;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.accordion-header {
  padding: 20px;
  cursor: pointer;
  background: #b01c67; /* Default header color, override inline if needed */
  color: #fff;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-item.active .accordion-header {
  background: #d6227a;
}
.accordion-body {
  padding: 20px;
  display: none;
  animation: fadeIn 0.5s ease-in-out;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.4s ease;
}
.accordion-item.active .accordion-body {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== Buttons ===== */
.btn-primary, .btn-dark {
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin: 10px;
  transition: 0.3s ease;
}
.btn-primary { background: #b01c67; color: #fff; }
.btn-primary:hover { background: #d6227a; }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: #222; }

/* ===== Popup Modal ===== */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
}
.popup-box {
  background: rgba(88, 88, 88, 0.74);
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: zoomIn 0.4s ease-in-out;
}
.popup-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 15px;
  color: #000;
}
.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}
.close-popup:hover {
  color: #ff4d4d;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===== Form Fields in Popup (optional) ===== */
.popup-box input,
.popup-box textarea,
.popup-box select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #000;
}

/* ===== Responsive Fixes ===== */
@media (max-width: 768px) {
  .hero-banner h1 {
    font-size: 2.2rem;
  }
  .section h2 {
    font-size: 1.5rem;
  }
  .popup-box {
    padding: 20px;
  }
}
