@font-face {
  font-family: 'Noto Sans Armenian';
  src: url('../fonts/NotoSansArmenian-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  /* диапазон толщин */
  font-style: normal;
}

* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:not(i) {
  font-family: 'Noto Sans Armenian', sans-serif;

}



.font-weight-700 {
  font-weight: 700;
}

body {
  background-color: #161616;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100vw;
  overflow-x: hidden;
}

.middle_text{
    white-space: normal;       /* перенос строк по необходимости */
    word-break: break-word;    /* перенос длинных слов */
    overflow-wrap: break-word; /* современный стандарт */
    text-align: justify;
}


/*logo style*/
.logo-container {
  text-align: center;
  color: white;
}

.logo-text {
  margin: 0;
}

.tagline {
  font-family: 'Arial', sans-serif;
}

.highlight-text {
  font-weight: bold;
  color: yellow;
}

.lightbulb-icon {
  width: 40px;
  vertical-align: middle;
}




.container_login {
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  width: 90vw;
  height: 90vh;
  max-width: 100%;
  min-height: 480px;
}

.container_login p {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.3px;
  margin: 10px 0;
  margin-bottom: 20px;
}

.container_login span {
  font-size: 12px;
}

.container_login a {
  color: #333;
  font-size: 13px;
  text-decoration: none;
  margin: 15px 0 10px;
}

.container_login button {

  background-color: #202020;
  color: #fff;
  font-size: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 10px;
  cursor: pointer;
}

.container_login button.hidden {
  background-color: transparent;
  border-color: #fff;
}

.container_login form {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.container_login input {
  background-color: #eee;
  border: none;
  margin: 8px 0;
  padding: 10px 15px;
  font-size: 13px;
  border-radius: 8px;
  width: 100%;
  outline: none;
}

.form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}

.sign-in {
  left: 0;
  width: 50%;
  z-index: 2;
}

.container_login.active .sign-in {
  transform: translateX(100%);
}

.sign-up {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}

.container_login.active .sign-up {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: move 0.6s;
}

@keyframes move {

  0%,
  49.99% {
    opacity: 0;
    z-index: 1;
  }

  50%,
  100% {
    opacity: 1;
    z-index: 5;
  }
}

.social-icons {
  margin: 20px 0;
}

.social-icons a {
  border: 1px solid #ccc;
  border-radius: 20%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 3px;
  width: 40px;
  height: 40px;
}

.toggle-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: all 0.6s ease-in-out;
  border-radius: 150px 0 0 100px;
  z-index: 1000;
}

.container_login.active .toggle-container {
  transform: translateX(-100%);
  border-radius: 0 150px 100px 0;
}

