@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  scroll-behavior: smooth;
}

body {
  width: 80vw;
  margin: auto;
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.5;
  overflow-x: hidden;
}

@media (max-width: 800px) {
  body {
    width: 90vw;
  }
}

@media (max-width: 480px) {
  body {
    width: 90vw;
  }
}

/* Navbar */

@media (max-width: 800px) {
  header #links {
    display: none;
  }
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px;
  border-bottom: 1px solid #eee;
}

.header-bar p {
  font-size: 1.5rem;
  font-weight: 600;
}

#links {
  display: flex;
  gap: 20px;
}

#logo-link {
  font-size: 1.5rem;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: black;
  display: block;
}

.course-hover {
  position: relative;
}

.categories-hover-items {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 250px;
  top: 120%;
  z-index: 10;
  left: 0;
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ffdfc5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease-in;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.course-hover:hover .categories-hover-items {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.categories-based-items {
  position: relative;
}

.it-categories-hover {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 250px;
  top: 0;
  z-index: 10;
  left: 100%;
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ffdfc5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease-in;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.categories-based-items:hover .it-categories-hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.categories-hover-items a {
  padding: 5px 10px;
}

.categories-hover-items a:hover {
  background: #ff7300;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.categories-based-items-accounts {
  position: relative;
}

.acc-categories-hover {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 250px;
  top: 0;
  z-index: 10;
  left: 100%;
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ffdfc5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease-in;
}

.categories-based-items-accounts:hover .acc-categories-hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.di-hover {
  position: relative;
}

.di-hover-items {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
  top: 120%;
  z-index: 10;
  left: 0;
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ffdfc5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease-in;
}

.di-hover-items a {
  padding: 6px 10px;
  font-size: 1rem;
}

.di-hover-items a:hover {
  background: #ff7300;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.di-hover:hover .di-hover-items {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.di-courses-menu {
  display: flex;
  flex-direction: column;
}

.di-courses-menu .di-course-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 5px 0px;
  font-weight: 600;
}

.di-courses {
  display: flex;
  flex-direction: column;
  margin-top: 5px;
}

.di-courses a {
  padding: 10px 5px;
}

@media (min-width: 800px) {
  header #dropdown-btn {
    display: none;
  }
}

#dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

#dropdown-btn button {
  outline: none;
  border: none;
  background: transparent;
  padding: 5px;
  cursor: pointer;
}

#mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  padding: 20px;
  z-index: 10;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

#mobile-menu.active {
  transform: translateX(0);
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.menu-logo {
  font-size: 1.3rem;
  font-weight: 600;
}

.menu-close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.menu-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-section {
  border-bottom: 1px solid #f1f1f1;
  padding: 10px 0;
}

.menu-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
}

.menu-content {
  display: none;
  padding-left: 10px;
}

.menu-category {
  margin-top: 10px;
}

.category-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
}

.category-items {
  display: none;
  padding-left: 15px;
}

.category-items p {
  padding: 6px 0;
  font-size: 0.95rem;
  cursor: pointer;
}

.category-items p:hover {
  color: #ff7300;
}

.menu-arrow {
  transition: transform 0.2s ease;
}

.rotate {
  transform: rotate(90deg);
}

.mobile-cat-title {
  font-weight: 600;
  cursor: pointer;
  padding: 10px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  margin: 5px 0;
  transition: background 0.2s ease;
}

.mobile-cat-title:hover {
  background: #ff7300;
  color: #fff;
}

.mobile-cat-items {
  display: none;
  padding: 2px 0;
}

.mobile-cat-items p {
  padding: 10px 10px;
  margin: 2px 0;
  font-size: 15px;
  background: #ffd4b1;
  border-radius: 8px;
  border: 1px solid #ff7300;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-cat-items p:hover {
  background: #ff7300;
  color: #fff;
}

/* Course */

