@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600;700&display=swap");

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #005f73;
  --secondary-color: #0a9396;
  --primary-hover: #94d2bd;
  --secondary-hover: #0a8084;

  --text-primary: #001219;
  --text-secondary: #001219;
  --text-inverted: #ffffff;

  --background-color: #f0f0f0;
  --secondary-background: #e9d8a6;
  --accordion-active: #005f732e;

  --border-radius-primary: 12px;
  --border-radius-secondary: 8px;
  --border-radius-third: 4px;

  --font-family: "Open Sans", sans-serif;
  --second-family: "Montserrat", serif;
  --third-family: "Open Sans", sans-serif;
}

body {
  margin: 0;
  width: 100%;
  background-color: var(--background-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: hidden;
}

body:has(.mobile-menu-active) {
  overflow: hidden;
}

body:has(.terms-privacy) .header {
  background-color: var(--secondary-background);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--text-primary);
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

section {
  overflow-x: hidden;
}

.title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 48px;
  line-height: 162%;
  color: var(--text-inverted);
}

.subtitle {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 102%;
  color: var(--text-inverted);
}

.descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 167%;
  color: #fff;
}

.section-name {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.container-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 80px;
}

.primary-btn {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 175%;
  letter-spacing: 0.04em;

  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;

  background: var(--secondary-color);
  color: var(--text-secondary);
  padding: 8px 32px;
  border: none;
  border-radius: var(--border-radius-third);
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background: var(--secondary-hover);
  text-decoration: none;
  color: var(--text-secondary);
}

.primary-btn:hover img {
  transform: translateX(5px);
}

.primary-btn img {
  width: 18px;
  transition: all 0.3s ease;
  transform: translateX(0);
}

.secondary-btn {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 0.04em;

  display: block;
  background: var(--primary-color);
  color: var(--text-secondary);
  padding: 8px 32px;
  border-radius: var(--border-radius-third);
  border: none;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  text-decoration: none;
  color: var(--text-secondary);
  background: var(--primary-hover);
}

.terms-privacy {
  padding: 140px 0 80px;
}

.terms-privacy .title {
  margin-bottom: 40px;
}

.terms-privacy .subtitle {
  margin: 25px 0;
}

.thank-you-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding-top: 180px;
}

.thank-you-container p {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--text-inverted);
  transition: all 0.3s ease;
}

.logo:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.logo img {
  width: 50px;
  object-fit: contain;
}

.link {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 0.04em;
  color: var(--primary-color);

  text-decoration: none;
  position: relative;
  padding: 3px 12px;
  transition: all 0.3s ease-in-out;
}

.link::before {
  content: "";
  background-color: var(--primary-hover);
  border-radius: var(--border-radius-primary);
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: -2px;
  height: 1px;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.link:hover::before {
  height: 110%;
}

.link:hover {
  color: var(--text-inverted);
}

@media screen and (max-width: 1240px) {
  .container {
    padding: 0 15px;
  }

  .title {
    font-size: 34px;
  }

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

  .container-flex {
    gap: 50px;
  }

  .subtitle {
    font-size: 20px;
  }

  .descr {
    font-weight: 400;
    font-size: 14px;
  }

  .section-name {
    font-size: 18px;
  }

  .primary-btn {
    font-size: 14px;
    padding: 10px 15px;
  }

  .secondary-btn {
    font-size: 14px;
    padding: 10px 15px;
  }

  .terms-privacy {
    padding: 120px 0 60px;
  }

  .terms-privacy .title {
    margin-bottom: 30px;
  }

  .terms-privacy .subtitle {
    margin: 25px 0;
  }
}
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: #9c9c9c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 0 30px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 630px;
  width: calc(50% - 80px);
  color: #ffffff;
}

.section-name {
  margin-bottom: 12px;
  font-family: var(--second-family);
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.hero-title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 72px;
  line-height: 108%;
  margin-bottom: 23px;
}

.hero-content .descr {
  margin-bottom: 46px;
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 167%;
}

.wrapper {
  display: flex;
  position: relative;
  max-width: 630px;
  width: calc(50% - 80px);
  min-height: 600px;
  overflow: hidden;
  padding: 0 30px 30px 0;
}

.wrapper::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  bottom: 0;
  right: 0;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius-primary);
  z-index: 1;
}

.wrapper-img {
  position: relative;
  z-index: 2;
  flex: 1;
  object-fit: cover;
  border-radius: var(--border-radius-primary);
}

/* Responsive adjustments */
@media screen and (max-width: 1240px) {
  .hero-title {
    font-size: 50px;
  }

  .wrapper {
    padding: 0 15px 15px 0;
    min-height: 500px;
    width: calc(50% - 50px);
  }

  .hero-content {
    width: calc(50% - 50px);
  }
}

