* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}


.header {
  background: #D5D8D2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(24px, 5vw, 112px);
  border-bottom: 1px solid #F6F7F6;
}

.header .empty {
 width: 95px;
}

.logo {
  font-weight: bold;
  font-size: 24px;
  margin-right: 24px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links li a {
  text-decoration: none;
  color: #6E7B66;
  font-weight: 500;
  font-size: 16px;
}

.nav-links li .home {
  color: #232A1F;
}

.hero {
  background: #D5D8D2;
  padding: 64px clamp(24px, 5vw, 112px);
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;

}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text h1 {
  max-width: 500px;
  line-height: 88px;
  font-weight: 600;
  font-size: 80px;
  color: #9E815E;
  margin-bottom: 16px;
}

.hero-text p {
  max-width: 600px;
  font-size: 40px;
  color: #2C3627;
  line-height: 48px;
}

.hero-image {
  position: relative;
}
.hero-image img {
  max-width: 100%;
  height: auto;
}

.hero-image .credit-card {
  position: absolute;
  bottom: 6%;
  right: 60%;
}

.about {
  text-align: center;
  padding: 60px clamp(24px, 5vw, 112px);
}

.about h2 {
  color: #9E815E;
  font-size: 36px;
  margin-bottom: 12px;
}

.about p {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  color: #232A1F;
  font-size: 18px;
  line-height: 28px;
}

.map-block {
  background: #D5D8D2;
  margin: 0 clamp(24px, 5vw, 112px);
  border-radius: 32px;
  padding: 32px 24px;
  margin-top: 24px;
}

.world-map img {
  width: 100%;
  margin: 20px 0;
  max-height: 500px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
  background-color: #42503B;
  padding:16px 0;
  border-radius: 24px;
}

.stats .count {
  color: #fff;
  font-size: 36px;
  font-weight: 600;
}

.stats .text {
  color: #EDEFEC;
  font-size: 18px;
  margin-top: 8px;
}

.services h2,h5{
  text-align: center;
}

.services h2 {
  color: #9E815E;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 12px;
}

.services h5 {
  font-size: 18px;
  margin-bottom: 40px;
  color: #2C3627;
  font-weight: 400;
}

.service-card {
  margin-bottom: 24px;
}

.service-card .icon {
  width: 40px;
  height: 40px;
  background: #EFF5EC;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-card p {
  margin:16px 0 8px 0;
  color: #232A1F;
  font-size: 20px;
  font-weight: 600;
}

.service-card .desc {
  max-width: 500px;
  color: #2C3627;
  font-size: 16px;
  font-weight: 400;
}

.services-grid {
  margin-top: 20px;
  padding: 0 clamp(24px, 5vw, 112px);
  display: grid;
  grid-template-columns: 1fr 1fr
}

.clients {
  padding: 60px 0;
}

.clients h2{
  text-align: center;
}

.clients h2 {
  color: #9E815E;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 64px;
}

.client-logos  {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
 }

.client-logos img {
 margin-right: 8px;
}

.client-logos .client-block {
  display: flex;
}

.blog-section {
  padding: 60px 20px;
  text-align: center;
}

.badge {
  width: 50px;
  height: 24px;
  color: #6cbe6c;
  font-weight: bold;
  font-size: 14px;
  background-color: #EFF5EC;
  padding: 2px 10px;
  margin: 0 auto;
  border-radius: 150px;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
}

.blog-section h2 {
  color: #9E815E;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 12px;
}

.intro {
  max-width: 600px;
  color: #344051;
  font-size: 18px;
  font-weight: 400;
  margin: 0 auto 64px;
}

.articles {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  width: 300px;
  overflow: hidden;
  text-align: left;
}

.card img {
  width: 100%;
  height: auto;
}

.card-content {
  padding: 24px 16px;
}

.card-content .person-icon {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.card-content .person-name {
  font-size: 14px;
  font-weight: 500;
}

.card-content .active-time {
  font-size: 12px;
  font-weight: 400;
}

.card-content h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 10px;
}

.card-content .author {
  font-size: 12px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.card-content p {
  font-size: 16px;
  font-weight: 400;
 
}

.card-content .desc{
  margin-bottom: 24px;
  color: #2C3627;
  line-height: 24px;
}

.tags .count {
  background: #F2F4F7;
  color: #344051;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 150px;
}

.view-all {
  font-size: 16px;
  font-weight: 600;
  margin: 32px auto 60px ;
  padding: 12px 24px;
  background-color: #232A1F;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.subscribe {
  padding: 64px clamp(24px, 5vw, 112px);
}

.subscribe-content {
  background: #f2f3ed;
  margin: 0 auto;
  background-image: url('images/shapes.svg');
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  border-radius: 20px;
}

.subscribe-content .email {
  max-width: 70%;
  padding: 64px;
}

.subscribe-content h3 {
  color: #9E815E;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  margin-bottom: 16px;
}

.subscribe-content p {
  color: #2C3627;
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 40px;
  
}

.subscribe-content input[type="email"] {
  padding: 10px;
  width: 60%;
  max-width: 300px;
  margin-right: 10px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
}

.subscribe-content button {
  padding: 10px 20px;
  background-color: #518234;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.footer {
  background-color: #B3BAAF;
  color: #2C3627;
  padding: 40px clamp(24px, 5vw, 112px);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-about {
  flex: 1 1 250px;
}

.footer-about p {
  margin: 24px 0 32px 0;
  font-size: 16px;
  line-height: 24px;
}

.social-icons a {
  margin-right: 10px;
  font-size: 18px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex: 2 1 600px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links .contact img {
 margin-right: 8px;
}

.footer-links div {
  min-width: 120px;
}

.footer-links h4 {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 18px;
}

.footer-links a,
.footer-links p {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #1c1c1c;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #E3E5E1;
  margin-top: 32px;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 16px;
  color: #2C3627;
}

.footer-bottom span {
  color: #E3E5E1;
}

.footer-bottom a {
  color: #1c1c1c;
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}


@media only screen and (max-width:900px) {
  .header .logo {
    margin-right: 24px;
  }
  .hero-text h1 {
    font-size: 50px;
    line-height: 55px;
  }
  .hero-text p {
    font-size: 20px;
    line-height: 25px;
  }
  .hero-content {
    flex-direction: column;
  }
  .hero-image .credit-card {
    right: 10%;
    bottom: 3%;
  }
  .hero-image {
    margin-top: 20px;
  }
  .subscribe-content .email {
    max-width: 100%;
  }
}

@media only screen and (max-width:770px) {
  .services-grid {
    grid-template-columns: 1fr 
  }
  .subscribe-content form {
    display: flex;
    flex-direction: column;
  }
  .subscribe-content input[type="email"] {
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
  }
  .client-logos  {
    display: flex;
    flex-direction: column;
    align-items: center;
   }
   .client-block {
    margin-bottom: 10px;
   }
   .nav-links {
    flex-direction: column;
    gap: 0;
   }
}
