/* =====================================
   DATA SCIENCE MODELING USING PYTHON PAGE
===================================== */

.page-banner {
  height: 350px;
  width: 100%;

  background: url("../images/dsm-python-banner.jpg") center/cover no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  position: relative;
}

/* Dark Overlay */
.page-banner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 350px;
  background: rgba(0, 0, 0, 0.65);
  top: 0;
  left: 0;
}

.page-banner h1,
.page-banner p {
  position: relative;
  z-index: 2;
}

/* Title */
.page-banner h1 {
  font-size: 52px;
  color: white;
  font-weight: bold;
}

/* Breadcrumb */
.page-banner p {
  margin-top: 12px;
  font-size: 16px;
  color: #ddd;
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {

  .page-banner {
    height: 280px;
    padding: 0 15px;
  }

  .page-banner h1 {
    font-size: 26px;
  }

  .page-banner p {
    font-size: 14px;
  }

  .page-banner::before {
    height: 280px;
  }
}




/* ==============================
   TRAINING PAGE SECTION DARK MODE
================================= */

.training-section {
  background: #000;
  padding: 70px 0;
  color: white;
}

.training-wrapper {
  width: 90%;
  max-width: 1250px;
  margin: auto;
  display: flex;
  gap: 40px;
}

/* Left Content Box */
.training-left {
  flex: 2;
}

/* Tabs */
.tab-buttons {
  display: flex;
}

.tab-buttons button {
  padding: 14px 35px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  background: #222;
  color: white;
}

.tab-buttons button.active {
  background: orange;
  color: black;
}

/* Tab Content */
.tab-content {
  background: #111;
  padding: 35px;
  border-radius: 8px;
  margin-top: -1px;
}

.tab-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: white;
}

.tab-content p {
  color: #ccc;
  line-height: 1.7;
}

.tab-content ul {
  margin-top: 15px;
  padding-left: 20px;
}