@media screen and (max-width: 768px) {
  .wrapper {
    width: 100%;
  }

  .hero-content {
    width: 100%;
  }
}
.our-services {
  padding: 100px 0;
  background-color: var(--secondary-background);
}

.our-services-content {
  margin-bottom: 50px;
  position: relative;
  text-align: center;
}

.our-services-content .section-name {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.our-services-content .title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 36px;
  color: var(--text-inverted);
  margin: 0;
}

.our-services-navigate {
  display: flex;
  gap: 20px;
  position: absolute;
  right: 0;
  bottom: -40px;
}

.our-services-navigate button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--text-secondary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: none;
  transition: background-color 0.3s ease;
  box-shadow: -1px 3px 10px rgba(0, 0, 0, 0.3);
}

.our-services-navigate button svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
}

.our-services-navigate button:hover {
  background-color: var(--primary-hover);
}

.our-services-list {
  padding: 20px 0;
  display: flex;
  gap: 20px;
}

.our-services-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 22px 25px;
  border-radius: var(--border-radius-secondary);
  background-color: var(--background-color);
  border: 1px solid var(--primary-color);
  max-width: 300px;
  text-align: center;
}

.our-services-item:nth-child(even) {
  background-color: var(--primary-color);
}

.our-services-item:nth-child(even) .subtitle,
.our-services-item:nth-child(even) .descr {
  color: var(--text-secondary);
}

.our-services-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.our-services-item .subtitle {
  font-family: var(--third-family);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-inverted);
  margin-bottom: 10px;
}

.our-services-item .descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--text-primary);
}

@media screen and (max-width: 1240px) {
  .our-services-list {
    gap: 15px;
  }
  .our-services-item {
    max-width: 250px;
    padding: 30px 20px 20px;
  }
  .our-services-item .subtitle {
    font-size: 20px;
  }
  .our-services-item .descr {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .our-services-list {
    flex-direction: column;
    align-items: center;
  }
  .our-services-item {
    width: 100%;
    max-width: 400px;
  }
  .our-services-navigate {
    display: none;
  }
}
.about-us {
  padding: 100px 0;
  background-color: var(--background-color);
}

.about-us .wrapper {
  position: relative;
  padding: 0 30px 30px 0;
  max-width: 630px;
  width: calc(50% - 80px);
}

.about-us .wrapper.left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 30px;
  right: 30px;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius-primary);
  z-index: 1;
}

.about-us .wrapper-img {
  position: relative;
  z-index: 2;
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-primary);
}

.about-us-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 630px;
  width: calc(50% - 80px);
  color: var(--text-primary);
}

.about-us-content .section-name {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.about-us-content .title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 36px;
  color: #333;
  margin-bottom: 22px;
}

.about-us-content .descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 167%;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.about-us-content .primary-btn {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 175%;
  background: var(--secondary-color);
  color: var(--text-secondary);
  padding: 8px 32px;
  border: none;
  border-radius: var(--border-radius-third);
  transition: background 0.3s ease;
}

.about-us-content .primary-btn:hover {
  background: var(--secondary-hover);
}

@media screen and (max-width: 1240px) {
  .about-us .wrapper {
    width: calc(50% - 50px);
    padding: 0 15px 15px 0;
  }
  .about-us-content {
    width: calc(50% - 50px);
  }
}

@media screen and (max-width: 768px) {
  .about-us .container {
    flex-direction: column-reverse;
    gap: 50px;
  }
  .about-us .wrapper,
  .about-us-content {
    width: 100%;
    padding: 0 15px;
  }
  .about-us-content .title {
    font-size: 32px;
  }
  .about-us-content .descr {
    font-size: 16px;
  }
}
.why-choose {
  padding: 100px 0;
  background-color: var(--background-color);
}

.why-choose-content {
  width: calc(50% - 80px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-choose-content .section-name {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary);
}

.why-choose-content .title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 36px;
  color: var(--text-inverted);
}

.why-choose-content .descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
}

.why-choose-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.why-choose-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-choose-item-wrap {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-item-wrap img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.why-choose-item .subtitle {
  font-family: var(--third-family);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-inverted);
  margin-bottom: 8px;
}

.why-choose-item .descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
}

.wrapper {
  width: calc(50% - 80px);
  position: relative;
  padding: 0 30px 30px 0;
}

.wrapper::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  bottom: 0;
  right: 0;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius-primary);
  z-index: 1;
}

.wrapper-img {
  position: relative;
  z-index: 2;
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-primary);
}

/* Responsive adjustments */
@media screen and (max-width: 1240px) {
  .why-choose-content {
    width: calc(50% - 50px);
  }
  .why-choose-list {
    gap: 20px;
  }
  .why-choose-item-wrap {
    width: 70px;
    height: 70px;
  }
  .why-choose-item-wrap img {
    width: 35px;
    height: 35px;
  }
}

