@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;
  color: #04091d;
}

.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: #03060f;
  background-color: #abb8c3;
}

.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: #03060f;
  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: white;
  transition: 0.2s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(0);
  z-index: 100; /* Bring the menu to the front */
}

.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;
  padding-top:  2rem;
}

.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;
}





/* General styling for the table section */
.table-section {
  margin: 20px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Table styling */
.impact-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  text-align: left;
  table-layout: fixed;
}

.impact-table th, .impact-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
  word-wrap: break-word;
  white-space: normal;
}

.impact-table th {
  background-color: #f4f4f4;
  font-weight: bold;
}

/* Row hover effect */
.impact-table tr:hover {
  background-color: #f1f1f1;
}

/* Impact, Technology, and Industry cells with merged rows */
.impact-cell, .technology-cell, .industry-cell {
  vertical-align: middle;
  text-align: center;
  background-color: #f9f9f9;
}

/* Snapshot image styling (hidden by default) */
.table-snapshot {
  display: none;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  max-width: 600px; /* You can adjust the max width as per your design */
  margin-top: 20px;
}

/* Responsive design for smaller screens (table replaces with snapshot) */
@media screen and (max-width: 768px) {
  .impact-table {
    display: none; /* Hide the table on small screens */
  }

  .table-snapshot {
    display: block; /* Show the snapshot image on small screens */
  }
}






.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;
  }
}


.project-summary {
  padding: 5rem;
 
}

.project-summary h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #2d3748;
}

.table-container {
  overflow-x: auto;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.responsive-table th,
.responsive-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.responsive-table th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.scroll-hint {
  display: none;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

/* 👇 Responsive styles */
@media screen and (max-width: 768px) {
  .project-summary {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .responsive-table th,
  .responsive-table td {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .scroll-hint {
    display: block;
  }
}


.step-by-step {
  padding-left: 5rem;
  padding-right: 5rem;
  max-width: fit-content;
  margin: auto;
  
}

.step-by-step h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #2d3748;
}

.step {
  margin-bottom: 2rem;
  background: #f9f9f9;
  border-left: 5px solid #3182ce;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #2b6cb0;
}

.step p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

@media screen and (max-width: 768px) {
  .step-by-step {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .step h3 {
    font-size: 1rem;
  }

  .step p {
    font-size: 0.95rem;
  }
}


.overall-impact {
  padding-left: 5rem;
  padding-right: 5rem;
  max-width: fit-content;
  margin: auto;
}

.overall-impact h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #2d3748;
}

.impact-box {
  background: #f9f9f9;
  border-left: 5px solid #38a169;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.impact-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

@media screen and (max-width: 768px) {
  .overall-impact {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .impact-box p {
    font-size: 0.95rem;
  }
}
