@import url("https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap");

/* =================================
           :ROOT VARIABLES
           ================================= */
:root {
  --primary-color: #6a44f2;
  --secondary-color: #198754;
  --highlight-color: #f8436b;
  --primary-color-light: #f0efff;
  --bg-light: #f9f8ff;
  --red-color: #f63c5a;
  --hero-bg: #f7f8fa;
  --text-heading: #1e1f4b;
  --text-body: #6e6e84;
  --bg-light: #f8f9fa;
  --shawdow-color: rgba(0, 0, 0, 0.04);
  --sidebar-width: 260px;
  --stat-card-1-bg: #f0f0ff;
  --stat-card-2-bg: #e3f8f1;
  --stat-card-3-bg: #fff2e5;
  --stat-card-4-bg: #e3f4ff;
  --stat-card-5-bg: #f0e9ff;
  --stat-card-6-bg: #ffe8f0;
  --success-color: #10b981;
  --info-color: #3b82f6;
  --warning-color: #f59e0b;
  --border-color:#e5e5e5;
}

/* ================= BODY & GENERAL STYLES ================ */
body {
  font-family: "Kantumruy Pro", "Poppins", sans-serif;
  /* background-color: #ffffff; */
  color: var(--text-heading);
}

.body-bg {
  background: linear-gradient(90deg, #FEE0DE 0%, #E4F5FD 51.39%, #DDEDFF 100%);
}

.body-bg-dash {
  background: #f9f8ff;
}

/* =================================
           CUSTOM COMPONENTS
           ================================= */
.Text-primary {
  color: var(--primary-color);
}

.Text-hightlight {
  color: var(--highlight-color);
}

.Text-heading {
  color: var(--text-heading);
}

.Btn-primary {
  background-color: var(--red-color);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
}

.Btn-primary:hover {
  background-color: #e02a46;
  color: #fff;
  transform: translateY(-2px);
}

.Btn-secondary {
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.Btn-secondary:hover {
  color: var(--primary-color);
}

.Btn-primary:hover,
.Btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  color: white;
}

.Btn-outline-primary {
  border: 1px solid var(--primary-color) !important;
  transition: 0.3s;
  color: black;
  font-weight: 600;
}

.Btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.hover-scale:hover {
  transform: scale(1.05);
  transition: 0.3s;
}

.hover-rotate:hover {
  transform: rotate(0deg) !important;
}

.bg-dash-white {
  background-color: white !important;
}

a {
  text-decoration: none;
}

section {
  overflow: hidden;
  padding: 60px 0;
}

/* ===========================================================================================================================
                                      HOME PAGE
=========================================================================================================================== */


/* ====================

=============
           HEADER / NAVIGATION
           ================================= */
/* Navbar glassmorphism */
header .navbar-main {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  margin-top: 15px;
  padding: 1rem 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

header .navbar-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color) !important;
  padding: 0 !important;
}

header .navbar-brand img {
  width: 250px;
  height: 50PX;
  height: auto;
  object-fit: cover;

}

.navbar .navbar-nav .nav-item .nav-link {
  position: relative;
  font-weight: 500;
  color: #333 !important;
  margin: 0 6px;
  transition: color 0.3s ease;
  font-size: 17px;
}

.navbar .navbar-nav .nav-item .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: -4px;
  background: #4e54c8;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

.navbar .navbar-nav .nav-item .nav-link.active {
  color: #4e54c8 !important;
}

.navbar .navbar-nav .nav-item .nav-link:hover::after,
.navbar .navbar-nav .nav-item .nav-link.active::after {
  width: 60%;
}

.navbar .navbar-nav .nav-item .nav-link:hover {
  color: #4e54c8 !important;
}

.notify-item {
  padding: 5px 12px;
  border-radius: 12px;
  transition: background 0.2s;
}

.notify-item:hover {
  background: rgba(78, 84, 200, 0.08);
  cursor: pointer;
}

.btn-notify {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.btn-notify:hover {
  transform: scale(1.05);
  background: #f0f0ff;
}

.btn-notify .badge {
  font-size: 0.65rem;
  padding: 5px 7px;
  border-radius: 50%;
  position: absolute;
  top: -6px;
  right: -6px;
}

.btn-pill {
  border-radius: 30px;
  padding: 8px 22px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-login {
  border: 1px solid #4e54c8;
  color: #4e54c8;
}

.btn-login:hover {
  background: var(--primary-color);
  color: #fff;
}

.btn-registers {
  background: var(--primary-color);
  color: #fff;
  border: 1px solid #4e54c8 !important;
}

.btn-registers:hover {
  opacity: 0.9;
  color: #4e54c8;
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4e54c8;
  cursor: pointer;
  transition: 0.3s;
}

.profile-img:hover {
  transform: scale(1.08);
}

/* Modern Glassmorphic Dropdown */
.dropdown .modern-profile-dropdown {
  left: 50% !important;
  right: auto !important;
  top: 110% !important;
  margin-top: 0.5rem;
}

.navbar .dropdown-menu {
  animation: none;
}

.modern-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.modern-dropdown .dropdown-item i {
  font-size: 1.1rem;
  color: #4e54c8;
  transition: transform 0.3s ease;
}

.modern-dropdown .dropdown-item:hover {
  background: linear-gradient(90deg, rgba(78, 84, 200, 0.15), rgba(143, 148, 251, 0.15));
  color: #4e54c8;
}

.modern-dropdown .dropdown-item:hover i {
  transform: scale(1.2);
  color: #8f94fb;
}

/* Main dropdown icon */
.nav-item.dropdown .nav-link i {
  font-size: 1.1rem;
  color: #4e54c8;
  transition: transform 0.3s ease;
}

.nav-item.dropdown .nav-link:hover i {
  transform: rotate(15deg) scale(1.1);
  color: #8f94fb;
}

.dropdown-toggle:after {
  display: none;
  margin-left: 0;
  vertical-align: 0;
  content: "";
  border-top: none;
  border-right: none;
  border-bottom: 0;
  border-left: none;
}

/* Modern Profile Dropdown */
.modern-profile-dropdown {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 0.7rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  min-width: 260px;
  left: 50% !important;
  transform: translateX(-50%);
  right: auto !important;
  top: 110% !important;
  margin-top: 0.5rem;
}

/* Profile Header */
.modern-profile-dropdown .dropdown-header {
  padding: 1rem;
}

.modern-profile-dropdown .profile-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #4e54c8;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(78, 84, 200, 0.3);
}

/* Items */
.modern-profile-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  font-weight: 500;
  padding: 12px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.modern-profile-dropdown .dropdown-item i {
  font-size: 1.2rem;
  color: #4e54c8;
  transition: transform 0.2s ease;
}

.modern-profile-dropdown .dropdown-item:hover {
  background: linear-gradient(90deg, rgba(78, 84, 200, 0.12), rgba(143, 148, 251, 0.12));
  color: #4e54c8;
  transform: translateX(4px);
}

.modern-profile-dropdown .dropdown-item:hover i {
  transform: scale(1.2);
  color: #8f94fb;
}

/* =================================
           HERO SECTION
           ================================= */
.hero-section {
  background-color: var(--hero-bg);
  padding-top: 120px !important;
  padding-bottom: 180px;
  /* Increased padding to make space for stats */
  overflow: hidden;
}

.hero-section .lead {
  color: var(--text-body);
}

.hero-section .highlight-text {
  background-color: var(--highlight-color);
  color: white;
  padding: 0.1rem 0.75rem;
  border-radius: 0.5rem;
}

.hero-search-bar {
  background-color: #fff;
  border-radius: 50px;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-search-bar .form-control {
  border: none;
  box-shadow: none !important;
}

.hero-search-bar .btn-category {
  border-left: 1px solid #eee;
  color: var(--text-heading);
  font-weight: 500;
}

.hero-search-bar .btn-search {
  background-color: var(--red-color);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.hero-search-bar .btn-search:hover {
  background-color: #e02a46;
}

.hero-image-wrapper {
  position: relative;
  min-height: 400px;
}

.hero-image-wrapper .decorative-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  animation: pulse 4s infinite ease-in-out;
}

.hero-image-wrapper .circle-1 {
  width: 180px;
  height: 180px;
  background-color: rgba(255, 224, 130, 0.7);
  top: 0;
  left: 20%;
}

.hero-image-wrapper .circle-2 {
  width: 120px;
  height: 120px;
  background-color: rgba(255, 182, 193, 0.7);
  bottom: 10%;
  right: 25%;
  animation-delay: 1s;
}

.hero-image-wrapper .abstract-card {
  position: absolute;
  width: 288px;
  height: 384px;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.card-bg-1 {
  background-color: rgba(254, 202, 202, 0.8);
  transform: rotate(12deg);
}

.card-bg-2 {
  background-color: rgba(199, 210, 254, 0.8);
  transform: rotate(-6deg);
}

.card-main {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-right: 20px;
}

.card-main img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
}

.card-main span {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-color);
  opacity: 0.7;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(0.95);
  }
}

/* =================================
           STATS SECTION
           ================================= */
.stats-section {
  margin-top: -10px;
  /* Pulls the section up */
  position: relative;
  z-index: 10;
}

.stat-card {
  border-radius: 1.5rem;
  padding-block: 6px;
  background-color: white;
  border: 1px solid #e7e7e7;
  text-align: center;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}

.stat-icon-bg {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

.stat-icon-bg.bg-red-light {
  background-color: #fee2e2;
  color: #ef4444;
}

.stat-icon-bg .bg-purple-light {
  background-color: #ede9fe;
  color: #8b5cf6;
}

.stat-icon-bg.bg-pink-light {
  background-color: #fce7f3;
  color: #ec4899;
}

.stat-icon-bg.bg-blue-light {
  background-color: #dbeafe;
  color: #3b82f6;
}

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 600;
  margin-left: 10px;
}

.stat-card .stat-label {
  color: var(--text-body);
  margin-top: 10px;
  margin-left: 10px;
}

/* =================================
           CATEGORY SECTION
           ================================= */
.category-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-header {
  margin-bottom: 3rem;
  margin-top: 5rem;
}

