/*=============================*/
/*=======Header=========*/
/*=============================*/

.header {
  display: flex;
  align-items: center;
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
  margin-bottom: 3rem;
  transition: all 0.3s;
}

.header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0 4.8rem;
}

.main-nav {
  flex: 1;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.main__nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
  margin: 0;
  padding: 0;
}

.header-logo {
  height: 6.2rem;
}

/*=============================*/
/*======HOME Page=========*/
/*=============================*/

.hero__content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-box {
  width: 100%;
}

/*=============================*/
/*====Highlight section=========*/
/*=============================*/

.main-highlight {
  /* height: 100vh; */
  margin-top: var(--margin-top-section);
  padding-top: 10rem;
  background-image: linear-gradient(
      to bottom,
      rgba(24, 177, 76, 1),
      rgba(10, 75, 32, 1)
    ),
    url(../Images/highlight-sec-bg-min.png);

  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

.text-highlight {
  color: var(--color-accent);
}

.main-highlight__content {
  display: flex;
  font-family: var(--serif-font);
  color: var(--color-white);
}

.main-highlight__text-box {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  flex: 1;
}

.main-highlight__heading {
  font-size: 5.2rem;
  line-height: 1.2;
  margin-bottom: 3rem;
  text-transform: capitalize;
}

.list-wrapper {
  display: flex;
  gap: 3.2rem;
}

.main-highlight__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-highlight__item {
  position: relative;
  font-size: 2rem;
  padding-left: 3rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.main-highlight__item::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  background-color: var(--color-white);
  border-radius: 50%;
}

.main-highlight__image-box {
  position: relative;
  width: 100%;
  flex: 1;
  margin-bottom: -0.5px;
}

.main-highlight__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: -5rem;

  position: relative;
  z-index: 500;
}

.main-highlight__image-box::before {
  content: "";
  display: inline-block;
  width: 22.9rem;
  height: 22.9rem;
  background: linear-gradient(
    to bottom,
    var(--color-accent) 0%,
    var(--color-accent) 39%,
    var(--color-primary-shade-1) 100%
  );
  border-radius: 6.2rem;
  position: absolute;
  top: 19%;
  left: 12%;
  z-index: 500;
}

.main-highlight__cta-box {
  display: flex;
  justify-content: left;
  align-items: center;
  /* text-align: center; */
  margin-top: 0.5rem;
}

.highlight__cta-icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-white);
  margin-right: 0.8rem;
}

/*=============================*/
/*WHY CHOOSE US SECTION*/
/*=============================*/

.why-choose-us {
  margin-top: var(--margin-top-section) !important;
}

.why-choose-us__content {
  margin-bottom: var(--section-content-gap);
  display: flex;
}

.why-choose-us__text-box {
  width: 100%;
  flex: 1;
}

.why-choose-us__image-box {
  display: flex;
  justify-content: center;
  width: 100%;
  flex: 1;
}

.why-choose-us__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* padding-top: -16rem !important; */
  /* background-size: cover; */
}

a.why-choose-us__cta {
  transform: scale(1);
  transition: all 0.3s;
}

.why-choose-us__cta:link,
.why-choose-us__cta:visited {
  font-size: 1.6rem;
  font-weight: 400;
  padding: 1.8rem 2.4rem;
  font-family: sans-serif;
  border-radius: 5rem;
  background-color: var(--color-accent-3);
  color: var(--color-white);
  text-decoration: none;
  box-shadow: 0 0 0 2px rgba(24, 100, 171, 0.6);

  display: flex;
  justify-content: center;
  align-items: center;
}

.why-choose-us__cta:hover,
.why-choose-us__cta:active {
  /* box-shadow: 0 0 0 5px rgba(19, 80, 137, 0.8); */
  background: var(--color-accent-2);

  transform: scale(1.05);
  /* box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.12); */
}

/* Cards of why choose us section */

.why-choose-us__cards {
  display: flex;
  gap: 8.8rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem;
}

