/* main orange = #14532d 
border #5b876c
background color  #e8eeea*/

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

html {
  font-size: 62.5%;
  color: #333333;
  scroll-behavior: smooth;
}

.a-links:link,
.a-links:visited {
  text-decoration: none;
  color: #333;
}

.body {
  font-family: rubik, sans-serif;
  height: 100dvh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 0.1rem;

  overflow-x: hidden;
}

.nav {
  border-right: 0.2rem solid rgba(91, 135, 108, 0.2);

  font-size: 2.4rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.8rem;
  padding-top: 4.8rem;
}

.nav:hover {
  box-shadow: 0 0 0.8rem rgba(91, 135, 108, 0.4);
}

.nav-img {
  height: 16rem;
  border-radius: 50%;
  border: 2px solid #14532d;
  animation: nav-img-animate 10s linear infinite;
  transition: all 0.3s;
}

@keyframes nav-img-animate {
  0% {
    box-shadow: 0 0 0 rgba(16, 66, 36, 0.2);
  }
  50% {
    box-shadow: 0 0 0.5rem 1rem rgba(16, 66, 36, 0.2);
  }
  100% {
    box-shadow: 0 0 0 rgba(16, 66, 36, 0.2);
  }
}

/* .nav-img:hover {
  box-shadow: 0 0 0.5rem 1rem rgba(91, 135, 108, 0.1);
} */

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
}

.nav-list-item:link,
.nav-list-item:visited {
  color: #333333;
  text-decoration: none;
  display: flex;

  align-items: center;
  gap: 1.6rem;

  .nav-text,
  .nav-icon {
    transition: all 0.3s;
  }
}

.nav-list-item:hover,
.nav-list-item:active,
.current-indi {
  .nav-text {
    background-color: #e8eeea;
    border-left: 2px solid #104224;
    transform: scale(1.2);
    transform: translateX(10px);
  }
  .nav-icon {
    color: #14532d;
    transform: scale(1.5);
  }
}

/* for current select indicator in nav bar */
/* .current-indi {
  color: #14532d;
  transform: scale(1.2);
} */

.nav-icon {
  font-size: 3.2rem;
}

.nav-text {
  padding: 0.6rem 1.8rem;
  border-radius: 10px;
}