.toggle {
  background-color: #202020;
  height: 100%;
  background: linear-gradient(to left, #202020, #8b8b8b);
  color: #fff;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: all 0.6s ease-in-out;
}

.container_login.active .toggle {
  transform: translateX(50%);
}

.toggle-panel {
  position: absolute;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 30px;
  text-align: center;
  top: 0;
  transform: translateX(0);
  transition: all 0.6s ease-in-out;
}

.toggle-left {
  transform: translateX(-200%);
}

.container_login.active .toggle-left {
  transform: translateX(0);
}

.toggle-right {
  right: 0;
  transform: translateX(0);
}

.container_login.active .toggle-right {
  transform: translateX(200%);
}

/* loading icon */

/* HTML: <div class="loader"></div> */
.loader {
  width: 100px;
  height: 40px;
  --g: radial-gradient(farthest-side, #0000 calc(80% - 3px), #000000 calc(100% - 3px) 98%, #0000 101%) no-repeat;
  background: var(--g), var(--g), var(--g);
  background-size: 30px 30px;
  animation: l9 1s infinite alternate;
}

@keyframes l9 {
  0% {
    background-position: 0 50%, 50% 50%, 100% 50%;
  }

  20% {
    background-position: 0 0, 50% 50%, 100% 50%;
  }

  40% {
    background-position: 0 100%, 50% 0, 100% 50%;
  }

  60% {
    background-position: 0 50%, 50% 100%, 100% 0;
  }

  80% {
    background-position: 0 50%, 50% 50%, 100% 100%;
  }

  100% {
    background-position: 0 50%, 50% 50%, 100% 50%;
  }
}



/* hishel indz checkboxs style */

.checkbox-wrapper-28 {
  --size: 25px;
  position: relative;
}

.checkbox-wrapper-28 *,
.checkbox-wrapper-28 *:before,
.checkbox-wrapper-28 *:after {
  box-sizing: border-box;
}

.checkbox-wrapper-28 .promoted-input-checkbox {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.checkbox-wrapper-28 input:checked~svg {
  height: calc(var(--size) * 0.6);
  -webkit-animation: draw-checkbox-28 ease-in-out 0.2s forwards;
  animation: draw-checkbox-28 ease-in-out 0.2s forwards;
}

.checkbox-wrapper-28 label:active::after {
  background-color: #e6e6e6;
}

.checkbox-wrapper-28 label {
  color: #000000;
  line-height: var(--size);
  cursor: pointer;
  position: relative;
}

.checkbox-wrapper-28 label:after {
  content: "";
  height: var(--size);
  width: var(--size);
  margin-right: 8px;
  float: left;
  border: 2px solid #000000;
  border-radius: 3px;
  transition: 0.15s all ease-out;
}

.checkbox-wrapper-28 svg {
  stroke: #000000;
  stroke-width: 3px;
  height: 0;
  width: calc(var(--size) * 0.6);
  position: absolute;
  left: calc(var(--size) * 0.21);
  top: calc(var(--size) * 0.2);
  stroke-dasharray: 33;
}

@-webkit-keyframes draw-checkbox-28 {
  0% {
    stroke-dashoffset: 33;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes draw-checkbox-28 {
  0% {
    stroke-dashoffset: 33;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

/* color code 
  D5C3C7 en verevi esiminchy
  
*/

.dropstart .dropdown-toggle::before {
  content: none !important;
}


header {
  width: 100%;
  background: #2c2f44;
}

.content {
  color: #2c2f44;
  flex: 1 0 auto;
  overflow-y: auto;
}

footer {
  flex-shrink: 0;
}

/* price cards style */
/* price cards style */

.price-card {
  background: #f5f5f6;
  padding: 40px 35px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.price-card:before {
  position: absolute;
  content: "";
  top: 0;
  right: -35px;
  width: 88px;
  height: 88px;
  background: #0cc652;
  opacity: 0.2;
  border-radius: 8px;
  transform: rotate(45deg);
}

.price-card:after {
  position: absolute;
  content: "";
  top: 30px;
  right: -35px;
  width: 88px;
  height: 88px;
  background: #0cc652;
  opacity: 0.2;
  border-radius: 8px;
  transform: rotate(45deg);
}

.price-card h2 {
  font-size: 26px;
  font-weight: 600;
}

.price-card .btn {
  font-size: 11px;
  border-radius: 100px;
  padding: 0 25px;
  border: 0;
  color: #fff;
  float: right;
}

.price-card .btn.btn-primary {
  border: 0 !important;
}

.price-card.featured {
  background: #fff;
  border: 1px solid #ebebeb;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.price-card:hover .btn {
  background: #0cc652;
  border-color: #0cc652;
}

p.price span {
  display: inline-block;
  padding: 45px 15px 50px;
  padding-right: 0;
  font-size: 30px;
  font-weight: 600;
  color: #0cc652;
  position: relative;
}

p.price span:before {
  position: absolute;
  content: "\0564\0580\0561\0574";
  /* դրամ */
  font-size: 16px;
  top: 25px;
  font-weight: 300;
  left: 0;
}

.pricing-offers {
  padding: 0 0 10px;
}

.pricing-offers li {
  padding: 0 0 16px;
  line-height: 18px;
}

ul li {
  list-style-type: none;
}

.btn.btn-mid {
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  background-color: #52be80;
}

/*checkbox*/
.checkbox-container {
  display: inline-block;
  position: relative;
  cursor: pointer;
  user-select: none;
  padding-left: 35px;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-mark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #ccc;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.checkbox-container input:checked~.checkbox-mark {
  background-color: #000;
}

.checkbox-mark:after {

  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkbox-mark:after {
  display: block;
}

.checkbox-container .checkbox-mark:after {
  left: 8px;
  top: 3px;
  width: 10px;
  height: 15px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .dropdown-item {
    font-size: 0.5rem !important;
  }
}

.img_div3 {
  width: 100%;
}

.img_div3>img {
  width: 100%;
}

.loader_e {
  display: inline-flex;
  gap: 10px;
}

.loader_e:before,
.loader_e:after {
  content: "";
  height: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(farthest-side, #000 95%, #0000) 35% 35%/6px 6px no-repeat #fff;
  transform: scaleX(var(--s, 1)) rotate(0deg);
  animation: l6 1s infinite linear;
}

.loader_e:after {
  --s: -1;
  animation-delay: -0.1s;
}

@keyframes l6 {
  100% {
    transform: scaleX(var(--s, 1)) rotate(360deg);
  }
}

#scrollDownButton {
  position: absolute;
  bottom: 15%;
  /* отступ от нижней границы */
  left: 50%;
  transform: translateX(-50%);
  display: none;
  /* изначально скрыта */
}

.img_div3 {
  width: 75%;
  margin: 10px auto;
}

.img_div3>img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.img_div2 {
  width: 75%;
  margin: 10px auto;
}

.img_div2>img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.img_div1 {
  width: 75%;
  margin: 10px auto;
}

.img_div1>img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #ccc;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #494949;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*newwwwwwwwwwwwww*/

.newNavLinks a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  transition: 0.2s;
}

.newHeader {
  line-height: 1rem;
  display: flex;
  justify-content: center;
  padding-left: 15px;
  padding-right: 15px;
  background-color: #0c0c0c;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 150;
}

.newContainer {
  max-width: 1300px;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.headerInner {
  display: flex;
  gap: 120px;
}

.newLogo {
  height: 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5px 0;
}

@media (max-width: 768px) {
  .newLogo {
    height: 60px;
  }
  .newLogo img {
    width: 150px;
  }
}

.main-texts {
  color: #ffffff;
  vertical-align: center;
  padding-top: 20px;
  padding-bottom: 20px;

}

.newLogo img {
  width: 180px;
  height: auto;
  object-fit: contain;
}

/* ============= NAV LINKS (DESKTOP) ============= */
.main-navigation,
nav {
  position: relative;
  color: white;
  font-family: "picsart-academy-font";
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-navigation .nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  position: relative;
  margin: 0;
  padding: 0;
}

.main-navigation .nav-menu li {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  margin: 0;
}

.main-navigation .nav-menu li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

/* .main-navigation .nav-menu > li a:hover {
  color: #ff45fc;
  transition: color 0.3s ease-in-out;
} */

.main-navigation .nav-menu li .sub-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #ff45fc;
  transition: width 0.4s ease-in-out;
}

.main-navigation .nav-menu li a:hover::after {
  width: 100%;
}

.main-navigation .nav-menu li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: -130px;
  background: #0c0c0c;
  list-style: none;
  padding: 10px;
  border-radius: 12px;
  min-width: 220px;
  z-index: 30;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin: 0;
}

.main-navigation .sub-menu li {
  width: 100%;
  text-align: left;
}

.main-navigation .sub-menu li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  transition: background 0.3s ease;
}

.applyBtn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.applyBtnMob {
  display: none;
  align-items: center;
}

.button-header {
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--modal-accent-1), var(--modal-accent-2));
  color: #0c0c0c !important;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.15);
  position: relative;
  overflow: hidden;
  backface-visibility: hidden;
}

.button-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.24);
  filter: brightness(1.03);
}

.menuToggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 1vh;
  z-index: 15;
}

.menuToggle .bar {
  width: 36px;
  height: 5px;
  border-radius: 5px;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bar:nth-child(1) {
  width: 18px;
}

.bar:nth-child(3) {
  width: 18px;
  transform: translateX(100%);
}

.menuToggle.open .bar:nth-child(1) {
  border-radius: 5px;
  transform: rotate(45deg) translate(30%, 90%);
}

.menuToggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menuToggle.open .bar:nth-child(3) {
  border-radius: 5px;
  transform: rotate(45deg) translate(50%, -90%);
  transform-origin: right;
}

/* Mobile Styles */
@media (max-width: 860px) {
  .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -5px;
  }

  .has-submenu.open .arrow {
    transform: rotate(-135deg);
  }

  .main-navigation .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    padding-left: 20px;
    display: none;
  }

  .has-submenu.open .sub-menu {
    display: block;
  }

  .main-navigation .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #0c0c0c;
    padding: 20px;
  }

  .main-navigation .nav-menu>li {
    width: 100%;
  }

  .main-navigation .nav-menu li a {
    font-size: 18px;
    padding: 15px 0;
    display: block;
    width: 100%;
  }

  .has-submenu .sub-menu {
    width: 100%;
    margin-top: 0;
    padding: 0 0 0 20px;
  }
}