@media screen and (max-width: 768px) {
  .container-flex {
    flex-direction: column-reverse;
    gap: 50px;
  }
  .why-choose-content,
  .wrapper {
    width: 100%;
    padding: 0 15px;
  }
  .why-choose-content .title {
    font-size: 32px;
  }
  .why-choose-content .descr {
    font-size: 16px;
  }
  .why-choose-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .why-choose-item-wrap {
    margin-bottom: 16px;
  }
  .why-choose-item .subtitle {
    font-size: 20px;
  }
  .why-choose-item .descr {
    font-size: 14px;
  }
  .wrapper::after {
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
  }
}
.why-choose {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
}

.why-choose-content .descr,
.why-choose-item .descr {
  color: #f0f0f0;
}
.success-stats {
  padding: 80px 0;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  color: #ffffff;
}

.success-stats .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.success-stats .title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 36px;
  margin-bottom: 60px;
  color: #ffffff;
}

.stats-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats-item {
  flex: 1 1 200px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--border-radius-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 48px;
  margin: 0 0 10px;
}

.stat-label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  margin: 0;
}

@media screen and (max-width: 900px) {
  .stats-list {
    gap: 20px;
  }
  .stats-item {
    flex: 1 1 45%;
    padding: 20px;
  }
  .stat-number {
    font-size: 36px;
  }
  .stat-label {
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  .stats-list {
    flex-direction: column;
    gap: 30px;
  }
  .stats-item {
    flex: 1 1 100%;
  }
}
.our-blog {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
}

.our-blog .container {
  max-width: 1200px;
  margin: 0 auto;
}

.our-blog-content {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}

.our-blog-content .section-name {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 12px;
}

.our-blog-content .title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 36px;
  color: #ffffff;
}

.our-blog-navigate {
  position: absolute;
  right: 0;
  bottom: -40px;
  display: flex;
  gap: 20px;
}

.our-blog-navigate button {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.our-blog-navigate button svg {
  stroke: #ffffff;
  width: 18px;
  height: 18px;
}

.our-blog-navigate button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.our-blog-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-secondary);
  overflow: hidden;
  text-align: left;
}

.our-blog-item .wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.our-blog-item .wrapper-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.our-blog-item .subtitle {
  font-family: var(--third-family);
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;
  margin: 0 20px 0 20px;
}

.our-blog-item .descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #f0f0f0;
  margin: 0 20px 20px 20px;
}

.our-blog-item .primary-btn {
  align-self: flex-start;
  margin: 0 20px 20px 20px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  background-color: #ffffff;
  color: var(--primary-color);
  padding: 8px 24px;
  border-radius: var(--border-radius-third);
  transition: background-color 0.3s ease;
}

.our-blog-item .primary-btn:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

@media screen and (max-width: 1240px) {
  .our-blog-content .title {
    font-size: 32px;
  }
  .our-blog-navigate {
    display: none;
  }
  .our-blog-item {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 768px) {
  .our-blog {
    padding: 60px 0;
  }
  .our-blog .container {
    padding: 0 15px;
  }
  .our-blog-content .subtitle {
    font-size: 20px;
  }
  .our-blog-item .subtitle {
    font-size: 20px;
  }
  .our-blog-item .descr {
    font-size: 14px;
  }
  .our-blog-item .wrapper {
    height: 150px;
  }
  .our-blog-item .primary-btn {
    font-size: 14px;
    padding: 6px 20px;
  }
  .our-blog-item {
    flex-direction: column;
  }
}
.contact {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--secondary-background), var(--background-color));
  color: var(--text-primary);
}

.contact .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-content .section-name {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 20px;
  color: var(--primary-color);
}

.contact-content .title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 36px;
  color: var(--text-inverted);
  margin: 0;
}

.contact-content .descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.contact-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--text-primary);
}

.contact-list-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-form {
  flex: 1 1 400px;
  background-color: var(--secondary-background);
  padding: 40px;
  border-radius: var(--border-radius-secondary);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.contact-form input {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  padding: 8px 12px;
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius-third);
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus {
  border-color: var(--secondary-color);
}

.contact-form .primary-btn {
  align-self: flex-start;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  background-color: var(--primary-color);
  color: var(--text-secondary);
  padding: 10px 28px;
  border: none;
  border-radius: var(--border-radius-third);
  transition: background-color 0.3s ease;
}

.contact-form .primary-btn:hover {
  background-color: var(--primary-hover);
}

@media screen and (max-width: 900px) {
  .contact .container {
    flex-direction: column;
    gap: 40px;
  }

  .contact-content,
  .contact-form {
    flex: 1 1 100%;
  }

  .contact-content .title {
    font-size: 32px;
  }

  .contact-content .descr {
    font-size: 16px;
  }
}
.footer {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.footer a {
  color: #f0f0f0;
  opacity: 0.8;
}

.footer a:hover {
  opacity: 1;
}

.footer h3 {
  color: #ffffff;
}

.footer-rights {
  color: #cccccc;
}
