/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root {
  --bg-page: #F5F5F5;
  --text-main: #1C1C1C;
  --green: #79F316;
  --dark: #1C1C1C;
  --main: #BCFD7F;
  --darker: #313131;
  --muted: #707070;
  --white: #FFFFFF; 
  --radius-card: 30px;
  --radius-btn: 20px;
}

/* Reset */

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@font-face {
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 400;
    src: local("Gilroy"), url("../fonts/gilroy-regular.ttf") format("truetype"),
}

@font-face {
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 500;
    src: local("Gilroy"), url("../fonts/gilroy-medium.ttf") format("truetype"),
}

@font-face {
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 600;
    src: local("Gilroy"), url("../fonts/Gilroy-Semibold.ttf") format("truetype"),
}

@font-face {
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 700;
    src: local("Gilroy"), url("../fonts/gilroy-bold.ttf") format("truetype"),
}

body#education {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-main);
}
*{
  font-family: 'Gilroy'; 
}
.color-green{
  color:var(--green)
}

.width-wrap{
  width: 1600px;
  margin: 0 auto;
}

.section{
  padding:50px 0
}
.card{
  border-radius: 30px;
  padding: 30px;
  background: white;
}
.card-big{
  border-radius: 48px;
  padding: 50px;
}
.card .card{ 
  border-radius: 20px;
}
.w-100{
  width: 100%;
}
.button{
    font-size: 26px;
    min-width: 340px;
    border-radius: 15px;
    text-align: center;
    padding: 19px 10px;
    border: thin solid #1C1C1C;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    cursor: pointer;
    color: #1C1C1C;
    background: transparent;
}
.button:hover{ 
  background: #1C1C1C;
  color: white;
}
.button-black{
  background: #1C1C1C;
  color: white;
}
.button-black:hover{
  background: white;
  color: #1C1C1C;
}
.button-green{
  background: var(--green);
  border-color: var(--green);
}.button-green:hover{
  background: #aeff6c;
  color: #1C1C1C;
}
.card-black{
  background: var(--darker);
  color: white;
}
.card-grey{
  background:var(--bg-page);
}
.bg-green{
  background:var(--green);
}
.bg-white{
  background: white;
}
.main-card{
  background: var(--main);
  padding: 108px 96px;
  border-radius: 52px;
  height: 696px;
  margin-bottom: 50px;
  overflow: hidden;
}
header{
    position: sticky;
    top: 0;
    left: 0;
    margin-top: 36px;
    z-index: 4;
    background: #f5f5f5;

}
header .width-wrap{
    padding: 24px 0 36px;
    gap: 10%;
}
.button-small{
  font-size: 18px;
  padding: 13px 33px;
  min-width: auto;
}
.gap-3{
  gap: 30px;
}
.gap-4{
  gap: 40px;
}img.main-img {
    position: absolute;
    right: 51px;
    top: 130px;
}img.main-img.main-img-alt { 
    right: -49px;
    top: -20px;
    width: 430px;    -webkit-filter: blur(1rem);    filter: blur(1rem);
}
.edu-image{
  height: 300px;
  background-size: cover;
}ul.green-dot li:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 14px;
    height: 14px;
    background: #9DF859;
    border-radius: 50%;
}ul.green-dot li {
    padding-left: 34px; 
    line-height: 125%;
    margin-bottom: 6px;
}.card-small{
  padding: 12px 20px;
  border-radius: 12px;
}.m-logo{
  width: 272px;
}.card-image {
    background-repeat: no-repeat;
    background-position: right bottom;
}.bg-black{
  background-color: var(--dark);
}.card-team{
  height: 300px;
  background-size: cover;
  background-position: center bottom;
}
.text-label {
    padding: 12px 20px;
    border-radius: 12px;
    border: thin solid black;
}

.input-box input, .input-box select, .input-box textarea {
    width: 100%;
    font-size: 20px;
    /* color: #1c1c1c; */
    /* border-bottom: thin solid #1C1C1C; */
    background: var(--bg-page);
    padding: 8px 0;
    margin-bottom: 15px;
    height: 55px;
}
.default-input, .input-box .default-input {
    width: 100%;   
    border-radius: 10px;
    padding-left: 17px;
}
input.bg-darker{
  color: white;
}
.color-grey{
  color: var(--muted);
}
#policy-check{
  width: 18px;
}
.separator-y{
  width: 1px;
  height: 100%;
}
.nav-a:after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    -webkit-transition: 0.1s all;
    -o-transition: 0.1s all;
    transition: 0.1s all;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: black;
    border-radius: 100px;
}
.nav-a:hover::after{
    width: 100%;
}


/* Тёмная подложка */
  .modalOverlay {
    display: none;
    position: fixed; top:0; left:0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
  }
body.modal-open {
  overflow: hidden;
} 

.modalBox {
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.overlay {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
}
  /* Модальное окно */
  .modalBox {
    background: #fff;
    width: 776px;
    z-index: 2;
    margin: auto;
    /* padding: 25px 20px; */
    /* border-radius: 12px; */
    position: relative;
    /* text-align: center; */
    -webkit-box-shadow: 0 10px 25px rgba(0,0,0,0.3);
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    font-family: sans-serif;
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: -webkit-transform 0.2s ease;
    -o-transition: transform 0.2s ease;
    transition: transform 0.2s ease;
    transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  }
  .modal-content{
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
 

  /* Крестик закрытия */
  .modalBox .close {
    position: absolute;
    top: 10px; right: 14px;
    cursor: pointer;
    font-size: 44px;
    color: var(--green);
    -webkit-transition: color 0.2s;
    -o-transition: color 0.2s;
    transition: color 0.2s;
  }

  .modalBox .close:hover {
    color: #333;
  } 

  .review-item:nth-child(n+4){
    display: none;
  } .sendform-response.response-success{
      text-align: center; 
 }
 .sendform-response.response-success svg{
      margin: 20px auto;
 }
 .sendform-response{
  display: none;
 }
main
.button:hover{
background: white;
border-color: white;
color: black;
}.text-label.active {
    border-color:  var(--green);
}
.floating-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 98px;
    height: 98px;
    border: none;
    background:  var(--green);
    padding: 20px;
    border-radius: 50%;
    cursor: pointer;
}

.floating-btn svg {
    width: 100%;
    height: 100%;
    display: block;
    color: transparent;
    position: relative;
    z-index: 2;
}

/* Свет */
.floating-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #79F316;
    filter: blur(25px);
    opacity: 0.8;
    z-index: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.5;
    }
}
.modal-lg .modalBox{
    width: 1600px;
}