.why-choose-us__card {
  width: 40%;
  height: 27.8rem;
  border-radius: 1rem;
  padding: 5rem;
  border: 1px solid var(--color-primary);
  background: linear-gradient(to bottom, #ffffff, #ebecf4);
  /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
  position: relative;
  transition: all 0.3s;
  /* z-index: 1; */
}

.why-choose-us__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.why-choose-us__card::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary-tint-1);
  border-radius: 1rem;
  /* filter: blur(2px); */
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.why-choose-us__card:hover::before {
  opacity: 1;
}

.why-choose-us__card-subtitle {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-top: 2.6rem;
}

.why-choose-us__card-number {
  font-size: 3.6rem;
  font-weight: 400;
  font-family: var(--serif-font);
  position: absolute;
  top: 77%;
  right: 7%;
}

/*=============================*/
/*HOW IT WORKS SECTION*/
/*=============================*/

.how-it-works {
  margin-top: var(--margin-top-section) !important;
}

.how-it-works__card-wrapper {
  display: flex;
  gap: 7.2rem;
  margin-top: 8.5rem;
  text-align: center;
}

.how-it-works__card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.how-it-works__card-icon-box {
  height: 6.2rem;
  /* width: 8.2rem; */
  position: relative;
  z-index: 1;
  margin: 0 auto 0 auto;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .how-it-works__card-icon-box::before {
  content: "";
  display: inline-block;
  height: 8.4rem;
  width: 8.4rem;
  border-radius: 50%;
  background-color: var(--color-primary-tint-1);
  position: absolute;
  top: 50%;
  left: -75%;
  transform: translate(-50%, -50%);
  z-index: -1;
} */

.how-it-works__card-icon {
  width: 100%;
  height: 100%;
  display: block;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: relative;
}

.how-it-works__card-title {
  font-size: 2.4rem;
  font-weight: 100;
  line-height: 1.6;
  font-family: var(--serif-font);
}

.how-it-works__card-description {
  font-size: 1.6rem;
  line-height: 1.6;
}

.seprator {
  width: 100%;
  height: 0.1rem;
  background-color: var(--color-accent-4);
  margin-top: 10.2rem;
  margin-bottom: 10.2rem;
}

/*=============================*/
/*HOME BLOG SECTION*/
/*=============================*/

.blog__related-row-home {
  display: flex;
  gap: 3rem;
  justify-content: center;
}

.blog__related-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin: 0;
  padding: 0;
}

.blog__related-link:hover {
  text-decoration: underline;
}

.blog__related-image-box-home {
  width: 36rem;
  height: 22.1rem;
  border-radius: 1rem;
  background-color: var(--color-grey-light-1);
  margin-bottom: 3.4rem;
  overflow: hidden;

  /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
}

.blog__related-image-home {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}

/*=============================*/
/*FOOTER SECTION*/
/*=============================*/

.footer {
  margin-top: var(--margin-top-section) !important;
  padding-bottom: 3rem;
}

.footer__wrapper {
  display: flex;
  gap: var(--section-content-gap);
}

.footer-logo {
  height: 9.2rem;
  width: 9.2rem;
}

.footer__nav-col {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.9rem;
}

.footer__nav-col:nth-child(2) .footer__heading {
  white-space: nowrap;
  font-size: 2rem;
  font-weight: 500;
}

.footer__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--color-grey-dark-2);
}