.hero {
  position: relative;
  display: flex;
  padding: 20px 40px;
  align-items: start;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(335deg, #fff5ed, #ffffff);
  color: rgb(0, 0, 0);
  border-radius: 1rem;
  overflow: hidden;
  width: 100%;
  margin-top: 10px;
  border-bottom: 2px solid #ff9a6b;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.hero-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.hero-left h1 {
  font-size: 30px;
  font-weight: 700;
}

.hero-left h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.hero-left p {
  font-size: 16px;
  line-height: 1.6;
}

.btn-wrapper {
  display: flex;
  gap: 0.75rem;
  margin-top: 10px;
}

.btn-primary {
  padding: 10px 20px;
  background: #ff6600;
  border: none;
  font-size: 14px;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  max-width: 180px;
}

.btn-primary:hover {
  background: #e65500;
}

.btn-secondary {
  padding: 10px 20px;
  background: transparent;
  border: 2px solid #ff6600;
  font-size: 14px;
  color: black;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  max-width: 180px;
}

.btn-secondary:hover {
  background: #ff6600;
  color: white;
}

.course-information {
  padding: 20px 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: start;
  gap: 40px;
  margin-top: 1rem;
  background: linear-gradient(335deg, #fff5ed, #ffffff);
  border-radius: 1rem;
  border: 1px solid #ffddd0;
  border-bottom: 2px solid #ff9a6b;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

#course-mentor {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 2px;
}

#course-duration {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 2px;
}

#course-cer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 8px;
}

#flex-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.module-card,
#course-modules div {
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ff7300;
  border-radius: 8px;
  cursor: pointer;
  transition: ease-in-out 0.2s;
}

#course-modules div:hover {
  background: #fe7743;
  color: white;
}

.module-card:hover {
  background: #fe7743;
}

.module-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.module-description {
  margin-top: 8px;
  line-height: 1.5;
}

.hidden {
  display: none;
}

.course-information h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

#course-learn {
  line-height: 1.7;
}

.info-right {
  width: 100%;
}

#course-modules {
  display: grid;
  gap: 12px;
  width: 100%;
}

.module-card h3 {
  font-weight: 700;
}

#course-modules div {
  padding: 12px;
  margin-top: 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ffe0cc;
}