.tab-content ul li {
  margin-bottom: 10px;
  color: #bbb;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid #333;
  padding: 18px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.faq-answer {
  display: none;
  margin-top: 12px;
  color: #bbb;
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

.arrow {
  transition: 0.3s;
}

/* Right Sidebar */
.training-right {
  flex: 1;
}

/* Video Box */
.video-box iframe {
  width: 100%;
  height: 220px;
  border-radius: 6px;
}

/* Buttons */
.sidebar-buttons {
  background: #111;
  padding: 25px;
  text-align: center;
  margin-top: 20px;
  border-radius: 8px;
}

.sidebar-buttons a {
  display: block;
  padding: 14px;
  margin: 12px 0;
  font-size: 15px;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;

  /* ✅ ADD THIS */
  color: black;
}

.call-btn {
  background: orange;
  color: black;
}

.contact-btn {
  border: 2px solid orange;
  color: orange;
}

.contact-btn:hover {
  background: orange;
  color: black;
}

/* Social Icons */
.social-box {
  margin-top: 25px;
  padding: 20px;
  background: #111;
  border-radius: 8px;
  text-align: center;
}

.social-box a {
  margin: 0 10px;
  font-size: 18px;
  color: orange;
  transition: 0.3s;
}

.social-box a:hover {
  color: white;
}

/* Sidebar Form Box */
.form-box {
  margin-top: 25px;
  padding: 25px;
  background: #111;
  border-radius: 8px;
}

.form-box input,
.form-box textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  background: #222;
  color: white;
}

.form-box button {
  width: 100%;
  padding: 14px;
  background: orange;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

.form-box button:hover {
  background: white;
  color: black;
}

/* Other Courses Box */
.other-courses {
  margin-top: 25px;
  padding: 25px;
  background: #111;
  border-radius: 8px;
}

.other-courses h4 {
  margin-bottom: 15px;
  color: white;
}

.other-courses ul {
  list-style: none;
  padding: 0;
}

.other-courses ul li {
  padding: 10px 0;
  border-bottom: 1px solid #222;
  color: #bbb;
}

.other-courses ul li:last-child {
  border-bottom: none;
}




/* ==============================
   CURRICULUM TAB SECTION
================================= */

.curriculum-call-btn {
  display: inline-block;
  background: orange;
  color: black;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 25px;
  transition: 0.3s;
}

.curriculum-call-btn:hover {
  background: white;
  color: black;
}

/* Form Box */
.curriculum-form-box {
  background: #111;
  padding: 35px;
  border-radius: 8px;
  margin-top: 10px;
}

.curriculum-form-box input,
.curriculum-form-box textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 18px;
  border: none;
  border-radius: 6px;
  background: #222;
  color: white;
  font-size: 14px;
}

.curriculum-form-box textarea {
  resize: none;
}

/* Submit Button */
.curriculum-form-box button {
  width: 100%;
  padding: 14px;
  background: orange;
  border: none;
  font-weight: bold;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.curriculum-form-box button:hover {
  background: white;
  color: black;
}


/* ==============================
   REVIEWS TAB FIX
================================= */

#reviews {
  max-width: 100%;
}

.review-box {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.review-box h3 {
  font-size: 20px;
}

.stars {
  color: orange;
  font-size: 18px;
  margin-bottom: 10px;
}




/* ==============================
   ✅ MOBILE RESPONSIVE FIX
================================= */

@media (max-width: 768px) {

  /* Wrapper stack vertically */
  .training-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  /* Left + Right full width */
  .training-left,
  .training-right {
    width: 100%;
    flex: 100%;
  }

  /* Tabs scrollable on mobile */
  .tab-buttons {
    overflow-x: auto;
    white-space: nowrap;
  }

  .tab-buttons button {
    flex: none;
    padding: 12px 18px;
    font-size: 14px;
  }

  /* Tab content padding smaller */
  .tab-content {
    padding: 20px;
  }

  /* Review cards adjust */
  .review-box {
    padding: 18px;
    font-size: 14px;
  }

  /* Video responsive */
  .video-box iframe {
    height: 200px;
  }

  /* Sidebar buttons full width */
  .sidebar-buttons a {
    width: 100%;
    font-size: 14px;
  }

  /* Form inputs better */
  .form-box input,
  .form-box textarea,
  .curriculum-form-box input,
  .curriculum-form-box textarea {
    padding: 12px;
    font-size: 14px;
  }

  /* Submit buttons full */
  .form-box button,
  .curriculum-form-box button {
    font-size: 14px;
    padding: 12px;
  }

  /* Banner text smaller */
  .page-banner h1 {
    font-size: 32px;
  }

  .page-banner p {
    font-size: 14px;
  }
}




/* ============================= */
/* ✅ Institute + CTA Dark Section */
/* ============================= */

.course-cta-section {
  width: 100%;
  margin: 40px auto;
  text-align: center;
}

/* Institute Table Box */
.course-info-box {
  width: 60%;
  margin: auto;
  background: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #333;
}

.course-info-box .info-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 15px;
  color: #fff;
  border-bottom: 1px solid #333;
}

.course-info-box .info-row span:first-child {
  font-weight: bold;
  color: #ccc;
}

.course-info-box .info-row:last-child {
  border-bottom: none;
}

/* ============================= */
/* ✅ CTA Banner Dark Mode */
/* ============================= */

.cta-banner-dark {
  width: 80%;
  margin: 35px auto 0;
  background: linear-gradient(to right, #001f4d, #003366);
  border-radius: 14px;
  padding: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-banner-dark h2 {
  color: #fff;
  font-size: 26px;
  font-weight: bold;
}

/* Call Button */
.call-now-btn {
  background: orange;
  padding: 12px 28px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
}

.call-now-btn:hover {
  background: #ff6600;
}

/* Responsive */
@media(max-width: 768px) {
  .course-info-box {
    width: 95%;
  }

  .cta-banner-dark {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}