@media (max-width: 650px) {

  .headerInner {
    gap: 30px;
  }
}

.applyBtnContainer {
  display: flex;
  align-items: center;
  gap: 20px;
}

.active-language {
  display: flex;
  align-items: center;
  gap: 5px;
}

.active-language>span {
  color: #fff;
  font-weight: 500;
}


/* Additional styles for header component */

/* Active state for navigation items */
.nav-menu a.active {
  color: #ff45fc;
}

/* Hover effects for navigation items */
.nav-menu a {
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Submenu animations */
.sub-menu {
  animation: fadeIn 0.3s ease;
}

/* Mobile menu animations */
.nav-menu.show {
  animation: slideDown 0.3s ease;
}

/* Header scroll transition
.newHeader {
  transition: transform 0.3s ease;
} */

/* Apply button hover effect */
.button-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 0.5s ease;
}

.button-header:hover::before {
  left: 120%;
}

.button-header:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 240, 255, 0.2);
}

.button-header:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.35), 0 8px 20px rgba(0, 240, 255, 0.2);
}

/* Mobile menu icon animation */
.menuToggle .bar {
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menuToggle.open .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menuToggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menuToggle.open .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Submenu arrow indicator */
.has-submenu>a::after {
  content: '▼';
  font-size: 8px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.has-submenu.open>a::after {
  transform: rotate(180deg);
}



/* High contrast mode styles */
@media (prefers-contrast: high) {
  .newHeader {
    background-color: #000;
  }

  .nav-menu a {
    color: #fff;
  }

  .button-header {
    background-color: #fff;
    color: #000 !important;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Utility classes */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* Transitions */
.transition-all {
  transition: all 0.3s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Lists */
ul {
  list-style: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Buttons */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Media Queries */
@media (max-width: 1400px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: none;
    padding: 0 10px;
  }
}



*/ .nav-menu li a:hover {
  color: var(--hover-color) !important;
}


/* Courses Section Styles */
.course {
  padding-top: 100px;
  padding-bottom: 30px;
  box-sizing: border-box;
  background-color: #161616;
  width: 100%;
}

.see_all_btn {
  border: 2px solid var(--btn-color);
  /* background-color: var(--btn-color);  */
  border-radius: 20px;
  color: #fff;
  transition: all 0.3s ease;
}

.see_all_btn:hover {
  background-color: var(--btn-color);
  color: #fff;
  box-shadow: 0 0 15px var(--btn-color);
}

.course_description_section {
  min-height: 100vh;
  padding: 30px 0;
  box-sizing: border-box;
  background-color: #161616;
  width: 100%;
}


.courses-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  position: relative;
}

/* Добавляем градиентные индикаторы прокрутки */
.courses-container::before,
.courses-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.courses-container::before {
  left: 0;
  background: linear-gradient(to right, #0c0c0c 0%, transparent 100%);
}

.courses-container::after {
  right: 0;
  background: linear-gradient(to left, #0c0c0c 0%, transparent 100%);
}

.courses-container.can-scroll-left::before {
  opacity: 1;
}

.courses-container.can-scroll-right::after {
  opacity: 1;
}

.section-title {
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  font-family: 'Bokonique', sans-serif;
}

.courses-grid {
  display: flex;
  gap: 30px;
  height: 90%;
  padding: 20px 0;
  box-sizing: border-box;
  margin: 0 -15px;
  /* Компенсируем padding контейнера */
  padding: 20px 15px;
  /* Добавляем padding для отступа от градиентов */
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 15px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Добавляем плавную прокрутку */
  scroll-behavior: smooth;
}

/* Скрываем scrollbar в Chrome/Safari */
.courses-grid::-webkit-scrollbar {
  display: none;
}

/* Card Styles */
.course-card {
  flex: 0 0 250px;
  /* Фиксированная ширина карточки */
  width: 250px;
  filter: grayscale(100%);
  height: 350px;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
  scroll-snap-align: start;
  /* Для плавной остановки при прокрутке */
}

.card-content {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;

  transform-style: preserve-3d;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Background Layers */
.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  z-index: 1;
  transform-style: preserve-3d;
  transform: translateZ(-20px);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}



.card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg,
      transparent 0%,
      rgba(var(--card-rgb), 0.1) 100%);
  opacity: 0;
  transition: opacity 0.8s ease;
}



.card-bg-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(5px);
  transition: all 0.8s ease;
}



/* Image Layer */
.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
  will-change: transform;
}



/* Overlay Layer */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: linear-gradient(180deg,
      transparent 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.8) 100%);
  transform-style: preserve-3d;
}

.card-overlay-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(45deg,
      rgba(var(--card-rgb), 0) 0%,
      rgba(var(--card-rgb), 0.2) 100%); */
  opacity: 0;
  transition: all 0.8s ease;
}



