/* COLORS
#135089
#e7f5ff
 */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  padding-top: 8.4rem;
}
/* .container {
  max-width: 1200px; /* keep content readable */
/*margin: 0 auto;  center horizontally */
/* padding: 0 2rem;  space on left & right for small devices */

.grid {
  display: grid;
  /* align-items: center;
  justify-content: center; */
}

/* .grid-2-cols {
  grid-template-columns: repeat(2, 1fr);
} */

.grid-3-cols {
  grid-template-columns: repeat(3, 1fr);
  /* gap: 3.2rem; */
}

.grid-2-cols {
  grid-template-columns: repeat(2, 1fr);
  /* gap: 3.2rem; */
}

.footer-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: 0 7.2rem 0 12.8rem;
  gap: 9.6rem;
}

.heading-primary {
  font-size: 5.8rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 4.8rem;
  margin-right: 3.2rem;
}

.heading-secondary {
  font-size: 4.8rem;
  font-weight: 700;
  color: #135089;
  padding-bottom: 4.8rem;
}
.heading-tertiary {
  font-size: 4rem;
  font-weight: 700;
  color: #135089;
}

/* ****************************** */
/* HEADER */
/* ****************************** */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8.4rem;
  padding: 0 4.8rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  border-radius: 1.2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 6rem;
}

.main-nav-list {
  list-style: none;
  display: flex;
  gap: 3.2rem;
  justify-content: center;
  align-items: center;
}

.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #135089;
  font-weight: 700;
}

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  width: 3.6rem;
  height: 3.6rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* ****************************** */
/* HERO SECTION */
/* ****************************** */

.section-hero {
  margin-bottom: 3.2rem;
}

.hero,
.about,
.service,
.contact-page {
  position: relative;
  margin: 0 auto;
  background-image: url(../images/home/hero.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4.8rem 0;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  color: white;
}

.hero::before,
.about::before,
.service::before,
.contact-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* Dark overlay for better text visibility */
}

.hero-text-box,
.about-text-box,
.contact-page-text-box,
.service-text-box {
  position: relative;
  max-width: 700px;
  padding: 3.6rem 2.4rem;
  /* padding-left: 3.2rem; */
  z-index: 1;
}

/* .hero-img {
  width: 100%;
} */

.hero-description,
.about-description,
.contact-page-description {
  font-size: 2rem;
  line-height: 1.6;
}

/* ****************************** */
/* INTRO */
/* ****************************** */

.section-intro,
.section-why,
.section-mission,
.section-special,
.section-services,
.section-area,
.section-contact {
  padding: 6.4rem 4.8rem;
}
.intro,
.mission,
.special,
.contact-page {
  display: flex;
  gap: 8.4rem;
  /* padding: 4.8rem 9.6rem 4.8rem 9.6rem; */
  align-items: center;
  justify-content: space-between;
  /* justify-content: center; */
}

.intro,
.intro-img {
  max-width: 100%;
  width: 100%;
  flex: 1 1 auto;
}

.intro-text,
.mission-text,
.special-text-box,
.contact-page-text-box {
  font-size: 2rem;
  line-height: 2.8rem;
  margin-bottom: 2.4rem;
}

.intro-img img,
.mission-img img,
.special-img img,
.intro img {
  width: 52.7rem; /* lets it shrink */
  /* adjust this to control size */
  height: auto; /* keeps aspect ratio */
  display: block; /* Removes inline spacing */
  margin: 0 auto;
  align-self: center;
}

/* ****************************** */
/*SECTION WHY */
/* ****************************** */

.features-title {
  margin-bottom: 16px;
  font-size: 2rem;
  font-weight: 500;
  color: #135089;
}

.features-text {
  font-size: 1.6rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.2rem;
}

.features {
  /* padding: 3.2rem 4.8rem; */
  gap: 3.2rem;
}

.feature-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
}

.features-icon {
  color: #135089;
  /* background-color: rgb(208, 219, 228); */
  width: 4.8rem;
  height: 4.8rem;
  margin-bottom: 2.8rem;
  /* padding: 0.9rem;
  border-radius: 50%; */
}

/* ****************************** */
/* Trust builder */
/* ****************************** */

.trust-builders {
  position: relative;
  background-image: url("../images/home/trust.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 9.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  z-index: 1;
}

.trust-builders::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: -1;
}

.trust-heading {
  font-size: 2.4rem;
  color: #fdfeff;
  padding-bottom: 2.4rem;
}

.trust-text {
  font-size: 1.6rem;
  color: #fdfeff;
}

.trust-btn-container {
  padding-top: 3.6rem;
}

.btn-trust {
  font-size: 1.8rem;
  font-weight: 500;
  color: #fdfeff;
  padding-bottom: 1.2rem;
}
.btn-trust a {
  text-decoration: none;
  color: #fdfeff;
}

/* ****************************** */
/* FOOTER */
/* ****************************** */

.footer {
  padding: 7.6rem;
  border-top: 1px solid #ddd;
  background-color: #e7f5ff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  gap: 7.6rem;
  align-items: start;
  padding: 0 2rem;
}

