@font-face {
  font-family: "Cabinet";
  src: url(CabinetGrotesk-Variable.ttf);
}
@font-face {
  font-family: "Satoshi";
  src: url(Satoshi-Variable.ttf);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}
body {
  font-family: "Cabinet", sans-serif;
  background-color: #f8f5f1;
}

/* Hero Section */
.hero-section {
  background: url("assests/about-page.avif") no-repeat center/cover;
  height: 60vh;
  position: relative;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 🔴 Overlay to darken background */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 48%);
  z-index: 1;
}

/* 🟡 Make sure all inner content stays above overlay */
.hero-section * {
  position: relative;
  z-index: 2;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}
.logo1 img {
  width: 160px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
  justify-content: center;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-family: "Cabinet";
  font-size: 1.1vw;
}
.active-nav {
  background-color: #e2252d;
  padding: 12px;
  border-radius: 6px;
}
.visit-btn {
  background-color: #e2252d;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Cabinet";
  font-size: 1.1vw;
}
.visit-btn {
  background-color: #e2252d;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Cabinet";
  font-size: 1.1vw;
}
.visit-btn a {
  color: white;
  text-decoration: none;
}
/* Hero Content */
.hero-content {
  text-align: center;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 17vh;
}
.hero-content h1 {
  font-family: "Cabinet";
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
}
/* 2nd */
.tag {
  background: #e2252d;
  color: white;
  border: none;
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 20px;
  width: fit-content;
}
.container {
  padding: 40px 20px 10px 20px;
}
.featured-projects {
  padding: 40px 66px;
}
.subheading {
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 1px;
}

.main-heading {
  font-size: 32px;
  margin: 10px 0;
  line-height: 1.3;
}

.divider {
  border: none;
  border-top: 1px solid #2a3d3f;
  margin: 30px 20px;
}

.project-card {
  padding: 0 20px;
  margin-bottom: 40px;
  display: flex;
}

.card-text {
  width: 35%;
}
.card-text h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 500;
}

.card-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.card-content img {
  width: 450px;
  height: 300px;
  object-fit: cover;
  max-width: 100%;
  border-radius: 4px;
}

.details {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.details p {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 18px;
}

.category {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 10px;
  color: #111;
}

.link {
  font-size: 14px;
  text-decoration: none;
  color: #e2252d;
  font-weight: 500;
  display: inline-block;
  margin-top: 10px;
}

.link span {
  font-size: 14px;
  vertical-align: middle;
}

/* Services */
#section-services{
  padding-bottom: 60px;
}
.wrapper-services {
  /* max-width: 1000px; */
  width: 100vw;
  margin: auto;
  padding: 20px 76px;
}

.label-services {
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.title-services {
  font-size: 40px;
  margin-bottom: 20px;
  color: #111;
}

.item-service {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  padding: 30px 0;
}

.block-icon-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 600px;
}

.block-icon-title img {
  width: 48px;
  margin-bottom: 10px;
}

.title-item {
  font-size: 22px;
  margin: 0;
  font-weight: 500;
}

.text-description {
  flex: 1;
  font-size: 19px;
  line-height: 1.6;
  color: #333;
}

hr {
  border: none;
  border-top: 1px solid #e0e0e0;
}

/* FOOTER */
footer {
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  color: #fff;
  background-color: #e2252d;
}
#footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 40px 30px;
  background-color: #e2252d;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

#footer-brand img {
  width: 200px;
  margin-bottom: 10px;
}

#footer-brand p {
  margin: 6px 0;
}

#footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

#footer-social img {
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid #fff;
  border-radius: 10px;
}

#footer-nav,
#footer-resources,
#footer-location {
  min-width: 180px;
}

#footer-nav h4,
#footer-resources h4,
#footer-location h4 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: bold;
}

#footer-nav ul,
#footer-resources ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#footer-nav li,
#footer-resources li {
  margin-bottom: 10px;
  color: #fff;
}

#footer-nav a,
#footer-resources a,
#footer-location a {
  text-decoration: none;
  color: #fff;
}
#footer-location {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#footer-location img {
  width: 18px;
  vertical-align: middle;
  margin-right: 6px;
  margin-top: 5px;
}

#footer-bottom {
  margin-top: 40px;
  padding: 20px 40px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
  color: #fff;
  background-color: #e2252d;
}

#footer-links a {
  text-decoration: none;
  color: #fff;
  margin: 0 5px;
}
footer h4 {
  font-family: "Cabinet";
}
#footer-location .box {
  display: flex;
  align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
  .card-content {
    flex-direction: column;
  }

  .card-content img {
    width: 100%;
    height: auto;
  }

  .main-heading {
    font-size: 24px;
  }
  .item-service {
    flex-direction: column;
    gap: 20px;
  }

  .block-icon-title {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }

  .title-item {
    font-size: 20px;
  }
}