.section-header .subtitle {
  color: var(--highlight-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-header .title {
  color: var(--text-heading);
  font-weight: 800;
}

.btn-view-all {
  background-color: var(--red-color);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-view-all:hover {
  background-color: #e02a46;
  color: #fff;
  transform: translateY(-2px);
}

.category-card,
.category-section-page .category-card {
  background-color: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: var(--text-heading);
  height: 100%;
}

.category-section-page .category-card {
  padding-top: 20px;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.1);
  border: 1px solid #f8c2d5;
  color: var(--text-heading);
}

.category-card .logo-wrapper {
  width: 100%;
  height: 120px;
  margin: 0 auto 1.5rem auto;
  border-radius: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.category-card .logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.category-card .category-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.category-card .instructor-count {
  color: var(--text-body);
  font-size: 0.9rem;
}

/* Swiper Pagination Styles */
.swiper-pagination {
  position: static;
  margin-top: 15px;
  /* Position it below the slider */
}

.swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background-color: #d1d5db;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--red-color);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* =================================
           FEATURED INSTRUCTOR SECTION
           ================================= */

/* Section header */
.trending-badge {
  background-color: #ffe5f1;
  color: #ec4899;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* Instructor card */
.instructor-card {
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.instructor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Heart (wishlist) */
.heart-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.2rem;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.3s;
}

.heart-icon:hover {
  color: #ec4899;
}

/* Image */
.instructor-img-wrapper {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background-color: #f3f4f6;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.instructor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
}

/* Verified badge */
.verified-badge {
  position: absolute;
  bottom: 40px;
  top: 110px;
  right: 75px;
  background: #22c55e;
  border: 2px solid white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

/* Social icons */
.social-icons-teacher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f3f4f6;
  color: #4b5563;
  transition: all 0.3s ease;
}

.social-icons-teacher a:hover {
  background-color: #4f46e5;
  color: #fff !important;
}

/* Swiper pagination */
.swiper-pagination {
  bottom: 10px !important;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #d1d5db;
  opacity: 1;
  margin-top: 50px;
}

.swiper-pagination-bullet-active {
  background: #ec4899;
  width: 24px;
  border-radius: 4px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #4f46e5;
}

/* =================================
           FEATURED COURSES SECTION
           ================================= */
.courses-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: rgb(250, 251, 251);
}

/* background: linear-gradient(to right, #f8f7ff 0%, #f6f4fa 50%, #d7dceb 100%); */
.section-header {
  margin-bottom: 3rem;
}

.section-header .subtitle {
  color: var(--highlight-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-header .title {
  color: var(--text-heading);
  font-weight: 800;
}

.btn-view-all {
  background-color: var(--red-color);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-view-all:hover {
  background-color: #e02a46;
  color: #fff;
  transform: translateY(-2px);
}

.courses-card {
  background-color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.courses-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.15);
}

.courses-card .card-img-top-wrapper {
  position: relative;
  overflow: hidden;
}

.courses-card .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.courses-card:hover .card-img-top {
  transform: scale(1.05);
}

.courses-card .price-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border-radius: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-heading);
  color: red;
  font-weight: 500;
}

.courses-card .price-tag .original-price {
  text-decoration: line-through;
  color: var(--text-body);
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

.courses-card .price-tag.free {
  background-color: #198754;
  color: #fff;
}

.courses-card .card-body {
  padding: 1.5rem;
}

.courses-card .instr-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.courses-card .instr-info img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 0.75rem;
}

.courses-card .instr-info .instr-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

.courses-card .wishlist-btn {
  margin-left: auto;
  color: var(--text-body);
  font-size: 1.2rem;
  text-decoration: none;
}

.courses-card .wishlist-btn:hover {
  color: var(--highlight-color);
}

.courses-card .course-title {
  font-size: 1.1rem;
  color: var(--text-heading);
  text-decoration: none;
  display: block;
}

.courses-card .course-title:hover {
  color: var(--primary-color);
}

.courses-card .course-meta {
  font-size: 0.85rem;
  color: var(--text-body);
}

.courses-card .course-meta i {
  color: var(--primary-color);
}

.courses-card .card-footer {
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
  padding: 1rem 1.5rem;
}

.courses-card .rating-stars {
  color: #ffc107;
}

.courses-card .btn-buy {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.courses-card .btn-buy:hover {
  background-color: #5833d1;
}

/* ======Section popular course */
/* =================================
           POPULAR COURSES SECTION
           ================================= */

.popular-course {
  padding-block: 80px;
  background-color: #f6f4fa;
}

.popular-course .course-header {
  margin-bottom: 3rem;
}

.popular-course .course-header .subtitle {
  color: var(--highlight-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.popular-course .course-header .title {
  color: var(--text-heading);
  font-weight: 800;
}

.popular-course .btn-view-all {
  background-color: var(--red-color);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.popular-course .btn-view-all:hover {
  background-color: #e02a46;
  color: #fff;
  transform: translateY(-2px);
}

.popular-course .courses-card {
  display: flex;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03),
    0 2px 4px -2px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf2f7;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.popular-course .courses-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07),
    0 4px 6px -4px rgba(0, 0, 0, 0.07);
}

.popular-course .courses-card .card-img-left-wrapper {
  position: relative;
  width: 220px;
  flex-shrink: 0;
}

.popular-course .courses-card .card-img-left {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-course .courses-card .price-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border-radius: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.popular-course .courses-card .price-tag .original-price {
  text-decoration: line-through;
  color: var(--text-body);
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

.popular-course .courses-card .price-tag.free {
  background-color: #198754;
  color: #fff;
}

.popular-course .courses-card .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.popular-course .courses-card .instr-info {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.popular-course .courses-card .instr-info img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 0.75rem;
}

.popular-course .courses-card .instr-info .instr-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

.popular-course .courses-card .wishlist-btn {
  margin-left: auto;
  color: var(--text-body);
  font-size: 1.2rem;
  text-decoration: none;
}

.popular-course .courses-card .wishlist-btn:hover {
  color: var(--highlight-color);
}

.courses-card .course-title {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-heading);
  text-decoration: none;
}

.popular-course .courses-card .course-title:hover {
  color: var(--primary-color);
}

.popular-course .courses-card .course-meta {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-top: 0.5rem;
}

.popular-course .courses-card .course-meta i {
  color: var(--primary-color);
}

.popular-course .courses-card .card-footer-custom {
  margin-top: auto;
  /* Pushes to the bottom */
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.popular-course .courses-card .rating-stars {
  color: #ffc107;
}

.popular-course .courses-card .btn-buy {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  text-decoration: none;
}

.popular-course .courses-card .btn-buy:hover {
  background-color: #5833d1;
}

/* =================================
    BECOME TEACHER SECTION
   ================================= */
.register-section {
  padding-block: 80px;
  background-color: #fbfdfdd8;
}

.register-section .register-card {
  border-radius: 1.5rem;
  color: white;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  min-height: 300px;
  background-size: cover;
  background-position: center;
}

/* .register-section .register-card .register-card-content {
  position: absolute;
  z-index: 2;das
  top: 0;
  left: 0;
} */

.register-section .register-card h2 {
  font-weight: 800;
  font-size: 28px;
}

.register-section .register-card p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 300px;
}

.register-section .register-card .btn-register {
  background-color: #ff6b6b;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
}

.register-section .register-card .btn-register:hover {
  background-color: #e65a5a;
}

.register-section .register-card-1 {
  background-color: rgb(178, 156, 203);
}

.register-section .register-card-2 {
  background-color: rgb(114, 173, 173);
  /* Dark Gray */
}

.register-section .register-card-img {
  position: absolute;
  right: 0;
  bottom: 0;
  max-height: 100%;
  width: auto;
  z-index: 1;
}

@media (max-width: 767px) {
  .register-section .register-card-img {
    max-height: 70%;
    opacity: 0.8;
  }
}

/* =================================

   TESTIMONIAL SLIDER
   ================================= */
.testimonial .testimonial-slider {
  padding-bottom: 50px;
}

.testimonial .testimonial-slider .testimonial-card {
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial .testimonial-slider .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.testimonial .testimonial-slider .testimonial-card img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.star-rating {
  margin-top: auto;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  width: 25px;
  border-radius: 5px;
}


/* Notification Modal
   ================================= */

.modal-header-bordered {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 1rem;
}

.modal-notification .modal-header {
  padding-bottom: 0;
}

.modal-notification .nav-tabs {
  border-bottom: 2px solid #e9ecef;
}

.modal-notification .nav-link.active {
  border: none;
  border-bottom: 3px solid #6f42c1;
  /* Purple underline */
  font-weight: 600;
  color: #6f42c1;
}

.notification .modal-title {
  width: 100%;
  border-bottom: 1px solid #c6c6c6;
}

.notification-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;

}

.notification-item img {
  width: 120px;
  height: 70px;
  border-radius: 5px;
  margin-right: 10px;
}

.notification-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-top: 1px solid #e9ecef;
}

.mark-read {
  color: #9b59b6;
  font-weight: 600;
  cursor: pointer;
}

.see-all {
  border: 1px solid #9b59b6;
  color: #9b59b6;
  background: none;
}

.see-all:hover {
  background: #9b59b6;
  color: #fff;
}

.notification .modal-dialog {
  max-width: 600px;
  margin: 1.75rem auto;
  height: 100vh;
  display: flex;
  align-items: center;
}


/* =================================
    FAQ SECTION
   ================================= */

.faq-sec {
  background-color: #fffffff2;
}

.faq-sec .accordion-item {
  border: none;
  border-bottom: 1px solid #e9ecef;
}

.faq-sec .accordion-item:first-of-type {
  border-top: 1px solid #e9ecef;
}

.faq-sec .accordion-button {
  font-weight: 600;
  font-size: 17px;
  color: var(--text-heading);
  padding: 24px 16px;
  background-color: transparent;
  box-shadow: none;
}

.faq-sec .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: transparent;
  box-shadow: none;
}

.faq-sec .accordion-button::after {
  background-image: none;
  content: "\F282";
  font-family: "bootstrap-icons";
  font-weight: 600;
  font-size: 20px;
  color: var(--primary-color);
  transform: rotate(0deg);
  transition: transform 0.3s ease-in-out;
}

.faq-sect .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

.faq-sec .accordion-body {
  padding: 0 16px 24px 16px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
}

/* =================================
   CALL TO ACTION (CTA) SECTION
   ================================= */
.cta-wrapper {
  background-color: var(--hero-bg);
  padding: 80px 32px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-wrapper::before,
.cta-wrapper::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.cta-wrapper::before {
  width: 200px;
  height: 200px;
  background-color: rgba(106, 68, 242, 0.1);
  top: -50px;
  left: -50px;
}

.cta-wrapper::after {
  width: 300px;
  height: 300px;
  background-color: rgba(248, 67, 107, 0.08);
  bottom: -100px;
  right: -100px;
}

/* =================================
     <!-- Stats and Partners Section -->
   ================================= */

.stats-partner .stats-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-image: linear-gradient(to right, rgba(203, 227, 243, 0.7), rgba(202, 223, 235, 0.7), rgba(230, 236, 239, 0.7));
}

.stats-partner .background-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  background-color: rgba(254, 202, 202, 0.5);
  border-radius: 50%;
  filter: blur(75px);
  z-index: -1;
}

.stats-partner .stat-icon-box {
  width: 64px;
  height: 64px;
  border: 2px solid rgb(251, 182, 255);
}

/* Style for the partner logos */
.stats-partner .logo-container svg,
.logo-container p {
  max-height: 32px;
  width: auto;
  color: #9CA3AF;
  fill: #9CA3AF;
  transition: all 0.3s ease-in-out;
}

.stats-partner .logo-container:hover svg,
.logo-container:hover p {
  color: #1F2937;
  fill: #1F2937;
}


/* =================================
   process to learn in website
   ================================= */
.section-wrapper {
  background-color: #ffffffaa;
}

.image-card {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
}

/* Decorative shape behind the image */
.image-card::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: rgba(139, 92, 246, 0.15);
  /* violet-200 with opacity */
  border-radius: 1.5rem;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.step-item {
  position: relative;
  padding-left: 80px;
  /* Space for the number */
  padding-bottom: 2rem;
  border-left: 2px solid #e5e7eb;
  /* gray-200 */
}

.step-item:last-child {
  border-left: 2px solid transparent;
  padding-bottom: 0;
}

.step-number {
  width: 45px;
  height: 45px;
  border: 2px solid #00AEEF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #00AEEF;
  background: #fff;
  margin: auto;
  font-size: 16px;
}

.step-line {
  border-top: 2px dashed #00AEEF;
  margin: 0 15px;
  flex: 1;
}



/* =================================
   FOOTER
   ================================= */

.site-footer-modern {
  background: linear-gradient(135deg, #1e1e2f, #2a2a40);
  color: #ddd;
  font-size: 15px;
}

.site-footer-modern h4,
.site-footer-modern h6 {
  color: #fff;
}

.footer-links li {
  margin-bottom: 8px;
}

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

.footer-links a:hover {
  color: #f9c74f;
}

.footer-contact li {
  margin-bottom: 8px;
}

.newsletter-form .form-control {
  border-radius: 30px;
  border: none;
}

.newsletter-form .btn {
  border-radius: 30px;
  padding: 0 20px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  transition: all 0.3s;
}

.footer-social:hover {
  background: #f9c74f;
  color: #000;
}



.footer-vibrant-tech {
  color: var(--text-body);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(106, 68, 242, 0.2);
  /* Starfield Background */
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 40px 70px, #fff, transparent),
    radial-gradient(1px 1px at 50px 160px, #ddd, transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 130px 80px, #ddd, transparent),
    radial-gradient(1px 1px at 160px 120px, #fff, transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: animate-stars 50s linear infinite;
  background-color: #11122e;
}

/* Animated Background Blobs */
.footer-vibrant-tech::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(106, 68, 242, 0.15) 0%, rgba(106, 68, 242, 0) 70%);
  animation: move-blob 20s ease-in-out infinite alternate;
  z-index: 0;
}

.footer-vibrant-tech::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(248, 67, 107, 0.15) 0%, rgba(248, 67, 107, 0) 70%);
  animation: move-blob 25s ease-in-out infinite alternate-reverse;
  z-index: 0;
}


/* --- Top Connect Section --- */
.connect-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2.5rem;
}

.connect-section h3 {
  font-weight: 700;
  color: #fff;
}

.btn-connect {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: bold;
  border-radius: 50px;
  padding: 12px 18px 12px 30px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(106, 68, 242, 0.5);
}

.btn-connect .arrow-wrapper {
  background-color: #fff;
  color: var(--primary-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.btn-connect:hover {
  background-color: var(--highlight-color);
  box-shadow: 0 0 25px rgba(248, 67, 107, 0.6);
}

.btn-connect:hover .arrow-wrapper {
  transform: translateX(5px);
  color: var(--highlight-color);
}

/* --- Main Footer Content --- */
.footer-vibrant-tech h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-vibrant-tech a {
  color: #d2d2d2;
  text-decoration: none;
  transition: all 0.2s ease;
}

.text-footer-color {
  color: #d2d2d2;
}

.footer-vibrant-tech .list-unstyled a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-vibrant-tech .list-unstyled li {
  margin-bottom: 1rem;
}

.footer-vibrant-tech .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all 0.3s ease;
}

.footer-vibrant-tech .social-icon:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.footer-vibrant-tech .form-control {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(106, 68, 242, 0.3);
  color: #fff;
  border-radius: 8px 0 0 8px;
}

.footer-vibrant-tech .form-control::placeholder {
  color: var(--text-body);
}

.footer-vibrant-tech .btn-subscribe {
  background: var(--primary-color);
  border: none;
  color: #fff;
  border-radius: 0 8px 8px 0;
  padding: 0 15px;
  transition: background-color 0.3s ease;
}

.footer-vibrant-tech .btn-subscribe:hover {
  background-color: var(--highlight-color);
}

/* --- Bottom Bar --- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.footer-bottom a {
  margin: 0 10px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* --- Animation Keyframes --- */
@keyframes move-blob {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(50px, -50px) scale(1.2);
  }
}

@keyframes animate-stars {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -200px -200px;
  }
}

@keyframes float-and-spin {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0;
  }

  25% {
    opacity: 0.1;
  }

  50% {
    transform: translateY(-20px) rotate(180deg) scale(1.1);
  }

  75% {
    opacity: 0.1;
  }

  100% {
    transform: translateY(0) rotate(360deg) scale(1);
    opacity: 0;
  }
}

.logo-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.5rem;
  text-shadow: 0 0 10px #fff;
}

.contact-info-item i {
  width: 20px;
  text-align: center;
}

.footer-sticker {
  position: absolute;
  pointer-events: none;
  color: var(--primary-color);
  opacity: 0;
  z-index: 0;
  animation: float-and-spin 20s ease-in-out infinite;
}


/* ===========================================================================================================================
                                      COURSE PAGE
=========================================================================================================================== */


/* =================================
   Herobanner Coouse
   ================================= */

.hero-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--hero-bg) 0%, #ffffff 100%);
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(106, 68, 242, 0.05);
  /* var(--primary-color) light */
  border-radius: 50%;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -15%;
  width: 400px;
  height: 400px;
  background: rgba(25, 135, 84, 0.05);
  /* var(--secondary-color) light */
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h2 {
  font-family: 'Kantumruy Pro', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 2;
  color: var(--text-heading);
}

.hero-content h2 .highlight {
  background-color: var(--highlight-color);
  padding: 0 0.75rem;
  border-radius: 15px;
  display: inline-block;
  color: white;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 500px;
  margin-top: 1.5rem;
}

/* Features */
.features-list {
  margin-top: 2rem;
}

.features-list li {
  font-size: 1rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
}

.features-list li .bi {
  font-size: 1.25rem;
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

/* Buttons */
.btn-custom-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-custom-primary:hover {
  background-color: #5833d1;
  border-color: #5833d1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(106, 68, 242, 0.25);
}

.btn-custom-outline {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.75rem 2.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-custom-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(106, 68, 242, 0.25);
}

/* Hero Image */
.hero-image-container {
  position: relative;
  z-index: 2;
}

.hero-image-container img {
  max-width: 110%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  right: -20px;
}

.hero-image-container img:hover {
  transform: translateY(-5px);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background-color: white;
  padding: 1.25rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 3;
  animation: floatcourse 3s ease-in-out infinite;
}

.floating-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.students-card {
  top: 15%;
  right: -5%;
  width: 250px;
  animation-delay: 0.5s;
}

.congrats-card {
  bottom: 10%;
  left: 5%;
  width: 300px;
  animation-delay: 1s;
}

.congrats-card .icon-envelope {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.75rem;
  border-radius: 50%;
}

/* Floating Icons */
.floating-icon {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 3;
  animation: floatcourse 3s ease-in-out infinite, rotate 10s linear infinite;
}

.floating-icon.icon1 {
  top: 25%;
  left: -10%;
  color: var(--primary-color);
}

.floating-icon.icon2 {
  top: 50%;
  right: 0%;
  color: var(--highlight-color);
  animation-delay: 2s;
}

.floating-icon.icon3 {
  bottom: 20%;
  right: 15%;
  color: var(--secondary-color);
  animation-delay: 1.5s;
}

.floating-icon.icon4 {
  top: 5%;
  left: 20%;
  color: var(--text-heading);
  animation-delay: 3s;
}

/* Animations */
@keyframes floatcourse {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .hero-image-container {
    margin-top: 3rem;
  }

  .hero-image-container img {
    right: 0;
  }
}

/* =================================
  Category Section
   ================================= */

.category-section {
  background-color: rgba(153, 154, 154, 0.112);
}

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

.section-header .subtitle {
  color: var(--highlight-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.section-header .title {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--text-heading);
}

.section-header .description {
  color: var(--text-body);
  max-width: 600px;
  margin: 1rem auto 0;
}

.category-card {
  background-color: #fff;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid #f8c2d5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
  height: 100%;
  box-shadow: 0px 0px 3px 0px #dfdfdf;
}


.category-card:hover {
  transform: translateY(-8px);

  background-color: rgba(237, 231, 240, 0.767);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}


.category-card .icon-wrapper {
  margin-bottom: 1.5rem;
  height: 60px;
  /* Fixed height for icons */
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card .icon-wrapper img {
  width: auto;
  height: 60px;
}

.category-card .icon-wrapper svg {
  width: auto;
  height: 60px;
}

.category-card .category-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.category-card .instructor-count {
  color: var(--text-body);
  font-size: 0.9rem;
}


/* =================================
   Course section
   ================================= */
/* --- Filter Sidebar --- */
.filter-sidebar {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid #dee2e6;
}

.filter-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.filter-section .card-header {
  background-color: transparent;
  border-bottom: 0;
  padding: 1rem 0;
  cursor: pointer;
}

.filter-section .card-header h6 {
  font-weight: 600;
  margin-bottom: 0;
}

.form-check-label {
  font-size: 0.9rem;
  color: #495057;
}

.form-check-input:checked {
  background-color: #dc3545;
  border-color: #dc3545;
}

.see-more-link {
  color: #dc3545;
  font-weight: 500;
  text-decoration: none;
}

.rating-filter .form-check-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffc107;
}

/* --- Main Content --- */
.breadcrumb-top {
  background-color: #ffffff;
}

.top-bar-nav .nav-link {
  color: #495057;
  font-weight: 500;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  transition: 0.4s all;
}

.top-bar-nav .nav-link:hover {
  background: var(--highlight-color);
  color: white;
}

.top-bar-nav .nav-link.active {
  background: var(--highlight-color);
  color: white;
}

/* --- Course Card --- */
.course-item {
  display: none;
  margin-bottom: 24px;
}

.course-item.visible {
  display: block;
}

.course-card {
  background-color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.15);
}

.course-card .card-img-top-wrapper {
  position: relative;
  overflow: hidden;
}

.course-card .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .card-img-top {
  transform: scale(1.05);
}

.course-card .price-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border-radius: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.course-card .price-tag .original-price {
  text-decoration: line-through;
  color: var(--text-body);
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

.course-card .price-tag.free {
  background-color: var(--secondary-color);
  color: #fff;
}

.course-card .card-body {
  padding: 1.5rem;
}

.course-card .instr-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.course-card .instr-info img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 0.75rem;
}

.course-card .instr-info .instr-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

.course-card .wishlist-btn {
  margin-left: auto;
  color: var(--text-body);
  font-size: 1.2rem;
  text-decoration: none;
}

.course-card .wishlist-btn:hover {
  color: var(--highlight-color);
}

.course-card .course-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-heading);
  text-decoration: none;
  display: block;
  min-height: 50px;
  /* Adjust for 2 lines */
}

.course-card .course-title:hover {
  color: var(--primary-color);
}

.course-card .course-meta {
  font-size: 0.85rem;
  color: var(--text-body);
}

.course-card .course-meta i {
  color: var(--primary-color);
}

.course-card .card-footer {
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
  padding: 1rem 1.5rem;
}

.course-card .rating-stars {
  color: #ffc107;
}

.course-card .btn-buy {
  background-color: #5833d1;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.course-card .category-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  background-color: #f1f5f9;
  color: #475569;
}

