@charset "UTF-8";
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

@font-face {
  font-family: "Montserrat Regular";
  src: url("../assets/fonts/Montserrat-Regular.woff2") format("woff2"), url("../assets/fonts/Montserrat-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Bold";
  src: url("../assets/fonts/Montserrat-Bold.woff2") format("woff2"), url("../assets/fonts/Montserrat-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OpenSans italic";
  src: url("../assets/fonts/OpenSans-Italic.woff2") format("woff2"), url("../assets/fonts/OpenSans-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "OpenSans Regular";
  src: url("../assets/fonts/OpenSans-Regular.woff2") format("woff2"), url("../assets/fonts/OpenSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro Regular";
  src: url("../assets/fonts/source-sans-pro.regular.woff2") format("woff2"), url("../assets/fonts/source-sans-pro.regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.slider {
  position: relative;
  z-index: 1;
}
.slider__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  font-family: "Montserrat Bold";
  text-transform: uppercase;
}
.slider-slide {
  position: relative;
  height: 800px;
}
.slider-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(150deg, #55b8ff 0%, #7e5aff 70%);
}
.slider-slide__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

.slider:not(.slick-initialized) .slider-slide {
  display: none;
}

.slider:not(.slick-initialized) .slider-slide:first-child {
  display: block;
}

.slider .slick-dots {
  width: fit-content;
  z-index: 5;
  pointer-events: none;
}

.slider .slick-dots button {
  pointer-events: auto;
}

.sl-content__title {
  font-size: 80px;
  letter-spacing: 10%;
  white-space: nowrap;
}

.sl-content__subtitle {
  font-family: "Montserrat Regular";
  font-size: 18px;
  letter-spacing: 30%;
}

.slick-dots li {
  list-style: none;
  padding: 5px;
}
.slick-dots li.slick-active button {
  background-color: rgb(255, 255, 255);
}
.slick-dots li button {
  border: 1px solid #ffffff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
}
.slick-dots li button::before {
  display: none;
  content: none;
}

.slider-news .slick-list {
  margin: 0 -15px;
}
.slider-news .slick-slide {
  margin: 0 15px;
}

.slider .slick-dots {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  position: absolute;
  top: 50%;
  right: 50px;
  width: auto;
  transform: translateY(-50%);
}

.slider-news .slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  bottom: -65px;
  width: 100%;
  transform: none;
}
.slider-news .slick-dots li.slick-active button {
  background-color: #ffffff;
  border-color: #ffffff;
}
.slider-news .slick-dots li button {
  border-color: #ffffff;
}

.slider__arrow {
  z-index: 10;
  position: absolute;
  left: 50%;
  bottom: -300px;
  transform: translateX(-50%);
  animation: slideUp 0.5s ease-in-out 0.2s backwards;
  transition: background-color 0.3s ease-in-out;
}
.slider__arrow svg {
  animation: arrowBounce 1.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.section--news .container {
  position: relative;
}

.slick-arrow {
  position: absolute;
  top: 66%;
  transform: translateY(-50%);
  z-index: 5;
  background: transparent;
  border: none;
  cursor: pointer;
}

.prev {
  left: -5%;
  transform: rotate(90deg);
}

.next {
  right: -5%;
  transform: rotate(270deg);
}

.feature-card__button, .modal__button,
.pictures__button, .gallery__btn, .contact__toggle-btn, .form__submit {
  font-family: "Montserrat Regular";
  font-size: 14px;
  text-transform: uppercase;
  color: black;
  border: 1px solid black;
  padding: 15px 30px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.feature-card__button:hover, .modal__button:hover,
.pictures__button:hover, .gallery__btn:hover, .contact__toggle-btn:hover, .form__submit:hover {
  color: white;
  border-color: transparent;
  background: linear-gradient(150deg, #55b8ff 0%, #7e5aff 70%);
  background-size: 200% 200%;
  animation: gradientShift 2s ease-in-out infinite;
}

@keyframes arrowBounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes slideInModal {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

.section--news {
  position: relative;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  background: linear-gradient(150deg, #55b8ff 0%, #7e5aff 70%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.header__menu {
  display: flex;
  align-items: center;
}

.logo__image {
  height: 54px;
  width: auto;
}

.nav {
  margin-left: auto;
  margin-right: 10px;
}
.nav__list {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}
.nav__link {
  font-family: "Source Sans Pro Regular";
  font-size: 14px;
  color: #ffffff;
  position: relative;
  text-transform: uppercase;
}
.nav__link::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 14px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.nav__link:hover::before {
  background-color: #ffffff;
  opacity: 1;
  transform: translateX(10px);
}
.nav__item:last-child .nav__link::before {
  display: none;
}

.menu__button {
  display: none;
}

.socials {
  display: flex;
  list-style: none;
  gap: 20px;
}
.socials__link svg {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.socials__item:nth-child(1) .socials__link:hover svg {
  transform: translateY(-8px) scale(1.25);
}
.socials__item:nth-child(2) .socials__link:hover svg {
  transform: translateY(-8px) scale(1.25);
}
.socials__item:nth-child(3) .socials__link:hover svg {
  transform: translateY(-8px) scale(1.25);
}

.sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  list-style: none;
  gap: 20px;
  padding-left: 20px;
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background: linear-gradient(150deg, rgba(85, 184, 255, 0.5019607843) 0%, rgba(126, 90, 255, 0.5019607843) 70%);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}
.sidebar__socials {
  display: flex;
  list-style: none;
  justify-content: flex-start;
  gap: 20px;
}
.sidebar__item {
  width: 100%;
}
.sidebar__item svg {
  margin-top: 15px;
}
.sidebar__link {
  font-family: "Source Sans Pro Regular";
  font-size: 18px;
  display: inline-block;
  width: 100%;
  position: relative;
  padding: 8px 0;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.3s ease, transform 0.3s ease;
}
.sidebar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.sidebar__link:hover, .sidebar__link:focus {
  transform: translateX(8px);
}
.sidebar__link:hover::after, .sidebar__link:focus::after {
  transform: scaleX(1);
}
.sidebar--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.section__header {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 155px;
}
.section__header__title {
  display: inline-block;
  font-family: "Montserrat Bold";
  text-align: center;
  font-size: 44px;
  text-transform: uppercase;
  position: relative;
}
.section__header__title::after {
  content: "";
  position: absolute;
  border: 1px solid black;
  width: 100px;
  left: 50%;
  top: -25px;
  transform: translateX(-50%);
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 70px;
  padding-bottom: 112px;
  position: relative;
}
.feature-card__media {
  position: relative;
}
.feature-card__image {
  border-radius: 6px;
  box-shadow: 20px 20px 20px 0 rgba(0, 0, 0, 0.2509803922);
}
.feature-card__image-2 {
  border-radius: 6px;
  box-shadow: -20px 20px 20px 0 rgba(0, 0, 0, 0.2509803922);
}
.feature-card__content {
  width: 470px;
}
.feature-card__subtitle {
  font-family: "Montserrat Regular";
  font-size: 1.375rem;
  text-transform: uppercase;
}
.feature-card__title {
  font-family: "Montserrat Bold";
  font-size: 2.5rem;
  text-transform: uppercase;
  padding-bottom: 20px;
}
.feature-card__text {
  font-family: "OpenSans Regular";
  font-size: 1.125rem;
  line-height: 30px;
  padding-bottom: 40px;
}
.feature-card__meta {
  margin-top: 60px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: "OpenSans italic";
  font-size: 15px;
  color: #333;
}

.section__content .feature-card:first-child .feature-card__media::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -15%;
  width: 100%;
  height: 100%;
  background: #55b8ff;
  margin-left: 5px;
  z-index: -1;
}

.section__content .feature-card:last-child .feature-card__media::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -15%;
  width: 100%;
  height: 100%;
  background: #7e5aff;
  margin-right: 5px;
  z-index: -1;
}

.feature-card--reversed {
  flex-direction: row-reverse;
}

.modal,
.pictures {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.active,
.pictures.active {
  display: flex;
  opacity: 1;
}
.modal__content,
.pictures__content {
  background: white;
  border-radius: 8px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideInModal 0.3s ease-out;
  position: relative;
}
.modal__close,
.pictures__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__close:hover,
.pictures__close:hover {
  color: #000;
}
.modal__title,
.pictures__title {
  font-family: "Montserrat Bold";
  font-size: 32px;
  margin-bottom: 20px;
}
.modal__text,
.pictures__text {
  font-family: "OpenSans Regular";
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 20px;
}
.section--news {
  background: linear-gradient(100deg, #7e5aff 0%, #55b8ff 50%);
  height: 962px;
  z-index: 1;
  position: relative;
}
.section--news::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/bg1.webp") center/cover no-repeat;
  opacity: 0.1;
  z-index: -1;
}

.section__news {
  text-align: center;
  padding-top: 190px;
  padding-bottom: 90px;
}
.section__news__title {
  display: inline-block;
  font-family: "Montserrat Bold";
  text-align: center;
  font-size: 44px;
  text-transform: uppercase;
  position: relative;
  color: #ffffff;
}
.section__news__title::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 100px;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
}

.post__card {
  background-color: #ffffff;
  max-height: 514px;
}
.post__card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.post__card__body {
  padding: 30px 20px 0 20px;
}
.post__card__title {
  font-family: "Montserrat Bold";
  font-size: 20px;
  text-transform: uppercase;
  padding-bottom: 15px;
}
.post__card__text {
  font-family: "OpenSans Regular";
  font-size: 16px;
  line-height: 1.3;
  padding-bottom: 40px;
}
.post__card__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 20px;
}

.author__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.author__name {
  font-family: "Montserrat Regular";
  font-size: 18px;
  text-transform: uppercase;
  padding-bottom: 6px;
}
.author__date {
  font-family: "Montserrat Regular";
  font-size: 14px;
  color: #55b7ff;
}

.section--gallery .section__header {
  padding-top: 228px;
  padding-bottom: 90px;
}

.gallery {
  overflow: hidden;
  cursor: pointer;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(180px, auto));
  gap: 10px;
  grid-template-areas: "gallery__item--col gallery__item-1 gallery__item-2" "gallery__item--col gallery__item-3 gallery__item-4";
}
.gallery__item--col {
  grid-area: gallery__item--col;
}
.gallery__item-1 {
  grid-area: gallery__item-1;
}
.gallery__item-2 {
  grid-area: gallery__item-2;
}
.gallery__item-3 {
  grid-area: gallery__item-3;
}
.gallery__item-4 {
  grid-area: gallery__item-4;
}
.gallery__item {
  position: relative;
  display: block;
}
.gallery__item:hover .gallery__overlay {
  opacity: 1;
}
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.gallery__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
}
.gallery__modal img {
  max-width: 40%;
  max-height: 40%;
}
.gallery__btn {
  display: block;
  text-align: center;
  margin: 50px auto 150px;
}

.pictures__content {
  max-width: 900px;
  width: min(900px, 100% - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.pictures__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-template-rows: auto;
  gap: 10px;
  padding-bottom: 50px;
}
.pictures__button {
  display: block;
  margin: 0 auto;
}

.contact {
  position: absolute;
  left: 50%;
  bottom: -160px;
  transform: translateX(-50%);
  width: min(98%, 770px);
  background: #ffffff;
  background-image: url(../assets/img/city.png);
  background-repeat: no-repeat;
  background-position: bottom;
  box-shadow: 0 24px 48px rgba(44, 64, 88, 0.12);
  padding: 58px 60px 68px;
  border-radius: 10px;
  z-index: 2;
}
.contact__toggle-btn {
  display: none;
  margin: 0 auto;
  width: fit-content;
  outline: none;
}
.contact__card__header {
  text-align: center;
  margin-bottom: 42px;
}
.contact__card__body {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 286px);
  gap: 54px;
  align-items: start;
}
.contact__info {
  font-style: normal;
}
.contact__item {
  position: relative;
  padding-left: 26px;
  font-family: "Montserrat Regular";
  font-size: 18px;
  line-height: 1.55;
  color: #2c4058;
}
.contact__item:not(:last-child) {
  margin-bottom: 26px;
}
.contact__item::before {
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 16px;
  line-height: 1;
  color: #7e5aff;
}
.contact__item--location::before {
  content: "📍";
}
.contact__item--phone::before {
  content: "☎";
}
.contact__item--email::before {
  content: "✉";
}
.contact__item--time::before {
  content: "◔";
}
.contact__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.section__card__line {
  display: block;
  width: 100px;
  height: 1px;
  background: rgba(44, 64, 88, 0.25);
  margin: 0 auto 34px;
}

.section__card__title {
  font-family: "Montserrat Bold";
  font-size: 44px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #2c4058;
}

.form__field {
  display: block;
  width: 100%;
}

.field__input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(44, 64, 88, 0.2);
  padding: 0 0 16px;
  font-family: "Montserrat Regular";
  font-size: 18px;
  line-height: 1.5;
  color: #2c4058;
  background: transparent;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}
.field__input::placeholder {
  color: rgba(44, 64, 88, 0.45);
}
.field__input:focus {
  outline: none;
  border-color: #2c4058;
}

.form__submit {
  align-self: flex-end;
  padding: 10px 34px;
}

.section--contact {
  position: relative;
}

.footer {
  height: 549px;
  background-image: linear-gradient(100deg, rgba(85, 184, 255, 0.8) 0%, rgba(126, 90, 255, 0.8) 80%), url(../assets/img/bgfooter.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.footer__contacts {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 203px;
  padding-bottom: 40px;
}
.footer__copyright {
  font-family: "Montserrat Regular";
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3607843137);
  display: flex;
  justify-content: center;
  padding-top: 200px;
}

#map {
  height: 700px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.leaflet-popup-content-wrapper {
  box-shadow: 30px -20px 10px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  background: #ffffff;
  padding: 1px;
}

.leaflet-popup-tip {
  box-shadow: none;
  background: #ffffff;
}

.leaflet-popup {
  margin-left: -20px;
}

@media screen and (max-width: 1024px) {
  .container {
    max-width: 900px;
    padding: 0 10px;
  }
  .nav__list {
    gap: 30px;
  }
  .slider .slick-dots {
    flex-direction: row;
    top: 75%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .sl-content__title {
    font-size: 60px;
  }
  .sl-content__subtitle {
    font-size: 14px;
  }
  .feature-card__image {
    max-width: 500px;
    height: auto;
  }
  .feature-card__content {
    width: 420px;
  }
  .section__content .feature-card:first-child .feature-card__media::before {
    left: -10%;
  }
  .section__content .feature-card:last-child .feature-card__media::before {
    right: -10%;
  }
  .feature-card {
    gap: 32px;
    padding-bottom: 90px;
  }
  .header {
    padding: 15px 0;
  }
  .nav {
    margin-left: auto;
  }
  .section__header {
    padding-top: 50px;
    padding-bottom: 115px;
  }
  .section__news {
    padding-top: 150px;
    padding-bottom: 90px;
  }
  .prev,
  .next {
    display: none;
  }
  .slider-news {
    max-width: 760px;
    margin: 0 auto;
  }
  .nav__link::before {
    display: none;
  }
  .nav__link {
    display: inline-block;
    padding: 8px 0;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.9);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }
  .nav__link:hover,
  .nav__link:focus {
    color: #ffffff;
    transform: translateY(-2px);
  }
  .nav__link:hover::after,
  .nav__link:focus::after {
    transform: scaleX(1);
  }
  .section--news {
    height: 920px;
  }
  .section--gallery .section__header {
    padding-top: 140px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(180px, auto));
    gap: 10px;
    grid-template-areas: "gallery__item--col gallery__item-1" "gallery__item--col gallery__item-2" "gallery__item-3 gallery__item-4";
  }
  .gallery__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media screen and (max-width: 768px) {
  .header__menu {
    gap: 16px;
  }
  .header .socials {
    display: none;
  }
  .nav {
    margin-left: auto;
  }
  .nav__item:not(:last-child) {
    display: none;
  }
  .menu__button {
    display: block;
  }
  .sidebar {
    width: min(320px, 100%);
  }
  .slider-slide {
    height: 620px;
  }
  .sl-content__title {
    font-size: 42px;
  }
  .sl-content__subtitle {
    font-size: 14px;
  }
  .slider__arrow {
    bottom: -240px;
    left: 50%;
    transform: translateX(-50%);
  }
  .section__header {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .section__header__title,
  .section__news__title,
  .section__card__title {
    font-size: 32px;
  }
  .feature-card,
  .feature-card--reversed {
    flex-direction: column;
  }
  .feature-card {
    padding-bottom: 72px;
  }
  .slider-news {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
  }
  .gallery__btn {
    margin-bottom: 100px;
  }
  .contact {
    bottom: -10%;
    margin: 0 auto;
    padding: 15px 24px;
    width: min(100%, 540px);
  }
  .contact__toggle-btn {
    display: block;
    margin-top: 30px;
  }
  .contact__card__header, .contact__card__body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
  }
  .contact--active .contact__card__header {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 42px;
  }
  .contact--active .contact__card__body {
    display: grid;
    max-height: 1000px;
    opacity: 1;
    grid-template-columns: 1fr;
  }
  .contact--active .contact__toggle-btn {
    margin-bottom: 24px;
  }
  .form__submit {
    align-self: stretch;
    text-align: center;
  }
  #map {
    height: 530px;
  }
  .footer {
    height: 350px;
  }
  .footer__contacts {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding-bottom: 24px;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
  }
  .footer__copyright {
    padding-top: 0;
  }
}
@media screen and (max-width: 576px) {
  .container {
    padding: 0 10px;
  }
  .sidebar__link:hover,
  .sidebar__link:focus {
    transform: none;
  }
  .header {
    padding: 12px 0;
  }
  .logo__image {
    height: 38px;
  }
  .sidebar {
    width: 100%;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
  }
  .sidebar__socials {
    justify-content: center;
  }
  .sidebar__item {
    text-align: center;
  }
  .sidebar__item:first-child {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
  }
  .slider__content {
    width: 100%;
    min-height: 160px;
  }
  .sidebar__link {
    display: block;
    text-align: center;
  }
  .slider-slide {
    height: 540px;
  }
  .slider__arrow {
    bottom: -160px;
  }
  .sl-content__title {
    font-size: 30px;
  }
  .sl-content__subtitle {
    font-size: 14px;
    letter-spacing: 0.08em;
  }
  .section__header__title,
  .section__news__title,
  .section__card__title,
  .feature-card__title,
  .modal__title {
    font-size: 28px;
  }
  .feature-card__subtitle {
    font-size: 18px;
  }
  .feature-card__content {
    width: 370px;
  }
  .feature-card__text,
  .post__card__text,
  .contact__item,
  .field__input {
    font-size: 16px;
  }
  .modal__content,
  .pictures__content,
  .contact {
    width: calc(100% - 32px);
    padding: 32px 20px;
  }
  .pictures__content {
    max-height: calc(100vh - 32px);
  }
  .pictures__gallery {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .post__card__body {
    padding: 24px 16px 0;
  }
  .post__card__footer {
    padding: 0 16px 20px;
  }
  .gallery {
    grid-template-columns: 1fr;
    grid-template-areas: "gallery__item--col" "gallery__item-1" "gallery__item-2" "gallery__item-3" "gallery__item-4";
  }
  .gallery__btn {
    margin: 40px auto 80px;
    width: 100%;
  }
  .gallery__madal img {
    max-width: 100%;
    max-height: 100%;
  }
  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }
  .contact__item {
    padding-left: 22px;
  }
  .contact__item:not(:last-child) {
    margin-bottom: 18px;
  }
}/*# sourceMappingURL=main.css.map */