* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  color: #333333;
}

h1 {
  font-size: 55px;
  font-weight: bold;
}

h2 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 1em;
  text-align: center;
}

h3 {
  font-size: 26px;
  font-weight: 600;
}

h4 {
  font-size: 16px;
  font-weight: 600;
}

.font-body {
  font-size: 16px;
  font-weight: normal;
}

.font-accent {
  font-size: 26px;
  font-weight: normal;
}

.font-caption {
  font-size: 14px;
  font-weight: normal;
}

strong {
  font-weight: 600;
}

.blue-button {
  display: inline-block;
  background: #96A8FC;
  border-radius: 15px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.white-button {
  display: inline-block;
  background: #fff;
  border: 2px solid #A1B0FC;
  border-radius: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}



/*Header styles*/

header {
  position: fixed;
  width: 100%;
  height: 100px;
  background-color: #FBF0FA;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.nav-block {
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
}

.nav-logo {
  height: 62px;
  align-self: center;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  width: 80%;
}

nav a {
  text-decoration: none;
  color: inherit;
}

.login-buttons {
  display: flex;
  justify-content: end;
}

.login-buttons .blue-button {
  padding: 10px 30px;
  margin-right: 30px;
}

.login-buttons .white-button {
  padding: 10px 40px;
}

.menu-btn {
  display: none;
  font-size: 4vw;
  background: none;
  border: none;
  cursor: pointer;
}

.curtain-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  max-width: 80%;
  font-weight: 600;
  width: 300px;
  height: 100%;
  background-color: #FBF0FA;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease;
  flex-direction: column;
  padding: 20px;
  z-index: 20;
}

.curtain-menu.show {
  right: 0;
}

.curtain-menu img {
  width: 70%;
  margin-bottom: 20px;
}

.curtain-menu a {
  margin: 15px 0;
  text-decoration: none;
  color: black;
}

.curtain-menu .white-button, 
.curtain-menu .blue-button {
  padding: 15px 20px;
}



main {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 100px;
}




/* Section 1 styles */

.section1 {
  padding-top: 200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-template-columns: 60% 40%;
  margin-bottom: 300px;
  padding-left: 20px;
  padding-right: 20px;
}

.section1 img {
  order: 2;
  width: 50%;
  justify-self: end;
}

.section1-info h1, .font-accent {
  padding-bottom: 30px;
}

.section1-info {
  max-width: 750px;
  margin-right: 60px;
}

.section1 .blue-button {
  padding: 15px 20px;
  max-width: 290px;
  width: 100%;
}

.button-container {
  display: flex;
  align-items: center;
}

.button-container p {
  width: 400px;
  padding-left: 30px;
}

.img-label {
  text-align: center;
}




/* Section 2 styles */

.section2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 200px;
}

.section2-box {
  background-color: #FBF0FA;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:  100px 50px 60px 50px;
}

.section2-img {
  width: 60%;
  margin-right: 5em;
}

.section2-img img {
  width: 100%;
  margin-bottom: 20px;
}

.section2-card-box {
  width: 40%;
}

.section2-card {
  margin-bottom: 40px;
  border: 10px solid transparent;
  border-radius: 20px;
  background: 
    linear-gradient(to right, white, white), 
    linear-gradient(to right, #F6C7FE, #96A8FC); 
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
}

.section2-card h4 {
  padding-top: 30px;
  padding-left: 20px;
}

.section2-card p {
  padding: 10px 20px 20px 20px;
}




/* Section 3 styles */

.section3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 150px;
}

.usage-step {
  background-color: #FBF0FA;
  max-width: 1100px;
  width: 100%;
  border-radius: 1em;
  display: flex;
  align-items: center;
  z-index: 1;
  margin-bottom: 1.5em;
  padding: 40px 30px;
}

.usage-step-number {
  border: 10px solid transparent;
  border-radius: 50%;
  background: 
    linear-gradient(to right, white, white), 
    linear-gradient(to right, #F6C7FE, #96A8FC); 
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
}

.usage-step-number.font-accent {
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  height: 100px;
  width: 100%;
  max-width: 100px;
  text-align: center;
  margin-right: 30px;
}

.usage-info .font-accent {
  padding-bottom: 15px;
}





/* Section 4 styles */

.section4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 150px;
}

.tariff-options {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
}

.tariff-card {
  width: auto;
  height: 450px;
  margin-bottom: 70px;
  margin: 0 10px;
}

.tariff-card a {
  display: block;
  margin: 0 auto;
}

.slick-slide {
  margin: 0 20px; 
}

.slick-list {
  margin: 0 -20px; 
}

.tariff-gradient {
  width: 320px;
  height: 370px;
  border-top: 15px solid transparent;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 15px solid transparent;
  border-radius: 20px;
  background: 
    linear-gradient(to right, #F6C7FE, #96A8FC), 
    linear-gradient(to right, #F6C7FE, #96A8FC); 
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  margin: 0 auto;
  margin-bottom: 30px;
}

.card-head {
  width: 100%;
  height: 105px;
  background-color: #fff;
  border-radius: 15px;
  margin-bottom: 10px;
  text-align: center;
}

.card-head h3 {
  padding-top: 10px;
  margin-bottom: 10px;
}

.price {
  font-weight: 700;
  font-size: 26px;
}

.card-body {
  width: 100%;
  height: calc(100% - 115px);
  background-color: #fff;
  border-radius: 15px;
}

.card-body ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style-position: inside;
  padding: 10px;
  margin: 0;
  height: 225px;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.tariff-card .white-button, .tariff-card .blue-button {
  max-width: 320px;
  width: 100%;
  padding: 15px;
}

.section4-info {
  border: 10px solid transparent;
  border-radius: 20px;
  background: 
    linear-gradient(to right, white, white), 
    linear-gradient(to right, #F6C7FE, #96A8FC); 
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.section4-info {
  padding: 20px;
}

.section4-info p {
  max-width: 520px;
  margin: 0 auto;
  font-weight: 600;
  font-size: 14px;
}

.interactive-link {
  text-decoration: none;
  color: #EA76F2;
}




/* Section 5 styles */

.section5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 700px;
  background: #FBF0FA;
  border-radius: 15px;
  margin-bottom: 130px;
}

.section5 h2 {
  margin-bottom: 100px;
}

.section5 .font-accent {
  max-width: 600px;
  text-align: center;
  margin-bottom: 50px;
}

.section5 p {
  text-align: center;
  margin-bottom: 50px;
}

.section5 .white-button {
  padding: 15px 90px;
}




/* Section 6 styles */

.section6 {
  margin-bottom: 100px;
}

.section6 h2 {
  text-align: center;
}

.section6-card {
  max-width: 1110px;
  border: 3px solid #FBF0FA;
  border-radius: 15px;
  margin: 0 auto 30px auto;
  display: flex;
  flex-direction: column;
}

.section6-card .button-wrapper {
  display: flex;
  justify-content: flex-end;
}

.section6-card .blue-button, .section6-card .white-button {
  padding: 15px 30px;
  width: 320px;
}

.section6-card h4 {
  padding: 0;
}

.accordion-header {
  cursor: pointer;
  padding: 10px 40px 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FBF0FA;
  border-radius: 10px;
}

.accordion-header p {
  padding: 0;
}

.accordion-header img {
  height: 2em;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out, padding 0.2s ease-out;
  padding: 0 20px;
}

.accordion-content p {
  margin-bottom: 20px;
}

.accordion-content.show {
  max-height: 300px;
  padding: 20px;
}

.arrow {
  transition: transform 0.3s ease;
}

.arrow.rotate {
  transform: rotate(180deg);
}




/* Footer styles */

footer {
  padding: 100px 30px;
  width: 100%;
  background-color: #FBF0FA;
}

.footer-box {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1400px;
}

.footer-info {
  max-width: 40%;
}

footer p {
  font-weight: 600;
  margin-bottom: 20px;
}

footer .phone {
  font-weight: 700;
  font-size: 26px;
}

footer .work-time {
  color: rgb(153, 153, 153);
}

.socials {
  margin-bottom: 20px;
}

.socials a {
  display: inline-block;
  margin-right: 15px;
}

.socials img {
  height: 40px;
  width: 40px;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  color: rgb(153, 153, 153);
  margin-bottom: 20px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .white-button {
  max-width: 246px;
  width: 100%;
}

.footer-links .white-button p {
  padding: 10px 20px 15px 10px;
  margin: 0;
}

.footer-links .white-button div {
  font-weight: 400;
  color: rgb(153, 153, 153);
  margin-bottom: 10px;
}

.footer-links .white-button div::before {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
  background-image: url('/static/assets/icons/download-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  content: '';
}




/*Modal window styles*/

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  justify-content: center; 
  align-items: center;
}

.modal-content {
  position: relative;
  padding: 40px 50px;
  width: 100%;
  max-width: 520px; 
  border: 10px solid transparent;
  border-radius: 20px;
  background: 
    linear-gradient(to right, white, white), 
    linear-gradient(to right, #F6C7FE, #96A8FC); 
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
}

.modal-content h3 {
  text-align: center;
  margin-bottom: 30px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 42px;
  color: #aaa;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
}

form h4 {
  margin-bottom: 5px;
}

form input, form textarea {
  font-size: 16px;
  padding: 6px 12px;
  margin-bottom: 20px;
  border: 1px solid #CCCCCC;
  border-radius: 5px;
}

form textarea {
  resize: none;
  width: 100%;
  height: 100px
}

form p {
  text-align: center;
}

form label {
  display: flex;
  padding-top: 20px;
}

form label input[type="checkbox"] {
  align-self: flex-start; 
  margin-top: 3px;
}

form label p {
  font-size: 14px;
}

form .blue-button {
  width: 70%;
  max-width: 290px;
  margin: 0 auto;
  padding: 15px 0;
}

#success_text {
  color: transparent;
  padding: 10px 0;
}

#donation .modal-content {
  width: 100%;
  max-width: 670px;
}

#donation .modal-content .font-caption {
  text-align: center;
  margin-bottom: 40px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 20px 0;
}

.grid-item {
  display: flex;
  flex-direction: column;
}

.grid-item.full-width {
  grid-column: span 2; 
}

.qr-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.qr-container img {
  width: 100px;
  height: 100px;
}

#donation .qr-container .font-caption {
  text-align: left;
  margin: 0;
}


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

  .menu-btn {
    display: block;
  }

  .curtain-menu {
    display: flex;
  }

  .section1 {
    flex-direction: column;
    align-items: start;
    padding-top: 100px;
    margin-bottom: 100px;
  }

  .section1 img {
    order: 0;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 100px;
  }

  .section1-info {
    max-width: 80%;
  }

  .section2 {
    margin-bottom: 100px;
  }

  .section2-box {
    flex-direction: column;
    padding: 50px 30px;
  }

  .section2-img {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 50px;
  }

  .section2-card-box {
    width: 100%
  }

  .section2-card {
    margin-bottom: 20px;
  }

  .section3 {
    margin-bottom: 100px;
  }
}

@media (max-width: 719px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  .font-accent {
    font-size: 18px;
  }

  nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .curtain-menu {
    display: flex;
  }

  .section1-info {
    margin-right: 0;
    max-width: 90%;
  }

  .button-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-container a {
    margin-bottom: 20px;
  }

  .button-container p {
    max-width: 280px;
    padding-left: 0;
  }

  .section3 .usage-step {
    padding: 20px 15px;
  }
  
  .section3 .usage-step-number {
    margin-right: 15px;
    height: 75px;
    max-width: 75px;
  }

  .accordion-content .button-wrapper {
    justify-content: center;
  }

  .footer-box {
    flex-direction: column;
  }

  .footer-info {
    max-width: 100%
  }

  .modal {
    overflow: auto;
  }

  .modal-content {
    padding: 15px 20px;
    margin: 0 auto;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .grid-item.full-width {
    grid-column: span 1;
  }
}