:root {
  --textColor: #192b47;
  --color1: #f4f8ff;
  --font1: "Assistant", sans-serif;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

body {
  font-family: var(--font1);
  font-size: 16px;
  line-height: 1.5em;
  color: var(textColor);
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
}

main {
  flex: 1;
}

.page {
  padding: 40px 0;
}

* {
  box-sizing: border-box;
}

a,
:visited {
  text-decoration: none;
}

a,
a.link:visited,
a.link:hover {
  color: inherit;
}

a.link {
  font-weight: 700;
}

a.link:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

ol,
ul {
  padding: 0;
  margin: 0;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.2em;
}

p {
  margin: 0;
  line-height: 1.3em;
}

.btn {
  font-size: 20px;
  color: rgb(244, 248, 255);
  background: #2563eb;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-style: none;
  border-color: #24af62;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn span {
  font-size: 14px;
  margin-top: 5px;
  font-weight: 400;
}

.btn:hover {
  background-color: #174fbf;
}

/**** HEADER ****/
header {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
  border-bottom: 1px solid #e3e3e3;
  padding: 20px 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header a {
  float: left;
  color: black;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}

header ul {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

.header a:hover {
  background-color: #ddd;
  color: black;
}

.header a.active {
  background-color: dodgerblue;
  color: white;
}

.header-right {
  float: right;
}

@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  .header-right {
    float: none;
  }
}

@media screen and (max-width: 550px) {
  header .container {
    flex-direction: column;
  }

  header .logo {
    margin-bottom: 20px;
  }
}

.title {
  text-align: center;
  margin-bottom: 35px;
}

.title h2 {
  font-size: 30px;
}

.btn-wrapper {
  text-align: center;
  margin-top: 25px;
}

.btn-wrapper h4 {
  font-size: 25px;
}

.btn-wrapper p {
  margin: 5px 0 25px;
}

.benefits,
.testimonials,
footer .copy {
  background: var(--color1);
}

section {
  padding: 50px 0;
}

/**** FOOTER ****/
footer {
  font-size: 0.9rem;
}

footer h4 {
  margin-bottom: 8px;
}

footer .copy {
  padding: 40px 0;
}

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

footer .copy .container {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 600px) {
  footer .copy .container {
    flex-direction: column;
  }
}

/**** HERO SECTION ****/
.hero-image {
  background: url("../images/hero-image.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  padding: 40px 0;
  min-height: 600px;

  @media screen and (min-width: 1200px) {
    background-size: cover;
  }
}

.hero-image h1 {
  font-size: 36px;
}

.hero-image h2 {
  margin: 25px 0;
}

.hero-image .text p {
  margin: 45px 0;
}

.hero-image .text {
  max-width: 600px;
  background: rgba(244, 248, 255, 0.8);
  padding: 20px;
  border-radius: 8px;
}

.hero-image .btn-wrapper {
  text-align: left;
}

/**** BENEFITS ****/
.benefits .list-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.benefits .list-wrapper .image {
  border-radius: 5px;
  overflow: hidden;
}

.benefits .list li {
  font-size: 25px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefits .list li:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 700px) {
  .benefits .list-wrapper > div:first-child {
    flex-basis: calc(40% - 20px);
  }

  .benefits .list-wrapper > div:last-child {
    flex-basis: calc(60% - 20px);
  }
}

@media screen and (max-width: 699px) {
  .benefits .list-wrapper .image {
    order: 2;
  }
}

/**** AREAS ****/
.areas .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  flex-direction: column;
}

.areas .boxes > div {
  background: var(--textColor);
  color: #ffffff;
  border-radius: 5px;
  overflow: hidden;
}

.areas .boxes h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.areas .boxes .text {
  padding: 15px 20px 30px 20px;
}

@media screen and (min-width: 680px) {
  .areas .boxes {
    flex-direction: row;
  }

  .areas .boxes > div {
    width: calc(50% - 20px);
  }
}

@media screen and (min-width: 992px) {
  .areas .boxes > div {
    width: calc(33% - 20px);
  }
}

/**** STEPS ****/
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.steps > div {
  background: #f4f8ff;
  border-radius: 5px;
  padding: 15px 15px;
  box-shadow: 0px 0px 12px 3px rgba(0, 0, 0, 0.12);
}

.steps .icon {
  font-size: 40px;
  margin: 20px 0;
  color: #4885fb;
}

.steps h3 {
  font-size: 25px;
}

.steps p {
  font-size: 14px;
}

@media screen and (min-width: 680px) {
  .steps {
    flex-direction: row;
  }

  .steps > div {
    width: calc(50% - 20px);
  }
}

@media screen and (min-width: 992px) {
  .steps > div {
    width: calc(33% - 20px);
  }
}

/**** REQUEST PAGE ****/
.success-alert {
  text-align: center;
  padding: 15px;
  background-color: #4caf50;
  color: white;
  border: 1px solid #4caf50;
  border-radius: 5px;
  margin-top: 20px;
  font-size: 16px;
  display: none;
}

.error-alert {
  text-align: center;
  padding: 15px;
  background-color: #f44336;
  color: white;
  border: 1px solid #f44336;
  border-radius: 5px;
  margin-top: 20px;
  font-size: 16px;
  display: none;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.75rem;
  background-color: #004080;
  color: white;
  border: none;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background-color: #0066cc;
}

/**** INFO PAGE ****/
.info h3 {
  margin: 25px 0 15px;
  font-size: 27px;
}

.info .scroll-link:hover {
  text-decoration: underline;
}