/* Content Layer */
.card-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 4;
  transform-style: preserve-3d;
  transform: translateZ(40px);
}

.card-details h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Gilroy', sans-serif;
  transform: translateY(20px);
  opacity: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}



/* Button Styles */
.card-button-wrapper {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
}



.card-button {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--card-color);
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
}

.button-text {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.button-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--card-color);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform: skewX(-10deg);
}

.card-button:hover .button-bg {
  transform: translateX(100%) skewX(-10deg);
}

.card-button:hover .button-text {
  color: #000000;
}

/* Course-specific colors */
.course-card[data-color="#a1ff65"] {
  --card-color: #a1ff65;
  --card-rgb: 161, 255, 101;
}

.course-card[data-color="#fde126"] {
  --card-color: #fde126;
  --card-rgb: 253, 225, 38;
}

.course-card[data-color="#53b7ff"] {
  --card-color: #53b7ff;
  --card-rgb: 83, 183, 255;
}

.course-card[data-color="#3574ff"] {
  --card-color: #3574ff;
  --card-rgb: 53, 116, 255;
}

.course-card[data-color="#ff8a00"] {
  --card-color: #ff8a00;
  --card-rgb: 255, 138, 0;
}

/* Hover State Glow Effect */
.course-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  /* background: var(--card-color); */
  /* opacity: 0; */
  border-radius: 22px;
  /* filter: blur(20px); */
  transform: translateZ(-50px);
  transition: 0.8s ease;
  pointer-events: none;
}
/*media for hover in mobale*/