.quick-links {
  /* width: 100%; */

  /* margin: auto 0 5rem 0; */
  margin: auto 0 0.5rem 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.quick-links-text {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
}

.quick-links-icon-box {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.quick-links-icon:link,
.quick-links-icon:visited {
  color: #000;
  font-size: 3.8rem;
}
.quick-links-icon:hover,
.quick-links-icon:active {
  color: #14532d;
}
.connect-btn-mobile {
  display: none;
}

.connect-btn {
  position: relative;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 2px;
  width: 100%;
  text-decoration: none;
  color: #fff;
  background-color: #14532d;
  text-align: center;
  /* background-color: linear-gradient(135deg, #124b29, #14532d); */
  /* display: flex; */
  padding: 2rem;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s;
}
.connect-btn:hover {
  /* background: linear-gradient(135deg, rgba(20, 83, 45, 0.8), rgba(67, 117, 87, 0.6)); */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
}
.connect-btn:active {
  transform: scale(1);
}
.connect-btn::after {
  /* generate me a circle with color white */
  width: 10rem;
  height: 10rem;
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  /* left: -50%; */

  opacity: 0.5;
  /* z-index: -1; */
  transform: scale(1.01);
  border-radius: 100%;
  background-color: #000;
  transition: all 0.3s;
}
.connect-btn::before {
  /* generate me a circle with color white */
  width: 10rem;
  height: 10rem;
  content: "";
  position: absolute;
  top: -30%;
  right: -60%;
  /* right: -50%; */

  opacity: 0.5;
  /* z-index: -1; */
  transform: scale(1.01);
  border-radius: 100%;
  background-color: #000;
  transition: all 0.3s;
}
.connect-btn:hover::after {
  left: -40%;
}
.connect-btn:hover::before {
  right: -40%;
}
/* .connect-btn::after {
  content: "";
  /* this should move left to right and viceversa to give an effect */
/* position: absolute;
  top: 0;
  left: -50%;
  height: 100%;
  width: 100%; */

/* give me a background color with a glow */
/* background:linear-gradient(135deg,transparent, rgba(255,255,255,0.5),transparent); */
/* make a glow and blur effect */
/* filter: blur(10px);
  z-index: 0;
  opacity: 0.2;
  animation: connect-btn-animate 5s linear infinite; */
/* }  */
/* @keyframes connect-btn-animate {
  0%{
    left: -50%;
   }
   50%{
    left: 50%;
   }
  100%{
    left: -50%;
   }
} */

/* ==========================================
HERO CONTANT
============================================== */

.back-img {
  position: fixed;
  background: -webkit-linear-gradient(to left, #2c6442, #437557);
  background: #124b29;
  height: 100dvh;
  width: 100%;
  z-index: -99;
}

/* ==================================================
------------------ css background animation -------
==================================================== */

.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  animation: animate 25s linear infinite;
  bottom: -150px;
}

.circles li:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.circles li:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.circles li:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.circles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.circles li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.circles li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.circles li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.circles li:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.circles li:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.circles li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

/* ================================================== */

.back-img-in {
  position: relative;
}

.back-img-in::after {
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translate(0%, -50%);

  content: "";
  height: 30rem;
  width: 30rem;
  /* background-color: #14532d; */
  border-radius: 50%;

  z-index: -999;
}

.main {
  overflow: auto;
  scroll-behavior: smooth;
}

.hero {
  position: relative;
  height: 100dvh;
  padding: 0 4rem;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.1),
    #fff,
    rgba(208, 221, 213, 0.8)
  );
}

.hero-h1 {
  font-size: 4.8rem;
  font-weight: 400;
  color: #fff;
}

.hero-para {
  font-size: 4.8rem;
  font-variant: small-caps;
  line-height: 60px;
}
.hero-para span {
  color: #fff;
  font-weight: 700;
  /* color: linear-gradient(135deg, rgba(20, 83, 45, 0.8), rgba(67, 117, 87, 0.6)); */
  background: linear-gradient(
    135deg,
    rgba(47, 79, 79, 0.8),
    rgba(112, 128, 144, 0.6)
  );
  /* padding: 0rem 0.5rem 0rem 0.5rem; */
  padding: 0rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.3);
  /* animation: hero-para-span-animate 10s ease infinite; */
}
.hero-para-second {
  /* display: inline-block; */
  text-align: right;
  margin-right: 10rem;
  font-size: 2rem;
  margin-top: 2rem;
  color: #333;
  font-weight: 300;
  line-height: 25px;
  /* transform: translateX(100%); */
}

.hero-back-grid {
  position: absolute;
  top: 50%;
  /* right: 50%; */
  width: 50rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr 1fr;

  transform: translateY(-50%);
  /* align-self: center; */
}

.hero-back-grid-img {
  height: 20rem;
  width: 20rem;

  z-index: -5;
}