/* --- Pagination --- */
.pagination .page-item .page-link {
  color: #495057;
  border-radius: 50% !important;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.2rem;
  border: none;
}

.pagination .page-item.active .page-link {
  background-color: #dc3545;
  color: white;
}

.pagination .page-item.disabled .page-link {
  color: #adb5bd;
}



/* =================================
Instrutor Experience Section
   ================================= */

.instructor-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(270deg, #afabed, #e1d6f7, #f19ac7, #ecd1dc);
  background-size: 800% 800%;
  animation: gradientAnimation 20s ease infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.instructor-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 450px;
  margin: 0 auto;
}

.instructor-avatar {
  position: relative;
}

.instructor-avatar img {
  width: 100%;
  border-radius: 100%;
  width: 100px;
  height: 100px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  object-fit: cover;
  overflow: hidden;
}

/* Floating Animation */
.instructor-avatar {
  animation: float 6s ease-in-out infinite;
}

.instructor-avatar:nth-child(2) {
  animation-delay: -1s;
}

.instructor-avatar:nth-child(3) {
  animation-delay: -2s;
}

.instructor-avatar:nth-child(5) {
  animation-delay: -3s;
}

.instructor-avatar:nth-child(7) {
  animation-delay: -4s;
}

.instructor-avatar:nth-child(9) {
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.instructor-tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background-color: #fff;
  color: #1e1f4b;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  white-space: nowrap;
  z-index: 10;
}

.instructor-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.instructor-tooltip .name {
  font-weight: 600;
  display: block;
}

.instructor-tooltip .expertise {
  font-size: 0.85rem;
  color: var(--primary-color);
}

.instructor-avatar:hover img {
  transform: scale(1.1);
  border-color: #facc15;
  /* Yellow highlight */
}

.instructor-avatar:hover .instructor-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.content-block h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.2;
}

.content-block p {
  font-size: 1.1rem;
  color: var(--text-muted-light);
  margin: 1.5rem 0 2.5rem;
}