/* Responsive Styles */
@media (max-width: 1200px) {
  .courses-container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .courses-container {
    max-width: 720px;
  }

  .section-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .courses-container {
    max-width: 540px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .courses-grid {
    gap: 20px;
    padding: 15px 20px;
    box-sizing: border-box;
  }

  .course-card {
    flex: 0 0 240px;
    width: 240px;
  }

  .card-details {
    padding: 20px;
  }

  .card-details h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .card-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

.courses-section {
  background: #161616;
  background-image: url(../img/course_slider_bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 576px) {
  .courses-section {
    padding: 60px 0;
  }

  .courses-container {
    padding: 0 10px;
  }

  .section-title {
    font-size: 28px;
  }

  .course-card {
    flex: 0 0 240px;
    width: 240px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  .card-content,
  .card-image img,
  .card-details h3,
  .card-button-wrapper,
  .button-bg {
    transition: none;
  }
}

/* Hardware Acceleration */
.course-card,
.card-content,
.card-image img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

@media (hover: hover) and (pointer: fine) {
  .course-card:hover .card-content {.course-card:hover .card-button-wrapper {
  transform: translateY(0) translateZ(10px);
  opacity: 1;
}

.course-card:hover .card-details h3 {
  transform: translateY(0) translateZ(10px);
  opacity: 1;
}

.course-card:hover .card-overlay-inner {
  opacity: 1;
}

.course-card:hover .card-image img {
  transform: scale(1.1) translateZ(10px);
  filter: brightness(1.1);
}

.course-card:hover .card-bg-inner {
  opacity: 0.15;
  backdrop-filter: blur(10px);
}
    box-shadow: 0 0 15px var(--card-color);
    transform: translateY(-20px) rotateX(10deg) scale(1.02);
  }

  .course-card:hover {
    filter: grayscale(0);

  }

  .course-card:hover .card-bg::after {
    opacity: 1;
  }
  .course-card:hover .card-button-wrapper {
    transform: translateY(0) translateZ(10px);
    opacity: 1;
  }

  .course-card:hover .card-details h3 {
    transform: translateY(0) translateZ(10px);
    opacity: 1;
  }

  .course-card:hover .card-overlay-inner {
    opacity: 1;
  }

  .course-card:hover .card-image img {
    transform: scale(1.1) translateZ(10px);
    filter: brightness(1.1);
  }

  .course-card:hover .card-bg-inner {
    opacity: 0.15;
    backdrop-filter: blur(10px);
  }
}

@media (max-width: 768px) {
  .course-card {
    filter: grayscale(0);

  }
}

/* Добавляем стили для плавной прокрутки */
@media (hover: none) {
  .courses-grid {
    scroll-behavior: smooth;
  }

  .card-content {
    box-shadow:  0 0 15px var(--card-color);
  }

  .card-button-wrapper {
    transform: translateY(0) translateZ(10px);
    opacity: 1;
  }

  .card-details h3 {
    transform: translateY(0) translateZ(10px);
    opacity: 1;
  }

  card-button-wrapper {
    transform: translateY(0) translateZ(10px);
    opacity: 1;
  }

  .card-image img {
    transform: scale(1.1) translateZ(10px);
    filter: brightness(1.1);
  }

  .course-card:hover .card-overlay-inner {
    opacity: 1;
  }

}

.main_section {
  min-height: 100vh;
  padding-top: 100px !important;
  box-sizing: border-box;
}

/* footer */


/* Footer Container */
.footer {
  width: 100%;
  position: relative;

  background: #000 !important;
  color: #fff !important;

}

/* Footer Top Gradient */
.footer__gradient {
  width: 100%;

  background: #00D4FF;
  background: linear-gradient(6deg, rgba(0, 212, 255, 1) 0%, rgba(0, 0, 0, 1) 42%, rgba(0, 212, 255, 1) 100%);
  /* background-size: 200% 100%; */
  /* animation: gradientShift 8s linear infinite; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
}

.footer__gradient-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__gradient-link {
  color: #000;
  text-decoration: none;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer__gradient-link:hover {
  color: rgba(0, 0, 0, 0.7);
}

.footer__gradient-text {
  color: #000;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin: 0;
}

@keyframes gradientShift {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* Social Section */
.footer__social {
  /* background: #fff; */
  padding: 20px 10px;
  position: relative;
  z-index: 1;
}

.footer__social-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

@media (max-width: 768px) {
  .footer__social-container {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .footer__social-title h3 {
    font-size: 18px;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .footer__social-container {
    gap: 10px;
    padding: 0 10px;
  }

  .footer__social-title h3 {
    font-size: 16px;
  }
}

.footer__social-title h3 {
  color: white;
}

.course_header {
  font-weight: 700;
}

.footer__social-links {
  display: flex;
  gap: 4px;
  align-items: center;
  position: relative;
  padding: 6px 10px;
  margin-right: 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 30px;
  backdrop-filter: blur(5px);
}

.footer__social-links::after {
  display: none;
}

@media (max-width: 768px) {
  .footer__social-links {
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 5px;
  }

  .footer__social-links::after {
    display: none;
  }

  .footer__social-links a {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .footer__social-links {
    gap: 6px;
  }

  .footer__social-links a {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

.footer__social-links a {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-size: 18px;
  width: 32px;
  height: 32px;
  margin: 0;
}

.footer__social-links a:hover {
  color: var(--social-color, #00F0FF);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.footer__social-links a:active {
  transform: translateY(0);
}

.footer__social-links a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.15);
}

.footer__social-links a:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

.footer__social-links a i {
  font-size: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.footer__social-links a .fa-facebook-f {
  font-size: 20px;
  padding-top: 2px;
}

.footer__social-links a .fa-telegram {
  font-size: 22px;
}

.footer__social-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00F0FF, #5BFFD1);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.footer__social-links a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
}

.footer__social-links a:hover::before {
  opacity: 0.1;
}

.footer__social-links img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
  will-change: transform;
}

.footer__social-links a:hover img {
  transform: scale(1.1) rotate(-5deg);
}

/* Info Section */
.footer__info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  background: #000;
}

/* Logo */
.footer__logo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: -25px;
  align-items: flex-start;
}

.footer__logo-img {
  max-width: 170px;
  height: auto;
  transition: transform 0.3s ease;
  margin-top: -35px;
  filter: brightness(1.1);
}

.footer__logo:hover .footer__logo-img {
  transform: scale(1.02);
  filter: brightness(1.2);
}

.footer__logo-slogan {
  font-size: 15px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin-top: -48px;
  padding-left: 2px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Lessons */
.footer__lessons h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.footer__lessons h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #00F0FF, #5BFFD1);
}

.footer__lessons-list {
  list-style: none;
  padding-left: 5px !important;
}

.footer__lessons-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.footer__lessons-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, #00F0FF, #5BFFD1);
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition: all 0.3s ease;
}

.footer__lessons-list li:hover::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.footer__lessons-list a {
  color: #fff;
  text-decoration: none;
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer__lessons-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #00F0FF, #5BFFD1);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.footer__lessons-list a:hover {
  color: #00F0FF;
  transform: translateX(5px);
}

.footer__lessons-list a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Contact */
.footer__contact h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.footer__contact h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #00F0FF, #5BFFD1);
}

.footer__contact-link {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 25px;
}

.footer__contact-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
  transition: all 0.3s ease;
}


.footer__contact-link:hover {
  color: #00F0FF;
  transform: translateX(5px);
}

.footer__contact-link:hover::before {
  opacity: 1;
}

/* Map */
.footer__map h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.footer__map h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #00F0FF, #5BFFD1);
}

.footer__map-container {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.footer__map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.15);
}

.footer__map-iframe {
  width: 100%;
  height: 200px;
  border: none;
  filter: grayscale(0.2);
  transition: filter 0.3s ease;
}

.footer__map-container:hover .footer__map-iframe {
  filter: grayscale(0);
}

.footer__map-address {
  font-size: 14px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  position: relative;
  padding-left: 20px;
}

.footer__map-address::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M12,2C8.13,2,5,5.13,5,9c0,5.25,7,13,7,13s7-7.75,7-13C19,5.13,15.87,2,12,2z M12,11.5c-1.38,0-2.5-1.12-2.5-2.5s1.12-2.5,2.5-2.5s2.5,1.12,2.5,2.5S13.38,11.5,12,11.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer__info {
    max-width: 960px;
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  .footer__info {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .footer__social-container {
    flex-direction: column;
    gap: 20px;
  }

  .footer__info {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer__logo {
    align-items: center;
  }

  .footer__lessons h3::after,
  .footer__contact h3::after,
  .footer__map h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer__lessons-list li {
    padding-left: 0;
  }

  .footer__lessons-list li::before {
    display: none;
  }

  .footer__contact-link {
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .footer__contact-link::before {
    position: static;
    transform: none;
  }

  .footer__map-address {
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .footer__map-address::before {
    position: static;
  }
}

/* Print Styles */
@media print {
  .footer {
    background: #000 !important;
    color: #fff !important;
  }

  .footer__social,
  .footer__map-container {
    display: none !important;
  }

  .footer__info {
    background-color: #000;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }

  .footer a {
    text-decoration: none !important;
    color: #fff !important;
  }
}

.faq-section {
  padding: 50px;
  box-sizing: border-box;
  background-color: #ffffff;
  width: 100%;

}

#apply_modal {
  backdrop-filter: blur(3px);
  background: rgba(14, 14, 14, 0.829);
}

/* Palette for modal */
:root {
  --modal-accent-1: #22D3EE; /* cyan-400 */
  --modal-accent-2: #5EEAD4; /* teal-300 */
  --modal-bg: rgba(12, 12, 12, 0.92);
  --modal-input-bg: #101010;
  --modal-input-border: rgba(34, 211, 238, 0.22);
  --modal-input-border-hover: rgba(34, 211, 238, 0.35);
  --modal-input-border-focus: rgba(34, 211, 238, 0.5);
}

/* Enhanced apply modal styles */
#apply_modal .modal-dialog {
  max-width: 720px;
}

#apply_modal .modal-content {
  background: var(--modal-bg) !important;
  border: 1px solid var(--modal-input-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 240, 255, 0.08) !important;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modalIn 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

#apply_modal .modal-content::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at -10% -10%, rgba(34, 211, 238, 0.04), transparent 60%),
    radial-gradient(800px 400px at 110% 110%, rgba(94, 234, 212, 0.04), transparent 60%);
}

#apply_modal .modal-header,
#apply_modal .modal-footer {
  border: none !important;
  background: transparent !important;
}

#apply_modal .modal-header {
  position: relative;
  padding-bottom: 10px !important;
}

#apply_modal .modal-header::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.38), rgba(94, 234, 212, 0.0));
}