@media (max-width: 768px) {
  .course-information {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .hero {
    padding: 25px;
  }

  .btn-wrapper {
    flex-direction: row;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

/* REVIEW SECTION */

.review-section {
  padding: 20px 20px;
  background: linear-gradient(235deg, #fff5ed, #ffffff);
  border-radius: 1rem;
  border: 1px solid #ffddd0;
  background: #ffffff;
  margin-top: 1rem;
}

.review-section h2 {
  font-size: 28px;
  margin-bottom: 5px;
  font-weight: 600;
}

.review-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 10px;
}

@media (min-width: 600px) {
  .review-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.review-card {
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid #ffe1d2;
}

.review-card h4 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
}

.stars {
  margin-bottom: 10px;
  display: flex;
  gap: 2px;
}

.star {
  color: #ff7300;
  font-size: 18px;
  line-height: 1;
}

.review-card p {
  margin: 0;
  color: #000000;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 400px) {
  .review-section {
    padding: 20px 12px;
  }

  .review-card {
    padding: 16px;
    border-radius: 8px;
  }

  .review-card h4 {
    font-size: 1rem;
  }

  .star {
    font-size: 16px;
  }

  .review-card p {
    font-size: 0.92rem;
  }
}

.write-review-section {
  padding: 20px 20px;
  background: linear-gradient(135deg, #fff5ed, #ffffff);
  border-radius: 1rem;
  margin-top: 1rem;
  width: 100%;
}

.write-review-section h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.write-review-section .sub-text {
  color: #000000;
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.review-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 500;
  font-size: 0.95rem;
}

.review-form input,
.review-form select,
.review-form textarea {
  padding: 14px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  background: transparent;
  transition: border 0.2s ease;
  appearance: none;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: #ff7300;
  background: transparent;
  outline: none;
}

.review-form textarea {
  min-height: 140px;
  resize: vertical;
}

.submit-btn {
  padding: 15px;
  background: #ff7300;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s ease;
  width: 100%;
}

.submit-btn:hover {
  background: #000;
  color: white;
}

.review-course {
  font-weight: 600;
}

@media (max-width: 480px) {
  .write-review-section {
    padding: 20px 12px;
  }

  .write-review-section h2 {
    font-size: 24px;
  }

  .review-form input,
  .review-form select,
  .review-form textarea {
    font-size: 0.95rem;
  }
}

#show-message,
#show-message-contact {
  font-weight: 600;
  margin-bottom: 10px;
}

/* Contact */

.contact-banner-small {
  width: 100%;
  background: linear-gradient(135deg, #fff5ed, #ffffff);
  border-radius: 16px;
  padding: 20px 20px;
  margin-top: 1rem;
  text-align: center;
  border: 1px solid #ffe1d2;
}

.contact-banner-small h1 {
  font-size: 28px;
  font-weight: 600;
  color: #000000;
}

.contact-banner-small p {
  font-size: 16px;
  color: #000000;
  margin-bottom: 20px;
}

.cb-call-btn {
  padding: 12px 28px;
  background: #ff7300;
  color: #fff;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.cb-call-btn:hover {
  background: #000;
  color: #fff;
}

@media (max-width: 600px) {
  .contact-banner-small {
    padding: 25px 15px;
  }

  .contact-banner-small h1 {
    font-size: 26px;
  }

  .contact-banner-small p {
    font-size: 14px;
  }

  .cb-call-btn {
    width: 100%;
    padding: 12px 0;
    border-radius: 10px;
  }
}

.contact-section {
  padding: 40px 20px;
  background: linear-gradient(135deg, #fff5ed, #ffffff);
  border-radius: 1rem;
  margin-top: 1rem;
  width: 100%;
}

.contact-container {
  width: 100%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 10px;
}

.contact-form {
  flex: 1;
  width: 50%;
}

.contact-form h2 {
  font-size: 28px;
  font-weight: 600;
  color: #000;
}

.contact-form p {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ffddd0;
  border-radius: 8px;
  font-size: 15px;
  background: transparent;
  appearance: none;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #ff7300;
  outline: none;
  box-shadow: 0 0 6px rgba(255, 115, 0, 0.4);
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.btn-contact {
  background: #ff7300;
  color: #fff;
  padding: 12px 20px;
  border: none;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn-contact:hover {
  background: #000;
  color: #fff;
}

.message {
  margin-top: 10px;
  margin-bottom: 10px;
}

.contact-image {
  flex: 1;
  width: 50%;
  text-align: right;
}

.contact-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  object-fit: cover;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1200px) {
  .contact-container {
    max-width: 1100px;
  }
}

@media (max-width: 800px) {
  .contact-container {
    flex-direction: column;
    width: 100%;
    gap: 20px;
    text-align: left;
  }

  .contact-form {
    width: 100%;
  }

  .contact-image {
    display: none;
  }
}

@media (max-width: 500px) {
  .contact-form h2 {
    font-size: 26px;
  }

  .contact-section {
    padding: 30px 15px;
  }
}

/* Footer */

footer {
  color: #ffffff;
  background: #111111;
  padding: 40px 20px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 20px;
}

.footer-container {
  width: 100%;
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ff7334;
}

.footer-social img {
  width: 15px;
  height: 15px;
}

.footer-col p,
.footer-col a {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #ff7300;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ff7300;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.3s ease;
}

.footer-social a:hover {
  background: #ffffff;
  color: #000000;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #a1a1a1;
  color: #ffffff;
  font-size: 14px;
}


@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 40px 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-col h3 {
    font-size: 18px;
  }

  .footer-col p,
  .footer-col a {
    font-size: 14px;
  }
}

.center-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  margin: auto;
}

.spinner {
  border: 4px solid #fe7743;
  border-top: 4px solid #f3f3f3;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 0.5s linear infinite;
  margin: auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Quill CSS */

.quill-content {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.quill-content h1,
.quill-content h2,
.quill-content h3,
.quill-content h4,
.quill-content h5,
.quill-content h6 {
  font-weight: 600;
  line-height: 1.4;
  margin: 5px 0;
  padding: 0;
}

.quill-content h1 {
  font-size: 26px;
}
.quill-content h2 {
  font-size: 22px;
}
.quill-content h3 {
  font-size: 19px;
}
.quill-content h4 {
  font-size: 17px;
}

.quill-content p {
  margin: 1px 0;
  padding: 0;
}

.quill-content ul,
.quill-content ol {
  padding-left: 5px;
  list-style-position: inside;
}

.quill-content li {
  margin: 2px 0;
  padding-left: 2px;
}

.quill-content ul ul,
.quill-content ol ol {
  margin-left: 2px;
}

.quill-content strong {
  font-weight: 600;
}

.quill-content em {
  font-style: italic;
}

.quill-content a {
  color: #ff7300;
  text-decoration: underline;
}

.quill-content a:hover {
  text-decoration: none;
}

.quill-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 5px 0;
  border-radius: 4px;
}

.quill-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 5px 0;
}

.quill-content th,
.quill-content td {
  border: 1px solid #ddd;
  padding: 5px;
  font-size: 14px;
}

.quill-content blockquote {
  margin: 5px 0;
  padding: 5px 10px;
  border-left: 3px solid #ccc;
  background: #f9f9f9;
}

.quill-content br {
  line-height: 1.4;
}

@media (max-width: 768px) {
  .quill-content {
    font-size: 15px;
    line-height: 1.5;
  }

  .quill-content h1 {
    font-size: 22px;
  }
  .quill-content h2 {
    font-size: 19px;
  }
  .quill-content h3 {
    font-size: 17px;
  }

  .quill-content ul,
  .quill-content ol {
    margin-left: 5px;
    padding-left: 5px;
  }
}

/* Overlay */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 999;
}

.enroll-modal {
  width: 70%;
  max-width: 550px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.modal-left {
  width: 50%;
}
.modal-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-right {
  width: 50%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  position: relative;
}

.modal-right h2 {
  margin-bottom: 5px;
  font-size: 26px;
  font-weight: 700;
}

.modal-right input,
.modal-right select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 15px;
  appearance: none;
  width: 100%;
}

.modal-right button {
  background: #ff7443;
  color: white;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-top: 5px;
  transition: 0.2s ease;
}
.modal-right button:hover {
  opacity: 0.9;
}

#close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
  font-weight: bold;
}

.enroll-open-btn {
  background: #ff7443;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 17px;
  margin: 30px auto;
  display: block;
}
.enroll-open-btn:hover {
  opacity: 0.9;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 800px) {
  .enroll-modal {
    width: 92%;
    flex-direction: column;
  }

  .modal-left,
  .modal-right {
    width: 100%;
  }

  .modal-left img {
    height: 200px;
  }
}

/* Whatsapp Button */

#whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.2s ease-in-out;
  overflow: hidden; 
}

#whatsapp-btn img {
  width: 50%;         
  height: 50%;
  object-fit: contain; 
  display: block;
}


#whatsapp-btn:hover {
  transform: scale(1.1);
}

/* ChatBot */


#chat-toggle {
    position: fixed;
    bottom: 75px;
    right: 20px;
    background-color: #ff7334;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 10px;
    cursor: pointer;
    font-size: 19px;
    z-index: 1000;
}

#chat-toggle:hover {
    background-color: #e65c00;
}

#chat-container {
    position: fixed;
    bottom: 130px;
    right: 20px;
    width: 320px;
    max-width: 90vw;
    height: 400px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease-in-out;
    z-index: 999;
}

#chat-container.active {
    transform: translateY(0);
    opacity: 1;
}


#chat-header {
    background-color: #ff7334; /* Orange */
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}


#chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 20px;
    word-wrap: break-word;
}

.message.user {
    background-color: #ff7334;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.message.bot {
    background-color: #e9ecef;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

#chat-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}

#chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 14px;
}

#chat-form button {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: #ff7334; 
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

#chat-form button:hover {
    background-color: #e65c00;
}


#chat-messages::-webkit-scrollbar {
    width: 6px;
}

#chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}