.btn-register {
  background-color: var(--highlight-color);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-register:hover {
  background-color: #fff;
  color: var(--highlight-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Decorative Shapes */
.decorative-shape {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 15px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.shape-1 {
  top: 15%;
  left: 5%;
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.shape-2 {
  bottom: 15%;
  right: 5%;
  border-left-color: transparent;
  border-top-color: transparent;
  animation-direction: reverse;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* <!-- ======================= 
      process to become instrutor Section 
      ======================= --> */

.section-narrow {
  max-width: 1050px;
  /* make section narrower */
  margin: auto;
}

.step-num-home .step-number {
  width: 45px;
  height: 45px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary-color);
  background: #fff;
  margin: auto;
  font-size: 16px;
  margin-left: -102px;
}

.step-num-home .step-line {
  border-top: 2px dashed var(--primary-color);
  margin: 0 15px;
  flex: 1;
}

.card-custom {
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.become-teacher-section {
  background-color: #f2f8ffe3;
}

.become-teacher-section .card img {
  max-height: 120px;
  object-fit: contain;
}

.become-teacher-section .highlight {
  color: var(--primary-color);
  font-weight: 600;
}

/* <!-- ======================= 
      Ifo Techer Experience Section
       ======================= --> */

/* section teacher detail */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
  color: #2c3e50;
  font-size: 2rem;
}

.teacher-card {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  border-radius: 1.5rem;
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.teacher-card::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: rgba(52, 152, 219, 0.05);
  transform: rotate(45deg);
  top: -50%;
  left: -50%;
  z-index: 0;
  transition: all 0.5s;
}

.teacher-card:hover::after {
  transform: rotate(0deg) scale(1.2);
  background: rgba(52, 152, 219, 0.15);
}

.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.teacher-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-color);
  z-index: 1;
  position: relative;
}

.teacher-name {
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  z-index: 1;
  position: relative;
}

.teacher-role {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 0.25rem;
  z-index: 1;
  position: relative;
}

.teacher-exp {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  z-index: 1;
  position: relative;
}

.teacher-desc {
  font-size: 0.85rem;
  color: #6e6e6e;
  margin-bottom: 1rem;
  z-index: 1;
  position: relative;
}

.learn-more {
  font-size: 0.85rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  z-index: 1;
  position: relative;
}

.learn-more:hover {
  text-decoration: underline;
}

.social-icons a {
  margin: 0 5px;
  color: var(--primary-color);
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #2c3e50;
}

/* end section teacher detail */

/* ============== */
.small-banner-section {
  padding: 0;
}


.small-banner-section .banner-cover {
  width: 100%;
  height: 400px;
}

.star-rating {
  margin-top: auto;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  width: 25px;
  border-radius: 5px;
}

/* ================= Check-Out STYLES ================ */
section {

  overflow: hidden;
}

.modern-checkout-banner-img {
  background-image: url('https://www.shutterstock.com/image-photo/banner-asian-woman-using-credit-260nw-1403254547.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding-top: 12rem !important;
  padding-bottom: 140px !important;
  color: #fff;
}

.checkout-title {
  font-size: 2.5rem;
  /* Bigger for modern look */
  background: linear-gradient(90deg, #1e1f4b, #1e1f4b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.462) !important;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-checkout-banner-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.515);
  z-index: 1;
}

.modern-checkout-banner-img .container {
  position: relative;
  z-index: 2;
}

.modern-checkout-banner-img h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.modern-checkout-banner-img .banner-breadcrumb {
  font-size: 1rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.modern-checkout-banner-img .banner-breadcrumb a:hover {
  color: #fff !important;
  opacity: 1;
}

.checkout-section .card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.checkout-section .card-header {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.25rem;
  color: #333;
}

.checkout-section .form-label {
  font-weight: 500;
  color: #555;
}

.checkout-section .form-control {
  border-radius: 0.75rem;
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.checkout-section .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  border-color: #0d6efd;
}

.checkout-section .order-summary .list-group-item {
  border: none;
  padding: 0.75rem 0;
  background-color: transparent;
}

.checkout-section .order-summary .list-group-item:last-child {
  border-top: 2px dashed #e0e0e0;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.checkout-section .btn-payment-method {
  border-radius: 10px;
  padding: 10px 20px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  text-align: center;
}

.checkout-section .btn-payment-method.active {
  border-color: #007bff;
  background-color: #eaf3ff;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.checkout-section .btn-payment-method:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkout-section .btn-primary {
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.checkout-section .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.checkout-section .form-check-label {
  font-size: 0.9rem;
  color: #777;
}

.checkout-section .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* Loading animation for the button */
.checkout-section .btn-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

.checkout-section .btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-right-color: transparent;
  animation: spin 1s linear infinite;
}

/* Cart Details Style */
.checkout-section .payment-card {
  background-color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  max-width: 650px;
  width: 100%;
}

.checkout-section .payment-card h4 {
  font-weight: 700;
  margin-bottom: 2rem;
}

.checkout-section .payment-methods {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.checkout-section .payment-method-btn {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f5;
  color: #555;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  padding: 0.75rem 0;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.checkout-section .payment-method-btn.active {
  background-color: #fff;
  border-color: #e54d60;
  box-shadow: 0 5px 15px rgba(229, 77, 96, 0.2);
}

.checkout-section .payment-method-btn img {
  height: 1.5rem;
  margin-right: 0.5rem;
}

.checkout-section .payment-method-btn span {
  font-weight: 500;
}

.checkout-section .form-control {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border-color: #ddd;
}

.checkout-section .form-label {
  font-weight: 600;
  color: #333;
}

.checkout-section .form-label span {
  color: #e54d60;
}

.checkout-section .btn-pay {
  background-color: #e54d60;
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem 2rem;
  transition: background-color 0.3s ease;
}

.checkout-section .btn-pay:hover {
  background-color: #c0392b;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.checkout-section .btn-paypal {
  color: #003087;
  background-color: #fff;
  border-color: #ccc;
}

.checkout-section .btn-stripe {
  color: #6772e5;
  background-color: #fff;
  border-color: #ccc;
}

.checkout-section .btn-paypal.active {
  border-color: #003087;
  background-color: #f0f6ff;
  box-shadow: 0 4px 8px rgba(0, 48, 135, 0.2);
}

.checkout-section .btn-stripe.active {
  border-color: #6772e5;
  background-color: #f7f8ff;
  box-shadow: 0 4px 8px rgba(103, 114, 229, 0.2);
}

.checkout-section .btn-primary.pay-btn-red {
  background-color: #e54d60;
  border-color: #e54d60;
}

.checkout-section .btn-primary.pay-btn-red:hover {
  background-color: #d14555;
  border-color: #d14555;
  box-shadow: 0 4px 10px rgba(229, 77, 96, 0.3);
}

.checkout-section .payment-form {
  display: none;
}

.checkout-section .payment-form .qr-code {
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkout-section .payment-form .qr-code img {
  width: 190px;
  height: 190px;
  margin: auto;
}

.checkout-section .payment-form.active {
  display: block;
  align-items: center;
  justify-content: center;
}

.checkout-section .btn-payment-method {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f5;
  color: #555;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  padding: 0.75rem 0;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.checkout-section .btn-payment-method.active {
  background-color: #fff;
  border-color: #e54d60;
  box-shadow: 0 5px 15px rgba(229, 77, 96, 0.2);
}

.checkout-section .form-label span {
  color: #e54d60;
}

.checkout-section .order-img img {
  width: 80px;
  height: 80px;
  border: 2px solid #ddd;
}

/* ================= Cart-page STYLES ================ */

.cart-section .cart-title {
  padding: 2rem 0;
  text-align: center;
}

.cart-section .cart-title h1 {
  font-weight: 700;
  color: #333;
}

.cart-section .cart-title p {
  color: #777;
}

.cart-section .card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cart-section .cart-items {
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.cart-section .cart-item {
  display: flex;
  align-items: center;
  background-position: 0% 70%;
}

.banner-section-teacher .banner-cover::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #06060643;
}

.banner-section-teacher .banner-cover .banner-text {
  z-index: 99;
}

.banner-section-teacher .banner-cover .banner-text h1 {
  font-size: 60px;
  color: white;
}

.small-banner-section .banner-cover .banner-text span {
  color: white;
}


/* ============= ALL-RESOURCE ============== */
.all-resource img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.all-resource {
  padding-block: 90px;
}

.left-side.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  z-index: 1;
}

.all-resource .offcanvas-body ul {
  padding: 0;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
}

.cart-section .item-image {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
}

.cart-section .item-details {
  flex-grow: 1;
  margin-left: 1.5rem;
}

.cart-section .item-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-section .item-author {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.cart-section .item-rating {
  font-size: 0.85rem;
  color: #555;
}

.cart-section .item-rating .fa-star {
  color: #ffc107;
}

.cart-section .item-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e54d60;
  margin-right: 1.5rem;
}


.all-resource .left-side {
  /* border: 1px solid rgb(186, 186, 186); */
  background-color: white;
  height: 60%;
  padding: 20px;
  border-radius: 10px;
}

/* .all-resource .card {
} */

.cart-section .delete-btn {
  color: #e54d60;
  font-size: 1.2rem;
  background: none;

  border: none;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.cart-section .delete-btn:hover {
  color: #c0392b;
}


.all-resource .card .card-img {
  overflow: hidden;
  height: 200px;
}

.all-resource .card .card-img img {
  transition: 0.4s;
}

.all-resource .card:hover .card-img img {
  transform: scale(105%);
}

.cart-section .summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  padding-top: 1.5rem;
  border-top: 1px dashed #e0e0e0;
  margin-top: 1rem;

}

.cart-section .summary-guarantee {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.5rem;
}

.cart-section .btn-continue {
  background-color: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s ease;
}

.cart-section .btn-continue:hover {
  background-color: #f0f0f0;
}

.cart-section .btn-checkout {
  background-color: #e54d60;
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s ease;
}

.cart-section .btn-checkout:hover {
  background-color: #c0392b;
}

/* Responsive styles for screens smaller than 992px (typical tablet landscape) */
@media (max-width: 992px) {
  .container {
    padding: 1rem;
  }

  .cart-section .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-section .item-image {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }

  .cart-section .item-details {
    margin-left: 0;
  }

  .cart-section .item-price {
    margin-right: 0;
    margin-top: 1rem;
  }

  .cart-section .delete-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }
}


.all-resource .card .card-footer {
  border: none;
  background-color: white;
  padding: 0px 20px 20px 20px;
}

/* Further adjustments for smaller mobile screens */
@media (max-width: 576px) {
  .cart-section .cart-title {
    padding: 1rem 0;
  }

  .cart-section .btn-continue,
  .cart-section .btn-checkout {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .cart-section .d-flex.justify-content-end {
    flex-direction: column;
    align-items: center;
  }

}

/* End Cart */

/* ======================= BECOME INSTRUCTOR PAGE ========================= */

.hero-form-banner {
  position: relative;
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #120c24;
  overflow: hidden;
}

.btn-offcanvas {
  border-top: none;
  background-color: var(--primary-color);
  margin-bottom: 50px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.detail-btn {
  padding: 5px 10px;
  background-color: #6A44F2;
  border: 1px solid transparent;
  transition: 0.3s;
}

.detail-btn:hover {
  background-color: white;
  color: #6A44F2;
  box-shadow: none;
  border: 1px solid #6A44F2;
}

.all-resource .card-all-resource p {
  display: -webkit-box;
  line-clamp: initial;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fixed-top-blog {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030 !important;
}

/* Course Detail */
/* ===== Background Shapes ===== */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  opacity: 0.07;
  z-index: 0;
  animation: float-course-detail 12s ease-in-out infinite;
  pointer-events: none;
}

.shape1 {
  width: 300px;
  height: 300px;
  background: #6f42c1;
  top: -80px;
  left: -100px;
}

.shape2 {
  width: 200px;
  height: 200px;
  background: #9b59b6;
  bottom: 120px;
  right: -60px;
  animation-delay: 2s;
}

.shape3 {
  width: 150px;
  height: 150px;
  background: #c29ffa;
  top: 35%;
  right: 15%;
  animation-delay: 4s;
}

/* New Shapes */
.shape4 {
  width: 250px;
  height: 250px;
  background: #8e44ad;
  bottom: 10%;
  left: 8%;
  animation-delay: 6s;
}

.shape5 {
  width: 180px;
  height: 180px;
  background: #b084f7;
  top: 20%;
  left: 70%;
  animation-delay: 8s;
}

.shape6 {
  width: 120px;
  height: 120px;
  background: #7d3cff;
  bottom: 30%;
  right: 25%;
  animation-delay: 10s;
}

@keyframes float-course-detail {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-25px) rotate(20deg);
  }
}

.pattern {
  background-image: radial-gradient(#00000012 1px, transparent 1px);
  background-size: 26px 26px;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== Hero Section ===== */
.course-detail-banner {
  background: linear-gradient(rgba(111, 66, 193, 0.7), rgba(155, 89, 182, 0.7)),
    url('../images/banner-course.jpg') center/cover no-repeat;
  color: #fff;
  border-radius: 20px;
  padding: 60px 40px;
  margin-bottom: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

.course-detail-section h1 {
  font-size: 2.8rem;
  font-weight: 800;
}

/* ===== Cards ===== */
.course-card-detail,
.price-card {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 28px;
  transition: all 0.3s ease-in-out;
  position: relative;
  z-index: 1;
}

.course-card-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(111, 66, 193, 0.2);
}

.price-card {
  position: sticky;
  top: 20px;
}

/* ===== Section Title ===== */
.course-detail-section .section-title {
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid #6f42c1;
  color: #4a2c80;
  background: linear-gradient(to right, #ede3f7, transparent);
  display: inline-block;
  border-radius: 4px;
  font-size: 1.8rem !important;
  font-weight: 600 !important;
}

/* ===== Icons ===== */
.learn-icon {
  background: #ede3f7;
  color: #6f42c1;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-right: 14px;
  box-shadow: 0 3px 10px rgba(111, 66, 193, 0.25);
}

/* ===== Review Cards ===== */
.review-card {
  border-radius: 14px;
  background: #fafafa;
  padding: 16px;
  border: 1px solid #eee;
  transition: 0.3s;
}

.review-card:hover {
  background: #f6f0fb;
  border-color: #d8c9ef;
}

.star-rating {
  color: #ffca2c;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* Recommend course */
.course-recommend .card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform .4s, box-shadow .4s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  background-color: #fcfcfc;
  border: 1px solid #e0e0e0;
}

.course-recommend .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(111, 66, 193, 0.2);
}

.card-img-top.img-course-detail {
  height: 150px;
  object-fit: cover;
  transition: transform .5s;
  filter: brightness(0.9);
}

.card-img-container {
  position: relative;
  overflow: hidden;
}

.course-recommend .card:hover .img-course-detail {
  transform: scale(1.1);
  filter: brightness(1);
}

.course-recommend .card-body {
  padding: 24px;
  flex-grow: 1;
}

/* Updated button style for better integration */
.course-recommend .btn-outline-purple {
  border-color: #6f42c1;
  color: #6f42c1;
  background: transparent;
  transition: all 0.3s ease;
}

.course-recommend .btn-outline-purple:hover {
  background-color: #6f42c1;
  color: #fff;
  transform: scale(1.05);
}

.course-recommend .card-body h6 {
  color: #4a2c80;
}


/* ===== Buttons ===== */
.btn-modern-course {
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-modern-course:hover {
  transform: scale(1.05);
}

.btn-purple {
  background: linear-gradient(45deg, #6f42c1, #9b59b6);
  color: #fff;
  border: none;
}

.btn-purple:hover {
  background: linear-gradient(45deg, #5a32a3, #7d3cff);
  color: #fff;
}

.btn-outline-purples {
  border: 2px solid #6f42c1;
  color: #6f42c1;
}

.btn-outline-purples:hover {
  background: #6f42c1;
  color: #fff;
}

/* ===== Timeline ===== */
.timeline {
  border-left: 3px solid #e5d7fa;
  margin-left: 20px;
  padding-left: 20px;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.timeline-step .circle {
  background: #6f42c1;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  box-shadow: 0 3px 10px rgba(111, 66, 193, 0.3);
}

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

.timeline-step .content h6 {
  margin: 0 0 5px 0;
  font-weight: 600;
  color: #4a2c80;
}

/* Course Enrollment */

/* Course Card Glassmorphism */

.btn-gradient {
  background: linear-gradient(135deg, #6f42c1, #9b59b6);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #5a32a3, #884ea0);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(111, 66, 193, 0.4);
}

.price-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.text-purple {
  color: #6f42c1;
}

body.modal-open {
  overflow: hidden !important;
  padding-right: 0 !important;
  /* prevent shifting when scrollbar disappears */
}

.modal-dialog {
  margin: auto;
}

/* Modal Glassmorphism */
.modal-content {
  border-radius: 24px;
  border: none;
  backdrop-filter: blur(16px) saturate(180%);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  /* prevent inner scroll */
  border-radius: 1rem;
}

/* Floating input style */
.form-floating label {
  color: #6f42c1;
  font-weight: 500;
}

.form-control {
  border-radius: 12px;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: #6f42c1;
  box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

/* Floating stickers inside modal */
.modal-sticker {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}

.sticker1 {
  width: 120px;
  height: 120px;
  background: #6f42c1;
  top: -20px;
  right: 10%;
  animation-delay: 0s;
}

.sticker2 {
  width: 90px;
  height: 90px;
  background: #9b59b6;
  bottom: 10%;
  left: 5%;
  animation-delay: 2s;
}

.sticker3 {
  width: 60px;
  height: 60px;
  background: #c29ffa;
  top: 50%;
  left: 80%;
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(15deg);
  }
}

/* Step navigation */
.step {
  display: none;
}

.step.active {
  display: block;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-indicator div {
  width: 30px;
  height: 30px;
  background: #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
}

.step-indicator div.active {
  background: #6f42c1;
  box-shadow: 0 4px 10px rgba(111, 66, 193, 0.5);
}

/* ===== Toast Styles ===== */
#enrollToast {
  border-radius: 16px;
  background: linear-gradient(135deg, #6f42c1, #9b59b6);
  /* Purple gradient */
  color: #fff;
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.4);
  font-weight: 500;
  min-width: 250px;
  max-width: 350px;
}

#enrollToast .toast-body {
  padding: 12px 16px;
  font-size: 0.95rem;
}

#enrollToast .btn-close {
  filter: brightness(1.5);
}

#enrollToast.show {
  animation: toastSlideIn 0.5s ease forwards;
}

@keyframes toastSlideIn {
  0% {
    transform: translateX(120%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* END Course Enrollment */

/* End Course Detail */
@keyframes subtle-gradient-pan {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-form-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #FEE0DE 0%, #E4F5FD 51.39%, #DDEDFF 100%);
}

.hero-form-banner .container {
  position: relative;
  z-index: 2;
}

.hero-text-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-text-content p {
  font-size: 1.1rem;
  color: var(--text-heading);
  margin: 20px 0 30px 0;
}

.benefits-list {
  list-style: none;
  padding: 0;
  color: var(--text-heading);
}

.benefits-list li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.benefits-list i {
  font-size: 1.5rem;
  margin-right: 15px;
  color: #42D8A7;
}

.register-form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.register-form-card h5 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 30px;
}

.register-form-card .form-label {
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
}

.register-form-card .input-group {
  position: relative;
}

.register-form-card .form-control {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 12px 18px 12px 45px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--bg-light);
}

.register-form-card .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(106, 68, 242, 0.15);
  background-color: var(--white-color);
}

.register-form-card .form-select {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 12px 18px 12px 45px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--bg-light);
}

.register-form-card .form-select:focus:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(106, 68, 242, 0.15);
  background-color: var(--white-color);
}

.register-form-card .input-group .bi {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  color: #999;
  transition: color 0.3s ease;
}

.register-form-card .form-control:focus+.bi {
  color: var(--primary-color);
}

.btn-submit-form {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--white-color);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  padding: 14px 28px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(106, 68, 242, 0.3);
}

.btn-submit-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(106, 68, 242, 0.4);
}

@media(max-width: 991.98px) {
  .hero-form-banner {
    padding: 60px 0;
  }

  .hero-text-content {
    text-align: center;
    margin-bottom: 50px;
  }

  .benefits-list {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
  }


}

/* Responsive Adjustments */
@media (max-width: 991.98px) {


  .register-sec .register-form-card {
    padding: 40px;
  }
}

/*========================== Contact Style  ==========================*/
/* Banner */
.banner-modern {
  background: linear-gradient(135deg, rgba(117, 100, 229, 0.8), rgba(59, 47, 144, 0.8)),
    url("../images/contact-page.jpg") center/cover no-repeat;
  height: 350px;
  color: #fff;
}

.banner-modern .banner-title {
  font-size: 48px;
  font-weight: 700;
}

.breadcrumb-modern {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 16px;
  color: #fff;
}

.breadcrumb-modern a {
  color: #fff;
  text-decoration: none;
}

/* Contact */
.contact-card {
  background: #fff;
  border-radius: 20px;
}

.input-modern {
  position: relative;
}

.input-modern i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #7564e5;
}

.input-modern input,
.input-modern textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 15px 12px 45px;
  transition: all 0.3s;
}

.input-modern input:focus,
.input-modern textarea:focus {
  border-color: #7564e5;
  background: #f9f9ff;
}

/* .btn-modern {
  background: linear-gradient(135deg, #7564e5, #3b2f90);
  border: none;
  border-radius: 30px;
  padding: 14px 40px;
  font-size: 18px;
  color: #fff;
  transition: 0.3s;
}

.btn-modern:hover {
  background: #232434;
} */

/* Info Cards */
.info-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  background: #fff;
  border-left: 5px solid #7564e5;
}

.info-icon {
  font-size: 28px;
  color: #7564e5;
}

/* Map */
.map-modern {
  position: relative;
  padding-top: 50%;
  overflow: hidden;
}

.map-modern iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 15px;
}



/*========================== END Contact Style  ==========================*/

.tooltip.custom-tooltip .tooltip-inner {
  background-color: #4e54c8 !important;
  color: #fff !important;
  padding: 6px 10px;
  border-radius: 6px;
}

.tooltip-arrow::before {
  border-bottom-color: #4e54c8 !important;
}

/* Card Glass Effect */
.price-card-modern {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.price-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Floating Badge */
.free-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(45deg, #7a41ff, #00c6ff);
  color: #fff;
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(90deg, #7a41ff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gradient Button */
.btn-gradient-modern {
  background: linear-gradient(90deg, #7a41ff, #00c6ff);
  color: #fff;
  border: none;
  transition: 0.3s ease;
}

.btn-gradient-modern:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Glass Button */
.btn-glass {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #333;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* Shadow Hover */
.shadow-hover:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Divider Line */
.divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}


/* ====================== Course-detail-free ================== */

.course-description .fs-7 {
  font-size: 18px;
  line-height: 33px;
}

.accordion.modern-accordion .accordion-button {
  background: #f8f5ff;
  color: #333;
  transition: all 0.3s ease;
}

.accordion.modern-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #6f42c1, #a163ff);
  color: #fff !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion.modern-accordion .accordion-button i {
  color: #6f42c1;
  transition: color 0.3s ease;
}

.accordion.modern-accordion .accordion-button:not(.collapsed) i {
  color: #fff;
}

.accordion.modern-accordion .accordion-button::after {
  filter: invert(0.5) sepia(1) saturate(5) hue-rotate(230deg);
}

.accordion.modern-accordion .accordion-body {
  background: #fff;
  border-left: 3px solid #6f42c1;
  border-radius: 0 0 0.75rem 0.75rem;
  padding: 1rem 1.25rem;
}

/* ====================== END Course-detail-free ================== */
/* ====================== Lesson Detail ================== */
/* Sidebar Container */
.detail-lesson-section .sidebar-lesson {
  background: #ffffff;
  border-right: 1px solid #f1f3f5;
  padding: 1.25rem;
  position: sticky;
  border-radius: 10px;
  top: 0;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.03);
  overflow-y: auto;
}
.mx-n0{
  margin-right: 0 !important;
}
/* Sidebar Title */
.sidebar-lesson h6 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #495057;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* Progress Bar */
.sidebar-lesson .progress {
  height: 8px;
  background-color: #f1f3f5;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.sidebar-lesson .progress-bar {
  border-radius: 50px;
  background: linear-gradient(90deg, #0d6efd, #4dabf7);
  transition: width 0.35s ease-in-out;
}

/* Accordion Item */
.sidebar-lesson .accordion-item {
  border: none;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* Accordion Header */
.sidebar-lesson .accordion-button {
  font-size: 0.95rem;
  font-weight: 500;
  color: #343a40;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.75rem;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.sidebar-lesson .accordion-button i {
  font-size: 1.1rem;
  color: #0d6efd;
}

/* Hover + Active Accordion Header */
.sidebar-lesson .accordion-button:not(.collapsed) {
  background: #e9f2ff;
  color: #0d6efd;
  font-weight: 600;
}

.sidebar-lesson .accordion-button:hover {
  background: #f8f9fa;
  color: #0d6efd;
}

/* Accordion Body */
.sidebar-lesson .accordion-body {
  padding: 0.5rem 1rem 0.75rem 1.25rem;
  font-size: 0.9rem;
}

/* Lessons List */
.sidebar-lesson .accordion-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-lesson .accordion-body li {
  margin-bottom: 0.4rem;
}


.sidebar-lesson .accordion-body a {
  text-decoration: none;
  color: #495057;
  font-size: 0.9rem;
  display: block;
  padding: 0.35rem 0.25rem;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.sidebar-lesson .accordion-body a:hover {
  color: #0d6efd;
  background: #f8f9fa;
  transform: translateX(2px);
}

.sidebar-lesson .accordion-body a.active {
  color: #0d6efd;
  font-weight: 600;
  background: #e9f2ff;
}


.detail-lesson-section .accordion-button {
  font-weight: 600;
  color: #6f42c1;
  background: #f8f9fa;
  border-radius: 10px !important;
  margin-bottom: 6px;
  transition: 0.2s;
}

.detail-lesson-section .accordion-button:not(.collapsed) {
  background: #6a44f2;
  color: #fff;
  box-shadow: none;
}

.detail-lesson-section .accordion-body ul {
  list-style: none;
  padding-left: 0;
}

/* .detail-lesson-section .col-lg-8 {
  width: 66.66666666% !important;
} */

.detail-lesson-section .accordion-body ul li {
  margin-bottom: 8px;
}

.detail-lesson-section .accordion-body ul li a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.2s;
}

.detail-lesson-section .accordion-body ul li a:hover {
  background: #f3e8ff;
  color: #6f42c1;
}

.detail-lesson-section .accordion-body ul li a.active {
  background-color: #dc35467f;
  color: #fff;
  font-weight: 500;
}

.detail-lesson-section .lesson-card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: all 0.25s ease;
  display: none;
  scroll-margin-top: 80px;
}

.detail-lesson-section .lesson-card.active {
  display: block;
}

.detail-lesson-section .lesson-card:hover {
  transform: translateY(-4px);
}

.detail-lesson-section .lesson-card h5 {
  color: #6f42c1;
  font-weight: bold;
}

.detail-lesson-section .video-box {
  border-radius: 5px;
  overflow: hidden;
  max-height: 600px;
  margin-bottom: 15px;
}

@media (max-wdith : 820px) {
  .detail-lesson-section .video-box iframe {
    height: 300px;
  }
}

.detail-lesson-section .highlight-box {
  background: #f3e8ff;
  padding: 15px;
  border-radius: 12px;
  margin: 15px 0;
  font-size: 0.95rem;
}

.detail-lesson-section .quiz-box {
  background: #fff3cd;
  padding: 15px;
  border-left: 5px solid #ffc107;
  border-radius: 8px;
  margin-top: 15px;
}

.detail-lesson-section pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.9rem;
}

.detail-lesson-section .nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  right: 100%;
  margin-top: 0;
  margin-left: 0;
  display: none;
  position: absolute;
  min-width: 200px;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  background: #fff;
  z-index: 999;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

.dropdown-submenu>.submenu-toggle:hover {
  background: rgba(78, 84, 200, 0.08);
  border-radius: 0.75rem;
}

/* ====================== END Lesson Detail ================== 

/* =========================================== Resource Page ================================================== */
/*
    ========================================
    * HERO SECTION
    ========================================
    */

.hero-section {
  background-color: var(--bg-light);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  filter: blur(150px);
  opacity: 0.2;
  top: -100px;
  left: -150px;
  animation: hero-blob-move 20s infinite alternate;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
  filter: blur(120px);
  opacity: 0.2;
  bottom: -100px;
  right: -100px;
  animation: hero-blob-move-2 25s infinite alternate;
}

@keyframes hero-blob-move {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(50px, 80px) scale(1.2);
  }
}

@keyframes hero-blob-move-2 {
  from {
    transform: translate(0, 0) scale(1.2);
  }

  to {
    transform: translate(-60px, -40px) scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
  font-family: "Kantumruy Pro", sans-serif;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  font-family: "Kantumruy Pro", sans-serif;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper .hero-image {
  max-width: 90%;
  position: relative;
  z-index: 2;
}

.hero-image-wrapper .hero-bg-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.1;
  animation: morph 10s ease-in-out infinite;
  z-index: 1;
}

@keyframes morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  50% {
    border-radius: 60% 40% 30% 70% / 70% 50% 50% 30%;
  }

  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

/*
    ========================================
    * UNIFIED SEARCH & RESOURCES SECTION
    ========================================
    */
.unified-search-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.unified-search-section .search-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.unified-search-section .search-header h2 {
  color: var(--text-heading);
  font-weight: 700;
  font-family: "Kantumruy Pro", sans-serif;
  font-size: 2.5rem;
}

.unified-search-section .search-header p {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0.5rem auto 0;
}

.unified-search-section .search-form-wrapper {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.unified-search-section .search-form-wrapper .form-control {
  border-radius: 50px;
  padding: 1rem 1.5rem 1rem 3.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.unified-search-section .search-form-wrapper .search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-body);
  font-size: 1.2rem;
}

.category-tags {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.tag {
  text-decoration: none;
  background-color: var(--white);
  color: var(--text-body);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.tag:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.tag.active {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  border-color: var(--primary-color);
}

/*
    ========================================
    * RESOURCE CARDS SECTION
    ========================================
    */
.resource-section {
  padding-bottom: 5rem;
}

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

.section-header h2 {
  color: var(--text-heading);
  font-weight: 700;
  font-family: "Kantumruy Pro", sans-serif;
}

.resource-cardd {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background-color: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s ease;
  position: relative;

}

.resource-cardd:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-hover-color) !important;
}

.resource-cardd .card-image {
  height: 220px;
  overflow: hidden;
}

.resource-cardd .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.resource-cardd:hover .card-image img {
  transform: scale(1.05);
}

.resource-cardd .card-contentt {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.resource-cardd .card-title {
  color: var(--text-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "Kantumruy Pro", sans-serif;
}

.resource-cardd .card-description {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 1rem;
  flex-grow: 1;
  font-family: "Kantumruy Pro", sans-serif;
}

.resource-cardd .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.resource-cardd .btn-detail {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.resource-cardd .btn-detail:hover {
  background-color: #51d6c6;
}

.resource-cardd .icon-arrow {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.resource-cardd:hover .icon-arrow {
  transform: translateX(5px);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 5;
}

/*
    ========================================
    * WHY CHOOSE US SECTION
    ========================================
    */
.why-choose-us-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: #0D0B1F;
  color: var(--white);
}

.why-choose-us-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  background-size: 400% 400%;
  animation: gradient-pan 20s ease infinite;
  opacity: 0.1;
  filter: blur(100px);
}

@keyframes gradient-pan {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.why-choose-us-section .section-header h2 {
  color: var(--white);
}

.why-choose-us-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-item .icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  color: var(--accent-color);
}

.feature-item h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
    * BLOG SECTION
    ======================================== */
.blog-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.blog-card {
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  height: 100%;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-hover-color);
}

.blog-card .blog-image img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.blog-card .blog-content {
  padding: 1.5rem;
}

.blog-card .blog-meta {
  font-size: 0.8rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.blog-card .blog-meta .bi {
  margin-right: 0.25rem;
}

.blog-card .blog-title {
  color: var(--text-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0;
}

/*
    ========================================
    * CTA SECTION
    ========================================
     


        /* ------------------------------------------- */
/* --- Animated Stickers Code Start --- */
/* ------------------------------------------- */

.cta-resource {
  position: relative;
  padding: 6rem 2rem;
  background-color: #f0f4ff;
  text-align: center;
  overflow: hidden;
  border-radius: 20px;
}

.sticker-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Allows clicks to go through to buttons */
  z-index: 2;
  /* Ensures they appear above the background */
}

.sticker {
  position: absolute;
  display: block;
  background-color: #ff5a5f;
  /* Default color */
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
}

/* --- Sticker Shapes & Colors --- */
.shape-circle {
  border-radius: 50%;
}

.shape-square {
  border-radius: 3px;
}

.shape-plus::before,
.shape-plus::after {
  content: '';
  position: absolute;
  background-color: inherit;
}

.shape-plus::before {
  top: 0;
  left: 50%;
  width: 20%;
  height: 100%;
  transform: translateX(-50%);
}

.shape-plus::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 20%;
  transform: translateY(-50%);
}

.color-pink {
  background-color: #ff5a5f;
}

.color-purple {
  background-color: #8a4fff;
}

.color-yellow {
  background-color: #ffc94d;
}

.color-blue {
  background-color: #4da1ff;
}

/* --- Keyframe Animations --- */
@keyframes float {
  from {
    transform: translateY(0px) rotate(0deg);
  }

  to {
    transform: translateY(-20px) rotate(15deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.9;
  }

  to {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Sticker 1 */
.sticker-1 {
  top: 15%;
  left: 10%;
  width: 30px;
  height: 30px;
  animation-name: float;
  animation-duration: 4s;
}

/* Sticker 2 */
.sticker-2 {
  top: 20%;
  left: 85%;
  width: 40px;
  height: 40px;
  animation-name: spin;
  animation-timing-function: linear;
  animation-direction: normal;
  animation-duration: 20s;
}

/* Sticker 3 */
.sticker-3 {
  top: 75%;
  left: 90%;
  width: 25px;
  height: 25px;
  animation-name: pulse;
  animation-duration: 3s;
}

/* Sticker 4 */
.sticker-4 {
  top: 80%;
  left: 5%;
  width: 20px;
  height: 20px;
  animation-name: float;
  animation-duration: 5s;
  animation-delay: 1s;
}

/* Sticker 5 */
.sticker-5 {
  top: 10%;
  left: 40%;
  width: 15px;
  height: 15px;
  animation-name: pulse;
  animation-duration: 2s;
}

/* Sticker 6 */
.sticker-6 {
  top: 50%;
  left: 15%;
  width: 22px;
  height: 22px;
  animation-name: spin;
  animation-timing-function: linear;
  animation-direction: reverse;
  animation-duration: 25s;
}

/* Sticker 7 */
.sticker-7 {
  top: 85%;
  left: 60%;
  width: 35px;
  height: 35px;
  background-color: transparent;
  animation-name: float;
  animation-duration: 6s;
}

/* Sticker 8 */
.sticker-8 {
  top: 40%;
  left: 88%;
  width: 18px;
  height: 18px;
  animation-name: pulse;
  animation-duration: 4s;
  animation-delay: 0.5s;
}




.cta-resource h2 {
  font-weight: 700;
  font-size: 2.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: var(--text-heading);

}

.cta-resource p {
  max-width: 600px;
  margin: 1rem auto 2rem;
  color: var(--text-heading);

  opacity: 0.9;
}

.cta-resource .btn-light {
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  color: var(--primary-color);
}



/* Blog-Section ========= */
.blog-section {
  padding-block: 110px;
}

.blog-section .card.special-blog {
  border: none;
  border-radius: 0px;
  box-shadow: 0px 0px 15px 5px rgba(184, 184, 184, 0.267);
}

.blog-section .card.special-blog .card-img {
  border-radius: 0px;
  height: 300px;
  overflow: hidden;
}

.blog-section .card.special-blog .card-img img {
  transition: 0.5s;
}

.blog-section .card.special-blog .card-img:hover img {
  transform: scale(105%);
}

.blog-section .card.special-blog .card-body h5 a {
  transition: 0.4s;
}

.blog-section .card.special-blog .card-body h5:hover a {
  color: var(--primary-color);
}

.blog-section .card.special-blog .card-body span .profile-poster .profile {
  width: 50px;
  height: 50px;
  background-color: #6A44F2;
  border-radius: 50%;
  overflow: hidden;
}

.blog-section .card.special-blog .card-body span .profile-name h3 {
  color: #0000008c;
  font-size: 20px;
}

.blog-section .card.special-blog .card-body span .post-date i {
  color: #6A44F2;
}

.blog-section .card.special-blog .card-body span .post-date p {
  color: #0000008c;
}

.blog-section .bg-cover-col {
  border-bottom: 1px solid rgba(67, 67, 67, 0.258);
  padding-bottom: 10px;
  padding-top: 10px;
}

.blog-section .card.small-blog {
  overflow: hidden;
  background-color: transparent;
  border: none;
  border-radius: 0px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 10px; */
}

.blog-section .card.small-blog img {
  transition: 0.5s;
}

.blog-section .card.small-blog:hover img {
  transform: scale(110%);
}

.blog-section .card.small-blog-description {
  padding-block: 10px;
  padding-right: 20px;
  border: none;
  border-radius: 0px;
  background-color: transparent;
}

.blog-section .card.small-blog-description h5 {
  font-size: 17px;

}

.blog-section .card.small-blog-description h5 a {
  transition: 0.4s;
}

.blog-section .card.small-blog-description h5:hover a {
  color: var(--primary-color);
}

.blog-section .card.small-blog-description p {
  font-size: 13px;
}

.blog-section .card.small-blog-description span .profile-poster .profile {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  overflow: hidden;
}

.blog-section .card.small-blog-description span .profile-poster .profile-name h3 {
  font-size: 15px;
  color: #0000008c;
}

.blog-section .card.small-blog-description span .post-date i {
  color: var(--primary-color);
}

/* ====================================== Resource Detail Page =================================================== */

/* ================== Section 1: Modern Resource Detail ================== */


.resource-detail-modern {
  padding: 10rem 0 5rem 0;
  overflow: hidden;
}

/* --- Left Column: Layered Image Card --- */

.book-display-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px;
}

.card-background-layer {
  position: absolute;
  width: 350px;
  height: 400px;
  background-color: #E9E4FF;
  border-radius: 30px;
  transform: rotate(-8deg);
  transition: transform 0.4s ease;
}

.card-image-layer {
  position: relative;
  width: 320px;
  height: 370px;
  background-color: #ffffff85;
  /* Blue from the screenshot */
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.book-cover-image {
  width: 100%;
  height: auto;
}

/* Hover effect for the card */
.book-display-card:hover .card-background-layer {
  transform: rotate(-12deg) scale(1.05);
}

.book-display-card:hover .card-image-layer {
  transform: translateY(-10px);
}


/* --- Right Column: Book Details --- */

.book-details-content .category-badge {
  background-color: rgba(106, 68, 242, 0.1);
  /* Use rgba for light background */
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.5em 1.2em;
  font-size: 0.9rem;
  border-radius: 50px;
}

.book-details-content .book-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.book-details-content .book-description {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 90%;
}

.book-meta-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.book-meta-list li {
  color: var(--text-body);
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.book-meta-list li i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.4rem;
  width: 25px;
  /* Ensures alignment */
}

.book-meta-list li strong {
  color: var(--text-heading);
  margin-right: 8px;
  font-weight: 600;
}

.action-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.btn-custom-primary,
.btn-custom-secondary {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.btn-custom-primary:hover {
  background-color: #5833d1;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(106, 68, 242, 0.3);
}

.btn-custom-secondary {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-custom-secondary:hover {
  background-color: rgba(106, 68, 242, 0.1);
  transform: translateY(-3px);
}

/* ================== Section 2: Author Info ================== */
/* =================================
   MODERN AUTHOR INFO SECTION
   ================================= */

.author-info-modern {
  padding: 5rem 0;
  background-color: var(--bg-light);
  /* Uses a light background from your theme */
}

.author-profile-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  position: relative;
}

/* --- Left Column: Image Styles --- */

.author-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-profile-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 15px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.author-image-background-shape {
  position: absolute;
  width: 90%;
  height: 90%;
  background-color: var(--primary-color);
  opacity: 0.1;
  border-radius: 20px;
  z-index: 1;
  transform: rotate(8deg);
  transition: transform 0.4s ease;
}

.author-image-wrapper:hover .author-image-background-shape {
  transform: rotate(-8deg) scale(1.1);
}


/* --- Right Column: Text Styles --- */

.author-details .eyebrow-text {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.author-details .author-name {
  color: var(--text-heading);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.author-details .author-title {
  color: var(--text-body);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.author-details .author-bio {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* --- Social Media Icons --- */

.author-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #f0f0f8;
  border-radius: 50%;
  color: var(--text-heading);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.author-socials a:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(106, 68, 242, 0.3);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 991.98px) {
  .author-image-wrapper {
    margin-bottom: 2rem;
  }

  .author-details {
    text-align: center;
  }

  .author-socials {
    justify-content: center;
  }
}

/* ================== Section 3: Related Resources ================== */
.related-resources-modern {
  padding: 5rem 0;
  background-color: var(--bg-section-color);
}

.section-title-modern {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-modern h2 {
  color: var(--text-heading);
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title-modern h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-title-modern p {
  color: var(--text-body);
  max-width: 600px;
  margin: 1rem auto 0;
}

.resource-card {
  background-color: #fff;
  border-radius: 15px;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top-wrapper {
  height: 180px;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.card-img-top-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card .card-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.resource-card .card-title {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.resource-card .card-text {
  font-size: 0.9rem;
  color: var(--text-body);
}

.resource-card .card-footer {
  background-color: transparent;
  border-top: 1px solid #e9ecef;
  padding: 1rem 1.5rem;
}

.read-more-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more-link .bi {
  transition: transform 0.3s ease;
  display: inline-block;
}

.read-more-link:hover {
  color: #5833d1;
}

.read-more-link:hover .bi {
  transform: translateX(5px);
}


/* ============================================== RESOURCE BOOK READ ================================================ */

.book-resource-header {
  position: sticky;
  /* Makes it stick to the top of the scroll area */
  top: 0;
  z-index: 900;
  padding: 1rem 2rem;

  display: flex;
  justify-content: flex-end;
  /* Aligns button to the right */
}

/* === Styling for the new Back Button === */
.btn-back-to-details-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-back-to-details-main:hover {
  background-color: var(--text-heading);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.book-reader-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  height: 100vh;
}

.reader-sidebar {
  border-right: 1px solid #e9ecef;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.reader-sidebar .sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.sidebar-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
  text-decoration: none;
}

.sidebar-content {
  padding: 1rem;
  flex-grow: 1;
}

.sidebar-book-title {
  font-size: 1.1rem;
  color: var(--text-heading);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents ul li a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--text-body);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 0.25rem;
}

.table-of-contents ul li a:hover {
  background-color: #e9e6f8;
  color: var(--text-heading);
}

.table-of-contents ul li a.active {
  background-color: rgba(106, 68, 242, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.table-of-contents ul li a span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 2px;
}

.reader-main-content {
  height: 100vh;
  overflow-y: auto;
}

.reader-content-body {
  max-width: 850px;
  margin: 0 auto;
  padding: 2rem;

}

.chapter-content {
  margin-bottom: 5rem;
  line-height: 1.9;
}

.chapter-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.chapter-intro {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.chapter-image-container {
  margin: 2.5rem 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chapter-image-container img {
  width: 100%;
  display: block;
}

.sub-heading {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.feature-list {
  list-style: none;
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 1rem;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--primary-color);
  font-weight: bold;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.checklist li i {
  color: #28a745;
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 5px;
}

.code-block {
  background-color: #2d2d2d;
  color: #f8f8f2;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left-width: 5px;
  border-left-style: solid;
}

.btn-back-to-details {
  padding: 8px 16px;
  background-color: #6a44f2;
  color: white;
  text-decoration: none;
  border-radius: 12px;
}

.info-box.warning {
  background-color: #fff9e6;
  border-left-color: #ffc107;
}

.info-box i {
  font-size: 1.5rem;
  color: #ffc107;
  margin-top: 3px;
}

.summary-box {
  margin-top: 4rem;
  padding: 2rem;
  background-color: rgba(106, 68, 242, 0.05);
  border: 1px solid rgba(106, 68, 242, 0.1);
  border-radius: 15px;
}

.summary-box h3 {
  color: var(--text-heading);
  font-weight: 700;
  margin-top: 0;
}

.summary-box p {
  margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
  .book-reader-layout {
    grid-template-columns: 1fr;
  }

  .reader-sidebar {
    display: none;
  }
}

/* ============================================== RESOURCE BOOK Dowload ========================================= */


/* ---  Page Body --- */
.download-page- {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, #fdf1f1, #f1f6fd);
  /* Soft background gradient */
}

/* --- Hero & Animated Background Shapes --- */
.download-hero-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45vh;
  background-color: var(--primary-color);
  background: linear-gradient(45deg, var(--primary-color), #8d70ff);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(10deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.background-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 10s infinite ease-in-out;
}

.background-shapes .shape1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 15%;
  animation-duration: 12s;
}

.background-shapes .shape2 {
  width: 100px;
  height: 100px;
  top: 60%;
  left: 80%;
  animation-duration: 8s;
}

.background-shapes .shape3 {
  width: 50px;
  height: 50px;
  top: 25%;
  left: 50%;
  animation-duration: 15s;
}

/* --- Download Card --- */
.download-content-section {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem 0;
}

.download-content-section .download-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.download-content-section .download-card .download-book-cover {
  max-width: 250px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.download-content-section .download-card .download-details .eyebrow-text {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.download-content-section .download-card .download-details .book-title {
  color: var(--text-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.download-content-section .download-card .download-details .book-description {
  color: var(--text-body);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* --- File Info --- */
.download-content-section .download-card .download-details .file-info-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}

.download-content-section .download-card .download-details .file-info-list li {
  display: flex;
  align-items: center;
  color: var(--text-body);
}

.download-content-section .download-card .download-details .file-info-list li i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 10px;
}

/* --- Download Button --- */
.download-content-section .download-card .download-details .download-instructions {
  color: var(--text-body);
  font-style: italic;
  margin-top: 2rem;
}

.download-content-section .download-card .download-details .btn-download- {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--red-color);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.download-content-section .download-card .download-details .btn-download-:hover {
  background-color: #d9304a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(246, 60, 90, 0.3);
}

/* Button states */
.download-content-section .download-card .download-details .btn-download-.downloading {
  background-color: #ffc107;
  cursor: wait;
}

.download-content-section .download-card .download-details .btn-download-.complete {
  background-color: #28a745;
  cursor: default;
}

.download-content-section .download-card .download-details .terms-notice {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: #999;
}

.download-content-section .back-link-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.download-content-section .back-link-wrapper .back-link {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 500;
}

.download-content-section .back-link-wrapper .back-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ====================================== Resource Blog Detail =================================== */




/* --- Keyframe Animation for Hero Background --- */
@keyframes kenburns-effect {
  0% {
    transform: scale(1.1) translate(0, 0);
  }

  100% {
    transform: scale(1) translate(-5%, -5%);
  }
}

/* ===================================
   Blog Post Hero Header
   =================================== */
.blog-hero-header {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.blog-hero-header .hero-background-image {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-image: linear-gradient(rgba(10, 2, 40, 0.7), rgba(10, 2, 40, 0.5)), url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?w=1200&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  animation: kenburns-effect 20s infinite alternate;
  z-index: 1;
}

.blog-hero-header .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.blog-hero-header .hero-content .hero-category-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.blog-hero-header .hero-content .hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.blog-hero-header .hero-content .hero-meta-data {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.blog-hero-header .hero-content .hero-meta-data .author-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.blog-hero-header .hero-content .hero-meta-data .meta-separator {
  opacity: 0.5;
}


/* ===================================
   Article Content Layout & Styles
   =================================== */
.article-layout-container {
  position: relative;
  padding: 4rem 0;
}

.article-layout-container .article-content-body {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-body);
}

.article-layout-container .article-content-body .article-intro {
  font-size: 1.25rem;
  font-weight: 500;
  color: #444;
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}

.article-layout-container .article-content-body h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.article-layout-container .article-content-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-left: 5px solid var(--primary-color);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.article-layout-container .article-content-body .article-image-container {
  margin: 2rem 0;
}

.article-layout-container .article-content-body .article-image-container img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-layout-container .article-content-body .article-image-container figcaption {
  font-size: 0.85rem;
  text-align: center;
  color: #888;
  margin-top: 0.5rem;
}


/* --- Sticky Social Share Bar --- */
.article-layout-container .sticky-social-share {
  position: absolute;
  top: 100px;
  left: 20px;
  /* Adjust as needed */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-layout-container .sticky-social-share a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 50%;
  color: var(--text-body);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.article-layout-container .sticky-social-share a:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: scale(1.1);
}

/* Hide on smaller screens */
@media (max-width: 1200px) {
  .article-layout-container .sticky-social-share {
    display: none;
  }
}


/* --- Author Bio Box --- */
.article-layout-container .article-content-body .author-bio-box {
  margin-top: 4rem;
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: 15px;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.article-layout-container .article-content-body .author-bio-box .author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.article-layout-container .article-content-body .author-bio-box .author-bio-content h4 {
  color: var(--text-heading);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.article-layout-container .article-content-body .author-bio-box .author-bio-content p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===================================
   Related Posts Section
   =================================== */
.related-posts-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.related-posts-section .container {
  max-width: 100%;
}

.related-posts-section .related-posts-title {
  text-align: center;
  width: 100%;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.related-posts-section .related-posts-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}



.related-posts-section .blog-card {
  display: block;
  background-color: #fff;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-posts-section .container {
  width: 1200px;
  margin: auto;
}

.related-posts-section .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.related-posts-section .blog-card .blog-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.related-posts-section .blog-card .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This is crucial for fixing stretched images */
  transition: transform 0.5s ease;
  /* Smooth zoom on hover */
}

.related-posts-section .blog-card:hover .blog-image img {
  transform: scale(1.08);
  /* Slight zoom effect on image hover */
}

.related-posts-section .blog-card .blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  /* Allows content to expand to fill space */
  display: flex;
  flex-direction: column;
}

.related-posts-section .blog-card .blog-content .blog-meta {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.related-posts-section .blog-card .blog-content .blog-meta i {
  color: var(--primary-color);
}

.related-posts-section .blog-card .blog-content .blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.4;
  margin-bottom: 0;
  flex-grow: 1;
  /* Ensures title takes up available space */
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .related-posts-section .related-posts-title {
    font-size: 1.8rem;
  }
}


/* ============================================ Instrutor Dashobard ================================================== */

/*
        ========================================
        * MAIN LAYOUT & SIDEBAR
        ========================================
        */
.dashboard-layout {
  display: flex;
}

.sidebar {
  width: var(--sidebar-width);
  background-color: #fff;
  flex-shrink: 0;
  border-right: 1px solid var(--border-color);
  padding: 1.5rem;
  height: 100vh;
}

.main-content {
  flex-grow: 1;
  padding: 0;
}

.content-body {
  padding: 1.5rem;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.navbar-brand {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.sidebar-heading {
  font-size: 0.75rem;
  color: #a0aec0;
  font-weight: 600;
  text-transform: uppercase;
  margin: 1.5rem 0 0.5rem 1rem;
}

.sidebar .nav-pills .nav-link {
  color: var(--text-body);
  font-weight: 500;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
}

.sidebar .nav-pills .nav-link.active,
.sidebar .nav-pills .nav-link:hover {
  background-color: var(--primary-color-light);
  color: var(--primary-color);
}

.sidebar-footer {
  margin-top: auto;
}

.sidebar .offcanvas-body .flex-grow-1 {
  overflow-y: auto;
}

.offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* =========================================================================================================================== */
/* Home Page Dashboard Instrutor */
/* =========================================================================================================================== */
/* ========================================
         * MAIN LAYOUT & SIDEBAR
         * ======================================== */
.dashboard-layout {
  display: flex;
}

.sidebar {
  width: var(--sidebar-width);
  background-color: #fff;
  flex-shrink: 0;
  border-right: 1px solid var(--border-color);
}

.main-content {
  flex-grow: 1;
  padding: 0;
}

@media (max-width: 991.98px) {
  .main-content {
    margin-left: 0;
  }
}

.navbar-brand {
  color: var(--primary-color) !important;
}

.sidebar .nav-pills .nav-link {
  color: var(--text-body);
  font-weight: 500;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
}

.sidebar .nav-pills .nav-link.active,
.sidebar .nav-pills .nav-link:hover {
  background-color: var(--primary-color-light);
  color: var(--primary-color);
}

/* Submenu styles */
#settings-submenu .nav-link {
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  /* Indent submenu items */
  font-size: 0.9rem;
}

#settings-submenu .nav-link.active {
  font-weight: 600;
}


.offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.sidebar-footer {
  margin-top: auto;
}

/* ========================================
         * PROFILE HEADER
         * ======================================== */
.profile-header {
  background-color: #fff;
  margin-bottom: 1.5rem;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.profile-banner {
  height: 220px;
  background-image: url("https://images.unsplash.com/photo-1511497584788-876760111969?q=80&w=2532&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.profile-details {
  padding: 0 1.5rem 1.5rem;
  margin-top: -60px;
  position: relative;
}

.profile-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid #fff;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-heading);
}

.profile-name .bi-patch-check-fill {
  color: #1da1f2;
  font-size: 1.1rem;
  vertical-align: middle;
}

.profile-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-body);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}


@media (min-width: 992px) {
  .sidebar {
    position: fixed;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .main-content {
    margin-left: var(--sidebar-width);
  }
}

@media (max-width: 991.98px) {
  .sidebar.offcanvas-lg {
    padding: 0;
  }

  .sidebar.offcanvas-lg .sidebar-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
  }

  .sidebar.offcanvas-lg .offcanvas-body {
    padding: 1rem 1.5rem;
  }

  .content-body {
    padding: 1rem;
  }
}

/*
        ========================================
        * PROFILE HEADER
        ========================================
        */
.profile-header {
  background-color: #fff;
  margin-bottom: 1.5rem;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.profile-banner {
  height: 220px;
  background-image: url("https://images.unsplash.com/photo-1511497584788-876760111969?q=80&w=2532&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.profile-details {
  padding: 0 1.5rem 1.5rem;
  margin-top: -60px;
  position: relative;
}

.profile-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid #fff;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-name {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: left;
  color: var(--text-heading);
}

.profile-name .bi-patch-check-fill {
  color: #1da1f2;
  font-size: 1.1rem;
  vertical-align: middle;
}

.profile-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-body);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.profile-meta .bi {
  margin-right: 0.25rem;
}

.btn-action {
  background-color: var(--primary-color-light);
  color: var(--primary-color);
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  transition: all 0.2s ease-in-out;
}

.btn-action:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-back {
  color: white;
  background-color: var(--highlight-color);
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  transition: all 0.2s ease-in-out;
}

.btn-back:hover {
  color: #fff;
  background-color: #e1365b;
}

.btn-outline-action {
  color: var(--text-heading);
  border-color: var(--border-color);
  font-weight: 600;
  padding: 0.6rem 1.2rem;
}

.btn-outline-action:hover {
  background-color: var(--text-heading);
  color: #fff;
  border-color: var(--text-heading);
}

@media (max-width: 767.98px) {
  .profile-banner {
    height: 140px;
  }

  .profile-details {
    margin-top: -50px;
    text-align: center;
  }

  .profile-picture {
    width: 100px;
    height: 100px;
  }

  .profile-meta {
    justify-content: center;
    gap: 0.5rem;
    row-gap: 0.25rem;
  }

  .profile-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}

/*
        ========================================
        * DASHBOARD CONTENT
        ========================================
        */
.content-section {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.stat-card {
  border-radius: 1rem;
  padding: 1.5rem;
  border: none;
  height: 100%;
}

.stat-card-1 {
  background-color: var(--stat-card-1-bg);
}

.stat-card-2 {
  background-color: var(--stat-card-2-bg);
}

.stat-card-3 {
  background-color: var(--stat-card-3-bg);
}

.stat-card-4 {
  background-color: var(--stat-card-4-bg);
}

.stat-card-5 {
  background-color: var(--stat-card-5-bg);
}

.stat-card-6 {
  background-color: var(--stat-card-6-bg);
}

.stat-card .stat-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--text-body);
}

.course-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.course-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.course-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .stat-card .stat-value {
    font-size: 1.75rem;
  }

  .course-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-card img {
    width: 100%;
    height: auto;
    margin-bottom: 0.75rem;
  }
}



/* ================ Dashboard Quiz Page ===================== */
.quiz-box .stat-card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.quiz-box .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.quiz-box .stat-card .icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.quiz-box .table-custom {
  vertical-align: middle;
}

.quiz-box .table-custom img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
}

/* ======================= ANSWER AND WUESTION PAGE INSTRUCTOR ====================== */


.answer-box .stat-card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.answer-box .stat-card:hover {
  transform: translateY(-5px);
}

.answer-box .stat-card .icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.answer-box .qa-card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.answer-box .qa-card .student-avatar {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
}

/* =========================================================================================================================== */
/* Profile Page Dashboard Instrutor */
/* =========================================================================================================================== */

/*
        ========================================
        * NEW DESIGN FOR PROFILE SECTIONS
        ========================================
        */
.content-section {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.btn-edit {
  background-color: var(--primary-color-light);
  color: var(--primary-color);
  border: none;
  font-weight: 600;
  padding: 0.375rem 1rem;
  transition: all 0.2s ease-in-out;
}

.btn-edit:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* New Basic Info List Design */
.info-list {
  list-style: none;
  padding: 0;
}

.info-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
  border-bottom: none;
}

.info-item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color-light);
  color: var(--primary-color);
  border-radius: 50%;
  margin-right: 1rem;
  font-size: 1.2rem;
}

.info-label {
  font-size: 0.875rem;
  color: var(--text-body);
}

.info-value {
  font-weight: 600;
  color: var(--text-heading);
  word-wrap: break-word;
}

/* New Timeline Design */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  border-left: 3px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item-content {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-item-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.timeline-icon {
  position: absolute;
  left: -60px;
  top: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.timeline-title {
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.timeline-meta {
  font-size: 0.875rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-color-light);
  color: var(--primary-color);
  border-radius: 2rem;
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .main-content {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .main-content {
    padding: 1rem;
  }

  .content-section {
    padding: 1.5rem;
  }
}

/* =========================================================================================================================== */
/* Course Page Dashboard Instrutor */
/* =========================================================================================================================== */

/*
        ========================================
        * COURSES PAGE
        ========================================
        */
.content-section {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.course-stat-card {
  color: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.course-stat-card h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.table-controls .btn-group .btn {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
}

.table-controls .btn-group .btn.active {
  background-color: var(--primary-color);
  color: #fff;
}

.table-responsive {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
}

.table {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.table thead th {
  background-color: var(--bg-light);
  color: var(--text-body);
  font-weight: 500;
  border-bottom-width: 1px;
}

.table tbody td {
  vertical-align: middle;
}

.course-title-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.course-title-cell img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.course-title-cell .course-name {
  font-weight: 600;
  color: var(--text-heading);
  display: block;
}

.course-title-cell .course-meta {
  font-size: 0.8rem;
  color: var(--text-body);
}

.course-meta span:not(:last-child)::after {
  content: "•";
  margin: 0 0.5rem;
}

.status-badge {
  display: inline-block;
  padding: 0.3em 0.7em;
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 50px;
}

.status-badge.published {
  color: var(--success-color);
  background-color: rgba(23, 194, 134, 0.1);
}

.status-badge.pending {
  color: var(--pending-color);
  background-color: rgba(255, 138, 0, 0.1);
}

.status-badge.draft {
  color: var(--draft-color);
  background-color: rgba(106, 68, 242, 0.1);
}

.action-btn {
  color: var(--text-body);
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
}

.action-btn:hover {
  color: var(--primary-color);
}

/*
        ========================================
        * RESPONSIVE STYLES
        ========================================
        */
@media (max-width: 991.98px) {
  .header-actions .btn-upgrade {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .main-content {
    padding: 1rem;
  }

  .content-section {
    padding: 1.5rem;
  }

  .dashboard-header {
    flex-direction: row-reverse;
    justify-content: space-between;
  }
}

/* =========================================================================================================================== */
/* Create Course Page Dashboard Instrutor */
/* =========================================================================================================================== */

/*
========================================
* CREATE COURSE PAGE
========================================
*/

.content-section {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.form-label {
  font-weight: 600;
  color: var(--text-heading);
}


.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem var(--primary-color-light);
}

/* Wizard/Stepper Styles */
.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.wizard-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-color);
  z-index: 0;
}

.wizard-step {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  background-color: #fff;
  padding: 0 1rem;
}

.wizard-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--border-color);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1;
}

.wizard-step-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

.wizard-step.active .wizard-step-icon {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.wizard-step-icon:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;

}

.wizard-step.active .wizard-step-label {
  color: var(--primary-color);
  font-weight: 600;
}

.wizard-step.completed .wizard-step-icon {
  background-color: var(--success-color);
  border-color: var(--success-color);
  color: #fff;
}

.wizard-step.completed .wizard-step-label {
  color: var(--text-heading);
}

/* Step Content Styling */
.wizard-step-content {
  display: none;
}

.wizard-step-content.active {
  display: block;
}

/* Media Upload Zone */
.upload-zone {
  border: 2px dashed var(--border-color);
  border-radius: 0.75rem;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-zone:hover {
  border-color: var(--primary-color);
  background-color: var(--bg-light);
}

.upload-zone .icon {
  font-size: 3rem;
  color: var(--primary-color);
}

.upload-zone p {
  margin: 0.5rem 0 0;
}

/* Curriculum Accordion */
.accordion-button {
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color-light);
  color: var(--primary-color);
  box-shadow: none;
}

.curriculum-list {
  list-style: none;
  padding-left: 0;
}

.curriculum-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.curriculum-item .icon {
  font-size: 1.2rem;
}

.form-check-switch {
  font-size: 1rem;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* =========================================================================================================================== */
/* Feedback Course Page Dashboard Instrutor */
/* =========================================================================================================================== */
/*
        ========================================
        * REVIEWS PAGE STYLES
        ========================================
        */
.content-section {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

/* Ratings Summary */
.rating-summary-value {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-heading);
}

.star-rating .bi-star-fill {
  color: var(--warning-color);
}

.rating-breakdown .rating-bar-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rating-breakdown .progress {
  height: 8px;
  background-color: var(--border-color);
}

.rating-breakdown .progress-bar {
  background-color: var(--warning-color);
}

/* Review List */
.review-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.review-item:first-child {
  padding-top: 0;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-course-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

.review-course-link:hover {
  text-decoration: underline;
}

/* =========================================================================================================================== */
/*  Earning  Page Dashboard Instructor */
/* =========================================================================================================================== */
/* --- Page Header --- */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-title {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 2rem;
}

/* --- Summary Cards --- */
.summary-card {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.summary-card .icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
}

.summary-card .card-title {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 0.25rem;
}

.summary-card .card-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-heading);
}

/* --- Main Content Card --- */
.content-card {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
}

.content-card .card-header {
  background-color: #fff;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.content-card .card-title {
  font-weight: 600;
  color: var(--text-heading);
  margin: 0;
}

/* Table Styles */
.table {
  color: var(--text-body);
}

.table thead th {
  color: var(--text-heading);
  font-weight: 500;
  border-bottom-width: 1px;
}

.table tbody tr:last-of-type {
  border-color: transparent;
}

.table .fw-medium {
  color: var(--text-heading);
}

.table .text-success {
  font-weight: 500;
}

section {
  overflow: hidden;
}

.page-link {
  padding-inline: 20px;
  display: block;
}

/* =========================================================================================================================== */
/*  Notification  Page Dashboard Instructor */
/* =========================================================================================================================== */

/* ========================================
         * NOTIFICATION PAGE
         * ======================================== */
.notification-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item.unread {
  background-color: var(--primary-color-light);
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.notification-icon.icon-student {
  background-color: #dbeafe;
  color: #2563eb;
}

.notification-icon.icon-rating {
  background-color: #fef08a;
  color: #ca8a04;
}

.notification-icon.icon-question {
  background-color: #ffedd5;
  color: #f97316;
}

.notification-icon.icon-payout {
  background-color: #dcfce7;
  color: #16a34a;
}

.notification-content p {
  margin-bottom: 0.25rem;
  color: var(--text-heading);
}

.notification-content .time {
  font-size: 0.8rem;
  color: #6b7280;
}

/* ============================================ Student Dashobard ================================================== */

/* =========================================================================================================================== */
/*  Home Page Dashboard Student */
/* =========================================================================================================================== */

.student-dashboard .welcome-banner {
  background-image: linear-gradient(to right,
      rgba(106, 68, 242, 0.9),
      rgba(106, 68, 242, 0.7)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2671&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  padding: 2.5rem;
  border-radius: 1rem;
}

.student-dashboard .welcome-banner .form-control {
  height: 50px;
}

.student-dashboard .stat-card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--primary-color);
}

.student-dashboard .stat-card .stat-icon {
  font-size: 2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.student-dashboard .stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-heading);
}

.student-dashboard .course-card {
  background-color: #fff;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding-inline: 10px;
}

.student-dashboard .course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.student-dashboard .course-card .course-card-img {
  height: 160px;
  width: 200px;
  object-fit: cover;
}

.student-dashboard .course-card .course-card-body {
  padding: 1.5rem;
}

.student-dashboard .course-card .course-card-title {
  font-weight: 600;
  color: var(--text-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  /* approx 2 lines */
}

.student-dashboard .course-card .progress {
  height: 8px;
}

.student-dashboard .course-card .progress-bar {
  background-color: var(--primary-color);
}

/* =========================================================================================================================== */
/*  My Course Page Dashboard Student */
/* =========================================================================================================================== */

.student-my-courses-page .dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

/* Tab Styles */
.student-my-courses-page .nav-tabs {
  border-bottom-color: var(--border-color);
}

.student-my-courses-page .nav-tabs .nav-link {
  color: var(--text-body);
  font-weight: 600;
  border: none;
  border-bottom: 2px solid transparent;
}

.student-my-courses-page .nav-tabs .nav-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background-color: transparent;
}

/* Course Card Styles */
.student-my-courses-page .course-cards {
  background-color: #fff;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.student-my-courses-page .course-cards:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(44, 42, 91, 0.07);
}

.student-my-courses-page .course-cards .course-cards-img {
  height: 180px;
  object-fit: cover;
}

.student-my-courses-page .course-cards .course-cards-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.student-my-courses-page .course-cards .course-cards-title {
  font-weight: 600;
  color: var(--text-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  /* approx 2 lines */
}

.student-my-courses-page .course-cards .progress {
  height: 8px;
}

.student-my-courses-page .course-cards .progress-bar {
  background-color: var(--primary-color);
}

.student-my-courses-page .course-cards .course-carda-footer {
  margin-top: auto;
  /* Pushes the button to the bottom */
  padding-top: 1rem;
}

/* =========================================================================================================================== */
/*  Wishlish  Page Dashboard Student */
/* =========================================================================================================================== */

/* =================================================== */
/* My Courses Page Card Styles (NEW DESIGN)            */
/* =================================================== */




.student-my-courses-page .course-cardd {
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  background-color: #fff;
  overflow: hidden;
  padding-top: 0px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.student-my-courses-page .course-cardd:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* --- Image and Price Tag --- */
.card-img-top-wrapper {
  position: relative;
  width: 100%;
}

.card-img-top-wrapper img {
  width: 100%;
  height: auto;
}

.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.price-tag {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 8px 15px;
  border-radius: 25px;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 5px;
}

.price-tag .original-price {
  text-decoration: line-through;
  color: #777;
  font-weight: 400;
  font-size: 0.85rem;
}

.price-tag.free {
  background-color: #198754;
  color: #fff;
}

/* --- Card Body --- */
.course-cardd .card-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-cardd .instr-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.course-cardd .instr-info img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-right: 12px;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  color: #6a44f2;
  font-size: 1.1rem;
}

.course-cardd .instr-info .instr-name {
  font-weight: 500;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.course-cardd .wishlistt-btn {
  margin-left: auto;
  font-size: 1.3rem;
  color: #e70c0c;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0 5px;
}

.course-cardd .wishlistt-btn:hover,
.course-cardd .wishlistt-btn.active {
  color: #e74c3c;
}

.course-cardd .course-title {
  text-decoration: none;
  font-weight: 700;
  /* Bolder title */
  font-size: 1.25rem;
  /* Larger title */
  color: #212529;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2em;
  line-height: 1.6em;
  margin-bottom: 0.5rem;
}

.course-cardd .course-title:hover {
  color: #6a44f2;
}

/* New section for rating and view course button */
.course-cardd .course-meta-bottom {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
  align-items: center;
}

.course-cardd .rating .rating-stars {
  font-weight: 700;
  color: #212529;
  /* Rating number color */
}

.course-cardd .rating .bi-star-fill {
  color: #ffc107;
  /* Star color */
  margin-right: 4px;
}

.course-cardd .rating .text-muted {
  font-size: 0.9rem;
}

.course-cardd .btn-view-course-new {
  background-color: #6a44f2;
  /* Primary color for button */
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.95rem;
}

.course-cardd .btn-view-course-new:hover {
  background-color: #5a37d9;
  /* Darker primary on hover */
  box-shadow: 0 4px 10px rgba(106, 68, 242, 0.3);
}

.course-cardd .student-my-courses-page .course-card .card-footer {
  display: none;
}





/* =========================================================================================================================== */
/*  Notification  Page Dashboard Student */
/* =========================================================================================================================== */

/* ========================================
         * NOTIFICATION PAGE
         * ======================================== */
.notification-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item.unread {
  background-color: var(--primary-color-light);
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.notification-icon.icon-grade {
  background-color: #dcfce7;
  color: #16a34a;
}

.notification-icon.icon-assignment {
  background-color: #ffedd5;
  color: #f97316;
}

.notification-icon.icon-announcement {
  background-color: #dbeafe;
  color: #2563eb;
}

.notification-icon.icon-material {
  background-color: #e0e7ff;
  color: #4f46e5;
}

.notification-content p {
  margin-bottom: 0.25rem;
  color: var(--text-heading);
}

.notification-content .time {
  font-size: 0.8rem;
  color: #6b7280;
}


/* =========================================================================================================================== */
/*  Certificated  Page Dashboard Student */
/* =========================================================================================================================== */

/* ========================================
 * MY CERTIFICATES LIST
 * ======================================== */
.content-section {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
}

.certificate-card {
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.certificate-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.certificate-card .icon-wrapper {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.certificate-card .course-title {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.certificate-card .completion-date {
  font-size: 0.9rem;
  color: var(--text-body);
}

.certificate-card .btn-download {
  margin-left: auto;
  flex-shrink: 0;
}

/* ========================================
 * CERTIFICATE VIEW (INSIDE MODAL)
 * ======================================== */
.certificate-container {
  width: 100%;
  aspect-ratio: 1.414 / 1;
  background-color: #ffffff;
  padding: 1rem;
  border: 1px solid #d4af37;
  position: relative;
  display: flex;
  flex-direction: column;
}

.certificate-border {
  border: 4px solid #002b5c;
  padding: 1.5rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
}

.cert-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  color: #002b5c;
}

.cert-header .logo {
  font-size: 2.5rem;
}

.cert-header .issuer-name {
  font-family: "Moul", cursive;
  font-size: 1.8rem;
}

.cert-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cert-title {
  font-family: "Moul", cursive;
  color: #d4af37;
  font-size: 2.2rem;
  margin: 0;
}

.certify-text {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #555;
}

.recipient-name {
  font-weight: 700;
  font-size: 2rem;
  color: #002b5c;
  margin: 0.5rem 0;
}

.completion-text {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.course-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: #333;
}

.date-text {
  font-size: 0.9rem;
  color: #555;
  margin-top: 1rem;
}

.cert-footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
}

.signature-block {
  width: 180px;
}

/* NEW STYLE FOR SIGNATURE TEXT */
.signature-image {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 1rem;
  color: #1a3a6e;
}

.signature-line {
  border-bottom: 1px solid #555;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.signature-title {
  font-size: 0.8rem;
  color: #555;
}

.cert-seal {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 5rem;
  color: #d4af37;
  opacity: 0.2;
}

/* Responsive */
@media (max-width: 767px) {
  .cert-title {
    font-size: 1.8rem;
  }

  .recipient-name {
    font-size: 1.5rem;
  }

  .course-name {
    font-size: 1rem;
  }

  .certificate-border {
    padding: 1rem;
  }
}



/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  animation: fadeDown 0.3s ease;
}

/* Modern Dropdown Card Style */
.dropdown-modern {
  min-width: 260px;
  background: #fff;
  border-radius: 15px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.card-item {
  padding: 10px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #6a44f2, #9b59b6);
  color: #fff;
}

.card-item:hover .icon-circle {
  background: #fff;
  color: #6a44f2;
}

.card-item .icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #6a44f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
  font-size: 16px;
}

/* Animation for dropdown */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================== wishlist - PAGE ========================= */
.wishlist-items-section {
  padding-block: 110px;
}

.wishlist-banner {
  background-color: white;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.wishlist-banner .banner-content {
  position: relative;
}

.wishlist-banner .banner-content .circle-anime {
  width: 100px;
  height: 100px;
  background-color: #dc35463e;
  position: absolute;
  border-radius: 50%;
  bottom: 5%;
  left: 5%;
  animation: circle-anime 5s infinite alternate;
}

@keyframes circle-anime {
  0% {
    transform: scale(100%);
  }

  100% {
    transform: scale(150%);
  }
}

.wishlist-banner .banner-content .text {
  position: relative;
}

.wishlist-banner .banner-content .text h1 {
  font-size: 60px;
  font-weight: bold;
}

@media (max-width:820px) {
  .wishlist-banner .banner-content .text h1 {
    font-size: 40px;
    font-weight: bold;
  }
}

.wishlist-banner .banner-img {
  display: flex;
  align-items: center;
  object-fit: cover;
  justify-content: center;
}

.wishlist-banner .banner-img .image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  position: relative;
}

.wishlist-banner .banner-img .image img {
  position: relative;
  z-index: 9;
  object-fit: cover;
}

.wishlist-banner .banner-img .image .bg-circle {
  width: 100%;
  height: 100%;
  /* background-color: #4f46e5; */
  position: absolute;
  border-radius: 50%;
  top: 0;
  z-index: 1;
  object-fit: cover;
  animation: bg-circle 5s infinite alternate;
}

@keyframes bg-circle {
  0% {
    background-color: #4f46e5;
  }

  100% {
    background-color: #e02a46;
  }
}

.wishlist-title p {
  color: var(--highlight-color);
}

.wishlist-title h3 {
  padding-bottom: 50px;
}


.wishlist-btn-2 {
  padding: 10px 20px;
  background-color: #4f46e5;
  border: none;
  color: white;
  transition: 0.4s;
}

.wishlist-btn-2:hover {
  border: none;
  background-color: #1e1f4b;
  color: white;
}

.wishlist-cta-section {
  background-color: #4e46e514;
}

.wishlist-sec .image {
  width: 100px;
  height: 100px;
  border-radius: 5px;
  object-fit: cover;
  overflow: hidden;
}

.wishlist-sec img,
.wishlist-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-sec i {
  color: red;
  font-size: 20px;
  transition: 0.4s;
}

.wishlist-sec i:hover {
  transform: scale(110%);
  color: #ad2532;
}

.wishlist-sec .wishlist-courses {
  padding: 0px 30px 30px 30px;
  background-color: rgba(255, 255, 255, 0.355);
  border-radius: 10px;
  overflow: hidden;
  width: 90%;
  margin: auto
}

.wishlist-sec .wishlist-courses h4 {
  background-color: rgba(255, 255, 255, 0.471);
  padding: 10px 30px 10px 30px;
  margin-inline: -30px;
  border-bottom: 1px solid #4f46e5;
  margin-bottom: 10px;
}

.wishlist-sec .wishlist-courses .table {
  --bs-table-bg: rgba(255, 255, 255, 0.371);
  box-shadow: 0px 0px 20px 5px rgba(179, 179, 179, 0.14);
  /* border: 1px solid #4e46e55e; */
  border-radius: 10px;
  overflow: hidden;
}

.wishlist-sec .course-title {
  font-weight: 500;
  font-size: 17px;
}

.wishlist-sec .price {
  color: #dc3545;
  font-weight: bold;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: rgba(255, 255, 255, 0.599);
}

.table-hover>tbody>tr:hover>* {
  --bs-table-color-state: var(--bs-table-hover-color);
  --bs-table-bg-state: rgba(255, 255, 255, 0.177);
}

.table-striped-columns> :not(caption)>tr> :nth-child(even) {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: var(--bs-table-striped-bg);
}

.wishlist-btn-3 {
  padding: 10px 10px !important;
  background-color: #4f46e5;
  border: none;
  color: white;
  transition: 0.4s;
}

.wishlist-btn-3:hover {
  border: none;
  background-color: #1e1f4b;
  color: white;
}

table tr td,
table tr th {
  white-space: nowrap;
  font-size: 18px;
  padding: 20px 10px !important;
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Optional: Smooth entrance animation */
#modalWishlistPage .modal-content {
  transform: translateY(-30px);
  opacity: 0;
  transition: all 0.3s ease;
}

#modalWishlistPage.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* ============ notification ========== */
/* Modern Modal */
.modern-notif-modal .modal-content {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: none;
  border-radius: 1rem;
  max-height: 90vh;
  overflow: hidden;
}

.modal-header.bg-gradient-modern {
  background: linear-gradient(120deg, #6a11cb, #2575fc);
  border-bottom: none;
  color: #fff;
  font-weight: 600;
}

/* Tabs */
.modern-tabs .nav-link.active {
  border-bottom: 3px solid #2575fc;
  font-weight: 600;
  color: #333;
}

/* Notifications */
/* Vibrant Modal */
.vibrant-notif-modal .modal-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-radius: 1rem;
  border: none;
  max-height: 90vh;
  overflow: hidden;
}

.modal-header.bg-gradient-vibrant {
  background: linear-gradient(135deg, #ff5858, #f09819);
  border-bottom: none;
  color: #fff;
}

/* Tabs */
.vibrant-tabs .nav-link.active {
  border-bottom: 3px solid #ff5858;
  font-weight: 600;
}

/* Notification Cards */
.notification-item {
  position: relative;
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.notification-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Notification Icons */
/* Professional Modal */
.professional-notif-modal .modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  border: none;
  max-height: 90vh;
  overflow: hidden;
}

.modal-header.bg-header-professional {
  background: linear-gradient(90deg, #4e54c8, #8f94fb);
  color: #fff;
  border-bottom: none;
}

/* Tabs */
.professional-tabs .nav-link.active {
  border-bottom: 2px solid #4e54c8;
  font-weight: 600;
}

/* Notification Items */
.notification-item {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.notification-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Notification Icons */
.notification-icon {
  width: 55px;
  height: 55px;
  font-size: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-icon-blue {
  background: #4e54c8;
}

.bg-icon-purple {
  background: #6f42c1;
}

.bg-icon-yellow {
  background: #fbbc04;
  color: #333;
}

/* Unread Dot */
.unread-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  top: 18px;
  right: 18px;
  background: #e63946;
}

.pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Footer */
.mark-read:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* ============================================== ABOUT US ============================================================== */






/* --- Keyframe Animations for Stickers --- */
@keyframes float-sticker {

  0%,
  100% {
    transform: translateY(0px) rotate(-5deg);
  }

  50% {
    transform: translateY(-25px) rotate(5deg);
  }
}

/* --- General Page Setup --- */
.about-page-v2 main {
  padding-top: 70px;
}

.about-page-v2 section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.section-eyebrow {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.75rem;
  background-color: rgba(106, 68, 242, 0.1);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-left: 40px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
           2. Purpose & Stats Section
           =================================== */
.purpose-section {
  background-color: #fff;
}

.purpose-image-container {
  position: relative;
  padding: 1.5rem;
}

.purpose-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  height: 90%;
  background: linear-gradient(45deg, var(--bg-light), #fff);
  border-radius: 1.5rem;
  z-index: 1;
}

.purpose-image-container img {
  position: relative;
  z-index: 2;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.purpose-content p {
  line-height: 1.9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.stat-item .number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-item .label {
  color: var(--text-body);
}


/* Hero Section Styles */
.banner-section {
  padding: 8rem 0;
  position: relative;
  background-color: #f8fbfb;

}

.hero-section .text-danger {
  color: #EF4444 !important;
}

.hero-section .display-4 {
  font-weight: 900;
}

.text-education {
  color: #EF4444;
}

.underline-wave {
  width: 100px;
  height: 12px;
  margin-top: 0.5rem;
}

.vision-mission-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #6366F1;
}

.vision-mission-icon.mission {
  color: #3B82F6;
}

/* New Image Collage Styles */
.image-collage {
  position: relative;
  height: 550px;
  /* Set a fixed height for positioning */
}

.image-collage img {
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: absolute;
  object-fit: cover;
}

.img-main-left {
  width: 60%;
  height: 380px;
  top: 20px;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%, 0 80%);
  z-index: 2;
}

.img-top-right {
  width: 55%;
  height: 200px;
  top: 0;
  right: 0;
  z-index: 1;
}

.img-mid-right {
  width: 50%;
  height: 250px;
  top: 220px;
  right: 5%;
  z-index: 3;
}

.img-bottom-left {
  width: 45%;
  height: 150px;
  bottom: 0;
  left: 10%;
  z-index: 3;
}

/* Keyframe Animations */
@keyframes float-subtle {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Sticker Styles */
.sticker {
  position: absolute;
  opacity: 0.7;
  animation-name: float-subtle;
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.dots-pattern {
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, currentColor 1.5px, transparent 2px);
  background-size: 16px 16px;
  z-index: 0;
}

.dots-red {
  top: -1rem;
  left: 45%;
  color: #FECACA;
}

.dots-green {
  bottom: 4rem;
  right: -2rem;
  color: #A7F3D0;
  animation-delay: -3s;
}

.sticker-circle {
  width: 30px;
  height: 30px;
  background-color: #FBBF24;
  border-radius: 50%;
  top: 20%;
  left: -2rem;
  animation-delay: -1s;
}

.sticker-plus {
  font-size: 2.5rem;
  color: #A78BFA;
  top: 10%;
  right: -1rem;
  animation-name: spin-slow;
  animation-duration: 15s;
  animation-timing-function: linear;
}

.sticker-wave {
  width: 60px;
  height: 20px;
  bottom: -2rem;
  left: 30%;
  animation-delay: -2s;
}

@media (max-width: 992px) {
  .hero-section {
    padding: 4rem 0;
    text-align: center;
  }

  .underline-wave {
    margin-left: auto;
    margin-right: auto;
  }

  .image-collage {
    margin-top: 4rem;
    height: 450px;
  }
}

/* ===================================
           3. Team Section Slider
           =================================== */
.team-section {
  padding: 5rem 0;
  background-color: #f7f7fb;
}

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

.section-header h2 {
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  color: #1d3557;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1e90ff, #ff1493);
  /* Modern gradient */
  border-radius: 2px;
}

/* New Card Design */
.team-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 400px;
  /* Fixed height */
}

.team-card:hover {
  transform: scale(1.05);
}

.image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .image-wrapper img {
  transform: scale(1.1);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  color: #ffffff;
  transform: translateY(calc(100% - 90px));
  /* Only show the name part initially */
  transition: transform 0.4s ease-out;
  text-align: left;
}

.team-card:hover .card-content {
  transform: translateY(0);
}

.person-name {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.position {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.card-details {
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.team-card:hover .card-details {
  opacity: 1;
}

.description {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: #ff1493;
  color: white;
}


/* Swiper Styles */
.team-slider-container {
  position: relative;
}

.team-slider {
  padding: 1rem 0 3rem 0;
}

.swiper-pagination-bullet {
  background-color: #adb5bd;
  width: 10px;
  height: 10px;
}

.swiper-pagination-bullet-active {
  background-color: #1e90ff;
}

.swiper-button-next,
.swiper-button-prev {
  color: #1e90ff;
  background-color: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #1e90ff;
  color: #ffffff;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.25rem;
  font-weight: 900;
}

@media (max-width: 768px) {

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* ===================================
           4. Acknowledgement Section
           =================================== */
.acknowledgement-section {
  background-color: #fff;
}

.acknowledgement-content .content-box {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.acknowledgement-content p {
  line-height: 1.9;
  font-size: 1.1rem;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.logo-item {
  text-align: center;
}

.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .purpose-image-container {
    margin-bottom: 2rem;
  }

  .logo-wall {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.thank-you-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Decorative background shapes (kept for layered effect) */
.thank-you-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #1e90ff, #ff1493);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(50px);
}

.thank-you-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #ff1493, #1e90ff);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(60px);
}

.thank-you-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  z-index: 2;
}

.thank-you-card h2 {
  font-weight: 700;
  font-size: 2.25rem;
  color: #1d3557;
  margin-bottom: 1.5rem;
}

.thank-you-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.logos-header {
  font-weight: 500;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.logo-container {
  border-top: 1px solid #dee2e6;
  padding-top: 3rem;
}

.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.logo-item img {
  max-height: 90px;
  object-fit: contain;
  transition: 0.3S;
}

.logo-item img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.thank-you-section p {
  text-align: left;
}

/* --- NEW KEYFRAMES for Stickers --- */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* --- STICKER STYLES --- */
.thank-you-section .sticker {
  position: absolute;
  z-index: 1;
  opacity: 0.6;
}

.thank-you-section .sticker-1 {
  width: 80px;
  height: 80px;
  background-color: #1e90ff;
  top: 10%;
  left: 5%;
  border-radius: 50%;
  animation: float 5s ease-in-out infinite;
}

.thank-you-section .sticker-2 {
  width: 20px;
  height: 20px;
  background-color: #ff1493;
  top: 20%;
  right: 15%;
  animation: spin 8s linear infinite;
}

.thank-you-section .sticker-3 {
  width: 100px;
  height: 100px;
  border: 3px dotted #1e90ff;
  top: 70%;
  left: 10%;
  border-radius: 50%;
  animation: spin 20s linear infinite reverse;
}

.thank-you-section .sticker-4 {
  width: 50px;
  height: 50px;
  background-color: #ff1493;
  bottom: 15%;
  right: 5%;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: float 6s ease-in-out infinite alternate;
}

.thank-you-section .sticker-5 {
  width: 30px;
  height: 30px;
  background-color: #1e90ff;
  top: 60%;
  right: 20%;
  animation: pulse 3s ease-in-out infinite;
  border-radius: 5px;
}

.thank-you-section .sticker-6 {
  width: 60px;
  height: 60px;
  border: 2px solid #ff1493;
  bottom: 25%;
  left: 2%;
  animation: spin 15s linear infinite;
}

.padding-about {
  padding: 140px 0 80px !important;
}

.about-us-section {

  position: relative;
  overflow: hidden;
  background-color: #e9e9ef;
}

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

.section-title h2 {
  font-weight: 700;
  font-size: 2.5rem;
  color: #1d3557;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1e90ff, #ff1493);
  border-radius: 2px;
}

.content-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-image-container .img-fluid {
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.image-bg-shape {
  position: absolute;
  width: 90%;
  height: 90%;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(255, 20, 147, 0.1));
  border-radius: 2rem;
  transform: rotate(-5deg);
  z-index: 1;
  transition: transform 0.3s ease;
}

.content-image-container:hover .image-bg-shape {
  transform: rotate(5deg) scale(1.05);
}

.content-box {
  padding-left: 2rem;
}

.content-box p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #495057;
}

.content-box strong {
  color: #1e90ff;
  font-weight: 700;
}

/* Keyframes and Stickers */
@keyframes float-alt {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-15px) translateX(10px);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.about-us-section .sticker {
  position: absolute;
  z-index: 3;
  opacity: 0.7;
}

.about-us-section .sticker-about-1 {
  width: 60px;
  height: 60px;
  border: 2px dashed #ff1493;
  border-radius: 50%;
  top: 5%;
  left: 15%;
  animation: spin-slow 20s linear infinite;
}

.about-us-section .sticker-about-2 {
  width: 40px;
  height: 40px;
  background-color: #1e90ff;
  bottom: 10%;
  right: 5%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: float-alt 7s ease-in-out infinite;
}

.about-us-section .sticker-about-3 {
  width: 25px;
  height: 25px;
  background-color: #ff1493;
  top: 10%;
  right: 10%;
  border-radius: 5px;
  animation: float-alt 5s ease-in-out infinite reverse;
}

.about-us-section .sticker-about-4 {
  width: 70px;
  height: 70px;
  border: 3px solid #1e90ff;
  bottom: 5%;
  left: 10%;
  animation: spin-slow 25s linear infinite reverse;
}


/* ================================================= CONTACT US PAGE ===================================== */


/* Custom Colors */
.bg-gradient-violet {
  background: linear-gradient(to right, #f5f3ff, #ede9fe);
  padding-top: 160px !important;
}

.text-violet {
  color: #7c3aed;
}

.bg-violet-100 {
  background-color: #ede9fe;
}

.btn-violet {
  background-color: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
}


.bg-gradient-violet .btn-violet:hover {
  background-color: #6d28d9;
  border-color: #6d28d9;
  color: #fff;
}

.fa-2x {
  font-size: 1.5rem !important;
}

.bg-gradient-violet .form-control:focus {
  border-color: #e5e5e5;
  box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25);
}

/* --- Custom Keyframe Animations --- */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoom-in-out {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* --- Scoped Utility Classes --- */
.contact-page-container .animate-float {
  animation: float 6s ease-in-out infinite;
}

.contact-page-container .animate-spin {
  animation: spin 20s linear infinite;
}

.contact-page-container .animate-zoom {
  animation: zoom-in-out 8s ease-in-out infinite;
}

.contact-page-container .fade-in-up {
  animation: fadeIn 0.8s ease-out forwards;
}

/* --- Decorative Stickers --- */
.contact-page-container .sticker {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.contact-page-container .sticker-triangle {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid #a78bfa;
  /* violet-400 */
}

.contact-page-container .sticker-dots {
  width: 100px;
  height: 100px;
  background-image: radial-gradient(#d8b4fe 15%, transparent 16%);
  /* purple-300 */
  background-size: 15px 15px;
}

.contact-page-container .sticker-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, #c4b5fd, #8b5cf6);
  /* violet-300 to violet-500 */
}

/* Back to top button */
#to-top-btn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  transition: opacity 0.3s, transform 0.3s;
}

.rounded-circle-icon {
  width: 4rem;
  height: 4rem;
}

/* ===================== Modal Teacher Profile ======================*/
/* Custom Styles for a More Professional Modal */
.professional-modal .modal-content {
  background-color: #fdfdfe;
  border-radius: 1rem;
  overflow: hidden;
}

.professional-modal .modal-body {
  padding: 0 !important;
}

.professional-modal .btn-close {
  z-index: 10;
}

.professional-bg-pattern {
  background: #34495e;
  position: relative;
  overflow: hidden;
  border-radius: 1rem 0 0 1rem;
}

.professional-bg-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232c3e50' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0 18v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM12 34v-4h-2v4H6v2h4v4h2v-4h4v-2h-4zm0 18v-4h-2v4H6v2h4v4h2v-4h4v-2h-4zM36 10v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM12 10v-4h-2v4H6v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.professional-modal .profile-card {
  z-index: 1;
}

.professional-modal .profile-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.professional-modal .social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: all 0.3s ease;
}

.professional-modal .social-icon:hover {
  background: #fff;
  color: #34495e;
}

/* New Styles for Skills Section */
.skill-tag-pro {
  display: inline-block;
  background-color: #f8f9fa;
  color: #495057;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.85rem;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.skill-tag-pro:hover {
  background-color: #e2e6eb;
  border-color: #d1d5db;
}

/* New Styles for Work Experience Section */
.timeline-pro {
  position: relative;
  padding-left: 20px;
}

.timeline-pro::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #dee2e6;
}

.timeline-item-pro {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
}

.timeline-item-pro::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #5b64f3;
  z-index: 1;
}

.timeline-icon {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 0.8rem;
  position: relative;
  z-index: 2;
  background-color: #5b64f3;
  border-radius: 50%;
  margin-right: 15px;
}

.timeline-content-pro {
  padding-top: 5px;
}

/* ===================== END Modal Teacher Profile ======================*/

/* Custom CSS for Payment Success Modal */
.modal-payment .modal-content {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: none;
  overflow: hidden;
}

.modal-payment .btn-close {
  color: #a0a0a0;
  font-size: 0.9rem;
  background-color: transparent;
  border: none;
  opacity: 0.8;
}

.modal-title-modern {
  color: #2c3e50;
  /* A deep, professional blue-gray */
  font-size: 1.5rem;
}

.modal-payment .text-secondary {
  color: #6c757d !important;
}

.modal-payment .btn-primary {
  background-color: #5b64f3;
  border-color: #5b64f3;
  transition: all 0.2s ease;
}

.modal-payment .btn-primary:hover {
  background-color: #4651e0;
  border-color: #4651e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* SVG Checkmark Icon */
.success-icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto;
}

.success-icon .checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #28a745;
  /* Success green */
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-icon .checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-miterlimit: 10;
  stroke: #28a745;
  /* Success green */
  fill: none;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

/* Background floating shapes */
.login-local .shape {
  position: absolute;
  opacity: 0.15;
  z-index: 1;
}

.login-local .shape.circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #6c63ff;
  top: 10%;
  left: 5%;
  animation: floatlogin 6s ease-in-out infinite;
}

.login-local .shape.circle.small {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ff4757;
  bottom: 15%;
  right: 10%;
  animation: floatlogin 5s ease-in-out infinite;
}

.login-local .shape.rectangle {
  width: 160px;
  height: 50px;
  background: #2ed573;
  bottom: 3%;
  left: 10%;
  border-radius: 15px;
  animation: floatlogin 7s ease-in-out infinite;
}

.shape.square {
  width: 100px;
  height: 100px;
  background: #ffa502;
  top: 40%;
  right: 55%;
  border-radius: 10px;
  animation: floatlogin 8s ease-in-out infinite;
}

/* Float animation */
@keyframes floatlogin {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(15deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.bg-sidebar {
  box-shadow: 0px 0px 5px 0px rgb(228, 228, 228);
}

.p-6 {
  padding: 2.5rem;
  box-shadow: 0px 0px 5px 0px rgb(228, 228, 228) !important;
  border-radius: 18px !important;
}

/* Profile Card */
.profile-stu-setting {
  max-width: 300px;
  border: 1px solid #f1f1f1;
  transition: 0.3s ease;
  margin-block: 1.5rem;
}

.profile-stu-setting:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Buttons Base */
.btn-stu-setting {
  border: none;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

/* Primary (Change Photo) */
.btn-stu-setting-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.btn-stu-setting-primary:hover {
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

/* Danger (Delete) */
.btn-stu-setting-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.btn-stu-setting-danger:hover {
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
  transform: translateY(-1px);
}

.form-setting {
  width: 90%;
  margin: auto;
  border-radius: 20px;
  padding: 20px;
}

.profile-img-popup {
  width: 100% !important;
  height: 600px !important;
  object-fit: cover;
}

.profile-picture-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
}

/* Remove the full dark overlay effect */
.profile-picture-container .profile-picture {
  display: block;
  transition: transform 0.3s ease;
}

/* Optional small zoom effect on hover */
.profile-picture-container:hover .profile-picture {
  transform: scale(1.05);
}

/* Center buttons */
.profile-picture-container .edit-delete-buttons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show buttons only on hover */
.profile-picture-container:hover .edit-delete-buttons {
  opacity: 1;
}

.edit-delete-buttons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 8px;
  /* smaller gap */
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: 30px;
}

.profile-picture-container:hover .edit-delete-buttons {
  opacity: 1;
}

.edit-delete-buttons .btn {
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  padding: 6px;
  /* smaller size */
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  border: none;
  transition: all 0.2s ease-in-out;
}

.edit-delete-buttons .btn:hover {
  background-color: #fff;
  transform: scale(1.1);
  /* modern hover */
}

.edit-delete-buttons .btn i {
  font-size: 14px;
  /* smaller icon */
  color: #444;
  /* modern gray */
}
.footer-bottom small{
  color: rgb(177, 177, 177);
}
.btn-payment-method img{
  width:25px;
  height: 25px;
  object-fit: cover;
  margin-right: 10px;
}