:root {
  --primary-color: #0f3b5f;
  --secondary-color: #00c48c;
  --light: #f5f7fa;
  --dark: #4b5563;
  --font-family: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  font-family: var(--font-family);
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  color: var(--dark);
  background-color: var(--light);
}

header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 70px;
  padding: 15px 5%;
  background-color: #ffffff99;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 50;
}

header a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 25px;
}

.nav-menu li a {
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.15s ease;
}

.nav-menu li a:hover {
  color: var(--secondary-color);
}

.mobile-menu {
  display: none;
}

/* Hero section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 19.8rem 5% 5%;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.95),
      rgb(245, 247, 250, 0.95)
    ),
    url('https://images.pexels.com/photos/325229/pexels-photo-325229.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=');
  background-size: cover;
  background-position: top;
}

.hero-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-flow: row wrap;
  width: 100%;
  max-width: 1280px;
}

.hero-container section {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  max-width: 624px;
}

.hero-container section h1 {
  margin-bottom: 2.4rem;
  font-size: 6rem;
  font-weight: 800;
  line-height: 6rem;
  color: var(--primary-color);
}

.hero-container section p {
  margin-bottom: 3.2rem;
  font-size: 2rem;
  line-height: 1.4;
  color: var(--dark);
}

.btn {
  display: inline-block;
  margin-right: 10px;
  padding: 10px 16px;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--light);
  background-color: var(--primary-color);
  border-radius: 5px;
}

.btn:hover {
  background-color: #060606;
  transform: translateY(-3px);
  transition: all 0.3s ease;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 450px;
  height: 450px;
}

.outer-circle {
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: rgba(0, 196, 140, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.inner-circle {
  position: absolute;
  width: 350px;
  height: 350px;
  background-color: rgba(0, 196, 140, 0.2);
  border-radius: 50%;
  z-index: 2;
}

.hero-image-wrapper img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  z-index: 3;
}

/* Title in sections */
.section-title {
  margin-bottom: 6.4rem;
}

.section-title h2 {
  margin-bottom: 16px;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 4rem;
  letter-spacing: -0.09rem;
  text-align: center;
  color: var(--primary-color);
}

.section-title p {
  max-width: 672px;
  margin: 0 auto;
  font-size: 1.8rem;
  line-height: 2.8rem;
  text-align: center;
}

/* Solutions section */
.solutions-section {
  padding: 5%;
  background-color: white;
}

.solutions-container {
  max-width: 1280px;
  margin: 0 auto;
}

.solutions {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  height: auto;
  gap: 3rem;
}

.solution-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 3.2rem;
  max-width: 296px;
  min-width: 280px;
  height: auto;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
}

.solution-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  padding: 12px;
  font-size: 2.4rem;
  color: var(--primary-color);
  background-color: #0f3b5f1a;
  border-radius: 6px;
}

.solution-card h3 {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.8rem;
  color: var(--primary-color);
}

.solution-card p {
  font-size: 1.6rem;
  line-height: 2.4rem;
  text-align: center;
}

/* Features section */
.features-section {
  padding: 5%;
}

.features-container {
  max-width: 1280px;
  margin: 0 auto;
}

.features {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  height: auto;
  margin-bottom: 6.4rem;
  gap: 3rem;
}

.card-feature {
  display: flex;
  flex-direction: column;
  padding: 3.2rem;
  max-width: 296px;
  min-width: 280px;
  height: auto;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
}

.card-feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  padding: 12px;
  color: var(--primary-color);
  background-color: #0f3b5f1a;
  border-radius: 6px;
}

.card-feature h3 {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.8rem;
  color: var(--primary-color);
}

.card-feature p {
  font-size: 1.6rem;
  line-height: 2.4rem;
}

.features-container a {
  display: block;
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}

/* Testomonials section */
.testimonials-section {
  padding: 5%;
  background-color: white;
}

.testimonials-container {
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  height: auto;
  gap: 3rem;
}

.card-testimonial {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  min-width: 280px;
  padding: 3.2rem;
  background-color: var(--light);
  border-radius: 12px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  margin-bottom: 2.4rem;
  font-size: 1.6rem;
  line-height: 2.4rem;
}

.testimonial-author-container {
  display: flex;
  align-items: center;
}

.testimonial-author-container img {
  width: 48px;
  height: 48px;
  margin-right: 1.6rem;
  border-radius: 50%;
}

.testimonial-author-container div {
  display: flex;
  flex-direction: column;
}

.testimonial-author-name {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.4rem;
  color: var(--primary-color);
}

.testimonial-author-role {
  font-size: 1.4rem;
  line-height: 2rem;
  color: var(--dark);
}

/* Call to action section */
.call-to-action-section {
  padding: 5%;
}

.call-to-action-section .section-title {
  margin-bottom: 3.2rem;
}

.buttons-container {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
}

footer {
  background-color: var(--primary-color);
  color: var(--light);
  padding: 0 5%;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  gap: 3.2rem;
  padding: 6.4rem 0;
  font-size: 1.6rem;
}

.footer-column {
  max-width: 350px;
}

.footer-logo {
  margin-bottom: 3.2rem;
}

.logo-text {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 3.2rem;
}

.footer-description {
  color: #d1d5db;
}

.footer-column h3 {
  margin-bottom: 1.6rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  display: flex;
  align-items: center;
  margin-bottom: 1.6rem;
}

.icon-mask {
  margin-right: 12px;
  width: 24px;
  height: 24px;
  background-color: var(--secondary-color);
}

.icon-mask.email {
  mask: url('../assets/icons/mail-icon.png') no-repeat center;
}

.icon-mask.phone {
  mask: url('../assets/icons/phone-icon.png') no-repeat center;
}

.icon-mask.map-pin {
  mask: url('../assets/icons/map-pin-icon.png') no-repeat center;
}

.footer-column ul li a {
  font-size: 1.6rem;
  text-decoration: none;
  color: #d1d5db;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-copyright {
  padding: 3.2rem 0;
  font-size: 1.6rem;
  text-align: center;
  border-top: 1px solid #ffffff33;
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    background-color: var(--light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    z-index: 100;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    padding: 8px;
    margin-left: 15px;
  }

  .nav-menu li a {
    font-size: 1.6rem;
  }

  .mobile-menu {
    display: block;
    color: var(--primary-color);
    font-size: 2.4rem;
  }

  .hero-container section {
    margin-bottom: 5rem;
  }

  .hero-container section h1 {
    font-size: 3rem;
    line-height: 0.9;
    text-align: center;
  }

  .hero-container section p {
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: center;
  }

  .btn {
    display: block;
    width: 280px;
    margin: 5px auto;
    font-size: 1.4rem;
    text-align: center;
  }

  .hero-image-wrapper {
    height: 200px;
  }

  .outer-circle {
    width: 175px;
    height: 175px;
  }

  .inner-circle {
    width: 150px;
    height: 150px;
  }

  .hero-image-wrapper img {
    width: 125px;
    height: 125px;
  }

  .section-title h2 {
    font-size: 3rem;
    line-height: 3.6rem;
  }

  .solutions-section {
    padding: 96px 5%;
  }

  .features-section {
    padding: 96px 5%;
  }

  .testimonials-section {
    padding: 96px 5%;
  }

  .call-to-action-section {
    padding: 96px 5%;
  }
}
