/* ── ÜMUMI STİLLƏR ── */
body {
  background-color: #e7dfe5;
}

* {
  font-family: Poppins;
  transition: all 0.3s ease;
}

/* Dark mode text color overrides for blog page */
[data-theme="dark"] body.index-page,
[data-theme="dark"] body.index-page h2,
[data-theme="dark"] body.index-page h3,
[data-theme="dark"] body.index-page h4,
[data-theme="dark"] body.blog-page h5,
[data-theme="dark"] body.blog-page h6,
[data-theme="dark"] body.blog-page h2,
[data-theme="dark"] body.blog-page h3,
[data-theme="dark"] body.blog-page h4,
[data-theme="dark"] body.blog-page h5,
[data-theme="dark"] body.blog-page h6 {
  color: rgba(109, 110, 118, 1);
  background-color: transparent !important;
}

/* Dark-mode navbar hover (blog page) */
[data-theme="dark"] body.index-page nav ul li a {
  color: rgba(109, 110, 118, 1) !important;
}

[data-theme="dark"] body.index-page nav ul li a:hover {
  color: #8eff01 !important;
}

[data-theme="dark"] body.index-page .dropdown-menu li a::after {
  background: #8eff01 !important;
}

[data-theme="dark"] body.index-page .dropdown-menu li a:hover {
  background-color: rgba(142, 255, 1, 0.12) !important;
  color: #8eff01 !important;
}

/* ── SPLASH EKRANI ── */
#splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
}

#splash.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-300%);
}

body.splash-complete {
  overflow: auto;
}
/* #splash img {
  width: 660px;
  animation: splashPulse 1.5s ease-in-out infinite;
}

@keyframes splashPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
} */

/* ── KONTEYNER ── */
.container {
  max-width: 1440px;
}

/* ── HEADER ── */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.header-content {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.logo .logo-light-img {
  display: block;
}

.logo .logo-dark-img {
  display: none;
}

[data-theme="dark"] .logo .logo-light-img {
  display: none;
}

[data-theme="dark"] .logo .logo-dark-img {
  display: block;
}
.logo img {
  display: block;
  object-fit: contain;
  width: 220px;
  height: 80px;
}
@media (max-width: 1024px) {
  .logo img {
    width: clamp(150px, 13vw, 160px);
    height: auto;
    max-height: 80px;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: clamp(150px, 12vw, 120px);
    height: auto;
    max-height: 80px;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: clamp(150px, 13vw, 86px);
    height: auto;
    max-height: 56px;
  }
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li a {
  display: flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  gap: 8px;
  transition: color 0.3s ease;
}

.login-btn .borderAnimation-a {
  background: linear-gradient(45deg, #8c00ff00, #8c00ffb2);
  color: white !important;
  padding: 8px 16px;
  border: 2px solid transparent;
  border-radius: 333px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  animation: borderAnimation 3s linear infinite;
  transition: all 0.3s ease;
  margin-top: -5px;
}

.login-btn a:hover {
  color: white !important;
}

/* Tema dəyişdirici */
.theme-toggle {
  background: #999999;
  border: 2px solid #f2f2f2;
  border-radius: 24px;
  padding: 4px;
  display: flex;
  gap: 4px;
  position: relative;
}

[data-theme="dark"] .theme-toggle {
  background: #999999;
  border: 2px solid #f2f2f2;
}

.theme-toggle::before {
  content: "";
  position: absolute;

  left: 4px;
  width: 32px;
  height: 32px;
  background: #ffffff4d;
  border-radius: 20px;
  transition: transform 0.3s ease;
  z-index: 1;
}

/* [data-theme="dark"] .theme-toggle::before {
  background: #ffffff4d;
  transform: translateX(100%);
} */

[data-theme="dark"] .theme-toggle::before {
  background: #ffffff4d;
  transform: translateX(23px);
}

@media (min-width: 640px) {
  [data-theme="dark"] .theme-toggle::before {
    transform: translateX(29px);
  }
}

@media (min-width: 768px) {
  [data-theme="dark"] .theme-toggle::before {
    transform: translateX(36px);
  }
}

@media (min-width: 1024px) {
  [data-theme="dark"] .theme-toggle::before {
    transform: translateX(36px);
  }
}

.theme-toggle button {
  background: transparent;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 2;
}

.theme-toggle button.active {
  animation: pulse 2s infinite;
}

.theme-toggle button.active img {
  transform: rotate(180deg);
  transition: transform 0.5s ease;
}

.theme-toggle button:not(.active) img {
  transform: rotate(0deg);
  transition: transform 0.5s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

[data-theme="dark"] .theme-toggle button.active {
  animation: pulse-dark 2s infinite;
}

@keyframes pulse-dark {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.2);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(26, 26, 26, 0);
  }
}

.theme-toggle button img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.header-content {
  justify-content: space-around;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid #5b03a3;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .burger {
  border: 2px solid #8eff01;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #5b03a3;
  border-radius: 999px;
  transform: translateX(-50%);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

[data-theme="dark"] .burger span {
  background: #8eff01;
}

.burger span:nth-child(1) {
  top: 13px;
}

.burger span:nth-child(2) {
  top: 21px;
}

.burger span:nth-child(3) {
  top: 29px;
}

.burger.open span:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg);
  top: 21px;
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg);
  top: 21px;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 9998;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 90vw);
  height: 100%;
  background: #ffffff;
  box-shadow: -12px 0 35px rgba(0, 0, 0, 0.18);
  transition: right 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

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

