@import url('https://fonts.googleapis.com/css2?family=Delius&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Delius&display=swap');


* {
    box-sizing: border-box;
}

:root {
    /* --red-color-1: #de3533; */
    --red-color-1: #ef5350;
    --yellow-color-1: #e1a86b;
    --blue-color-1: #4e718f;
    --grey-color-1: #616161;
    --grey-color-2: #ccc;
    --grey-color-3: #dedede;
    --primary-bg-color: #dedfe5;
}

/* .test {
    width: 100px;
    height: 50px;
} */

body {
    margin: 0;
    padding: 0 5px;
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;

    background: #fff;
    font-size: 16px;
    line-height: 19px;
    color: var(--grey-color-1);
    font-style: normal;
    font-optical-sizing: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}
h1 {
    font-weight: 700;
    font-size: 64px;
    line-height: 87px;
}
h2 {
    font-size: 42px;
    line-height: 57px;
}
button {
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
}

a {
    text-decoration: none;
}

.section {
    padding-top: 160px;
    padding-bottom: 170px;
}

.wrapper {
    max-width: 1200px;
    padding: 0px 20px;
    margin: 0 auto;
    
}
.logo {
    width: 65px;
}

.btn {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    line-height: 25px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--red-color-1);
    padding: 12px 32px;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #fff;
    color: #303030;
    transition: all 0.3s;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    text-align: center;
    padding: 10px 0;
    background-color: aliceblue;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  color: #696969;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
  font-size: 18px;
}


/* ============= promo ======================*/
.promo {
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 150px;    
    background-image: url('../img/container/5.png');
    background-color: var(--primary-bg-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50% 50%;
    padding-bottom: 120px;
    margin-top: -2px;
    
}

.promo__title {
    font-size: 120px;
    font-weight: bold;
    margin-bottom: 2rem;
}

.promo__caption {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 1.7rem;
    color: var(--blue-color-1);
}
.promo__subtitle {
    margin-bottom: 50px;
    color: var(--blue-color-1);
}
.promo__slogan {
    margin-bottom: 2rem;
    font-size: 32px;
    margin-top: 3rem;

    /* font-family: "Delius", cursive; */
  font-weight: 700;
  font-style: normal;
  color: var(--yellow-color-1);
}



/* ============= services ======================*/

.about__row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about__coll-1 {
    width: 60%;
    padding-right: 100px;
}
.about__coll-2 {
    width: 40%;
}
.about__title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--blue-color-1);
}
.about__img {
    width: 100%;
    height: 100%;
}
.about__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about__img-sign {
    width: 25%;
}
.about__caption {
    font-weight: 700;
    font-size: 18px;
    line-height: 25px;
    color: #303030;
    margin-bottom: 15px;
}

.about__item + .about__item {
    margin-top: 30px;
}
.about__desc {
    line-height: 1.7;
    font-size: 17px;
}
.qualifications h4 {
    font-size: 1.4rem;
}
.qualification_title {
    color: var(--blue-color-1);
}


/* ================== help ====================*/
.help {
    background-image: url('../img/container/5.png');
    background-color: var(--primary-bg-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50% 50%;
    padding-bottom: 120px;
}

.help-title {
    font-size: 60px;
    line-height: 1.3;
    font-weight: 100;
}
.help-title span {
    color: var(--blue-color-1);
}
.help-col-1-title span {
    color: var(--grey-color-1);
}

.help-card-title {
    font-size: 30px;
    color: var(--blue-color-1);
    margin-bottom: 30px;
}
.help-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.help-card {
    padding: 15px 0 30px 25px;
    background: #fff;
    min-width: 200px;
    border: 1px solid #f0f0f0;
    border-bottom: 1px solid var(--blue-color-1);
    border-right: 1px solid var(--blue-color-1);
    transform: rotate(0deg);
    /* transition: rotate 4s ease-in-out 5s; */
    line-height: 30px;

}

.help-card-wrapper {
    padding-left: 0;
    padding-bottom: 10px;
    padding-right: 10px;
    padding-top: 0;
    border-bottom: 1px solid var(--blue-color-1);
    border-right: 1px solid var(--blue-color-1);
    width: 500px;
}

.help-box-row {
    display: flex;
    margin-bottom: 2rem;
}
.help-box-row-first {
    justify-content: end;
}
.help-box-row-second {
    justify-content: center;
}
.help-box-row-third {
    justify-content: start;
}


/* ================= services =================*/


.services-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}
.services-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
}
.service-card {
    text-align: center;
    padding: 50px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.3s;
    min-width: 200px;
    box-shadow: -3px -3px 8px var(--blue-color-1);
}
.service-card:hover { 
    transform: scale(1.05); 
}
.service-card_title {
    color: var(--yellow-color-1);
    font-size: 21px;
    font-weight: 700;
}


