/* featured courses home page  */
.course-points {
  margin: 10px 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #555;
}

.course-points li {
  margin-bottom: 6px;
  list-style: none;
}

.course-points li::before {
  content: "• ";
  color: #007bff; /* Bootstrap primary color */
  font-weight: bold;
}
.featured-courses {
  position: relative;
  background: linear-gradient(
      rgba(15, 15, 15, 0.7), 
      rgba(15, 15, 15, 0.7)
    ),
    url("../images/cta1.jpg") center/cover no-repeat;
  color: #fff; 
  margin-bottom: 2rem;
}

.featured-courses .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff7a29; /* highlight title */
}

.featured-courses .section-subtitle {
  color: #f1f1f1;
  font-size: 1.2rem;
}

.featured-courses .card {
  background: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(6px); /* glassmorphism effect */
  border: none;
  border-radius: 12px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-courses .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Floating btn  */
/* Floating container */



/* Social colors */
.whatsapp { background: #25d366; }
.facebook { background: #1877f2; }
.instagram { background: #e4405f; }


/* new CTA  */
/* CTA Split Section */
.cta-split {
  background: #002b2f; /* dark background */
  color: #fff;
  padding: 30px 0;
  /* overflow: hidden; */
  margin-top: 8rem;
  padding-bottom: 1px;
}

.cta-split-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 20px;
    /* overflow: hidden; */

}

.cta-split-content {
  flex: 1;
}

.cta-split-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-split-subtitle {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 30px;
}

.cta-split-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #e65c00; /* orange button */
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-split-btn:hover {
  background: #cc5200;
}

.cta-split-image {
  flex: 1;
  text-align: right;
}

.cta-split-image img {
  max-width: 100%;
  border-radius: 12px;
  margin-top: -200px;
}

/* 
.cta-enroll-form .form-group {
  margin-bottom: 15px;
}

.cta-enroll-form input,
.cta-enroll-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

.cta-enroll-form input:focus,
.cta-enroll-form select:focus {
  border-color: #007bff;
  outline: none;
}

.cta-enroll-form button {
  background: #007bff;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.cta-enroll-form button:hover {
  background: #0056b3;
}
 */



/* Responsive */
@media (max-width: 768px) {

  .cta-split {
    margin-top: 0;
  }

  .cta-split-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cta-split-content {
    flex: unset;
    width: 100%;
  }

  .cta-split-title {
    font-size: 1.8rem;
  }

  .cta-split-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .cta-split-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }

  .cta-split-image {
    flex: unset;
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }

  .cta-split-image img {
    max-width: 80%;
    height: auto;
    margin-top: 0; /* remove negative margin on mobile */
  }
}


/* courses page get enroll  */
.enroll-box {
  max-width: 400px;
  margin: auto;
  padding: 2rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.enroll-title {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #333;
}

.enroll-form .form-control {
  border-radius: 30px;
  padding: 12px 16px;
  /* margin-bottom: 1rem; */
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.enroll-form .form-control:focus {
  border-color: #ff6600;
  box-shadow: 0 0 8px rgba(255,102,0,0.2);
}

.btn-enroll {
  width: 100%;
  border-radius: 30px;
  padding: 12px;
  background: linear-gradient(135deg, #ff6600, #ff8533);
  border: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.btn-enroll:hover {
  background: linear-gradient(135deg, #e65c00, #ff751a);
  transform: translateY(-2px);
}

.btn-view-all {
  display: inline-block;
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #FF7A29, #FF4E00); /* brand gradient */
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(255, 122, 41, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-view-all:hover {
background: linear-gradient(135deg, #00B2A9, #007C91);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 122, 41, 0.4);
}

/* Shine Effect */
.btn-view-all::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(0, 178, 169, 0.4); /* Teal shine */
  transform: skewX(-25deg);
  transition: left 0.7s ease;
}

.btn-view-all:hover::after {
  left: 130%;
}

/* Chatbot  */

/* Floating Button */
.floating-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #00B2A9, #007f78);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

/* Chatbox */
.chatbot-box {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Header */
.chat-header {
  background: linear-gradient(135deg, #00B2A9, #00948c);
  color: #fff;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header span {
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-header img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.chat-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.chat-header button:hover { transform: rotate(90deg); }

/* Body */
.chat-body {
  padding: 14px;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  background: #f9f9f9;
  max-height: 350px;
  overflow-y: auto;
}
.chat-body p {
  margin: 0 0 8px;
}

/* Messages */
.bot-msg, .user-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  display: inline-block;
  animation: fadeIn 0.3s ease;
}
.bot-msg {
  background: #eafaf9;
  border: 1px solid #bce8e6;
  color: #004d4a;
}
.user-msg {
  background: #00B2A9;
  color: #fff;
  align-self: flex-end;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Quick options */
.quick-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}
.quick-options button {
  background: #fff;
  border: 1px solid #00B2A9;
  border-radius: 16px;
  padding: 5px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.quick-options button:hover {
  background: #00B2A9;
  color: #fff;
}

/* Form */
.chat-body form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-body input, .chat-body select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border 0.2s ease;
}
.chat-body input:focus, .chat-body select:focus {
  border-color: #00B2A9;
}
.chat-body button[type="submit"] {
  background: #00B2A9;
  border: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.25s ease;
}
.chat-body button[type="submit"]:hover {
  background: #007f78;
}

/* Response */
#chatResponse {
  margin-top: 10px;
  color: green;
  font-size: 13px;
  font-weight: 500;
}
/* WhatsApp Button */
.float-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  text-decoration: none;
  margin-bottom: 0.3rem;
}

/* chat popup  */

/* Chat Popup */
  .chat-section {
    position: fixed;
    bottom: 20px;
    left: -350px; /* hidden off-screen */
    transition: left 0.6s ease-in-out;
    z-index: 9999;
  }

  .chat-section.show {
    left: 20px; /* slide in */
  }

  .chat-box {
    width: 320px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    font-family: "Segoe UI", Arial, sans-serif;
    overflow: hidden;
    animation: slideUp 0.6s ease;

  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  }

  .chat-header {
    background: linear-gradient(135deg, #FF7A29, #FF4E00);
    color: #fff;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }


  .chat-title {
    display: flex;
    flex-direction: column;
  }

  .chat-header span {
    font-size: 11px;
    font-weight: normal;
    opacity: 0.9;
    margin-top: 2px;
  }

  .close-btn {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.2s ease;
  }

  .close-btn:hover {
    transform: rotate(90deg);
  }

  .chat-body {
    padding: 18px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
  }

  .chat-btn {
    display: block;
    width: 90%;
    margin: 0 auto 18px;
    padding: 12px;
    text-align: center;
    background: #069B9D;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(6,155,157,0.3);
  }

  .chat-btn:hover {
    background: #048083;
    box-shadow: 0 6px 14px rgba(6,155,157,0.45);
  }

  /* Floating Chat Bubble */
  .chat-bubble {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 55px;
    height: 55px;
    background: #FF7A29;
    color: #fff;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s;
    z-index: 9998;
    display: none; /* hidden initially */
  }

  .chat-bubble:hover {
    background: #FF4E00;
    transform: scale(1.1);
  }


  /* Animations */
  @keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }