:root {
  --primary-color: #6366f1;
  --secondary-color: #4338ca;
  --text-color: #1f2937;
  --light-bg: #f3f4f6;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

.nav {
  height: inherit;
}

.navbar {
  background: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 50px;
  width: 50px;
  font-size: 1.8rem;
  font-weight: 800;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  display: flex;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary-color);
  transition: width 0.3s;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link:hover::after {
  width: 100%;
}

.login-btn {
  cursor: pointer;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.hero {
  min-height: 75vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 4rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  max-height: fit-content;
  margin: auto 0;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-color);
  margin: 0;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #4b5563;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 500px; /* Fixed height */
  max-width: 550px; /* Ensures it doesn't exceed this on larger screens */
  margin: auto;
  overflow: hidden;
}

.hero-image img {
  width: 100%; /* Fills the container width */
  height: 100%; /* Fills the container height */
  object-fit: cover; /* Ensures the image covers the container without distortion */
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.courses {
  overflow: visible;
  width: 100vw;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.course-slider {
  position: relative;
  padding: 2rem 1rem;
}

.course-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.course-slider-wrapper {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.services {
  padding: 6rem 4rem;
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 2rem;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Footer */
.footer {
  background: #1f2937;
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  margin: 0 4rem;
  padding-bottom: 2rem;
  gap: 20px;
}

.about-col {
  flex: 2;
}

.about-us {
  min-height: 50vh;
}

.footer-right {
  display: flex;
  gap: 8rem;
  flex: 1;
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-col p {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  max-width: 40rem;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #374151;
  text-align: center;
  color: #9ca3af;
}

#footer-section-quick-links .footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 100%;
}

.button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  height: auto;
  line-height: inherit;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.about-image-container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 12px;
}

.about-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.image-container img {
  max-width: 600px;
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 4px 0;
  transition: all 0.3s ease;
}

.toolbox {
  position: fixed;
  display: none;
  justify-content: center;
  min-width: 600px;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-width: 280px;
  height: 58px;
}

.toolbox.active {
  display: flex;
}

.toolbox button,
.toolbox input,
.toolbox select {
  margin: 5px;
  cursor: pointer;
}

.text-options,
.bg-option {
  padding: 5px;
  border-radius: 4px;
  background: #f8f9fa;
}

.text-options {
  display: flex;
  align-items: center;
}

#bold-btn,
#italic-btn,
.align-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #dee2e6;
  background: white;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bold-btn {
  font-weight: bold;
}

#italic-btn {
  font-style: italic;
}

#bold-btn:hover,
#italic-btn:hover,
.align-btn:hover {
  background: #e9ecef;
  border-color: #ced4da;
}

#text-color,
#bg-color,
#font-family {
  height: 32px;
  padding: 2px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background: white;
}

#font-family {
  font-size: 14px;
  width: 120px;
  display: block;
}

.align-btn {
  font-size: 16px;
}

.bg-option {
  padding: 8px;
  display: flex;
  align-items: center;
}

#bold-btn.active,
#italic-btn.active,
.align-btn.active {
  background: #e9ecef;
  border-color: #ced4da;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.no-change {
  background-color: #007bff !important;
  color: white !important;
}

.addcard {
  margin: 2pc auto;
  display: block;
}

.editor-toolbar {
  width: 100%;
  display: flex;
  gap: 10px;
  padding: 10px;
  background-color: #f0f0f0;
  border-bottom: 1px solid #ccc;
  z-index: 1001;
  margin-top: 35px;
}

#set-bg-color-btn {
  margin-right: auto;
}

#preview-page-btn,
#save-all {
  margin-left: 5px;
}

.text-color-preview {
  font-size: 20px;
  font-weight: bold;
  margin-left: 5px;
}

.bg-color-preview {
  font-size: 20px;
  font-weight: bold;
  margin-left: 5px;
  padding: 2px 5px;
  border: 1px solid #5e5555;
}

.toolbox .disabled {
  opacity: 0.3;
  pointer-events: none;
}

.home-left {
  position: absolute;
  left: 50px;
}

.btn-secondary {
  background-color: #eee;
  color: #333;
}

.btn-secondary:hover {
  background-color: #ddd;
}

.banner-container {
  width: 100%;
  text-align: center;
}

.banner-placeholder {
  width: 100%;
  min-height: 100px;
  background-color: #f5f5f5;
  border: 2px dashed #ccc;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.banner-display {
  width: 100%;
  position: relative;
}

.Banner {
  width: 100%;
  position: relative;
}

.video-section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonial-area {
  padding: 80px 0;
}

.header-wrapper {
  margin-bottom: 50px;
}

.category-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.main-title {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.video-contain {
  flex: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #000;
  height: 20rem;
  padding: inherit;
}

.video-contain iframe {
  position: relative;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.upload-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.upload-button:hover {
  background-color: var(--secondary-color);
}

.upload-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  color: #666;
}

#testimonial-video {
  z-index: 1;
  width: 100%;
  height: 100%;
}

.text-container {
  flex: 1;
  padding: 20px 0;
}

.feature-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.feature-description {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

.nav-link.add-link {
  color: #007bff;
  border: 1px dashed #007bff;
  padding: 2px 8px;
  margin-left: 10px;
  text-decoration: none;
}

.nav-link.add-link:hover {
  background-color: #e9ecef;
}

.categories-section {
  width: 300px;
  padding: 15px;
  border-right: 1px solid #e0e0e8;
  overflow-y: auto;
  max-width: 300px;
}

.categories-section h2 {
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 1.5rem;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

.category-list {
  list-style-type: none;
  padding: 0;
  width: auto;
}

.course-container {
  display: flex;
  width: 100%;
  padding: 50px;
  background-color: #f4f4f8;
  min-height: 70vh;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  margin-bottom: 10px;
  background-color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #eee;
  border-left: 4px solid transparent;
  color: #2c3e50;
}

.category-item:hover {
  background-color: #f1f1f5;
}

.category-item.active {
  background-color: #000000;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-weight: bold;
}

.courses-section {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
}

.category-name {
  flex-grow: 1;
}

.category-icons {
  display: flex;
  gap: 10px;
}

.category-icons i {
  vertical-align: middle;
}

.course-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.courses-grid {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}

.view-course {
  background-color: rgb(86, 86, 86);
}

.form-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h4#name {
  color: #1a237e;
  font-weight: 500;
  margin-bottom: 10px;
}

.subheading#description {
  color: #546e7a;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.input-field {
  margin-bottom: 25px;
}

.input-field label {
  color: #455a64;
  font-size: 1rem;
}

.input-field input[type=text],
.input-field input[type=email],
.input-field textarea {
  border-bottom: 1px solid #90a4ae;
}

.input-field input[type=text]:focus + label,
.input-field input[type=email]:focus + label,
.input-field textarea:focus + label {
  color: #3f51b5;
}

.input-field input[type=text]:focus,
.input-field input[type=email]:focus,
.input-field textarea:focus {
  border-bottom: 1px solid #3f51b5;
  box-shadow: 0 1px 0 0 #3f51b5;
}

.checkbox-group,
.radio-group {
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 4px;
}

.checkbox-group p,
.radio-group p {
  color: #455a64;
  margin-bottom: 15px;
}

.range-field {
  padding: 0 20px;
}

.btn i {
  font-size: 1.2rem;
  margin-left: 10px;
}

select {
  display: block !important;
}

.nav-menu.active {
  display: flex !important;
}

.courses-grid {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}

@media (max-width: 768px) {
  .course-container {
    flex-direction: column;
    padding: 20px;
  }
  .categories-section {
    width: 100%;
    max-width: 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e8;
    margin-bottom: 20px;
  }
  .category-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 10px;
    gap: 10px;
  }
  .category-item {
    flex: 0 0 auto;
    margin-bottom: 0;
    white-space: nowrap;
    padding: 10px;
  }
  .courses-section {
    width: 100%;
    padding: 10px;
  }
  .courses-grid {
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
  }
}
.btn-edit {
  border: none;
  border-radius: 2px;
  display: flex;
  height: 36px;
  /* line-height: 36px; */
  padding: 0 10px;
  text-transform: uppercase;
  vertical-align: middle;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-align: center;
  align-items: center;
}