/* ================== steps ====================*/
.steps {
    background-image: url('../img/container/5.png');
    background-color: var(--primary-bg-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50% 50%;
    padding-bottom: 120px;
}

.steps-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}
.step-number {
    width: 50px;
    height: 50px;
    background: var(--yellow-color-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}
.step-card-title {
    font-weight: 700;
    color: var(--blue-color-1);
    font-size: 1.4rem;
}
.steps-content {
    /* display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap; */
    display: grid;
  /* grid-template-columns: repeat(4, 1fr); */
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  justify-content: center;

  @media screen and (max-width: 1200px){
    /* grid-template-columns: repeat(2, 1fr); */
  }
}
.step-card {
  text-align: center;
  padding: 50px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s;
  box-shadow: 5px 5px 5px var(--grey-color-2);
  
}


/* ================== results ==================*/

.results-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}
.results-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
}
.result-card {
  text-align: center;
  padding: 50px;
  border-radius: 2px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  box-shadow: 3px 3px 9px var(--grey-color-1);
  transform:translateY(20px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.result-card_title {
    color: var(--blue-color-1);
    font-size: 21px;
    font-weight: 700;
}




/* ================== questions ==================*/
.questions {
    background-image: url('../img/container/5.png');
    background-color: var(--primary-bg-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50% 50%;
    padding-bottom: 120px;
    margin-top: -2px;
}
.questions-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  
}
.question__card {
    border-bottom: 1px solid var(--blue-color-1);
    padding-bottom: 18px;
  margin-bottom: 1.5rem;
}
.question__card-question {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    
}
.question__card-question-title {
    font-size: 21px;
    padding-top: 20px;
    color: var(--blue-color-1);
}
.question__card-answer {
    line-height: 2;
    margin-top: 1rem;
    transition: opacity 2s linear;  
    transform:translate(0);
    opacity: 1;
    background-color: rgb(255, 255, 255);
    padding: 30px;
    border-radius: 5px;
}

.question__card-question-plus {
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: var(--yellow-color-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.hidden {
   display: none;
}




/* ================== intro_articles ===============*/
.intro_articles {
    background-color: #f6f7f8;
}
.intro_articles-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}
.intro_articles-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.intro_articles-description {
  background: #fff;
  border-left: 5px solid var(--blue-color-1);
  padding: 25px;
  margin: 30px 0;
  font-style: italic;
  color: #666;
  margin-left: 10px;
}

.intro_article-card {
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  min-width: 100px;
}

.intro_article-card-image {
  height: 150px;
  background: linear-gradient(20deg, #375874, #a5abbd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.3);
}
.intro_article-card-content {
    padding: 20px;
}
.intro_article-card-date {
    display: inline-block;
    background: var(--yellow-color-1);
    color: white;
    padding: 3px 12px;
    border-radius: 7px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.intro_article-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* ================== order ====================*/
.order {
     background-image: url('../img/container/5.png');
    background-color: var(--primary-bg-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50% 50%;
    padding-bottom: 120px;
    margin-top: -2px;
}
.order-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}
.order-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.form-group {
  margin-bottom: 20px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--grey-color-3);
  border-radius: 2px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

/* ============= footer ======================*/
footer {
  background: #333;
  color: white;
  padding: 50px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: top;
    gap: 30px;
    margin-bottom: 30px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #555;
  font-size: 0.9rem;
  color: #ccc;
}
.copyright a {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #555;
  font-size: 0.9rem;
  color: #ccc;
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.social-links img {
  display: inline-block;
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}


/* ============= MEDIA ======================*/
@media (max-width: 1230px) {
    h1 {
        font-size: 60px;
        line-height: 75px;
    }
    h2 {
        font-size: 34px;
        line-height: 42px;
    }
    .btn {
        font-size: 17px;
        line-height: 17px;
    }
    .section {
        margin-top: 100px;
    }

    /* ============= promo ======================*/
    .promo__subtitle {
        margin-bottom: 40px;
        margin-top: 10px;
    }

    /* ============= services ======================*/
    .services__row {
        margin-top: 40px;
    }
    .services__coll {
        width: 48%;
    }
    .services__item + .services__item {
        margin-top: 24px;
    }
    .services__caption {
        margin-bottom: 10px;
    }

    /* ============= info ======================*/
    .info {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    /* ============= articles ======================*/
    .articles__coll {
        width: 48%;
    }
    .articles__title {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .articles__number {
        margin-bottom: 5px;
    }

        /* ============= container ======================*/

    .container {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .container__coll {
        width: 48%;
    }
    .contacts__item {
        font-size: 16px;
        line-height: 24px;
    }
    .contacts__item + .contacts__item {
        margin-top: 24px;
    }
}

@media (max-width: 1010px) {
    h1 {
        font-size: 50px;
        line-height: 65px;
    }
    h2 {
        font-size: 30px;
        line-height: 36px;
    }
    .btn {
        font-size: 15px;
        line-height: 15px;
    }
    .section {
        margin-top: 70px;
    }

    /* ============= promo ======================*/
    .promo__subtitle {
        margin-bottom: 40px;
        margin-top: 10px;
    }

    /* ============= services ======================*/
    .services__row {
        margin-top: 40px;
    }
    .services__coll {
        width: 100%;
    }
    .services__coll + .services__coll {
        margin-top: 19px;
    }
    .services__caption {
        margin-bottom: 10px;
    }

    /* ============= info ======================*/
    .info {
        padding-top: 100px;
        padding-bottom: 100px;
        display: none;
    }
    

    /* ============= articles ======================*/
    .articles__coll {
        width: 100%;
    }
    .articles__item + .articles__item {
        margin-top: 22px;
    }
    .articles__title {
        max-width: 100%;
        margin-bottom: 15px;
    }
    .articles__number {
        margin-bottom: 5px;
    }
    .articles__coll + .articles__coll {
        margin-top: 19px;
    }

        /* ============= container ======================*/

    .container {
        padding-top: 40px;
        padding-bottom: 50px;
        margin-top: 15px;
    }
    .container__coll {
        width: 100%;
    }
    .contacts__item {
        font-size: 16px;
        line-height: 24px;
    }
    .contacts__item + .contacts__item {
        margin-top: 24px;
    }
    
}
