@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #f8f208;
  --primary-color-dark: #ee9821;
  --secondary-color: #04091d;
  --secondary-color-light: #0f1221;
  --secondary-color-dark: #03060f;
  --text-light: #94a3b8;
  --white: #ffffff;
  --skyblue: #89CFF0;
  --max-width: 1200px;
  --gradient: linear-gradient(
    to right,
    var(--primary-color-dark),
    var(--primary-color)
  );
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
}

.section__header {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
}

.section__subheader {
  margin-bottom: 10px;
  font-size: 1.2rem;
  text-align: center;
}

.section__description {
  max-width: 600px;
  margin-top: 1rem;
  margin-inline: auto;
  color: var(--text-light);
  text-align: center;
}

.btn {
  padding: 0.5rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--secondary-color);
  background-image: linear-gradient(109.6deg, rgb(245, 239, 249) 30.1%, rgb(207, 211, 236) 100.2%);
  border-radius: 5rem;
  cursor: pointer;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  color: #03060f;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--skyblue);
  background-color: var(--secondary-color);
}

.header {
  position: relative;
  background-color: white;
}

.header__socials {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
}

.header__socials a {
  padding: 7px 13px;
  font-size: 1.5rem;
  color: white;
  background-image: linear-gradient(109.6deg, rgb(245, 239, 249) 30.1%, rgb(207, 211, 236) 100.2%);
}

.ri-menu-3-line::before{
  color: #04091d;
}

.ri-close-line::before{
  color: #04091d;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__bar {
  position: relative;
  isolation: isolate;
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
}

.nav__logo a {
  font-size: 1.5rem;
  font-weight: 700;
}



.nav__links {
  position: absolute;
  top: 68px;
  left: 0;
  width: 100%;
  padding: 2rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  transform: translateY(-100%);
  background-color: #03060f;
  transition: 0.2s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(0);
  background-color: white;
}

.link a {
  transition: 0.3s;
}

.link.btn a {
  color: #03060f !important;
}

.link a:hover {
  color: #abb8c3;
}

.nav__menu__btn {
  font-size: 1.5rem;
  cursor: pointer;
}


.header__container {
  padding-top: 10rem;
  display: grid;
  gap: 4rem;
}

.header__image img {
  max-width: 400px;
  margin: auto;
}

.header__content {
  text-align: center;
}

.header__content h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 400;
}

.header__content h1 {
  margin-bottom: 2rem;
  font-size: 3rem;
  font-weight: 600;
  line-height: 3.5rem;
}

.header__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.project__section .project_heading-image {
  background-color: white;
}

.project_heading-image {
  text-align: center;
  padding: 4rem 0;
}

.project_heading-image .project__container {
  max-width: var(--max-width);
  margin: auto;
}

.project_heading-image .section__header {
  font-size: 3rem;
  font-weight: 800;
  color: #03060f;
  padding-left: 1rem;
  padding-right: 1rem;
}

.project_heading-image .project__image {
  padding-top: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 2.5rem;
}

.project_heading-image .project__image img {
  max-width: 100%;
  border-radius: 5px;
  border-color: #0f1221;
  border: .5px solid #04091d;
}

.project_heading-image .project__description {
  font-size: 1.5rem;
  color: #03060f;
  margin-top: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: justify;
  font-weight: 400;
}





.project_challenges{
  background-color:#abb8c3;
}


.project_challenges {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.project_challenges .project__container {
  max-width: var(--max-width);
  margin: auto;
}

.project_challenges .section__header_challenges {
  font-size: 2.5rem;
  font-weight: 600;
  color: #03060f;
  padding-bottom: 1rem;
}


.project_challenges .project__list {
  padding-left: 0;
  list-style-type: none;
  padding-top: 1rem;
  
}

.project_challenges .project__list-item {
  border-bottom: 2px solid #03060f;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: #0f1221;
  padding-top: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1rem;
  margin-left: 2.5rem;
  margin-right: 2.5rem;

}

.project_challenges .project__list-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #04091d;
  text-align: justify;
 
}

.project_challenges .project__list-item p {
  font-size: 1.25rem;
  line-height: 1.6;
  text-align: justify;
}

.project_challenges hr {
  border: none;
  height: 2px;
  background-color: black;
  margin-left: 1rem;
  margin-right: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}


.project_solution {
  background-color: white;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.project_solution .project__container {
  max-width: var(--max-width);
  margin: auto;
}

.project_solution .section__header_solution {
  font-size: 2.5rem;
  font-weight: 600;
  color: #03060f;
  padding-bottom: 1rem;
}

.project_solution hr {
  border: none;
  height: 2px;
  background-color: black;
  margin-left: 1rem;
  margin-right: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.project_solution .project__description_solution {
  font-size: 1.63rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #04091d;
  padding-top: 1rem;
  text-align: justify;
  padding-left: 1rem;
  padding-right: 1rem;
}

.project_solution .project__list {
  padding-left: 0;
  list-style-type: none;
  padding-top: 1rem;
}

.project_solution .project__list-item {
  border-bottom: 2px solid #03060f;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: #0f1221;
  padding-top: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1rem;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
  text-align: left;
}

.project_solution .project__list-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #04091d;
  text-align: justify;
}

.project_solution .project__list-item p {
  font-size: 1.25rem;
  line-height: 1.6;
  text-align: justify;
}





.project_datasource {
  background-color:#abb8c3;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.project_datasource .project__container {
  max-width: var(--max-width);
  margin: auto;
}

.project_datasource .section__header_datasource {
  font-size: 2.5rem;
  font-weight: 600;
  color: #03060f;
  padding-bottom: 1rem;
}

.project_datasource hr {
  margin-left: 1rem;
  margin-right: 1rem;
  border: none;
  height: 2px;
  background-color:#03060f;
  padding-left: 1rem;
  padding-right: 1rem;
}

.project_datasource .project__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.project_datasource .project__details {
  text-align: left;
}

.project_datasource .project__description {
  font-size: 1.63rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color:#04091d;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: justify;
  padding-top: 1rem;
}

.project_datasource .project__list {
  list-style-type: none;
  padding-left: 1rem;
  padding-right: 1rem;
}

.project_datasource .project__list-item {
  border-bottom: 2px solid #03060f;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 400;
  color: #0f1221;
  padding: 1rem;
  text-align: left;
}

.project_datasource .project__list-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #04091d;
  text-align: justify;
}