.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #5b03a3;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  margin-bottom: 24px;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu-nav a {
  color: #000000;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}

.mobile-menu-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  padding: 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
}

.mobile-menu-toggle.active {
  color: #5b03a3;
}

[data-theme="dark"] .mobile-menu-toggle.active {
  color: #8eff01;
}

.mobile-menu-link:hover {
  color: #5b03a3;
}

[data-theme="dark"] .mobile-menu-link:hover {
  color: #8eff01;
}

.mobile-menu-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.mobile-menu-toggle.active .mobile-menu-arrow,
.mobile-submenu.open~.mobile-menu-toggle .mobile-menu-arrow {
  transform: rotate(90deg);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-left: 14px;
  border-left: 2px solid rgba(91, 3, 163, 0.2);
}

.mobile-submenu.open {
  display: flex;
}

.mobile-menu-nav a.login-btn {
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(45deg, #8c00ff00, #8c00ffb2);
  color: #ffffff;
  text-align: center;
}

[data-theme="dark"] .mobile-menu {
  background: #090909;
}

[data-theme="dark"] .mobile-menu-close,
[data-theme="dark"] .mobile-menu-toggle,
[data-theme="dark"] .mobile-menu-nav a {
  color: #ffffff;
}

[data-theme="dark"] .mobile-submenu {
  border-left-color: rgba(142, 255, 1, 0.3);
}

[data-theme="dark"] .theme-toggle button {
  color: #ffffff;
}

@media (max-width: 1023.2px) {
  nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (min-width: 1025px) {

  .mobile-menu,
  .mobile-menu-overlay {
    display: none;
  }
}

/* Sərhəd animasiyası */
@keyframes borderAnimation {
  0% {
    border-color: #8c00ff00;
    box-shadow:
      0 0 10px #8c00ff00,
      inset 0 0 10px #8c00ff00;
  }

  50% {
    border-color: #8c00ffb2;
    box-shadow:
      0 0 20px #8c00ffb2,
      inset 0 0 20px #8c00ffb2;
  }

  100% {
    border-color: #8c00ff00;
    box-shadow:
      0 0 10px #8c00ff00,
      inset 0 0 10px #8c00ff00;
  }
}

/* Dropdown menyusu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(1, 0, 2, 0.128);
  backdrop-filter: blur(30px);
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  z-index: 1000;
  display: block;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
  position: relative;
}

.main-dropdown {
  color: #000;
}

[data-theme="dark"] .main-dropdown {
  color: rgba(127, 127, 127, 0.62);
}

.main-dropdown:hover {
  color: #5b03a3;
}

[data-theme="dark"] .main-dropdown:hover {
  color: #8eff01;
}

[data-theme="dark"] .dropdown-menu li a {
  color: rgba(179, 177, 177, 0.868);
}

.dropdown-menu li a:hover {
  color: #5b03a3;
}

[data-theme="dark"] .dropdown-menu li a:hover {
  color: #8eff01;
}

.dropdown-menu li a svg {
  color: #000;
}

[data-theme="dark"] .dropdown a svg path {
  stroke: rgba(127, 127, 127, 0.62) !important;
}

.dropdown-menu li a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 20px;
  width: 0;
  height: 2px;
  background: #5b03a3;
  transition: width 0.3s ease;
}

[data-theme="dark"] .dropdown-menu li a::after {
  background: #8eff01;
}

.dropdown-menu li a:hover::after {
  width: calc(100% - 40px);
}

/* ── HERO BÖLMƏSİ ── */
.hero {
  padding: 60px;
}

.hero-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.hero-content h2 {
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 80px;
  font-weight: 600;
  line-height: 100px;
}

.hero-content h2 span {
  color: #5b03a3;
}

.hero-content p {
  color: #716d74;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.hero-buttons button {
  background: linear-gradient(45deg, #8c00ff00, #8c00ffb2);
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 333px;
  position: relative;
  overflow: hidden;
  animation: borderAnimation 3s linear infinite;
}

.hero-image,
.hero-image img {
  width: 736px;
  height: 491px;
}

/* ── STATİSTİKA BARI ── */
.section-1-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.section-1-bar-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  background: linear-gradient(180deg, #b760ff1a 50%, #b760ff80 100%);
  border-radius: 16px;
  padding: 44px;
  box-sizing: border-box;
}

.section-1-bar-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.section-1-bar-content-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-1-bar-content-item-title,
.section-1-bar-content-item-title h3 {
  text-align: center;
  color: #010002;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
}

.section-1-bar-content-item p {
  color: #010002;
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: bold;
  line-height: 48px;
}

/* ── BÖLMƏ-2 ── */
.bg-sec1-sec2-sec3 {
  background-image: url("../Image/bg-tedbir.png");
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center top;
  width: 100%;
}
@media (max-width: 768px) {
  .bg-sec1-sec2-sec3 {
    background: none;
  }

}
.section-2-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.section-2 h2 {
  text-align: center;
  padding-top: 220px;
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 58px;
}

.section-2 p {
  text-align: center;
  margin-top: 20px;
  padding: 0 20px;
  color: #6a6565;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

/* ── BÖLMƏ-3 ── */
.section-3 {
  background-image: url("../Image/background\ \(6\).png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
}

.section-3-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-3 h2 {
  text-align: center;
  color: #010002;
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 52px;
  padding-top: 80px;
}

.section-3-card {
  max-width: 1440px;
  margin: 60px auto 0;
  display: flex;
  justify-content: center;
  gap: 70px;
  padding: 0 35px;
  flex-wrap: wrap;
}

.section-3-card-item {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 4px #2f5500;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: 355px;
  height: 376px;
}

.section-3-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px #2f5500;
}

.section-3-card-item h3 {
  color: #010002;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin: 0;
}

.section-3-card-item a {
  color: #b0b0b0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.section-3-card-item a:hover {
  color: #8c00ff;
}

.section-3-card-item a svg {
  transition: transform 0.3s ease;
}

.section-3-card-item a:hover svg {
  transform: translateX(5px);
}

.section-3-card-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 60px;
}

/* ── BÖLMƏ-4 ── */
.section-4-container {
  background-image: url("../Image/circleBg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 1175px;
  left: 70%;
  transform: translateX(-30%);
}

.section-4-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-4-content img {
  position: absolute;
  top: 50%;
  left: 57%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 800px;
}

.section-4-content-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  top: 50%;
  transform: translateY(80%) translateX(180%);
  width: 50%;
}

.section-4-content-text h2 {
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 50px;
  margin-bottom: 20px;
}

.section-4-content-text h2 span {
  color: #5b03a3;
}

.section-4-content-text p {
  color: #716d74;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 30px;
}

.section-4-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #8c00ff00, #8c00ffb2);
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 333px;
  text-decoration: none;
  animation: borderAnimation 3s linear infinite;
}

.section-4-button svg {
  transition: transform 0.3s ease;
}

.section-4-button:hover svg {
  transform: translateX(5px);
}

/* ── BÖLMƏ-5: MARQUEE ── */
.animate-marquee {
  animation: marqueeScroll 60s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

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

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

/* ── BÖLMƏ-6: MƏZUN KARTLARI ── */
.section-6-container {
  width: 100%;
  max-width: 1440px;
  margin: 150px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-6-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-6-content h2 {
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 62px;
}

.section-6-content p {
  color: #716d74;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 20px 0 60px;
}

.pill {
  background: hsla(0, 3%, 73%, 0.087);
  border: 1px solid #4834d4;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow:
    0 0 10px rgba(104, 109, 224, 0.3),
    inset 0 0 10px rgba(255, 255, 255, 0.2),
    0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.pill.pill-active{
  background: #4834d4;
  color: #fff;
}

[data-theme="dark"] .pill {
  color: #fff;
}

.pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transition: left 0.5s ease;
}

.pill:hover::before {
  left: 100%;
}

.pill:hover {

  border-color: #4834d4;
  box-shadow:
    0 0 20px rgba(72, 52, 212, 0.5),
    inset 0 0 15px rgba(255, 255, 255, 0.3),
    0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.pill.active {
  background: #4934d4d6;
  color: #fff;
  border-color: #4834d4;
  box-shadow:
    0 0 25px rgba(72, 52, 212, 0.6),
    inset 0 0 15px rgba(255, 255, 255, 0.3),
    0 6px 12px rgba(0, 0, 0, 0.2);
}

.section-6-cards {
  background: linear-gradient(180deg, #e7dfe5, #c8bad1c1);
  border-radius: 30px;
  border-left: 4px solid #5b03a3;
  border-right: 4px solid #5b03a3;
  transition: all 0.4s ease;
  box-shadow:
    0 8px 8px rgba(164, 107, 225, 0.486),
    0 12px 20px rgba(0, 0, 0, 0.3);
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-behavior: auto !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  gap: 20px;
}

.section-6-cards::-webkit-scrollbar {
  display: none;
}

.card {
  border-radius: 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: #ceb8d9;
  position: relative;

  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease;
  flex-shrink: 0 !important;
  width: 320px;
}

.card::after {
  content: "";
  position: absolute;
  border-radius: 22px;
  pointer-events: none;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  mask-composite: exclude;
  pointer-events: none;
}

.avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

.info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.name {
  font-size: 19px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category {
  font-size: 12px;
  color: #000;
  letter-spacing: 0.04em;
}

.title {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

/* ── BÖLMƏ-7: BLOG KARTLARI ── */
.section-7 .container {
  max-width: 1440px;
  width: 100%;
  margin: 150px auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.section-7-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.section-7-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 62px;
  color: #000;
}

.section-7-header p {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #716d74;
  text-align: center;
  max-width: 800px;
}

.section-7-cards {
  display: flex;
  gap: 20px;
  width: 100%;
  height: 100%;
  min-height: 450px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Скрыть scrollbar */
  scrollbar-width: none;
  padding: 4px 0;
  flex-wrap: nowrap;
}

@media (max-width: 640px) {
  .section-7-cards {
    min-height: 380px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .section-7-cards {
    min-height: 420px;
  }
}

.section-7-cards::-webkit-scrollbar {
  display: none;
}

.section-7-cards-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: url(../Image/Group\ 4.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (min-width: 641px) and (max-width: 767.99px) {
  .section-7-cards-item {
    width: 100%;
    min-height: 420px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section-7-cards-item {
    width: calc(50% - 10px);
    min-width: calc(50% - 10px);
    min-height: 420px;
  }
}

@media (min-width: 1025px) {
  .section-7-cards-item {
    width: calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
    min-height: 450px;
  }
}

#carousel-prev:disabled,
#carousel-next:disabled {
  opacity: 1;
  cursor: pointer;
}

.section-7-cards-item img {
  width: 100%;
  height: 180px;
  display: block;
}

@media (max-width: 640px) {
  .section-7-cards-item img {
    height: 140px;
  }
}

.card-content {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  overflow: hidden;
}

@media (max-width: 640px) {
  .card-content {
    padding: 15px;
    gap: 10px;
  }
}

.card-date {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: rgba(91, 3, 163, 1);
  margin-bottom: 5px;
}

.card-content h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.card-content p {
  font-family: "Poppins", sans-serif;

  line-height: 24px;
  margin: 0;
}

/* ── BÖLMƏ-8: STEPPER ── */
.section-8 {
  background: url(../Image/Group\ 47238.svg);
  background-size: contain;
  background-position: center 50px;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 1440px;
  min-height: auto;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 300px 20px 80px;
  box-sizing: border-box;
}

@media (min-width: 1024px) and (max-width: 1049.99px) {
  .bg-adaptive {
    background-position: left -350px center;
  }
}

@media (min-width: 1050px) and (max-width: 1099px) {
  .bg-adaptive {
    background-position: left -380px center;
  }
}

@media (min-width: 1100px) and (max-width: 1149px) {
  .bg-adaptive {
    background-position: left -400px center;
  }
}

@media (min-width: 1150px) and (max-width: 1199px) {
  .bg-adaptive {
    background-position: left -430px center;
  }
}

@media (min-width: 1200px) and (max-width: 1279px) {
  .bg-adaptive {
    background-position: left -450px center;
  }
}

@media (min-width: 1280px) and (max-width: 1329px) {
  .bg-adaptive {
    background-position: left -480px center;
  }
}

@media (min-width: 1330px) {
  .bg-adaptive {
    background-position: left -530px center;
  }
}

@media (min-width: 1400px) {
  .bg-adaptive {
    background-position: left -550px center;
  }
}

.section-8-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.section-8 h2 {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 42px;
  color: #000;
  margin: 0 0 20px 0;
}

.section-8 p {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: rgba(48, 46, 46, 1);
  margin: 0;
}

.stepper-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 100px;
  box-sizing: border-box;
}

.stepper-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1158px;
  margin-top: 87px;
  position: relative;
}

/* Контейнер для точки и текста */
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  width: 24px; /* Ограничиваем ширину контейнера по размеру точки */
}

.connector {
  flex: 1;
  height: 4px;
  background: rgba(91, 3, 163, 1);
  margin: 0 -10px; /* Слегка заводим линии под точки для бесшовности */
  z-index: 1;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(91, 3, 163, 1);
  background: #fff;
  z-index: 2;
  box-sizing: border-box;
}

.dot.active {
  background: rgba(91, 3, 163, 1);
  border-color: rgba(91, 3, 163, 1);
  width: 22px;
  height: 22px;
}

/* Текст строго под точкой */
.label {
  position: absolute;
  top: 40px; /* Расстояние от точки до текста */
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #333;
  white-space: nowrap;
  text-align: center;
  transform: translateX(0); /* Больше не нужен сдвиг влево */
}

.label.active {
  color: rgba(91, 3, 163, 1);
  font-weight: 600;
}

/* МЕДИА-ЗАПРОСЫ */

@media (max-width: 1200px) {
  .stepper-wrapper {
    max-width: 900px;
  }
  .label {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .stepper-wrapper {
    max-width: 750px;
    margin-top: 60px;
  }
  .label {
    font-size: 12px;
    top: 30px;
  }
}

@media (max-width: 768px) {
  .stepper-container {
    padding: 0 30px;
  }
  .stepper-wrapper {
    max-width: 100%;
    margin-top: 40px;
  }
  .connector {
    height: 3px;
  }
  .label {
    font-size: 11px;
    white-space: normal; /* Разрешаем перенос строк на мобильных */
    width: 90px; /* Ограничиваем ширину текста, чтобы не налезал друг на друга */
    top: 28px;
  }
}

@media (max-width: 480px) {
  .stepper-wrapper {
    margin-top: 30px;
  }
  .dot {
    width: 14px;
    height: 14px;
  }
  .dot.active {
    width: 16px;
    height: 16px;
  }
  .label {
    font-size: 9px;
    width: 70px;
    top: 22px;
  }
}

button {
  padding: 15px 20px;
  border: none;
  border-radius: 333px;
  background: linear-gradient(45deg, #8c00ff00, #8c00ffb2);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ── BÖLMƏ-9: MƏZUN RƏYLƏRİ ── */
.section-9-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 150px;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-9 h2 {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 42px;
  color: #000;
  margin: 0 0 20px 0;
}

.section-9-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* ════════════════════════════════════════
    RESPONSIVE MEDIA QUERIES
    ════════════════════════════════════════ */

/* ── 1200px ── */
@media (max-width: 1200px) {

  .hero-image,
  .hero-image img {
    width: 500px;
    height: auto;
  }

  .hero-content h2 {
    font-size: 60px;
    line-height: 62px;
  }

  .section-1-bar-container {
    max-width: 95%;
  }

  .section-4-container {
    width: 900px;
  }

  .section-4-content-text {
    transform: translateY(60%) translateX(120%);
    width: 55%;
  }


}

/* ── 1024px ── */
@media (max-width: 1024px) {

  /* Header */
  .header-content {
    gap: 30px;
  }

  nav ul {
    gap: 20px;
  }

  nav ul li a {
    font-size: 14px;
  }

  .login-btn a {
    padding: 6px 12px;
    font-size: 14px;
  }

  /* Hero */
  .hero {
    padding: 40px 30px;
  }

  .hero-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    gap: 40px;
  }

  .hero-content h2 {
    font-size: 52px;
    line-height: 58px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-image,
  .hero-image img {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: none;
  }

  /* Section-1 bar */
  .section-1-bar-container {
    padding: 30px 20px;
  }

  .section-1-bar-content {
    gap: 20px;
  }

  .section-1-bar-content-item p {
    font-size: 32px;
  }

  /* Section-2 & 3 */
  .section-2 {
    min-height: auto;
    padding: 80px 20px;
  }

  .section-2 h2,
  .section-3 h2 {
    font-size: 36px;
    line-height: 48px;
    padding-top: 120px;
  }

  .section-2 p {
    font-size: 16px;
  }

  /* Section-3 cards */
  .section-3-card {
    gap: 30px;
    padding: 0 20px;
  }

  .section-3-card-item {
    width: 280px;
    height: auto;
    min-height: 340px;
  }

  /* Section-4 */
  .section-4-container {
    width: 100%;
    max-width: 700px;
    height: auto;
    min-height: 700px;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
  }

  .section-4-content {
    flex-direction: column;
    align-items: center;
  }

  .section-4-content img {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 460px;
    height: auto;
    margin: 40px auto 0;
    display: block;
  }

  .section-4-content-text {
    position: relative;
    top: auto;
    transform: none;
    width: 90%;
    max-width: 560px;
    margin: 30px auto;
    text-align: center;
    align-items: center;
  }

  .section-4-content-text h2 {
    font-size: 30px;
    line-height: 40px;
  }

  .section-4-content-text p {
    font-size: 16px;
  }

  /* Section-6 */
  .section-6-container {
    margin: 100px auto;
  }

  .section-6-content h2 {
    font-size: 32px;
  }

  .pills-wrap {
    gap: 12px;
    padding-bottom: 40px;
  }

  /* Section-7 */
  .section-7 .container {
    margin: 100px auto;
    gap: 40px;
  }

  .section-7-header h2 {
    font-size: 32px;
    line-height: 46px;
  }

  .section-7-header p {
    font-size: 16px;
  }

  @media (max-width: 768px) {
    .section-7-cards-item {
      width: 100%;
    }
  }

  /* Section-8 stepper */
  .section-8 {
    padding: 200px 20px 60px;
  }

  .section-8 h2 {
    font-size: 28px;
    line-height: 36px;
  }


}

/* ── 768px ── */
@media (max-width: 768px) {

  /* Header */
  .container {
    padding: 0 12px;
  }

  .header-content {
    gap: 15px;
    margin: 12px 0;
  }

  nav ul {
    gap: 10px;
    flex-wrap: wrap;
  }

  nav ul li a {
    font-size: 12px;
  }

  nav ul li a svg {
    width: 14px;
    height: 14px;
  }

  .login-btn a {
    padding: 5px 10px;
    font-size: 12px;
  }

  .theme-toggle {
    padding: 3px;
  }

  .theme-toggle::before {
    width: 26px;
    height: 26px;
  }

  .theme-toggle button {
    width: 26px;
    height: 26px;
    padding: 5px;
  }

  .theme-toggle button img {
    width: 16px;
    height: 16px;
  }

  /* Hero */
  .hero {
    padding: 30px 20px;
  }

  .hero-content h2 {
    font-size: 38px;
    line-height: 46px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 24px;
  }

  .hero-content {
    gap: 28px;
  }

  /* Section-1 bar */
  .section-1-bar-container {
    padding: 24px 16px;
  }

  .section-1-bar-content {
    flex-direction: column;
    gap: 24px;
  }

  .section-1-bar-content-item p {
    font-size: 28px;
  }

  /* Section-2 & 3 */
  .section-2 h2,
  .section-3 h2 {
    font-size: 28px;
    line-height: 38px;
    padding-top: 80px;
  }

  .section-2 p {
    font-size: 14px;
    line-height: 24px;
  }

  /* br teqlərini söndür */
  .section-2 h2 br,
  .section-2 p br,
  .section-3 h2 br {
    display: none;
  }

  /* Section-3 cards */
  .section-3-card {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 16px 40px;
  }

  .section-3-card-item {
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: 280px;
  }

  /* Section-6 */
  .section-6-container {
    margin: 80px auto;
  }

  .section-6-content h2 {
    font-size: 26px;
    line-height: 40px;
  }

  .section-6-content p {
    font-size: 14px;
  }

  .pills-wrap {
    gap: 10px;
    padding-bottom: 30px;
  }

  .pill {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Section-7 */
  .section-7 .container {
    margin: 80px auto;
    gap: 30px;
  }

  .section-7-header h2 {
    font-size: 26px;
    line-height: 38px;
  }

  .section-7-header p {
    font-size: 14px;
    line-height: 22px;
    max-width: 100%;
  }

  .section-7-header p br {
    display: none;
  }

  .section-7-cards {
    gap: 20px;
  }

  .section-7-cards-item img {
    width: 160px;
    height: 160px;
  }

  .card-content {
    padding: 20px;
    gap: 10px;
  }

  .card-content p {
    font-size: 14px;
  }

  /* Section-8 stepper */
  .section-8 {
    padding: 120px 20px 50px;
  }

  .section-8 h2 {
    font-size: 22px;
    line-height: 30px;
  }

  .section-8 h2 br {
    display: none;
  }

  .section-8 p {
    font-size: 14px;
  }



  /* Section-9 */
  .section-9-container {
    margin-bottom: 80px;
  }

  .section-9 h2 {
    font-size: 26px;
  }
}

/* ── 480px ── */
@media (max-width: 480px) {

  /* Header */
  .container {
    padding: 0 10px;
  }

  .header-content {
    gap: 8px;
    margin: 10px 0;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
  }


  nav ul {
    display: none;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
  }

  nav ul li a {
    font-size: 10px;
  }

  nav ul li a svg {
    display: none;
  }

  .dropdown-menu {
    min-width: 140px;
  }

  .dropdown-menu li a {
    padding: 7px 10px;
    font-size: 12px;
  }

  .login-btn a {
    padding: 4px 8px;
    font-size: 10px;
    white-space: nowrap;
  }

  .theme-toggle {
    padding: 2px;
    gap: 2px;
    flex-shrink: 0;
  }

  .theme-toggle::before {
    width: 22px;
    height: 22px;
  }

  .theme-toggle button {
    width: 22px;
    height: 22px;
    padding: 4px;
  }

  .theme-toggle button img {
    width: 13px;
    height: 13px;
  }

  /* Hero */
  .hero {
    padding: 24px 16px;
  }

  .hero-content h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .hero-content h2 br {
    display: none;
  }

  .hero-content p {
    font-size: 13px;
    line-height: 20px;
  }

  .hero-content p br {
    display: none;
  }

  .hero-content {
    gap: 20px;
  }

  .hero-buttons button {
    font-size: 14px;
    padding: 10px 20px;
  }

  /* Section-1 bar */
  .section-1-bar-container {
    padding: 20px 12px;
    border-radius: 12px;
  }

  .section-1-bar-content-item-title {
    font-size: 13px;
    line-height: 22px;
  }

  .section-1-bar-content-item-title br {
    display: none;
  }

  .section-1-bar-content-item p {
    font-size: 24px;
    line-height: 36px;
  }

  /* Section-2 & 3 */
  .section-2 h2,
  .section-3 h2 {
    font-size: 22px;
    line-height: 30px;
    padding-top: 60px;
  }

  .section-2 p {
    font-size: 13px;
    line-height: 22px;
  }

  /* Section-3 cards */
  .section-3-card-item {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .section-3-card-item h3 {
    font-size: 18px;
  }

  /* Section-6 */
  .section-6-container {
    margin: 60px auto;
  }

  .section-6-content h2 {
    font-size: 22px;
    text-align: center;
  }

  .section-6-content p {
    font-size: 13px;
  }

  .section-6-content p br {
    display: none;
  }

  .pill {
    padding: 7px 12px;
    font-size: 12px;
  }

  .section-6-cards {
    border-radius: 20px;
    padding: 20px 12px;
  }

  .card {
    width: 280px;
    flex-shrink: 0 !important;
  }

  /* Section-7 */
  .section-7 .container {
    margin: 60px auto;
    padding: 0 10px;
    gap: 24px;
  }

  .section-7-header h2 {
    font-size: 20px;
    line-height: 30px;
  }

  .section-7-header p {
    font-size: 12px;
    line-height: 18px;
  }

  .section-7-cards {
    align-items: center;
    gap: 14px;
  }

  .section-7-cards-item img {
    width: 130px;
    height: 130px;
  }

  .card-content {
    padding: 16px;
    gap: 8px;
  }

  .card-content p {
    font-size: 12px;
    line-height: 18px;
  }

  .card-date {
    font-size: 11px;
  }

  /* Section-8 stepper */
  .section-8 {
    padding: 80px 12px 40px;
  }

  .section-8 h2 {
    font-size: 18px;
    line-height: 26px;
  }

  .section-8 p {
    font-size: 13px;
  }

  /* Section-9 */
  .section-9-container {
    margin-bottom: 60px;
  }

  .section-9 h2 {
    font-size: 22px;
  }
}