:root {
  --primary-color: #0077ae;
  --primary-dark: #005c87;
  --secondary-color: #64748b;
  --tertiary-color: #11131d;
  --background: #ffffff;
  --text-color: #666;
  --border-radius: 15px;
  --border-color: #83a790;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../fonts/be-veitnam-pro/BeVietnamPro-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../fonts/be-veitnam-pro/BeVietnamPro-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../fonts/be-veitnam-pro/BeVietnamPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Be Vietnam";
  src: url("../fonts/be-vietnam/BeVietnam-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Be Vietnam";
  src: url("../fonts/be-vietnam/BeVietnam-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Be Vietnam";
  src: url("../fonts/be-vietnam/BeVietnam-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit/Outfit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 15px;
  line-height: 23px;
  color: var(--text-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 0.375rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  border: 0.75px solid #666;
  background: transparent;
  color: var(--tertiary-color);
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-rounded {
  border-radius: 30px;
}

.truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

figure {
  overflow: hidden;
}
figure img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-medium);
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  font-size: 14px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
}

ul {
  list-style: none;
}

section {
  padding: 50px 0;
}

.section-with-visuals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.section-with-visuals .stacked-images {
  display: flex;
  width: 50%;
}
.section-with-visuals .content {
  width: 50%;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 45px;
  padding-bottom: 20px;
  margin-bottom: 34px;
  border-bottom: 2px solid var(--border-color);
}
.section-heading h2,
.heading-2 {
  color: var(--tertiary-color);
  leading-trim: both;
  text-edge: cap;
  font-size: 32px;
  font-weight: medium;
  line-height: 40px;
  width: 440px;
}
.section-heading > div {
  width: 400px;
}
.section-heading h4 {
  margin-bottom: 10px;
  color: var(--tertiary-color);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

.icon-holder {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.icon-holder:hover {
  background: var(--primary-dark);
  color: #fff;
}

.icon-holder svg {
  transition: transform 0.3s ease;
}

.icon-holder.hidden {
  opacity: 0;
  pointer-events: none;
}

.bordered-image {
  position: relative;
  display: inline-block;
  border-radius: var(--border-radius);
  overflow: visible;
}

.bordered-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.bordered-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  transition: all 0.3s ease;
  width: 102%;
  height: 102%;
}
.bordered-image.blue::before {
  background: var(--primary-color);
}

.bordered-image.white::before {
  background: var(--background);
  border: 2px solid #fff;
}
.bordered-image.left::before {
  top: -8px;
  left: -8px;
  right: 0;
  bottom: 10px;
}
.bordered-image.right::before {
  top: -8px;
  right: -8px;
  left: 0;
  bottom: 10px;
}

.bordered-image.small {
  max-width: 172px;
  height: 200px;
  position: relative;
  z-index: 9;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
}