.project_datasource .project__image img {
  max-width: 100%;
  border-radius: 10px;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1rem;
}

@media (max-width: 768px) {
  .project_datasource .project__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .project_datasource .project__details {
    text-align: center;
  }
}



/* Timeline Section */
.timeline-section {
  background-color: white; /* Background color for the entire section */
  padding: 20px 0;
}

.timeline-heading {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #03060f;
  padding: 2rem 0;
}

.timeline-line {
  border: none;
  height: 2px;
  background-color: #03060f;
  margin-left: 5rem;
  margin-right: 5rem;
  padding-left: 5rem;
  padding-right: 5rem;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 100px auto;
  z-index: 1;
}

.container {
  padding: 10px 50px;
  position: relative;
  width: 50%;
  opacity: 0; /* Initially hide the containers */
  transform: translateY(30px); /* Move them down initially */
  transition: opacity 1s ease, transform 1s ease; /* Smooth transition */
}

.container.show {
  opacity: 1; /* Show containers */
  transform: translateY(0px); /* Move to original position */
}

.text-box {
  padding: 20px 30px;
  background: #abb8c3; /* Background color for text boxes */
  color: white; /* Text color */
  position: relative;
  border-radius: 6px;
  font-size: 15px;
}

.left-container {
  left: 0;
}

.right-container {
  left: 50%;
}

.container img {
  position: absolute;
  width: 40px;
  border-radius: 50%;
  right: -20px;
  top: 32px;
  z-index: 10;
}

.right-container img {
  left: -20px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 100%;
  background: #abb8c3; /* Line color */
  top: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -1;
}

.text-box h2 {
  font-weight: 600;
  color: #03060f; /* Header text color */
}

.text-box p {
  display: inline-block;
  margin-bottom: 15px;
  color: #03060f; /* Paragraph text color */
  margin-top: 5px;
}

.left-container-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 20px;
  z-index: 1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #abb8c3; /* Arrow color */
  right: -15px;
}

.right-container-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 20px;
  z-index: 1;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid #abb8c3; /* Arrow color */
  left: -14px;
}

@media screen and (max-width: 600px) {
  .timeline {
    margin: 50px auto;
  }
  .timeline::after {
    left: 31px;
  }
  .container {
    width: 100%;
    padding-left: 80px;
    padding-right: 25px;
  }
  .text-box {
    font-size: 13px;
  }
  .text-box p {
    margin-bottom: 10px;
  }
  .right-container {
    left: 0;
  }
  .left-container img,
  .right-container img {
    left: 10px;
  }
  .left-container-arrow,
  .right-container-arrow {
    border-right: 15px solid #abb8c3;
    border-left: 0;
    left: -15px;
  }
}


.footer {
  background-color: #f8f9fa; /* Light grey background */
  padding: 20px 0;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer__content p {
  margin: 0;
  font-size: 16px;
  color: #333; /* Darker text color */
}


.footer__container {
  display: grid;
  gap: 2rem;
}

.footer__col h5 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #03060f;
}


.footer__col p {
  margin-bottom: 1.5rem;
  color: #04091d;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center; /* Center the social icons */
}

.footer__socials a {
  margin-bottom: 1rem;
  padding: 3px 8px;
  font-size: 1.25rem;
  background-color: #abb8c3;
  border-radius: 100%;
  transition: 0.3s;
  color: #03060f;
}

.footer__socials a:hover {
  background-image: var(--white);
}

.footer__col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #03060f;
}

.footer__links a {
  display: block;
  margin-bottom: 1rem;
  color: #04091d;
}

.footer__links a:hover {
  color: #8d8daa;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.8rem;
  color: #0f1221;
  text-align: center;
}

@media (width > 480px) {
  .banner__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .project__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 1rem;
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__form .input__row {
    flex-direction: row;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:first-child {
    grid-column: 1/3;
  }
}

@media (width > 768px) {
  .header__socials {
    display: flex;
  }

  nav {
    position: static;
  }

  .nav__bar {
    padding: 2rem 1rem;
  }

  .nav__header {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none;
  }

  .header__container {
    padding: 0 1rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
  }

  .header__content {
    padding-block: 5rem;
    text-align: left;
    grid-area: 1/1/2/2;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
  }

  .banner__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .project__header {
    flex-direction: row;
  }

  .project__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client__card {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .blog__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width > 1024px) {
  .banner__container {
    gap: 2rem;
  }

  .project__grid {
    gap: 2rem;
  }

  .service__grid {
    gap: 2rem;
  }

  .blog__grid {
    gap: 2rem;
  }
}