.logo-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
}

.footer-logo {
  width: auto;
  height: 6rem;
  display: block;
  /* margin-bottom: 3.2rem; */
}

.copyright {
  margin-top: 2.4rem;
  font-size: 1.4rem;
  color: #777;
  line-height: 1.6;
  padding-left: 1.8rem;
  /* margin-top: auto; */
}

.contacts {
  font-style: normal;
  line-height: 1.6;
  color: #777;
}
.contacts div {
  display: flex;
  align-items: center; /* keep icon aligned with text */
  gap: 0.8rem; /* spacing between icon and email */
  white-space: nowrap;
}

.contacts-icon {
  font-size: 1.6rem;
}

.contacts a:link,
.contacts a:visited {
  font-size: 1.6rem;
  line-height: 1.6;
  text-decoration: none;
  color: #777;
  margin-left: 0.8rem;
  text-align: left;
  transition: all 0.3s;
}

.contacts a:hover,
.contacts a:active {
  font-weight: 500;
  color: #555;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 3.2rem;
}

.footer-nav {
  list-style: none;
}

.footer-nav {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #777;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
  font-weight: 500;
}

/* *******************************
**************  ABOUT PAGE ********
********************************* */

.about {
  background-image: url(../images/about/about\ us.jpg);
  justify-content: center;
}

.service {
  background-image: url(../images/services/service-hero.jpg);
  justify-content: center;
}

.mission-points {
  padding-top: 3.2rem;
}

.mission-list,
.special-list {
  padding: 1.2rem 0 3.2rem 0;
  list-style: none;
}

.mission-list-el,
.special-el {
  gap: 1.2rem;
  align-items: flex-start;
  display: flex;
  padding-bottom: 1rem;
}
.mission-icon,
.special-icon {
  flex-shrink: 0;
  font-size: 2.2rem;
  color: #135089;
  margin-top: 0.2rem; /* adjust if needed */
}

.special-img {
  padding-left: 3.2rem;
  flex: 1;
}

.special-text-box {
  background-color: #135089;
  padding: 4.8rem 4.8rem 4.8rem 4.8rem;
  color: white;
  border-radius: 1.2rem;
  box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.5);
  flex: 1;
}
.special-text-box p {
  padding-bottom: 3.2rem;
}

.special-icon {
  color: white;
}
.special {
  width: 100%;
}

.intro.offer {
  display: flex;
  gap: 5.2rem;
  padding: 3.6rem 6.4rem;

  justify-content: space-around;
  background-color: #135089;
  margin: 6.4rem 1.2rem 1.2rem 1.2rem;
  color: white;
  border-radius: 1.2rem;
  box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.5);
}
.col {
  margin-bottom: 9.6rem;
}

.custom-text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.2rem;
  padding: 0 4.8rem 4.8rem 4.8rem;
}
.custom-text {
  font-size: 1.8rem;
  text-align: center;
  line-height: 1.6;
}

.service-contact {
  font-size: 1.8rem;
  color: white;
  background-color: #135089;
  padding: 1.2rem;
  border-radius: 0.7rem;
  border: 2px solid #135089;
  transition: all 0.3s;
  font-weight: 500;
  text-decoration: none;
}

.service-contact:hover,
.service-contact:active {
  color: #135089;
  background-color: #e7f5ff;
  font-weight: 500;
}

.section-contact {
  gap: 12.8rem;
  padding-left: 12.8rem;
  padding-right: 12.8rem;
}

.contact {
  display: flex;
  flex-direction: column;
  font-size: 1.8rem;
  border-radius: 1.2rem;
  border: 1px solid #dbe8f5;
  padding: 3.2rem;
  line-height: 1.8;
  box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.5);
}

.contact a {
  /* text-decoration: none; */
  color: #333;
  font-size: 2rem;
  transition: all 0.3s;
}

.contact a:hover,
.contact a:active {
  color: #135089;
  font-weight: 500;
}

.contact p {
  scroll-padding-top: 4.8rem;
}

.area-list {
  font-size: 2.4rem;
  line-height: 1.8;
  padding-left: 3.6rem;
}
.area-el.last {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-weight: 450;
  color: #135089;
  padding-bottom: 4.8rem;
}
.area-icon {
  color: #135089;
  font-size: 2.6rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-page {
  background-image: url(../images/contact/hero.jpg);
  justify-content: center;
}

.section-urgent {
  position: relative;
  background-image: url("../images/contact/urgent.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 9.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  z-index: 1;
  gap: 2.4rem;
}

.section-urgent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: -1;
}

.urgent-heading {
  font-size: 4.8rem;
}

.urgent-text {
  font-size: 1.8rem;
}

.urgent-list {
  list-style: none;
  font-size: 1.8rem;
  line-height: 1.6;
}

.section-urgent a:link,
.section-urgent a:visited {
  color: white;
  font-size: 1.8rem;
  font-weight: 500;
  transition: all 0.3s;
}

.section-urgent a:hover,
.section-urgent a:active {
  color: #d1e0ee;
  font-weight: 700;
}
