/* - table of content - start
==================================================================================================== */
/* --------------------------------------------------

Website Name  :     Alquran Mounisi. Main Website

File          :     CSS RTL
Version       :     1.0
Developed By  :     Devawy

/* - table of content - end
==================================================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;700;900&family=Poppins:wght@400;600;700;900&display=swap');

:root {
  --vh: 1vh;
  --primary-color: #3d7512;
  --primary-dark: #2f5c0e;
  --text-dark: #333;
  --text-light: #666;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --shadow: 0 4px 15px rgba(4, 72, 199, 0.1);
  --shadow-hover: 0 8px 25px rgba(4, 72, 199, 0.2);
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Kufi Arabic", "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  font-size: 16px;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.main-content {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow-x: hidden;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

::selection {
  background: rgba(4, 72, 199, 0.3);
  color: var(--text-dark);
}

::-moz-selection {
  background: rgba(4, 72, 199, 0.3);
  color: var(--text-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: "Noto Kufi Arabic", "Poppins", sans-serif;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  height: 70px;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(4, 72, 199, 0.1);
}

.navbar {
  padding: 15px 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  height: 100%;
}

.navbar-brand .logo-img {
  height: 40px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

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

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switcher {
  display: flex;
  gap: 10px;
}

.lang-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 14px;
  transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-7px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999;
  transition: right 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  width: 100%;
  max-width: 400px;
  padding: 40px 20px;
  text-align: center;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 40px;
}

.mobile-nav-item {
  margin-bottom: 20px;
}

.mobile-nav-link {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 15px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
  color: var(--primary-color);
  transform: translateX(-10px);
}

.mobile-language-switcher {
  margin-bottom: 40px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-language-switcher h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.mobile-lang-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.mobile-lang-btn {
  padding: 12px 24px;
  border: 2px solid var(--white);
  border-radius: 25px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.mobile-lang-btn.active,
.mobile-lang-btn:hover {
  background: var(--white);
  color: var(--primary-color);
}

.mobile-cta {
  margin-top: 30px;
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 15px 30px;
  font-size: 1.1rem;
}

.page-hero-section {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 40);
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url(../images/hero-bg.png) no-repeat center center/cover;
  overflow: hidden;
  padding: 0;
  margin: 0;
  transform: none !important;
  padding-top: 100px;
}

.page-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(49, 99, 9, 0.9), rgba(50, 98, 14, 0.9));
  z-index: 1;
  opacity: .8;
}

.page-hero-section>* {
  position: relative;
  z-index: 2;
}

.hero-section {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url(../images/hero-bg.png) no-repeat center center/cover;
  overflow: hidden;
  padding: 0;
  margin: 0;
  transform: none !important;
  padding-top: 70px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(49, 99, 9, 0.9), rgba(50, 98, 14, 0.9));
  z-index: 1;
  opacity: .8;
}

.hero-section>* {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-buttons .btn {
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 16px;
  padding: 18px 35px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(-90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: right 0.5s;
}

.hero-buttons .btn:hover::before {
  right: 100%;
}

.hero-buttons .btn-primary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--white);
}

.hero-buttons .btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.hero-buttons .btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn i {
  margin-left: 10px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
  transform: scale(1.2);
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  right: 50%;
  transform: translateX(50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid var(--white);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(50%) translateY(0);
  }

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

  60% {
    transform: translateX(50%) translateY(-5px);
  }
}

.stats-section {
  padding: 80px 0;
  background: var(--gray-light);
  width: 100%;
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  width: 100%;
  margin-top: 0;
}

.section-title {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 700;
  width: 100%;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 20px auto;
  width: 100%;
}

.about-section {
  padding: 100px 0;
  width: 100%;
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.services-section {
  padding: 100px 0;
  width: 100%;
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.service-description {
  color: var(--text-light);
  line-height: 1.6;
}

.stars {
  color: #ffc107;
}

.categories-section {
  padding: 100px 0;
  background: var(--gray-light);
  width: 100%;
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.category-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.category-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.category-name {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.category-description {
  color: var(--text-light);
  line-height: 1.6;
}

.courses-section {
  padding: 100px 0;
  background: var(--gray-light);
}

.section-actions {
  margin-top: 80px;
  text-align: center;
}

.courses-section .btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  transition: all 0.3s ease;
}

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

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--gray-light);
  color: var(--text-dark);
}

.modal-body {
  padding: 30px;
}

.loading-state,
.error-state {
  text-align: center;
  padding: 60px 20px;
}

.loading-state i,
.error-state i {
  font-size: 3rem;
  margin-bottom: 20px;
}

.loading-state i {
  color: var(--primary-color);
}

.error-state i {
  color: var(--danger-color);
}

.loading-state p,
.error-state p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0;
}

.ingredients-list,
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ingredients-list li,
.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-light);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--text-dark);
}

.ingredients-list li i {
  color: var(--success-color);
  font-size: 1.1rem;
}

.features-list li i {
  color: var(--warning-color);
  font-size: 1.1rem;
}


.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.breadcrumb-link {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s ease;
}

.breadcrumb-link:hover {
  opacity: 0.8;
}

.breadcrumb-separator {
  color: var(--white);
  opacity: 0.7;
}

.breadcrumb-current {
  color: var(--white);
  font-weight: 600;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-header {
  padding: 30px;
  background: var(--primary-color);
  color: var(--white);
}

.tab-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.tab-body {
  padding: 40px;
}

.ingredients-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.ingredient-item,
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--gray-light);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.ingredient-item:hover,
.feature-item:hover {
  transform: translateY(-5px);
}

.ingredient-icon,
.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.ingredient-icon {
  background: var(--success-color);
  color: var(--white);
}

.feature-icon {
  background: var(--warning-color);
  color: var(--white);
}

.ingredient-info,
.feature-info {
  flex: 1;
}

.ingredient-name,
.feature-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 10px 0;
}

.ingredient-description,
.feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
}

.no-content-message {
  text-align: center;
  padding: 60px 20px;
}

.no-content-message i {
  font-size: 4rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.no-content-message p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.related-courses-section {
  padding: 80px 0;
  background: var(--white);
}

@media (max-width: 768px) {

  .ingredients-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ingredient-item,
  .feature-item {
    padding: 20px;
  }

  .tab-header {
    padding: 20px;
  }

  .tab-body {
    padding: 20px;
  }

  .tab-title {
    font-size: 1.3rem;
  }
}

.testimonials-section {
  padding: 100px 0;
  background: var(--gray-light);
  width: 100%;
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.testimonials {
  display: flex;
  gap: 30px;
  overflow: hidden;
}

.testimonial {
  min-width: 100%;
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: opacity 0.3s ease;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 600;
}

.contact-section {
  background: var(--gray-light);
  padding: 100px 0;
  width: 100%;
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  font-family: "Noto Kufi Arabic", "Poppins", sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 20px;
  width: 100%;
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: #ccc;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

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

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

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 8px 0;
}

.footer-contact-item i {
  color: var(--white);
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.footer-contact-item h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-contact-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-contact-info {
    gap: 20px;
  }

  .footer-contact-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 10px;
  }

  .footer-contact-item i {
    margin-top: 0;
    width: auto;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    gap: 25px;
  }

  .footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .footer-contact-info {
    gap: 15px;
  }

  .footer-contact-item {
    padding: 5px 0;
  }

  .footer-contact-item p {
    font-size: 0.9rem;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .navbar .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-content {
    gap: 40px;
  }

  .hero-buttons {
    gap: 20px;
  }

  .hero-buttons .btn {
    padding: 16px 30px;
    font-size: 15px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .stat-item {
    padding: 35px 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .service-card {
    padding: 35px 25px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .about-content {
    gap: 40px;
  }

  .contact-content {
    gap: 40px;
  }

  .navbar .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
    width: 100%;
  }

  .navbar .container {
    padding: 0 15px;
  }

  .hero-content {
    width: 100%;
    padding: 0 15px;
  }

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    left: 15px;
  }

  .desktop-menu,
  .desktop-actions {
    display: none;
  }

  .navbar {
    padding: 12px 0;
    position: relative;
  }

  .navbar-brand .logo-img {
    height: 35px;
  }

  .navbar {
    padding: 12px 0;
  }

  .navbar-brand .logo-img {
    height: 35px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-top: 80px;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    padding: 16px 30px;
    font-size: 16px;
  }

  .hero-img {
    margin-top: 20px;
    border-radius: 15px;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .about-text {
    order: 1;
  }

  .about-image {
    order: 2;
  }

  .about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info {
    order: 2;
    text-align: center;
  }

  .contact-form {
    order: 1;
  }

  .contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .contact-info p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item {
    padding: 30px 20px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-icon {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  .services-section {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card {
    padding: 25px 20px;
    border-radius: 12px;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .categories-section {
    padding: 60px 0;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .category-card {
    padding: 25px 20px;
    border-radius: 12px;
  }

  .category-icon {
    font-size: 2.2rem;
  }

  .category-name {
    font-size: 1.2rem;
  }

  .courses-section {
    padding: 60px 0;
  }

  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials {
    gap: 15px;
  }

  .testimonial {
    padding: 25px 20px;
    border-radius: 12px;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .testimonial-author {
    font-size: 1.1rem;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-content {
    gap: 25px;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .contact-info p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .contact-details {
    gap: 10px;
  }

  .contact-item {
    gap: 12px;
  }

  .contact-form {
    padding: 25px 20px;
    border-radius: 12px;
  }

  .form-control {
    padding: 12px;
    font-size: 15px;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-content {
    gap: 25px;
    text-align: center;
  }

  .about-text h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .features-list {
    gap: 12px;
  }

  .feature-item {
    gap: 12px;
  }

  .feature-item i {
    font-size: 1.1rem;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .footer-contact-info {
    gap: 18px;
  }

  .footer-contact-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
    padding: 6px 0;
  }

  .footer-contact-item i {
    margin-top: 0;
    width: auto;
    font-size: 1.2rem;
  }

  .footer-contact-item p {
    font-size: 0.9rem;
  }

  .social-links {
    justify-content: center;
    gap: 12px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom-links a {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 8px;
  }

  .navbar .container {
    padding: 0 8px;
  }

  .hero-title {
    margin-top: 80px;
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 10px 20px;
    font-size: 14px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-icon {
    font-size: 2rem;
  }

  .navbar-actions {
    gap: 10px;
  }

  .language-switcher {
    gap: 5px;
  }

  .navbar .container {
    padding: 0 8px;
  }

  .navbar {
    position: relative;
  }

  .mobile-menu-toggle {
    left: 8px;
  }

  .lang-btn {
    padding: 5px 8px;
    font-size: 12px;
  }

  .mobile-menu-content {
    padding: 25px 10px;
  }

  .mobile-nav-link {
    font-size: 1.2rem;
    padding: 10px 0;
  }

  .mobile-language-switcher {
    padding: 20px 0;
    margin-bottom: 25px;
  }

  .mobile-language-switcher h4 {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .mobile-lang-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .btn-block {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-section {
    padding: 15px 0;
  }

  .hero-content {
    gap: 15px;
  }

  .hero-title {
    font-size: 1.6rem;
    margin-top: 80px;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    gap: 10px;
    margin-top: 20px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .hero-img {
    margin-top: 10px;
    border-radius: 10px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .stats-section {
    padding: 40px 0;
  }

  .stat-item {
    padding: 20px 15px;
    border-radius: 10px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-icon {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .services-section {
    padding: 40px 0;
  }

  .service-card {
    padding: 20px 15px;
    border-radius: 10px;
  }

  .service-icon {
    font-size: 2rem;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .service-description {
    font-size: 0.9rem;
  }

  .categories-section {
    padding: 40px 0;
  }

  .category-card {
    padding: 20px 15px;
    border-radius: 10px;
  }

  .category-icon {
    font-size: 1.8rem;
  }

  .category-name {
    font-size: 1.1rem;
  }

  .category-description {
    font-size: 0.9rem;
  }

  .courses-section {
    padding: 40px 0;
  }

  .testimonials-section {
    padding: 40px 0;
  }

  .testimonial {
    padding: 20px 15px;
    border-radius: 10px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .testimonial-author {
    font-size: 1rem;
  }

  .contact-section {
    padding: 40px 0;
  }

  .contact-content {
    gap: 20px;
  }

  .contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .contact-info p {
    font-size: 0.9rem;
  }

  .contact-details {
    gap: 10px;
  }

  .contact-item {
    gap: 10px;
  }

  .contact-form {
    padding: 20px 15px;
    border-radius: 10px;
  }

  .form-control {
    padding: 10px;
    font-size: 14px;
  }

  .about-section {
    padding: 40px 0;
  }

  .about-content {
    gap: 20px;
  }

  .about-text h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .features-list {
    gap: 10px;
  }

  .feature-item {
    gap: 10px;
  }

  .feature-item i {
    font-size: 1rem;
  }

  .footer {
    padding: 30px 0 15px;
  }

  .footer-content {
    gap: 20px;
  }

  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .footer-contact-info {
    gap: 12px;
  }

  .footer-contact-item {
    padding: 3px 0;
  }

  .footer-contact-item p {
    font-size: 0.85rem;
  }

  .social-links {
    gap: 10px;
  }

  .social-link {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .footer-bottom-content {
    gap: 12px;
  }

  .footer-bottom-links {
    gap: 6px;
  }

  .footer-bottom-links a {
    font-size: 0.85rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 20px 0;
  }

  .hero-title {
    font-size: 2rem;
    margin-top: 80px;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 15px;
  }

  .btn-lg {
    width: auto;
    max-width: none;
  }

  .mobile-menu-content {
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .mobile-nav-list {
    margin-bottom: 20px;
  }

  .mobile-nav-item {
    margin-bottom: 10px;
  }

  .mobile-nav-link {
    font-size: 1.2rem;
    padding: 8px 0;
  }

  .mobile-language-switcher {
    padding: 15px 0;
    margin-bottom: 20px;
  }

  .mobile-language-switcher h4 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .mobile-lang-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .btn-block {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  .hero-img,
  .category-img {
    -webkit-image-rendering: -webkit-optimize-contrast;
    image-rendering: -webkit-optimize-contrast;
  }
}

@media print {

  .header,
  .footer,
  .btn,
  .mobile-menu-toggle {
    display: none !important;
  }

  .hero-section {
    background: white !important;
    color: black !important;
  }

  .hero-title,
  .section-title {
    color: black !important;
  }
}

.advertisements-section {
  padding: 100px 0;
  background: var(--gray-light);
  width: 100%;
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.advertisements-slider {
  position: relative;
  width: 100vw;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.advertisements-track {
  display: flex;
  gap: 30px;
  animation: scrollAdvertisements 20s linear infinite;
  width: max-content;
  padding: 0 20px;
}

.advertisements-track:hover {
  animation-play-state: paused;
}

@keyframes scrollAdvertisements {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.advertisement-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  min-width: 350px;
  max-width: 350px;
}

.advertisement-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.advertisement-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.advertisement-link:hover {
  text-decoration: none;
  color: inherit;
}

.advertisement-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.ad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.advertisement-card:hover .ad-img {
  transform: scale(1.1);
}

.discount-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.advertisement-content {
  padding: 25px;
}

.advertisement-title {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.advertisement-description {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.advertisement-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.advertisement-date,
.advertisement-expiry {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.advertisement-date i,
.advertisement-expiry i {
  color: var(--primary-color);
  font-size: 0.8rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.courses-section {
  padding: 100px 0;
  width: 100%;
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.pharmacy-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.pharmacy-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.pharmacy-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.pharmacy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pharmacy-card:hover .pharmacy-img {
  transform: scale(1.1);
}

.pharmacy-status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pharmacy-status.open {
  background: rgba(40, 167, 69, 0.9);
  color: var(--white);
}

.pharmacy-status.closed {
  background: rgba(220, 53, 69, 0.9);
  color: var(--white);
}

.pharmacy-status i {
  font-size: 0.7rem;
}

.pharmacy-info {
  padding: 25px;
}

.pharmacy-name {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.pharmacy-location {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.pharmacy-location i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.pharmacy-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.pharmacy-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pharmacy-rating i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.pharmacy-rating span {
  color: var(--text-dark);
  font-weight: 600;
  margin-right: 5px;
}

.pharmacy-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.pharmacy-phone i {
  color: var(--primary-color);
  font-size: 0.8rem;
}

.pharmacy-services {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 20px;
}

.service-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(4, 72, 199, 0.1);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.service-badge i {
  font-size: 0.7rem;
}

.pharmacy-actions {
  display: flex;
  gap: 10px;
}

.pharmacy-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 10px 15px;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .advertisements-track {
    gap: 25px;
  }

  .advertisement-card {
    min-width: 300px;
    max-width: 300px;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .pharmacy-card {
    border-radius: 12px;
  }

  .pharmacy-info {
    padding: 20px;
  }

  .pharmacy-name {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .advertisements-section {
    padding: 60px 0;
  }

  .advertisements-track {
    gap: 20px;
  }

  .advertisement-card {
    min-width: 280px;
    max-width: 280px;
  }

  .advertisement-content {
    padding: 20px;
  }

  .advertisement-title {
    font-size: 1.2rem;
  }

  .courses-section {
    padding: 60px 0;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pharmacy-image {
    height: 180px;
  }

  .pharmacy-info {
    padding: 20px;
  }

  .pharmacy-name {
    font-size: 1.2rem;
  }

  .pharmacy-services {
    gap: 6px;
  }

  .service-badge {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .pharmacy-actions {
    flex-direction: column;
    gap: 8px;
  }

  .pharmacy-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .advertisements-section {
    padding: 40px 0;
  }

  .advertisements-track {
    gap: 15px;
  }

  .advertisement-card {
    min-width: 250px;
    max-width: 250px;
  }

  .advertisement-image {
    height: 150px;
  }

  .advertisement-content {
    padding: 15px;
  }

  .advertisement-title {
    font-size: 1.1rem;
  }

  .advertisement-description {
    font-size: 0.9rem;
  }

  .discount-badge {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .courses-section {
    padding: 40px 0;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pharmacy-image {
    height: 160px;
  }

  .pharmacy-info {
    padding: 15px;
  }

  .pharmacy-name {
    font-size: 1.1rem;
  }

  .pharmacy-location {
    font-size: 0.9rem;
  }

  .pharmacy-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pharmacy-services {
    gap: 5px;
  }

  .service-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .pharmacy-actions {
    flex-direction: column;
    gap: 6px;
  }

  .pharmacy-actions .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .advertisement-card {
    min-width: 220px;
    max-width: 220px;
  }

  .advertisement-image {
    height: 130px;
  }

  .advertisement-content {
    padding: 12px;
  }

  .advertisement-title {
    font-size: 1rem;
  }

  .advertisement-description {
    font-size: 0.85rem;
  }

  .discount-badge {
    padding: 5px 8px;
    font-size: 0.75rem;
  }

  .pharmacy-image {
    height: 140px;
  }

  .pharmacy-info {
    padding: 12px;
  }

  .pharmacy-name {
    font-size: 1rem;
  }

  .pharmacy-location {
    font-size: 0.85rem;
  }

  .service-badge {
    padding: 3px 6px;
    font-size: 0.65rem;
  }

  .pharmacy-actions .btn {
    padding: 6px 10px;
    font-size: 12px;
  }
}

.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
  padding: 80px 0;
}

.error-content {
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.error-image {
  margin-bottom: 40px;
}

.error-illustration {
  position: relative;
  display: inline-block;
}

.error-number {
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  margin-bottom: 20px;
}

.error-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #ff6b6b;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.error-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.error-message {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.error-details {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.error-code {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.error-code .label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.error-code .value {
  background: #ff6b6b;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
}

.error-debug {
  margin-top: 15px;
}

.error-debug summary {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  padding: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
}

.error-debug summary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.debug-content {
  margin-top: 15px;
  text-align: left;
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.debug-content p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.debug-content strong {
  color: #ff6b6b;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.error-actions .btn {
  min-width: 150px;
  transition: all 0.3s ease;
}

.error-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.error-help {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 30px;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.error-help h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: white;
}

.help-options {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.help-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.help-item i {
  font-size: 1.2rem;
  color: #4ecdc4;
}

.quick-links-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.quick-link-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
  text-decoration: none;
  color: inherit;
}

.quick-link-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
  transform: scale(1.1);
}

.quick-link-icon i {
  font-size: 2rem;
  color: white;
}

.quick-link-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.quick-link-card p {
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .error-section {
    padding: 60px 0;
  }

  .error-number {
    font-size: 6rem;
  }

  .error-icon {
    font-size: 2.5rem;
  }

  .error-title {
    font-size: 2rem;
  }

  .error-message {
    font-size: 1rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-actions .btn {
    width: 100%;
    max-width: 250px;
  }

  .help-options {
    flex-direction: column;
    gap: 15px;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .error-number {
    font-size: 4rem;
  }

  .error-icon {
    font-size: 2rem;
  }

  .error-title {
    font-size: 1.5rem;
  }

  .error-message {
    font-size: 0.9rem;
  }

  .error-details {
    padding: 15px;
  }

  .error-help {
    padding: 20px;
  }

  .quick-link-card {
    padding: 20px;
  }

  .quick-link-icon {
    width: 60px;
    height: 60px;
  }

  .quick-link-icon i {
    font-size: 1.5rem;
  }
}

.search-filter-section {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-filter-content {
  max-width: 800px;
  margin: 0 auto;
}

.search-form {
  width: 100%;
}

.search-input-group {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.search-input {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-input i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  z-index: 2;
}

.search-input input {
  padding-right: 45px;
  height: 50px;
  border-radius: 25px;
  border: 2px solid #eee;
  transition: all 0.3s ease;
}

.search-input input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(4, 72, 199, 0.1);
}

.filter-select,
.sort-select {
  min-width: 150px;
}

.filter-select select,
.sort-select select {
  height: 50px;
  border-radius: 25px;
  border: 2px solid #eee;
  padding: 0 20px;
  background: var(--white);
  transition: all 0.3s ease;
}

.filter-select select:focus,
.sort-select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(4, 72, 199, 0.1);
}

.search-form .btn {
  height: 50px;
  padding: 0 30px;
  border-radius: 25px;
  font-weight: 600;
}

.pagination-wrapper {
  text-align: center;
  margin-top: 50px;
}

.pagination {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.pagination .page-link {
  padding: 12px 18px;
  border-radius: 10px;
  border: 2px solid #eee;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid #eee;
  background: var(--gray-light);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #eee;
  color: var(--text-dark);
}

.modal-body {
  padding: 30px;
  max-height: calc(90vh - 100px);
  overflow-y: auto;
}

.loading-state,
.error-state {
  text-align: center;
  padding: 60px 20px;
}

.loading-state i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.error-state i {
  font-size: 3rem;
  color: #dc3545;
  margin-bottom: 20px;
}

.loading-state p,
.error-state p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.ingredients-list,
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.ingredients-list li,
.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: var(--gray-light);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.ingredients-list li i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.features-list li i {
  color: #ffc107;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .search-input-group {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input,
  .filter-select,
  .sort-select {
    min-width: auto;
  }

  .modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .modal-body {
    padding: 20px;
  }

  .ingredients-list,
  .features-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .modal-header {
    padding: 20px;
  }

  .modal-body {
    padding: 15px;
  }
}

.about-hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 120px 0 80px;
  text-align: center;
  color: var(--white);
}

.about-hero-section .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.about-hero-section .hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.about-content-section {
  padding: 100px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.about-features .feature-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 5px;
}

.about-features .feature-item h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.about-features .feature-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.about-image {
  text-align: center;
}

.about-img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.team-section {
  padding: 100px 0;
  background: var(--gray-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.team-member {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.member-image {
  height: 250px;
  overflow: hidden;
}

.member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .member-img {
  transform: scale(1.1);
}

.member-info {
  padding: 30px;
  text-align: center;
}

.member-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.member-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.member-description {
  color: var(--text-light);
  line-height: 1.6;
}

.why-choose-section {
  padding: 100px 0;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.reason-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.reason-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.reason-title {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.reason-description {
  color: var(--text-light);
  line-height: 1.6;
}

.contact-hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 120px 0 80px;
  text-align: center;
  color: var(--white);
}

.contact-hero-section .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.contact-hero-section .hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content-section {
  padding: 100px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-text p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 5px;
}

.social-links h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  color: var(--white);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 30px;
  text-align: center;
}

.contact-form .btn {
  width: 100%;
  font-weight: 700;
  padding: 12px 17px;
  font-size: 14px;
  font-family: "Noto Kufi Arabic", "Poppins", sans-serif;
}

.map-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.map-container {
  margin-top: 40px;
}

.map-placeholder {
  background: var(--white);
  padding: 80px 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.map-placeholder i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.map-placeholder h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.map-placeholder p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.faq-section {
  padding: 80px 0;
}

.faq-grid {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--gray-light);
}

.faq-question h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-section .hero-title,
  .hero-title,
  .contact-hero-section .hero-title {
    font-size: 2.5rem;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }

  .reasons-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .contact-form {
    padding: 30px;
  }

  .map-placeholder {
    padding: 60px 30px;
  }
}

@media (max-width: 480px) {

  .about-hero-section,
  .contact-hero-section {
    padding: 100px 0 60px;
  }

  .about-hero-section .hero-title,
  .hero-title,
  .contact-hero-section .hero-title {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contact-form {
    padding: 20px;
  }

  .map-placeholder {
    padding: 40px 20px;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
}

.services-hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 120px 0 80px;
  text-align: center;
  color: var(--white);
}

.services-hero-section .hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.services-hero-section .hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid-section {
  padding: 100px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.services-header .section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 600;
}

.service-description {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 1rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.service-features .feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.service-features .feature-item i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.how-it-works-section {
  padding: 100px 0;
  background: var(--gray-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step-item {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.step-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin: 20px 0 25px;
  transition: transform 0.3s ease;
}

.step-item:hover .step-icon {
  transform: scale(1.1);
}

.step-title {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.step-description {
  color: var(--text-light);
  line-height: 1.6;
}

.benefits-section {
  padding: 100px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.benefit-item {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.benefit-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-title {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.benefit-description {
  color: var(--text-light);
  line-height: 1.6;
}

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.cta-content {
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.cta-description {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .services-hero-section .hero-title {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .services-hero-section {
    padding: 100px 0 60px;
  }

  .services-hero-section .hero-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-description {
    font-size: 1rem;
  }
}

.note-editable {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

.courses-section {
  padding: 50px 0;
}

.courses-section .courses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: white;
  padding: 1.5rem;
  margin-bottom: 50px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.courses-section .courses-header .title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.courses-section .courses-header .logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: white;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.courses-section .courses-header h2 {
  margin: 0;
  font-weight: 700;
}

.courses-section .courses-header p {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.courses-section .filters {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
}

.courses-section .search-box {
  position: relative;
}

.courses-section .search-box input {
  padding: 0.6rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

.courses-section .search-box input:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px var(--primary-dark);
}

.courses-section .search-box i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1rem;
}

.courses-section .form-select {
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

.courses-section .form-select:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px var(--primary-dark);
}

.courses-section .grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.courses-section .card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.courses-section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

.courses-section .thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.courses-section .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.courses-section .thumb .category {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  font-size: 0.75rem;
  padding: 5px 15px;
  border-radius: 15px;
}

.courses-section .info {
  padding: 1.2rem;
}

.courses-section .info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.courses-section .info p {
  font-size: 0.9rem;
  color: #6b7280;
}

.courses-section .meta {
  display: flex;
  gap: 15px;
  color: #9ca3af;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.courses-section .actions {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.courses-section .price {
  font-weight: 700;
  color: var(--primary-color);
}

.courses-section .btnn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.3s;
}

.courses-section .btnn:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .courses-section .courses-header {
    flex-direction: column;
    gap: 1rem;
  }

  .courses-section .filters {
    flex-direction: column;
    width: 100%;
  }

  .courses-section .search-box input {
    width: 100% !important;
  }

  .courses-section .form-select {
    width: 100% !important;
    display: none;
  }
}

.teachers-section {
  padding: 50px 0;
}

.teachers-section .teachers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: white;
  padding: 1.5rem;
  margin-bottom: 50px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.teachers-section .teachers-header .title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.teachers-section .teachers-header .logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: white;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.teachers-section .courses-header h2 {
  margin: 0;
  font-weight: 700;
}

.teachers-section .courses-header p {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.teachers-section .filters {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
}

.teachers-section .search-box {
  position: relative;
}

.teachers-section .search-box input {
  padding: 0.6rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

.teachers-section .search-box input:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px var(--primary-dark);
}

.teachers-section .search-box i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1rem;
}

.teachers-section .search-box input {
  padding: 0.6rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.teachers-section .form-select {
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-family: "Noto Kufi Arabic", sans-serif !important;
}

.teachers-section .form-select:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px var(--primary-dark);
}

.teachers-section .grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.teachers-section .card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teachers-section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

.teachers-section .thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.teachers-section .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.teachers-section .thumb .category {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  font-size: 0.75rem;
  padding: 5px 15px;
  border-radius: 15px;
}

.teachers-section .info {
  padding: 1.5rem 1rem;
}

.teachers-section .info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.teachers-section .info p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.teachers-section .actions {
  display: flex;
  gap: 10px;
}

.teachers-section .actions .btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  text-decoration: none;
  justify-content: center;
  flex: 1;
  transition: 0.3s;
}

.teachers-section .actions .btn:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .teachers-section .teachers-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .teachers-section .filters {
    flex-direction: column;
    width: 100%;
  }

  .teachers-section .search-box input,
  .teachers-section .form-select {
    width: 100% !important;
  }
}

.courses-details-section {
  background: var(--light-bg, #f9fafb);
  padding: 50px 10px;
  color: #1f2937;
  position: relative;
}

.courses-details-section .course-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1550px;
  margin: auto;
  position: relative;
}

.courses-details-section .course-sidebar {
  width: 350px;
  position: fixed;
  top: 110px;
  left: 80px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.courses-details-section .course-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.35s ease;
}

.courses-details-section .course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.courses-details-section .course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.courses-details-section .course-card .details {
  padding: 25px;
}

.courses-details-section .course-card .course-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.courses-details-section .course-card .course-desc {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  border-top: 1px solid #f1f1f1;
  color: #555;
}

.courses-details-section .enroll-btn {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  font-family: "Noto Kufi Arabic", "Poppins", sans-serif;
  color: #fff;
  border: none;
  border-radius: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.courses-details-section .enroll-btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.courses-details-section .course-content {
  flex: 1;
  margin-left: 450px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 35px;
  transition: all 0.3s ease;
}

.courses-details-section .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

.courses-details-section .tab-btn {
  background: #f3f4f6;
  border: none;
  padding: 12px 22px;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  color: #555;
  font-weight: 700;
  transition: all 0.3s ease;
  font-family: "Noto Kufi Arabic", "Poppins", sans-serif;
}

.courses-details-section .tab-btn.active {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
}

.courses-details-section .tab-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.courses-details-section .tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.courses-details-section .tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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

.courses-details-section .trainers-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.trainer-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.trainer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.trainer-card .thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.trainer-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trainer-card:hover .thumb img {
  transform: scale(1.08);
}

.trainer-card .category {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 15px;
}

.trainer-card .info {
  padding: 1.5rem 1rem;
  text-align: center;
}

.trainer-card .info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.trainer-card .info p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.trainer-card .actions {
  display: flex;
  justify-content: center;
}

.trainer-card .actions .btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.trainer-card .actions .btn:hover {
  opacity: 0.9;
}

@media (max-width: 1200px) {
  .courses-details-section .course-sidebar {
    left: 30px;
  }

  .courses-details-section .course-content {
    margin-left: 400px;
  }
}

@media (max-width: 992px) {
  .courses-details-section .course-container {
    flex-direction: column;
  }

  .courses-details-section .course-sidebar {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
    margin-bottom: 30px;
  }

  .courses-details-section .course-content {
    margin-left: 0;
    padding: 25px;
  }
}

.teachers-details-section {
  background: var(--light-bg, #f9fafb);
  padding: 50px 10px;
  color: #1f2937;
  position: relative;
}

.teachers-details-section .teacher-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1550px;
  margin: auto;
  position: relative;
}

.teachers-details-section .teacher-sidebar {
  width: 350px;
  position: fixed;
  top: 110px;
  left: 80px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.teachers-details-section .teacher-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.35s ease;
}

.teachers-details-section .teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.teachers-details-section .teacher-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.teachers-details-section .teacher-card .details {
  padding: 25px;
}

.teachers-details-section .teacher-card .teacher-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.teachers-details-section .teacher-card .teacher-desc {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  border-top: 1px solid #f1f1f1;
  color: #555;
}

.teachers-details-section .enroll-btn {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  font-family: "Noto Kufi Arabic", "Poppins", sans-serif;
  color: #fff;
  border: none;
  border-radius: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.teachers-details-section .enroll-btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.teachers-details-section .teacher-content {
  flex: 1;
  margin-left: 450px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 35px;
  transition: all 0.3s ease;
}

.teachers-details-section .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

.teachers-details-section .tab-btn {
  background: #f3f4f6;
  border: none;
  padding: 12px 22px;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  color: #555;
  font-weight: 700;
  transition: all 0.3s ease;
  font-family: "Noto Kufi Arabic", "Poppins", sans-serif;
}

.teachers-details-section .tab-btn.active {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
}

.teachers-details-section .tab-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.teachers-details-section .tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.teachers-details-section .tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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

.teachers-details-section .courses-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}


.teachers-details-section .courses-grid .course-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teachers-details-section .courses-grid .course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

.teachers-details-section .courses-grid .course-card .thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.teachers-details-section .courses-grid .course-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.teachers-details-section .courses-grid .course-card .card:hover .thumb img {
  transform: scale(1.05);
}

.teachers-details-section .courses-grid .course-card .thumb .category {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  font-size: 0.75rem;
  padding: 5px 15px;
  border-radius: 15px;
}

.teachers-details-section .courses-grid .course-card .info {
  padding: 1.2rem;
}

.teachers-details-section .courses-grid .course-card .info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.teachers-details-section .courses-grid .course-card .info p {
  font-size: 0.9rem;
  color: #6b7280;
}

.teachers-details-section .courses-grid .course-card .meta {
  display: flex;
  gap: 15px;
  color: #9ca3af;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.teachers-details-section .courses-grid .course-card .actions {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.teachers-details-section .courses-grid .course-card .price {
  font-weight: 700;
  color: var(--primary-color);
}

.teachers-details-section .courses-grid .course-card .btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.3s;
}

.teachers-details-section .courses-grid .course-card .btn:hover {
  opacity: 0.9;
}

@media (max-width: 1200px) {
  .teachers-details-section .teacher-sidebar {
    left: 30px;
  }

  .teachers-details-section .teacher-content {
    margin-left: 400px;
  }
}

@media (max-width: 992px) {
  .teachers-details-section .teacher-container {
    flex-direction: column;
  }

  .teachers-details-section .teacher-sidebar {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
    margin-bottom: 30px;
  }

  .teachers-details-section .teacher-content {
    margin-left: 0;
    padding: 25px;
  }
}

.courses-details-enroll-modal .modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: end;
  align-items: center;
  padding: 20px;
}

.courses-details-enroll-modal .modal.show {
  display: flex;
}

.courses-details-enroll-modal .modal-content {
  background: #fff;
  width: 700px;
  max-width: 95%;
  position: relative;
  animation: fadeInUp 0.3s ease;
}

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

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

.courses-details-enroll-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.courses-details-enroll-modal .modal-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
}

.courses-details-enroll-modal .close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #555;
}

.courses-details-enroll-modal .close-btn:hover {
  color: var(--primary-color);
}