#apply_modal .modal-title {
  font-weight: 800;
  letter-spacing: 0.5px;
}

#apply_modal .modal-title {
  background: linear-gradient(135deg, var(--modal-accent-1), var(--modal-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
}

#apply_modal .form-control,
#apply_modal .form-select {
  background: var(--modal-input-bg) !important;
  color: #ffffff !important;
  border: 1px solid var(--modal-input-border) !important;
  border-radius: 10px !important;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.3;
}

#apply_modal .form-control:hover,
#apply_modal .form-select:hover {
  border-color: var(--modal-input-border-hover) !important;
}

#apply_modal .form-control:focus,
#apply_modal .form-select:focus {
  background: #0c0c0c !important;
  border-color: var(--modal-input-border-focus) !important;
  box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.15) !important;
}

#apply_modal input::placeholder,
#apply_modal textarea::placeholder {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Input with leading icons */
#apply_modal .form-control,
#apply_modal .form-select {
  padding-left: 42px !important;
}

#apply_modal .modal-body .my-2 {
  position: relative;
}

#apply_modal .modal-body .my-2::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  opacity: 0.7;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Icons per field order: name, surname, email, phone, select */
#apply_modal .modal-body .my-2:nth-of-type(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23A9EFFF' d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v1.2h19.2v-1.2c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E");
}

#apply_modal .modal-body .my-2:nth-of-type(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23A9EFFF' d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v1.2h19.2v-1.2c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E");
}

#apply_modal .modal-body .my-2:nth-of-type(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23A9EFFF' d='M12 13.2L2.4 6V18c0 1.3 1.1 2.4 2.4 2.4h14.4c1.3 0 2.4-1.1 2.4-2.4V6L12 13.2zM12 10.8L21.6 4.8H2.4L12 10.8z'/%3E%3C/svg%3E");
}

#apply_modal .modal-body .my-2:nth-of-type(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23A9EFFF' d='M6.6 10.8c1.8 3.6 3.9 5.7 7.5 7.5l2.4-2.4c.3-.3.9-.3 1.2 0l3.6 3.6c.3.3.3.9 0 1.2-1.2 1.2-2.7 1.8-4.2 1.8-6 0-10.8-4.8-10.8-10.8 0-1.5.6-3 1.8-4.2.3-.3.9-.3 1.2 0l3.6 3.6c.3.3.3.9 0 1.2l-2.5 2.5z'/%3E%3C/svg%3E");
}

#apply_modal .modal-body .my-2:nth-of-type(5)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23A9EFFF' d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
}

/* Ensure course select row has icon spacing too */
#apply_modal #courseField {
  padding-left: 42px !important;
}

/* Two-column layout for form on larger screens */
#apply_modal .modal-body form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#apply_modal .modal-body form .my2,
#apply_modal #applyStatus {
  grid-column: 1 / -1;
}

@media (max-width: 576px) {
  #apply_modal .modal-body form {
    grid-template-columns: 1fr;
  }
  #apply_modal .modal-dialog {
    margin: 12px !important;
  }
  #apply_modal .submit {
    padding: 14px 20px !important;
    font-size: 16px !important;
  }
}

#apply_modal .submit {
  appearance: none;
  border: none !important;
  outline: none !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--modal-accent-1), var(--modal-accent-2)) !important;
  color: #0c0c0c !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px;
  box-shadow: 0 10px 24px rgba(34, 211, 238, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  width: 100% !important;
}

#apply_modal .submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 14px 32px rgba(0, 240, 255, 0.28);
}

#apply_modal .submit:active {
  transform: translateY(0);
}

#apply_modal .btn-secondary {
  background: #1a1a1a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Custom select arrow for apply modal */
#apply_modal .form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2300F0FF' d='M6 8L0 2h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px !important;
}

/* Dropdown options styling */
#apply_modal .form-select option {
  background-color: #0c0c0c;
  color: #e9feff;
  font-weight: 600;
}

#apply_modal .form-select option:hover {
  background-color: rgba(0, 240, 255, 0.12);
  color: #ffffff;
}

#apply_modal .form-select option:checked,
#apply_modal .form-select option:focus {
  background: linear-gradient(135deg, var(--modal-accent-1), var(--modal-accent-2));
  color: #0b0b0b;
}

@keyframes modalIn {
  0% { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== Custom Select (enhanced) ===== */
#apply_modal .is-hidden-native-select {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#apply_modal .custom-select {
  position: relative;
  width: 100%;
}

#apply_modal .custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 40px 12px 42px;
  background: var(--modal-input-bg);
  color: #ffffff;
  border: 1px solid var(--modal-input-border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  font-weight: 600;
  position: relative;
}

#apply_modal .custom-select__trigger::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  opacity: 0.7;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23A9EFFF' d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
}

#apply_modal .custom-select__trigger:hover {
  border-color: var(--modal-input-border-hover);
}

#apply_modal .custom-select__trigger:focus-visible {
  outline: none;
  border-color: var(--modal-input-border-focus);
  box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.15);
}

#apply_modal .custom-select__caret {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300F0FF' d='M6 8L0 2h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

#apply_modal .custom-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #0c0c0c;
  border: 1px solid var(--modal-input-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,240,255,0.05) inset;
  overflow: hidden;
  max-height: 240px;
  overflow-y: auto;
  z-index: 10000;
  display: none;
  backdrop-filter: blur(6px);
}

#apply_modal .custom-select.is-open .custom-select__menu {
  display: block;
  animation: menuFade 180ms ease-out;
}

@keyframes menuFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