.hero-back-grid-img:first-child {
  background-image: linear-gradient(120deg, #14532d, #729881, #a1baab, #d0ddd5);
  animation: hero-back-grid-animate 5s linear infinite;
}
.hero-back-grid-img:last-child {
  background-image: linear-gradient(340deg, #729881, #a1baab, #d0ddd5, #ffffff);
  animation: hero-back-grid-animate 10s linear infinite;
}

@keyframes hero-back-grid-animate {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

.hero-back-grid-br-right {
  border-right: 0.1px solid rgba(20, 83, 45, 0.1);
}
.hero-back-grid-br-bottom {
  border-bottom: 0.1px solid rgba(20, 83, 45, 0.1);
}
.hero-back-grid-br-left {
  border-left: 1px solid #000;
}
.hero-back-grid-br-top {
  border-top: 1px solid #000;
}

.hero-text-box {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.hero-button-box {
  position: absolute;
  bottom: 5%;
  right: 50%;
  transform: translateX(50%);

  display: flex;
  gap: 2rem;
}

.hero-button:link,
.hero-button:visited,
.contact-btn:link,
.contact-btn:visited {
  color: #333;
  text-decoration: none;
  display: flex;
  gap: 1.2rem;
  align-items: center;

  padding: 0.8rem 0.8rem;
  background-color: #fff;
  border-radius: 10px;

  transition: all 0.3s;
}

.hero-button:hover {
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
}

.hero-button:active {
  box-shadow: none;
}
.contact-btn:link,
.contact-btn:visited {
  font-size: 2.2rem;
  color: #fff;
  /* background: #124b29; */
  background: linear-gradient(135deg, #124b29);
  /* background: linear-gradient(135deg, rgba(47, 79, 79, 0.8), rgba(112, 128, 144, 0.6)); */
}
.contact-btn-icon {
  display: inline-block;
  font-size: 3.2rem;
  color: #fff;
}
.contact-btn:hover {
  /* background: rgba(20, 83, 45, 0.8); */
  background: linear-gradient(
    135deg,
    rgba(20, 83, 45, 0.8),
    rgba(67, 117, 87, 0.6)
  );
}
.contact-btn:active {
  background: linear-gradient(
    135deg,
    rgba(47, 79, 79, 0.8),
    rgba(112, 128, 144, 0.6)
  );
}

.hero-button-p {
  display: inline-block;
  font-size: 2.2rem;
}

.hero-button-icon {
  display: inline-block;
  font-size: 3.2rem;
  color: #14532d;
}

/*============================================================
featured project section 
===============================================================*/

.featured-project {
  /* height: 100vh; */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 2.8rem;
  margin-bottom: 5rem;
}

.featured-project-h2 {
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-block;
  background-color: #fff;

  margin: 4rem 0;
  padding: 1.2rem 0.8rem;
  border-radius: 10px;
}

.featured-project-div {
  position: relative;
  width: 95%;
  margin: 0 2.8rem;
}

.featured-project-left-icon,
.featured-project-right-icon {
  position: absolute;
  border-radius: 50%;
  font-size: 4.8rem;
  color: #fff;

  cursor: pointer;
  transition: all 0.3s;
  z-index: 99;
}
.featured-project-left-icon {
  top: 50%;
  transform: translate(-100%, -50%);
}
.featured-project-right-icon {
  top: 50%;
  right: 0%;
  transform: translate(100%, -50%);
}

.featured-project-left-icon:active,
.featured-project-right-icon:active {
  color: #14532d;
}

.featured-project-scroll {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;

  border-radius: 10px;
  /* box-shadow: 0 -1 1rem rgba(0, 0, 0, 0.3); */
}

.featured-project-carosol {
  /* width: 100rem; */
  background-color: rgba(255, 255, 255, 1);
  display: flex;
  gap: 4rem;
  margin: 3rem 2rem 3rem 2rem;
  padding: 0 1.2rem;
  border-radius: 10px;

  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
  /* justify-content: space-between; */
  align-items: center;
}

.featured-project-carosol-fig {
  height: 30rem;
  width: 30rem;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);

  transform: scale(1.2);
  /* overflow: hidden; */
}

.carosol-text {
  width: 40rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}
.featured-project-h3 {
  font-size: 2.8rem;
  text-transform: uppercase;
  color: #14532d;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
}

.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;

  align-items: center;
}
.featured-tags span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  color: #fff;
  /* background-color: #14532d; */
  background: linear-gradient(120deg, #437557, #437557);

  padding: 0.4rem 0.4rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.featured-tags span:hover {
  cursor: default;
  background: linear-gradient(120deg, #14532d, #729881);
}

.featured-project-carosol-p {
  font-size: 1.6rem;
  opacity: 0.7;
}

.featured-project-carosol-btn:link,
.featured-project-carosol-btn:visited {
  color: #14532d;
  font-size: 2.4rem;

  transform: translateY(10%);
  transition: all 0.3s;

  margin-left: auto;
  margin-right: 1rem;
}
.featured-project-carosol-btn:hover {
  color: #437557;
}
.featured-project-carosol-btn:active {
  color: #14532d;
}

/* =========================================================
========  about me section =======================
========================================================= */

.now-about-me,
.orgi-about-me {
  overflow: hidden;
  background-image: linear-gradient(#fff, #fff, #d0ddd5);
}

.about-me-h2 {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-block;
  background-color: #fff;

  margin: 4rem 0;
  padding: 1.2rem 0.8rem;
  border-radius: 10px;
}

.about-me-grid {
  display: grid;
  grid-template-columns: 8fr 1fr;
  /* grid-template-rows: 2fr 1fr; */
  gap: 1rem;
  width: 95%;
  margin: 1rem auto;
  padding: 2rem 0;
}

.about-me-box {
  padding: 1rem 3rem;
  /* gap: 2rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: space-around; */

  /* border-radius: 10px; */
}

.about-me-box-h3 {
  font-size: 3.2rem;
  margin: 1rem 0.8rem;
  color: #14532d;
  grid-column: 1/3;
  justify-self: center;
}

.about-me-box-p {
  font-size: 2rem;
  margin: 1rem 0.8rem;
  text-transform: capitalize;
  text-align: justify;
  line-height: 1.5;
}
.about-me-box-h {
  font-size: 2.5rem;

  margin: 3rem auto 0.8rem 0.8rem;
  color: rgba(20, 83, 45, 0.9);
}

.about-me-skill {
  grid-column: 2;
  padding: 1rem 0.8rem;
  border-radius: 10px;
}

.about-me-skill-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-me-skill-li {
  height: 10rem;
  width: 10rem;
  font-size: 2rem;
}

.about-me-skill-li:last-child {
  background-image: linear-gradient(
    120deg,
    #14532d,
    #729881,
    #a1baab,
    #d0ddd5,
    #ffffff
  );
  animation: hero-back-grid-animate 5s linear 5s infinite;
}

.about-me-resume {
  grid-row: 2;
  grid-column: 1 / -1;

  padding: 1rem 1rem;
  display: flex;
  gap: 2rem;
  justify-content: end;
  align-items: center;

  border-radius: 10px;
}

.about-me-resume-p {
  font-size: 1.6rem;
}

.about-me-resume-a:link,
.about-me-resume-a:visited {
  font-size: 2rem;
  text-decoration: none;
  background-color: #14532d;
  color: #fff;

  padding: 1rem 1.8rem;
  border-radius: 20px;
}

.about-me-resume-a:hover {
  background-color: #0e3a1f;
}
.about-me-resume-a:active {
  background-color: #14532d;
}
/* --- old about me new code */
.about-me-contact {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  grid-column: 1 / 3;
  justify-self: center;
  /* align-self: center; */
  text-align: center;
  align-self: center;
  background: linear-gradient(
    135deg,
    rgba(47, 79, 79, 0.3),
    rgba(112, 128, 144, 0.2)
  );
  background-color: #e8eeea;
  max-width: 80%;
  border-radius: 10px;
  margin-top: 5rem;
  padding: 2rem 10rem;
  transition: all 0.4s ease;
}
.about-me-contact:hover {
  background: linear-gradient(
    135deg,
    rgba(20, 83, 45, 0.15),
    /* Dark green tint */ rgba(114, 152, 129, 0.25),
    /* Mid green */ rgba(161, 186, 171, 0.35),
    /* Light green */ rgba(208, 221, 213, 0.25) /* Lightest green */
  );
  box-shadow:
    0 1rem 3rem rgba(20, 83, 45, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6); /* Glossy highlight */
  transform: translateY(-2px);
}
.about-me-contact-p {
  font-size: 2.5rem;
}
.about-me-contact-a {
  position: relative;
  color: #f8f9fa;
  text-decoration: none;
  font-size: 3rem;
  background-color: #14532d;
  padding: 1rem 2rem;
  width: 60%;
  margin: auto;
  border-radius: 10px;
  z-index: 1;
  overflow: hidden;
  transition: all 0.3s;
}
.about-me-contact-a:hover {
  /* background: linear-gradient(135deg, rgba(20, 83, 45, 0.8), rgba(67, 117, 87, 0.6)); */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  transform: scale(1.01);
}
.about-me-contact-a:active {
  transform: scale(1);
}
.about-me-contact-a::after {
  /* generate me a circle with color white */
  width: 10rem;
  height: 10rem;
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  /* left: -50%; */

  opacity: 0.5;
  /* z-index: -1; */
  transform: scale(1.01);
  border-radius: 100%;
  background-color: #000;
  transition: all 0.3s;
}
.about-me-contact-a::before {
  /* generate me a circle with color white */
  width: 10rem;
  height: 10rem;
  content: "";
  position: absolute;
  top: -40%;
  right: -40%;
  /* right: -50%; */

  opacity: 0.5;
  /* z-index: -1; */
  transform: scale(1.01);
  border-radius: 100%;
  background-color: #000;
  transition: all 0.3s;
}
.about-me-contact-a:hover::after {
  left: -10%;
}
.about-me-contact-a:hover::before {
  right: -10%;
}
.about-me-scroll-div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* justify-content: center; */
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  width: 100%;
  overflow: hidden;
}

.about-me-scroll-items {
  /* width: max-content; */
  overflow: hidden;
  /* position: relative; */
  /* min-width: 150%; */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}
.about-ex {
  display: flex;
  /* align-items: space-evenly; */
  gap: 2rem;
  width: max-content;
  animation: scrollRighttoLeft 15s linear infinite;
  /* transition: all 0.3s; */
  /* transform: translateX(-50%); */
  /* will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px; */
}
@keyframes scrollRighttoLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.about-me-scroll-item {
  color: #f8f9fa;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(47, 79, 79, 0.8),
    rgba(112, 128, 144, 0.6)
  );
  border-radius: 10px;
}
/* --- new about me new code */
.new-about-page {
  /* width: 100%; */
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin: 2rem 2rem 0 2rem;
}
.now-about-me-box-h3 {
  font-size: 3.2rem;
  margin: 1rem 0.8rem;
  color: #14532d;
  text-align: center;
}
.client-div {
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;

  /* transform: translateX(-100px);
  opacity: 0.1;
  transition: all 0.5s ease-out; */
}
.me-div {
  text-align: right;
  width: 100%;
  display: flex;
  flex-direction: column;

  /* transform: translateX(100px);
  opacity: 0.1;
  transition: all 0.5s ease-out; */
}
.client-div,
.me-div {
  opacity: 0;
  transition:
    transform 0.6s ease-out,
    opacity 0.6s ease-out;
}

.client-div {
  transform: translateX(-100px);
}

.me-div {
  transform: translateX(100px);
}
.about-me-p1 {
  /* color:#f8f9fa ; */
  font-size: 1.4rem;
  font-weight: 800;
  width: fit-content;
  /* letter-spacing: 1px; */
  /* display: inline-block; */
  padding: 1rem 1.4rem;
  border-radius: 1rem;
  /* background-color: #2c6442; */
  /* margin-right:auto ; */
  margin-bottom: 1rem;
  /* box-shadow:
    0 4px 24px rgba(20, 83, 45, 0.25),
    0 1.5px 4px rgba(0,0,0,0.18); */
  box-shadow:
    rgba(0, 0, 0, 0.6) 0px 3px 60px -12px inset,
    rgba(0, 0, 0, 0.6) 0px 18px 36px -18px inset;
  /* animation: about-p1-animate 10s linear infinite; */
}
/* @keyframes about-p1-animate {
  0%{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 60px -12px inset, rgba(0, 0, 0, 0.1) 0px 18px 36px -18px inset;
  }
  50%{
    box-shadow: rgba(0, 0, 0, 0.6) 0px 3px 60px -12px inset, rgba(0, 0, 0, 0.6) 0px 18px 36px -18px inset;
  }
  100%{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 60px -12px inset, rgba(0, 0, 0, 0.1) 0px 18px 36px -18px inset;
  }
} */

.about-me-p2 {
  width: fit-content;
  max-width: 70rem;
  /* display: inline-block; */
  font-size: 1.8rem;
  padding: 1rem 1.4rem;
  border-radius: 1rem;
  background-color: #fff;
  border-bottom: 2px solid #14532d;
  margin: 0 0 0 3rem;

  line-height: 35px;
  box-shadow: 0 0 1rem rgba(114, 152, 129, 0.5);
}
.me-div .about-me-p2 {
  margin-left: auto;
  margin-right: 3rem;
  text-align: left;
}
.me-div .about-me-p1 {
  align-items: right;
  justify-content: right;
  align-self: right;
  margin-left: auto;
  /* background-color: #e0f2e9; */
}
.me-about-time {
  display: block;
  text-align: right;
  font-size: 1rem;
  margin: 0.5rem 4rem;
}
.client-about-time {
  display: block;
  text-align: left;
  font-size: 1rem;
  margin: 0.5rem 4rem;
  /* transform: translate(30px,5px); */
}

.about-me-btn-div {
  width: 100%;
  padding: 1rem 0;
  background-color: rgba(161, 186, 171, 0.5);
  /* background-color: rgb(255, 255, 255, 0.6); */
  margin-top: 5rem;
  box-shadow: 0 -5rem 5rem 5rem rgba(161, 186, 171, 0.5);
}
.about-me-btn {
  text-decoration: none;
}
.about-me-btn-p {
  /* text-align: center; */
  width: fit-content;
  /* background-color: #14532d; */
  color: #14532d;
  padding: 1.5rem 3rem;
  margin: auto;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.5rem;
  transition: all 0.3s;
  /* box-shadow: 0 -5rem 5rem 2rem rgba(255, 255, 255, 0.3); */
  /* border-radius: 10px; */
}

/* ---------------- */
/* -------- logos ----------- */
.logos-section {
  /* overflow: hidden;  Hide items outside bounds */
  width: 100%; /* Or specific width */
  background-image: linear-gradient(0deg, #fff, #fff, #fff, #d0ddd5);
  /* Optional: Fade edges for polish */
}
.logos-div {
  display: flex;
  justify-content: space-around;
  /* gap: 2rem;                    Space between items */
  /* width: max-content;           CRITICAL: Expands to fit all items */
  /* animation: scrollRighttoLeft 20s linear infinite; */
}
.logos-item {
  padding: 1rem 2rem;
}
.logos-icon {
  font-size: 2.5rem;
  /* flex-shrink: 0;        Prevent items from compressing */
  /* white-space: nowrap;   Keep text on one line */
  opacity: 0.7;
}
.logos-item {
  display: flex;
  gap: 1rem;
  /* flex-direction: column; */
  align-items: center;
}
.logos-item-p {
  font-size: 1.5rem;
  letter-spacing: 2px;
  /* margin-top: 0.5rem; */
  color: #333;
  opacity: 0.7;
}

/* =================================================================
----------------- contact -------------------------------------------
==================================================================== */

.contact {
  background: none;
  color: #333;
}

.contact-box {
  display: flex;

  justify-content: space-around;
  margin: 5rem;
}

.contact-box-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 25rem;
}

.contact-box-inner:first-child {
  width: 35rem;
}

.contact-box-inner-h4 {
  color: #14532d;
  font-size: 2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1rem;

  background-image: linear-gradient(#fff, #e8eeea, #d0ddd5);
  border-radius: 5px;
  padding: 1.5rem 1rem;
  text-align: center;
}

.contact-box-inner-ul {
  height: 100%;
  list-style: none;
  font-size: 1.8rem;

  background-image: linear-gradient(#fff, #e8eeea, #d0ddd5);
  border-radius: 5px;
  padding: 1.5rem 2rem;
}

.contact-box-inner-li {
  display: flex;
  column-gap: 1rem;
  text-decoration: none;
  margin-top: 1rem;
  align-items: center;

  transition: all 0.3s;
}

.contact-box-inner-li:hover {
  .contact-links-icon,
  .contact-links-text {
    color: #14532d;
  }
}

.contact-links-icon {
  color: #000;
  font-size: 3.8rem;

  transform: translateY(10%);
  transition: all 0.3s;
}

.contact-links-text {
  color: #333;
  text-decoration: none;
  text-transform: capitalize;
  transition: all 0.3s;
}
.contact-links-text-email {
  text-transform: none;
}

/* =================================================================
---------------------- modal -------------------------------
=================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8),
    rgba(20, 83, 45, 0.6)
  );
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  padding: 3rem;
  border-radius: 2rem;
  max-width: 50rem;
  width: 90%;
  position: relative;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(20, 83, 45, 0.1);
  animation: modalSlideIn 0.4s ease-out;
  z-index: 99999 !important;
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.8) translateY(-2rem);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-content h2 {
  color: #14532d;
  font-size: 2.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  cursor: pointer;
  color: #14532d;
  transition: all 0.3s ease;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
  background: #14532d;
  color: #fff;
  transform: rotate(90deg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1.5rem;
  border: 2px solid rgba(20, 83, 45, 0.2);
  border-radius: 1rem;
  font-size: 1.6rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #14532d;
  box-shadow: 0 0.5rem 1rem rgba(20, 83, 45, 0.2);
  background: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(51, 51, 51, 0.6);
  font-style: italic;
}

.contact-form textarea {
  resize: vertical;
  min-height: 12rem;
}

.contact-form button {
  padding: 1.5rem;
  background: linear-gradient(135deg, #14532d, #2d6a4f);
  color: #fff;
  border: none;
  border-radius: 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  box-shadow: 0 0.5rem 1rem rgba(20, 83, 45, 0.3);
}

.contact-form button:hover {
  background: linear-gradient(135deg, #0e3a1f, #1b4332);
  transform: translateY(-0.2rem);
  box-shadow: 0 1rem 2rem rgba(20, 83, 45, 0.4);
}

.contact-form button:active {
  transform: translateY(0);
  box-shadow: 0 0.5rem 1rem rgba(20, 83, 45, 0.3);
}

.modal-contact-info {
  margin-top: 2rem;
  display: flex;
  /* flex-direction: column;
  align-items: center; */
  justify-content: center;
  gap: 2rem;
}

.modal-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

a.modal-contact-item .modal-contact-,
a.modal-contact-item .modal-contact-text {
  cursor: pointer;
  transition: all 0.3s;
}

/* a.modal-contact-item:hover {
  text-decoration: underline;
} */

a.modal-contact-item:hover .modal-contact-icon,
a.modal-contact-item:hover .modal-contact-text {
  color: #25d366;
}

.modal-contact-icon {
  font-size: 2rem;
  color: #14532d;
}

.modal-contact-text {
  font-size: 1.4rem;
  color: #333;
  font-weight: 500;
  text-decoration: none;
}

.modal-separator {
  font-size: 2rem;
  color: #14532d;
  font-weight: bold;
}

/* =================================================================
---------------------- skill matrix -------------------------------
=================================================================== */

.skill-matrix {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0.3rem;

  margin: 0.3rem;
  background-color: rgba(255, 255, 255, 0.1);
}

.skill-matrix-fig {
  height: 17.7rem;
  width: 23.15rem;
  font-size: 4rem;
  font-weight: 400;
  color: rgba(51, 51, 51, 0.8);
  text-transform: uppercase;
  text-align: center;
  align-content: center;
  border-bottom: 0.1px solid rgba(20, 83, 45, 0.3);
  border-right: 0.1px solid rgba(20, 83, 45, 0.3);

  transition: all 0.5s;
}

.skill-matrix-fig:hover {
  border: #000;
}
.skill-matrix-fig-text {
  color: #fff;

  .skill-matrix-fig-text-nohover {
    display: inline-block;
  }
}

.skill-matrix-fig-text:hover {
  color: #fff;
  background: #14532d;

  .skill-matrix-fig-text-hover {
    height: 80%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
  .skill-matrix-fig-text-nohover {
    display: none;
  }
}

.skill-matrix-fig-text-hover {
  display: none;
}
.skill-matrix-fig-text-hover-h4 {
  grid-column: 1 / -3;
  grid-row: 1;
  font-size: 2rem;
  align-content: center;
}

.skill-matrix-fig-text-hover-p {
  grid-row: 2/-1;
  grid-column: 2/-1;
  font-size: 1rem;

  align-content: center;
  text-align: left;
}

.skill-matrix-fig-br-right {
  border-right: 0.1px solid rgba(20, 83, 45, 0.3);
}

.skill-matrix-fig-br-bottom {
  border-top: 0.1px solid rgba(20, 83, 45, 0.3);
}

.skill-matrix-fig-img {
  display: none;
  height: 17.7rem;

  background-size: cover;
  background-position: center;
}

/* .body-content {
  display: flex;
  gap: 10px;
  height: 100%;//
}

.div-1 {
  flex: 0 0 300px;
  align-self: center;
}
.nav {
  width: 300px;
  height: 100vh;
  text-align: center;
  position: fixed;
  font-size: 30px;
  align-content: center;
  border-right: 5px solid #c59805;//
}

.nav:hover {
  box-shadow: 0 0px 20px rgba(0, 0, 0, 0.1);
}

.main {
  position: relative;
  padding: 16px 0 16px 16px;
}
.main-h1 {
  font-size: 52px;
}

.main p {
  font-size: 32px;
  margin-bottom: 20px;
  pointer-events: none;
}
@media (max-width: 1300px) {
  .div-1 {
    flex: 0 0 250px;
  }
  .nav {
    width: 250px;
  }
}
@media (max-width: 1100px) {
  .div-1 {
    flex: 0 0 200px;
  }
  .nav {
    width: 200px;
  }
}
.float {
  display: none;
  width: 82px;
}
@media (max-width: 900px) {
  remove the nav bar ///
  .nav {
    display: none;
  }
  .div-1 {
    display: none;
  }
  .float {
    display: block;
    position: fixed;
    background-color: rgba(223, 111, 35, 0.44);
    width: 82px;
    border-radius: 10px;
    padding-bottom: -10px;
  } ////
}

/* ============================
   FOOTER SECTION
   ============================ */
.footer {
  background: linear-gradient(135deg, #14532d 0%, #0d3a1f 100%);
  padding: 2.5rem 4rem;
  margin-top: 8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3) 50%,
    transparent
  );
}

.footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(161, 186, 171, 0.2),
    transparent
  );
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}

/* .footer-p {
  font-size: 1.3rem;
  color: #d0ddd5;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
} */

/* .footer-p:hover {
  color: #e8eeea;
  transform: translateY(-1px);
} */

/* .footer-heart {
  color: #ff6b6b;
  font-size: 1.6rem;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(255, 107, 107, 0.3));
} */

.footer-copyright {
  font-size: 1.2rem;
  color: #a1baab;
  font-weight: 300;
  margin: 0;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.footer-copyright:hover {
  color: #d0ddd5;
  opacity: 1;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1);
  }
}

.footer-p:hover .footer-heart {
  animation: heartbeat 0.5s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 107, 107, 0.5));
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 2rem;
    margin-top: 5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-p {
    font-size: 1.2rem;
  }

  .footer-heart {
    font-size: 1.5rem;
  }

  .footer-copyright {
    font-size: 1.1rem;
  }
}