.footer__heading {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.footer__nav-item {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
  display: inline-block;
}

.social-links-box {
  display: flex;
  gap: 6.2rem;
  margin-top: 1rem;
}

.footer__social-icon {
  height: 3.2rem;
  width: 3.2rem;
  color: var(--color-black);
  position: relative;
  z-index: 1;
}

.footer__social-icon::before {
  content: "";
  display: inline-block;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: #e9ecef;

  position: absolute;
  top: -36%;
  left: 53%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.footer__address {
  display: flex;
  justify-content: center;
}

/*=============================*/
/*=======FOOTER BOTTOM=========*/
/*=============================*/

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  border-top: 1px solid var(--color-grey-light-1);
  margin-top: 7.2rem;
  padding-top: 3.9rem;
  font-size: 1.2rem;
}

.center-text {
  /* flex: 1; */
  text-align: center;
}

.right-text {
  text-align: right;
}

/*=============================*/
/*==========ABOUT Page=========*/
/*=============================*/

.about-nav {
  color: var(--color-white) !important;
}

.about-hero__wrapper {
  height: 90vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(../Images/about-hero-bg-min.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.about-hero__content {
  position: absolute;
  top: 40%;
  left: 10%;
  /* translate: translate (-50%, -50%); */
}

.about-hero__title {
  font-size: 6.4rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 1.8rem;
}

.about-hero__subtitle {
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-white);
}

/* Intro section */

.about-intro {
  padding: 10rem 8rem 0rem 8rem;
  position: relative;
}

.about-intro__box {
  margin-bottom: 8.2rem;
}

.about-intro__heading {
  font-size: 3.2rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.about-heading__line {
  width: 6.4rem;
  height: 0.4rem;
  background-color: var(--color-primary);
  border-radius: 50rem;
  margin-bottom: 2rem;
}

.about-intro__text {
  font-size: 1.8rem;
  line-height: 1.4;
  /* width: 77ch; */
}

/* About values */

.about-values {
  height: 100vh;
  margin-top: 10rem;
  margin-bottom: 10rem;
  padding: 8rem 0;
  background-image: linear-gradient(
      to bottom,
      rgba(24, 177, 76, 1),
      rgba(10, 75, 32, 1)
    ),
    url(../Images/values-sec-bg-min.jpg);

  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;

  color: var(--color-white);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.about-values__title {
  width: 100%;
  font-size: 6.2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.6rem;
}

.about-values__subtitle {
  width: 100%;
  font-size: 3.2rem;

  text-align: center;
}

.about-values__grid {
  display: flex;
  flex-wrap: wrap;
  row-gap: 4.8rem;
  column-gap: 3.2rem;

  padding: 8rem 0 !important;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 70%;
}

.about-values__item {
  min-width: 30%;
}

.about-values__item-title {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
}

.about-values__item-text {
  font-size: 1.6rem;
  line-height: 1.4;
}

/*=============================*/
/*======BLOG Page=========*/
/*=============================*/

.article-section {
  margin-top: 10.8rem;
}

.blog {
  display: flex;
  flex-direction: column;
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  justify-content: center;
  align-items: center;
}

.blog__related {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog__related-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center; /* optional: center items nicely */
}

.blog__related-items {
  flex: 0 0 calc(33.333% - 2rem);
  box-sizing: border-box;
}

.blog__header {
  margin-left: 4.2rem;
  /* display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start; */
}

.blog__reading-time {
  font-size: 1.8rem;
  color: var(--color-grey-light-2);
  margin-top: 4.2rem;
}

.blog__reading-time::after {
  content: "";
  display: inline-block;
  height: 0.2rem;
  width: 60rem;
  background-color: var(--color-primary);
  vertical-align: middle;
  margin-left: 2rem;
}

.blog__meta {
  display: flex;
  gap: 1.6rem;
  margin-top: 3.4rem;
}

.blog__author {
  font-size: 2rem;
  font-weight: 500;
  /* color: var(--color-grey-light-2); */
}

.blog__date {
  font-size: 1.8rem;
  color: var(--color-grey-light-2);
  border-left: 2px solid var(--color-grey-light-1);
  padding-left: 1.6rem;
  margin-bottom: 6.4rem;
}

/* .blog__img-box {
  background-color: var(--color-grey-light-1);
} */

.box-1 {
  width: 100%;
  height: 39rem;
}

.box-2 {
  width: 70%;
  height: 39rem;
}

/* Blog Question */

.blog__question {
  width: 70%;
  margin-top: 3.2rem;
}

.blog__question-text {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  padding-left: 1.6rem;
  border-left: 0.3rem solid var(--color-black);
}

.blog__question-text-2 {
  color: var(--color-primary);
  border-left: 0.3rem solid var(--color-primary);
}

/* Blog body */

.blog__paragraph {
  width: 60ch;
  font-size: 2rem;
  line-height: 1.6;
}

/* Blog Quote */

.blog__quote {
  width: 70%;
  position: relative;
  margin-top: 6.4rem;
}

/* .blog__quote-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  font-size: 1.5rem;
  border: 1px solid var(--color-primary);
  border-radius: 50%;

  position: absolute;
  top: 12%;
  left: 43%;
  transform: translate(-50%, -50%);
} */

.blog__quote-quotes {
  font-size: 7.2rem;
  font-weight: 600;
  color: var(--color-grey-dark-1);
  padding-bottom: 5.4rem;
  padding-top: 2.1rem;
}

.blog__quote-quotes::before {
  content: "";
  display: inline-block;
  width: 40%;
  height: 0.2rem;
  background-color: var(--color-grey-light-1);
  vertical-align: middle;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);

  /* padding-left: 1.6rem; */
}

.blog__quote-quotes::after {
  content: "";
  display: inline-block;
  width: 40%;
  height: 0.2rem;
  background-color: var(--color-grey-light-1);
  vertical-align: middle;
}

.blog__quote-text {
  font-size: 3rem;
  line-height: 1.8;
  color: var(--color-grey-dark-1);
  padding-bottom: 5.4rem;
}

.blog__quote-author {
  font-size: 3rem;
  font-weight: 600;
  position: absolute;
  top: 90%;
  right: 15%;
}

/* Related Articles */

.blog__related {
  width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  margin-top: 4rem;
}

.blog__related-row {
  display: flex;

  gap: 2rem;
  column-gap: 2.8rem;
}

.blog__related-items {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 5rem;
}

.blog__related-image-box {
  width: 45%;
  height: 10.7rem;
  border-radius: 10px;
}

.blog__related-image {
  height: 100%;
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  display: block;
}

.blog__related-text-box {
  width: 80%;
}

.blog__related-title {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-grey-dark-1);
}

.related-article__meta-box {
  display: flex;
  gap: 1rem;
  margin-top: 1.6rem;
  align-items: center;
  color: var(--color-grey-dark-1);
  /* justify-content: center; */
}

.blog__related-authors-name {
  font-size: 1.2rem;
  /* font-weight: 600; */
}

.blog__related-circle {
  height: 0.7rem;
  width: 0.7rem;
  border-radius: 50%;
  background-color: var(--color-black);
}

.blog__related-date {
  font-size: 1.2rem;
  /* font-weight: 600; */
}

/***********************/
/* Gallery page */
/*************************/
.gallery-wrapper {
  padding: 3.2rem 0;
  margin: 0 auto;
}

.gallery-heading {
  font-size: 4.2rem;
  font-family: var(--serif-font);
  padding-bottom: 1.6rem;
  padding-left: 6.4rem;

  position: relative;
}

.gallery-heading::before {
  content: "";
  display: inline-block;
  max-width: 7.2rem;
  width: 100%;
  height: 0.2rem;
  background: var(--color-primary);
  border-radius: 1rem;

  position: absolute;
  top: 100%;
}

.gallery__images-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
  margin-top: 6.2rem;
}

.gallery__item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 1rem;
  transition: all 0.3s;
}

.gallery__item img {
  display: block;
  height: 30rem;
  object-fit: cover;
  object-position: center;
  border-radius: 0.2rem;
  transition: all 0.3s;
}

.portrait img {
  object-position: top;
  object-fit: cover;
}

.gallery__item.special-bg {
  width: 32rem; /* box width */
  height: 30rem; /* fixed height */
  background-size: cover; /* fill box, crop if needed */
  background-position: top;
  border-radius: 1rem;
}

.gallery__item:hover {
  transform: scale(1.03);
  border: 4px solid var(--color-primary);

  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);  */
}

/* Lightbox styles */
#lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 5rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

#lightbox img {
  margin: auto;
  display: block;
  border-radius: 1rem;
  max-width: 90%;
  max-height: 80vh;
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 6rem;
  font-weight: bold;
  cursor: pointer;
}