#apply_modal .custom-select__option {
  padding: 12px 14px;
  color: #e9feff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#apply_modal .custom-select__option:hover,
#apply_modal .custom-select__option[aria-selected="true"] {
  background: rgba(0, 240, 255, 0.12);
  color: #ffffff;
}

#apply_modal .custom-select__option.is-active {
  background: linear-gradient(135deg, var(--modal-accent-1), var(--modal-accent-2));
  color: #0b0b0b;
}

@media (max-width: 576px) {
  #apply_modal .custom-select__menu {
    max-height: 50vh;
  }
  #apply_modal .custom-select__option {
    padding: 14px 16px;
  }
}

/* Status messages */
#apply_modal #applyStatus {
  min-height: 20px;
}

.status-loading {
  color: #9beaf5;
}

.status-success {
  color: #4ade80;
}

.status-error {
  color: #f87171;
}

/* Small spinner used in status */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #00F0FF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: -3px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* modal */
#applyModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(3px);
}

#applyModal .modal-content {
  background: #0a0a0a;
  border: 2px solid #FFC0CB;
  border-radius: 0;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 0 50px rgba(0, 255, 65, 0.3), inset 0 0 20px rgba(0, 255, 65, 0.05);
  font-family: 'Courier New', monospace;
  position: relative;
  color: #fff;
  animation: modalGlow 2s ease-in-out infinite alternate;
}

#applyModal h2 {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 28px;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 0 10px #FFC0CB;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#applyModal h2::before {
  content: '> ';
  animation: blink 1s infinite;
}

#applyModal h2::after {
  content: ' <';
  animation: blink 1s infinite;
}

#applyModal form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#applyModal input,
#applyModal textarea {
  padding: 12px 15px;
  border: 1px solid #FFC0CB;
  border-radius: 0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  background: #000;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.1);
}

#applyModal select {
  padding: 12px 15px;
  border: 1px solid #FFC0CB;
  border-radius: 0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  background: #000;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.1);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2300ff41' d='M6 8L0 2h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}

#applyModal input:focus,
#applyModal textarea:focus,
#applyModal select:focus {
  outline: none;
  border-color: #FFC0CB;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), inset 0 0 10px rgba(0, 255, 65, 0.2);
  animation: fieldPulse 1s ease-in-out;
}

#applyModal input::placeholder,
#applyModal textarea::placeholder {
  color: #fff;
  font-style: italic;
}

#applyModal button.submit {
  background: #000;
  color: #fff;
  border: 2px solid #FFC0CB;
  padding: 15px 30px;
  border-radius: 0;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
  position: relative;
  overflow: hidden;
}

#applyModal button.submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.2), transparent);
  transition: left 0.5s;
}

#applyModal button.submit:hover {
  background: #FFC0CB;
  color: #000;
  box-shadow: 0 0 30px #FFC0CB;
  text-shadow: none;
}

#applyModal button.submit:hover::before {
  left: 100%;
}

#applyModal button.submit:active {
  transform: scale(0.98);
}

#applyModal .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: transparent;
  border: 1px solid #FFC0CB;
  cursor: pointer;
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: 'Courier New', monospace;
}

#applyModal .close:hover {
  background: #FFC0CB;
  color: #000;
  box-shadow: 0 0 15px #FFC0CB;
}

#applyModal #applyStatus {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 0 5px #FFC0CB;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

@keyframes modalGlow {
  0% {
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3), inset 0 0 20px rgba(0, 255, 65, 0.05);
  }

  100% {
    box-shadow: 0 0 60px rgba(0, 255, 65, 0.5), inset 0 0 30px rgba(0, 255, 65, 0.1);
  }
}

@keyframes fieldPulse {
  0% {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), inset 0 0 10px rgba(0, 255, 65, 0.2);
  }

  50% {
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.7), inset 0 0 15px rgba(0, 255, 65, 0.3);
  }

  100% {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), inset 0 0 10px rgba(0, 255, 65, 0.2);
  }
}

@media (max-width: 480px) {
  #applyModal .modal-content {
    max-width: 95%;
    padding: 20px;
  }

  #applyModal h2 {
    font-size: 24px;
  }
}

input.neon,
select.neon,
textarea.neon {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #FFC0CB !important;
  box-shadow: inset 0 0 10px #FFC0CB !important;
  font-family: 'Courier New', monospace !important;
  transition: all 0.3s ease !important;
}

input.neon::placeholder,
textarea.neon::placeholder {
  color: #fff !important;
  font-style: italic !important;
}

input.neon:focus,
select.neon:focus,
textarea.neon:focus {
  outline: none !important;
  border-color: #FFC0CB !important;
  box-shadow: 0 0 20px #FFC0CB !important;
  animation: fieldPulse 1s ease-in-out !important;
}
.btn-close.custom-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}


@keyframes fieldPulse {
  0% {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), inset 0 0 10px rgba(0, 255, 65, 0.2);
  }

  50% {
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.7), inset 0 0 15px rgba(0, 255, 65, 0.3);
  }

  100% {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), inset 0 0 10px rgba(0, 255, 65, 0.2);
  }
}

/* course page */
.container {
  margin-right: auto;
  margin-left: auto;
  padding-right: 16px;
  padding-left: 16px;
}

.container.gap-lg {
  padding-right: 36px;
  padding-left: 36px;
}

.container.gap-lg .row {
  margin-right: -36px;
  margin-left: -36px;
}

.container.gap-lg .col {
  padding-right: 36px;
  padding-left: 36px;
}

.container.gap-xl {
  padding-right: 80px;
  padding-left: 80px;
}

.container.gap-xl .row {
  margin-right: -80px;
  margin-left: -80px;
}

.container.gap-xl .col {
  padding-right: 80px;
  padding-left: 80px;
}