.drag-handle {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: move;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.drag-handle:hover {
  opacity: 1;
}

.sortable-ghost {
  opacity: 0.5 !important;
  transform: scale(0.9) !important;
  transition: all 0.3s !important;
}

.sortable-drag {
  opacity: 0.8 !important;
  transform: scale(0.95) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

[data-section-id] {
  position: relative;
  transition: all 0.3s;
}

.course-image {
  width: 100%;
  height: 160px;
  background: #e5e7eb;
  position: relative;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.course-content {
  padding: 15px;
}

.course-title {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0 0 10px;
  height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.price-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.original-price {
  text-decoration: line-through;
  color: #757575;
  font-size: 1rem;
}

.discounted-price {
  color: #d32f2f;
  font-size: 1.2rem;
  font-weight: bold;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.8rem;
  padding: 5px 10px;
}

.explore-btn {
  width: 100%;
  border-radius: 4px;
  font-weight: 500;
}

@font-face {
  font-family: "Bungee";
  src: url("../fonts/Bungee-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Prompt";
  src: url("../fonts/Prompt-Black.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Light.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Fira";
  src: url("../fonts/FiraSans-Light.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Source_Code_PRO";
  src: url("../fonts/SourceCodePro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Tagesschrift";
  src: url("../fonts/Tagesschrift-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Cascadia";
  src: url("../fonts/CascadiaCode-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Coral";
  src: url("../fonts/CoralPixels-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Playwrite";
  src: url("../fonts/PlaywriteRO-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Cavet";
  src: url("../fonts/Caveat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Dancing Script";
  src: url("../fonts/DancingScript-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@media (max-width: 768px) {
  #coursesGrid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 0;
    margin: 0 -10px;
    padding: 0 10px;
    scroll-snap-type: x mandatory;
  }
  .slider-nav {
    display: none;
  }
}
.courses-section {
  flex-grow: 1;
  padding: 20px;
}

.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  max-width: 340px;
  min-width: 340px;
  margin: 20px !important;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  visibility: visible;
  display: block;
}

.course-image {
  width: 100%;
  height: 160px;
  position: relative;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-content {
  padding: 15px;
}

.course-title {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0 0 10px;
  height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1rem;
  }
  .hamburger {
    display: block;
  }
  .right-section {
    position: relative;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    gap: 0;
    width: 40vw;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 1000;
    text-align: center;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-link {
    padding: 0.8rem 1rem;
    width: 100%;
    justify-content: center;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    text-align: center;
    gap: 2rem;
  }
  .hero-content {
    order: 2;
  }
  .hero-image {
    order: 1;
  }
  .hero-image img {
    height: auto;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .course-card {
    min-width: 300px;
  }
  .courses-grid {
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .courses-grid::-webkit-scrollbar {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-grid {
    flex-direction: column;
    gap: 2rem;
    margin: 0 1rem;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .video-contain {
    width: 100%;
    margin-bottom: 20px;
  }
  .text-container {
    width: 100%;
    text-align: center;
  }
  .main-title {
    font-size: 32px;
  }
}
.update-banner-icon {
  position: absolute;
  bottom: 10px;
  right: 35px;
  background-color: #ff0023;
  color: #ffffff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.update-banner-icon:hover {
  background-color: #0056b3;
}

.update-banner-icon i.material-icons {
  font-size: 20px;
}

.Banner {
  position: relative;
}

@media (max-width: 768px) {
  .update-banner-icon {
    width: 32px;
    height: 32px;
  }
  .update-banner-icon i.material-icons {
    font-size: 18px;
  }
}
.view-course[contenteditable=true] {
  user-select: text !important;
  pointer-events: auto !important;
  cursor: text !important;
  text-transform: none;
}

@media (min-width: 1600px) {
  .Banner img {
    width: 100%;
  }
}
.plus-icon-container {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 10px;
}

#nav-plus-icon {
  font-size: 24px;
  cursor: pointer;
}

#missing-nav-dropdown {
  min-width: 150px;
}

.fade {
  opacity: 0.5;
}

.mw {
  max-width: 370px;
}

/*# sourceMappingURL=header.css.map */