.container {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.container {
  width: 528px;
  max-width: 528px;
  flex: 0 0 528px;
}

.container {
  width: 624px;
  max-width: 624px;
  flex: 0 0 624px;
}

.container {
  width: 720px;
  max-width: 720px;
  flex: 0 0 720px;
}

.container {
  width: 960px;
  max-width: 960px;
  flex: 0 0 960px;
}

.container {
  width: 1140px;
  max-width: 1140px;
  flex: 0 0 1140px;
}

.container {
  width: 1312px;
  max-width: 1312px;
  flex: 0 0 1312px;
}

.container {
  flex: 0 0;
}

.container {
  flex: 0 0;
}

.icon-verify_web {
  fill: #ffdb1b;
}

.icon-checkmark {
  width: 20px;
  height: 20px;
}

.icon-checkmark {
  width: 30px;
  height: 30px;
}

.icon-checkmark {
  width: 40px;
  height: 40px;
}

.icon-checkmark {
  width: 20px;
  height: 20px;
}

.icon-checkmark {
  width: 30px;
  height: 30px;
}

.icon-checkmark {
  width: 40px;
  height: 40px;
}



.course_title {
  font-weight: 800;
  line-height: 121%;
  margin-bottom: 15px;
}


.course_description_verify {
  font-size: 0.75rem;
  line-height: 120%;
  font-weight: 400;
  padding-left: 12px;
  max-width: 507px;
  margin-bottom: 30px;

}


.course_description {
  font-size: 0.8125rem;
  line-height: 120%;
  font-weight: 400;
  margin-bottom: 40px;
  padding-left: 12px;
  max-width: 507px;
}

.course_body_wrapper {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
}

/* petqa */
.web__body-wrapper {
  flex-direction: row;
}


.course_list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.course_list_item {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 121%;
}

.course_verify {
  display: flex;
}

.icon-verify {
  width: 18px;
  height: 18px;
}


.checkmark {
  width: 20px;
  height: 20px;
}

.checkmark {
  width: 30px;
  height: 30px;
}

.icon-checkmark {
  width: 40px;
  height: 40px;
  flex-grow: 1;
  z-index: -10;
}


.course_img_bg {
  margin-left: 30px;
  margin-top: -50px;
  width: 100%;
}

.course_img {
  display: block;
  margin-left: auto;
}

.course_btn {
  margin-top: 24px;
  font-weight: 700;
  font-size: 0.625rem;
  line-height: 120%;
  border-radius: 8px;
  border: 2px solid #ffdb1b;
  transition: box-shadow 0.3s ease-out;
  padding: 8px 12px;
  color: #fff;
}

.course_btn:hover {
  box-shadow: 1px 0px 30px -1px rgba(207, 189, 40, 0.8);
  -webkit-box-shadow: 1px 0px 30px -1px rgba(207, 189, 40, 0.8);
  -moz-box-shadow: 1px 0px 30px -1px rgba(207, 189, 40, 0.8);
}
/* chenging bootstrap acording class */
.accordion,
.accordion-item,
.accordion-button,
.accordion-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

.accordion-item {
    margin: 8px 0 !important;
    padding: 0 !important;
}

.accordion-button {
    padding: 12px 20px !important;
    border-radius: 0 !important;
    margin-bottom: 1px !important;
    background-color: rgba(0, 0, 0, 0.2) !important;
}

/* убираем тень и фон при клике (active) */
.accordion-button:not(.collapsed) {
    background: transparent !important;
    box-shadow: none !important;
}

/* убираем иконку-стрелку справа */
.accordion-button::after {
    display: none;
}

/* Стили для иконки + */
.plus-icon {
    font-size: 32px;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.accordion-button.collapsed .plus-icon {
    transform: rotate(0deg);
}

.accordion-button:not(.collapsed) .plus-icon {
    transform: rotate(45deg);
}
.accordion-header *{
  color:#fff !important; 
}

/* Тонкая линия под заголовком блока */
.section-title{
  position: relative;
}
.section-title::after{
  content:"";
  position:absolute;
  left:0; bottom:-8px;
  width:72px; height:3px;
  border-radius:3px;
  background: linear-gradient(90deg,#FFD300,transparent);
  opacity:.9;
}

/* Список курсов — мягкие карточки с hover */
.course-list .course-item{
  padding:.5rem .75rem;
  border-radius:.6rem;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  background: rgba(255,255,255,.03);           /* мягкий фон под тёмные темы */
  margin-bottom:.4rem;
}
.course-list .course-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.15);
}

/* Акцент для MDP: тонкая цветная полоса + лёгкое свечение */
.course-list .highlight-mdp{
  background:
    linear-gradient(90deg,#FFD300 0 3px, transparent 3px) padding-box,
    rgba(255,211,0,.06);
  box-shadow: 0 0 0 0 rgba(255,211,0,.0);
}
@media (prefers-reduced-motion: no-preference){
  .course-list .highlight-mdp{
    animation: mdpGlow 2.2s ease-in-out infinite;
  }
}
@keyframes mdpGlow{
  0%,100%{ box-shadow: 0 0 0 0 rgba(255,211,0,.0); }
  50%    { box-shadow: 0 0 0 .35rem rgba(255,211,0,.06); }
}

/* Дедлайн — мягкий пульс, совсем ненавязчиво */
.deadline-badge{
  position: relative;
}
@media (prefers-reduced-motion: no-preference){
  .deadline-badge::after{
    content:"";
    position:absolute; inset:-4px;
    border-radius:999px;
    box-shadow: 0 0 0 0 rgba(255,211,0,.25);
    animation: pulseSoft 2.4s ease-in-out infinite;
  }
}
@keyframes pulseSoft{
  0%   { box-shadow: 0 0 0 0 rgba(255,211,0,.22); }
  70%  { box-shadow: 0 0 0 12px rgba(255,211,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,211,0,0); }
}

/* Кнопка — немного «тяжелее», но в стиле Bootstrap */
.enroll-btn{
  letter-spacing:.2px;
  border-radius:.8rem;
  padding:.75rem 1.25rem;
}
.enroll-btn:focus{
  box-shadow: 0 0 0 .25rem rgba(255,211,0,.35) !important;
}
