body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  scroll-behavior: smooth;
  background-color: #f9f9f9;
}

header {
  position: fixed;
  top: 0;
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  transition: background-color 0.3s;
  z-index: 1000;
  max-width: 100%;
}

header.transparent {
  background-color: transparent;
}

header.scrolled {
  background-color: #091d35;
}

.logo img {
  height: 50px;
}

nav {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  transition: transform 0.3s ease-in-out;
  align-items: center;
}

nav ul li {
  margin-right: 35px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-family: 'Inter', Arial, sans-serif;
}

nav ul li a:hover {
  color: #a9bbd2;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger-menu span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 2px;
  transition: all 0.3s ease;
}

#lets-talk-button {
  background-color: white;
  color: #194c8b;
  border: none;
  padding: 10px 30px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 12px;
  text-decoration: none;
  margin-left: 20px;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

#lets-talk-button:hover {
  background-color: #091d35;
  color: white;
  box-shadow: 0 0 10px 2px white;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 85px;
  right: 85px;
  width: 50px;
  height: 50px;
  background-color: #194c8b;
  color: white;
  font-size: 24px;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0px 5px 21px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s, transform 0.2s;
  /*z-index: 9999; */
  z-index: 500;
}

/* Hover Effect */
.back-to-top:hover {
  background-color: #163e72;
  /* Darker shade for hover */
}

.back-to-top.show {
  display: flex;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

#hero {
  height: 100vh;
  background: url('assets/hero.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
  color: white;
}

.hero-content {
  max-width: 70%;
  margin-left: 40px;
}

.hero-content h1 {
  font-size: 75px;
  margin: 0;
  line-height: 60px;
  font-family: 'Inter', Arial, sans-serif;
}

.hero-content p {
  font-size: 24px;
  margin: 10px 0 0;
  font-family: 'Inter', Arial, sans-serif;
}

main {
  padding-top: 40px;
}

section {
  padding: 60px 20px;
}

/*Section & Header Styles */
#services,
#expertise,
#approach,
#principles,
#works,
#clients-partners,
#certifications,
#lets-talk {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

#services {
  padding-bottom: 0px;
}

#expertise {
  padding: 60px 0px 0px 0px;
}

#principles {
  padding: 40px 20px;
}

#clients-partners {
  padding: 60px 0px;
}

#certifications {
  padding: 40px 0px;
}

#services h1,
#expertise h1,
#approach h1,
#works h1,
#principles h1,
#clients-partners h1,
#certifications h1,
#lets-talk h1 {
  font-size: 50px;
  margin-bottom: 20px;
  color: #194c8b;
}

#principles h1 {
  margin-bottom: 45px;
}

#services-description {
  font-size: 24px;
  margin-bottom: 40px;
  color: black;
  font-weight: 500;
}

/* Our Services Section Styles */
.services-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.service-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px;
  width: 280px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.service-card h3 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 10px;
  color: #194c8b;
  font-weight: 500;
}

.service-card p {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 20px;
  color: black;
  font-weight: 500;
}

.service-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  align-self: center;
  margin-top: auto;
}

/* Expertise Section Styles */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  row-gap: 10px;
  column-gap: 0px;
  justify-items: center;
  align-items: center;
}

.expertise-grid div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.expertise-grid img {
  width: 60px;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 30%;
  padding: 10px;
}

.expertise-grid img:hover {
  transform: scale(1.2);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.9);
}

/* Hover text styling */
.expertise-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.expertise-text {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.expertise-item:hover .expertise-text {
  opacity: 1;
  transform: translateY(0);
}

.expertise-container {
  background-color: white;
  padding: 70px;
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*Approach Section Styles*/

#approach-description-1 {
  font-size: 24px;
  color: #194c8b;
  font-weight: bolder;
  margin-bottom: -15px;
}

#approach-description-2 {
  font-size: 24px;
  color: black;
  font-weight: 500;
  margin-bottom: 40px;
}

.approach-main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: white;
  padding: 70px 70px 0px 70px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 40%;
  margin: 0 auto;
}

.approach-line {
  width: 2px;
  background-color: #e0e0e0;
  height: calc(100% - 285px);
  position: absolute;
  left: 103px;
  top: 85px;
}

.approach-step {
  display: flex;
  align-items: center;
  margin-bottom: 110px;
  position: relative;
}

.approach-image-container {
  width: 68px;
  height: 68px;
  background-color: #194c8b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20%;
  margin-right: 20px;
  position: relative;
  z-index: 1;
  top: -25px;
  box-shadow: 0 0 0 15px white;
}

.approach-image-container img {
  max-width: 100%;
  max-height: 100%;
}

.approach-text-container {
  flex: 1;
  text-align: left;
}

.approach-text-container h3 {
  font-size: 32px;
  margin: 0;
  color: #194c8b;
  font-weight: 500;
}

.approach-text-container p {
  font-size: 20px;
  margin: 5px 0 0;
  color: black;
  font-weight: 400;
}

#approach-description-3,
#approach-description-4 {
  font-size: 36px;
  color: #194c8b;
  font-weight: 500;
  font-family: 'Tiro Devanagari Marathi', Times, serif;
  width: 51%;
  margin: 90px auto;
  text-align: center;
  line-height: 37px;
}

.gaitcon-font {
  font-weight: bold;
  color: #194c8b;
}

.approach-sentence {
  font-style: italic;
}

/* Principles Section Styles */

.principles-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background-color: white;
  border-radius: 12px;
  box-shadow: 1px 3px 25px -4px rgba(0, 0, 0, 0.52);
  overflow: hidden;
  width: 95%;
  height: 760px;
  margin: 0 auto;
}

.principle-segment {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 20px 40px 20px;
  flex: 1;
  position: relative;
  text-align: center;
  color: white;
  overflow: hidden;
}

.principle-segment::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  /* Ensure background image covers the segment */
  background-position: center;
  /* Center the background image */
  background-repeat: no-repeat;
  /* Prevents repeating images */
  opacity: 0.2;
  /* Set opacity of the background image */
  z-index: 0;
}

.principle-segment:nth-child(odd) {
  background-color: #194c8b;
}

.principle-segment:nth-child(even) {
  background-color: #f2f2f2;
  justify-content: flex-end;
}

.principle-segment:nth-child(1)::before {
  background-image: url('assets/commitment.png');
}

.principle-segment:nth-child(2)::before {
  background-image: url('assets/continuous.png');
}

.principle-segment:nth-child(3)::before {
  background-image: url('assets/teamwork.png');
}

.principle-segment:nth-child(4)::before {
  background-image: url('assets/excellence.png');
}

.principle-segment:nth-child(5)::before {
  background-image: url('assets/integrity.png');
}

.principle-segment h3,
.principle-segment p {
  position: relative;
  z-index: 1;
  /* Ensure text is above the pseudo-element */
}

.principle-segment h3 {
  font-size: 36px;
  margin: 0;
  color: inherit;
  /* Inherit color from parent */
  font-weight: 300;
  text-align: start;
  letter-spacing: -3px;
}

.principle-segment p {
  font-size: 20px;
  margin: 15px 0 0;
  color: inherit;
  font-weight: 300;
  text-align: start;
  letter-spacing: -1px;
}

.principle-segment:nth-child(odd) .principle-text {
  align-self: flex-start;
  /* Align text to the top for odd segments */
}

.principle-segment:nth-child(even) .principle-text {
  align-self: flex-end;
  /* Align text to the bottom for even segments */
}

/* Different text styling for even segments */
.principle-segment:nth-child(even) h3 {
  color: #194c8b;
  /* Different color for even segments */
}

.principle-segment:nth-child(even) p {
  font-size: 20px;
  color: #194c8b;
}

/* Works Section Styles */

#works h1 {
  font-size: 50px;
  margin-bottom: 20px;
  color: #194c8b;
}

.works-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 50px;
  margin: 40px;
  justify-items: center;
  align-items: center;
}

.work-box {
  position: relative;
  width: 100%;
  padding-bottom: 55%;
  background-size: cover;
  background-position: center;
  /* border-radius: 12px; */
  overflow: hidden;
}

.petrafi {
  background-image: url('assets/Petrafi.png');
}

.nubilum {
  background-image: url('assets/nubilum.png');
}

.catalytx {
  background-image: url('assets/catalytx.png');
}

.echo {
  background-image: url('assets/echo.png');
}

.mag {
  background-image: url('assets/mag.png');
}

.comprehensive {
  background-image: url('assets/comprehensive.png');
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 5%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.work-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: white;
  text-align: left;
}

.work-text h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.work-text p {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: 400;
}

/* Clients & Partners Section Styles */

.clients-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  row-gap: 50px;
  column-gap: 0px;
  justify-items: center;
  align-items: center;
}

.clients-partners-grid img {
  width: 320px;
  height: auto;
  max-width: 100%;
}

.clients-partners-container {
  background-color: white;
  padding: 70px;
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#clients-partners p {
  font-size: 24px;
  color: black;
  font-weight: 500;
  margin-bottom: 40px;
}

/* Certifications Section Styles */

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  grid-gap: 0px;
  justify-items: center;
  align-items: start;
}

.certifications-container {
  background-color: white;
  /* padding: 25px 70px 25px 70px; */
  padding: 45px 70px 45px 70px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.certifications-list {
  list-style: disc;
  list-style-position: outside;
  /* Moves the bullet inside the list item */
  text-align: left;
  /* Centers the text */
  padding-left: 20;
  /* Removes extra left padding */
  font-size: 16px;
  font-family: 'Inter', Arial, sans-serif;
  color: rgb(0, 0, 0);
}

.certifications-list li {
  font-size: 16px;
  color: black;
  margin-bottom: -6px;
  line-height: 1.6;
  font-weight: 500;
}

#certifications p {
  font-size: 24px;
  color: black;
  font-weight: 500;
  margin-bottom: 40px;
}

#certifications h1 {
  text-align: center;
  margin-bottom: 20px;
}

/* Lets Talk Section Styles */

#lets-talk {
  background: linear-gradient(to bottom, transparent 35%, #08366f 100%);
}

#lets-talk h1 {
  font-size: 50px;
  margin-bottom: 20px;
  color: #194c8b;
}

#lets-talk p {
  font-size: 24px;
  margin-bottom: 20px;
  color: black;
}

.contact-card {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-card form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.error-message {
  display: none;
  color: red;
  font-size: 0.9em;
  margin-top: 5px;
}

.form-status {
  margin-top: 20px;
  font-size: 16px;
  font-weight: bold;
}

.form-status.green {
  color: green;
}

.form-status.red {
  color: red;
}

.input-group {
  display: flex;
  gap: 20px;
  width: 100%;
}

.input-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.input-group .input-container {
  flex: 1;
}

label {
  margin-bottom: 5px;
  font-size: 20px;
  color: black;
  font-family: 'Inter', Arial, sans-serif;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Inter', Arial, sans-serif;
  background-color: #fbfbfb;
  box-sizing: border-box;
}

textarea {
  height: 150px;
  resize: none;
  /* Disable resizing */
}

button {
  background-color: #194c8b;
  color: white;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

button:hover {
  background-color: #0d315e;
}

/*Footer Section Styles*/
footer {
  width: 100%;
  color: white;
  font-family: 'Montserrat', Arial, sans-serif;
}

.main-footer {
  background-color: #194c8b;
  position: relative;
  padding: 40px 70px;
  height: 34vh;
  display: flex;
  align-items: center;
  justify-content: start;
  border-bottom: 2px solid #3e80d1;
}

.footer-background-logo {
  position: absolute;
  top: 0px;
  left: -16px;
  width: 55%;
  height: 95%;
  background: url(assets/g.png) no-repeat center left;
  background-size: contain;
  opacity: 0.05;
  z-index: 0;
}

.footer-content {
  display: flex;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  gap: 60px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.footer-left p {
  margin: 5px 0;
  font-size: 15px;
  color: #a2d0e3;
}

.footer-icons {
  display: flex;
  gap: 10px;
  /* Space between icons */
  margin-top: 65px;
}

.footer-icon {
  width: 40px;
  height: 40px;
  /* Ensure equal height */
  object-fit: contain;
  /* Maintain aspect ratio */
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-right a {
  color: #a2d0e3;
  text-decoration: none;
  margin: 1px 0;
}

.footer-right a:hover {
  text-decoration: underline;
}

.sub-footer {
  background-color: #0d315e;
  padding: 10px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  /* Set a fixed height */
  line-height: 50px;
  /* Vertically center the text */
}

.privacy-policy {
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
}

.privacy-policy:hover {
  text-decoration: underline;
}

.footer-right-text {
  margin: 0;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
}

@media (max-width: 1440px) {
  main {
    padding-top: 0px;
  }

  #services h1 {
    margin-bottom: 5px;
  }

  #services-description {
    font-size: 24px;
    color: black;
    font-weight: 500;
    margin: 0px auto;
    margin-bottom: 30px;
    width: 55%;
  }

  #expertise {
    padding: 60px 0px 20px 0px;
  }

  #approach {
    padding: 30px 20px;
  }
}

@media (max-width: 1024px) {
  main {
    padding-top: 0px;
  }

  #services h1,
  #expertise h1,
  #approach h1,
  #works h1,
  #principles h1,
  #clients-partners h1,
  #certifications h1,
  #lets-talk h1 {
    font-size: 45px;
  }

  #services-description {
    font-size: 22px;
    width: 70%;
  }

  .service-card {
    width: 240px;
  }

  .approach-main-container {
    width: 55%;
  }

  #approach-description-1,
  #approach-description-2 {
    font-size: 22px;
  }

  .approach-text-container h3 {
    font-size: 30px;
  }

  .approach-text-container p {
    font-size: 19px;
  }

  #approach-description-3,
  #approach-description-4 {
    font-size: 27px;
    width: 70%;
  }

  #approach-description-3 {
    margin-top: 110px;
  }

  #principles {
    padding: 40px 20px;
  }

  .principles-card {
    width: 95%;
    height: 570px;
  }

  .principle-segment h3 {
    font-size: 25px;
    font-weight: 300;
    letter-spacing: -2px;
  }

  .principle-segment p {
    font-size: 16px;
  }

  .principle-segment:nth-child(even) p {
    font-size: 16px;
    color: #194c8b;
  }

  #clients-partners p {
    font-size: 22px;
  }

  #certifications p {
    font-size: 22px;
  }

  .work-text h3 {
    font-size: 20px;
  }

  .work-text p {
    margin: 5px 20px 0px 1px;
    font-size: 12px;
  }
}

@media (max-width: 1000px) {
  header {
    width: 90%;
  }

  nav ul {
    position: fixed;
    right: 0px;
    top: 0;
    height: 100%;
    /*         height: 48%; */
    background-color: #091d35;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
  }

  nav ul.nav-active {
    transform: translateX(0);
    width: 320px;
  }

  nav ul li {
    margin: 15px 0;
  }

  nav ul li a {
    font-size: 18px;
  }

  .burger-menu {
    display: flex;
  }

  .burger-menu.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 7px);
  }

  .burger-menu.toggle span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  #lets-talk-button {
    margin-left: 0px;
  }
}

@media (max-width: 820px) {
  header {
    width: 89%;
  }

  .hero-content h1 {
    font-size: 65px;
  }

  .works-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    width: 87%;
  }

  nav ul {
    right: 0px;
  }

  #lets-talk-button {
    background-color: transparent;
    color: white;
  }

  .hero-content h1 {
    font-size: 63px;
  }

  .hero-content p {
    font-size: 20px;
  }

  main {
    padding-top: 0px;
  }

  #services h1,
  #expertise h1,
  #approach h1,
  #works h1,
  #principles h1,
  #clients-partners h1,
  #certifications h1,
  #lets-talk h1 {
    font-size: 40px;
  }

  #services-description {
    font-size: 19px;
  }

  .service-card h3 {
    font-size: 22px;
  }

  .service-card p {
    font-size: 15px;
  }

  #services-description {
    margin-bottom: 10px;
  }

  .service-card {
    width: 350px;
    height: 350px;
  }

  #approach-description-1,
  #approach-description-2 {
    font-size: 20px;
  }

  .approach-main-container {
    padding: 40px 70px 0px 70px;
    width: 65%;
  }

  .approach-text-container h3 {
    font-size: 28px;
  }

  .approach-text-container p {
    font-size: 18px;
  }

  #approach-description-3,
  #approach-description-4 {
    font-size: 25px;
    width: 82%;
    margin: 60px auto;
    line-height: 34px;
  }

  .principles-card {
    flex-direction: column;
    width: 95%;
    height: 82vh;
  }

  .principle-segment h3 {
    font-size: 32px;
  }

  .principle-segment p {
    font-size: 17px;
    margin: -2px 0 0;
    color: inherit;
    font-weight: 400;
    text-align: start;
    letter-spacing: -1px;
  }

  .principle-segment:nth-child(1)::before {
    background-image: url('assets/commitment1.png');
  }

  .principle-segment:nth-child(2)::before {
    background-image: url('assets/continuous1.png');
  }

  .principle-segment:nth-child(3)::before {
    background-image: url('assets/teamwork1.png');
  }

  .principle-segment:nth-child(4)::before {
    background-image: url('assets/excellence1.png');
  }

  .principle-segment:nth-child(5)::before {
    background-image: url('assets/integrity1.png');
  }

  #works {
    padding: 40px 20px;
  }

  #clients-partners p {
    font-size: 20px;
    width: 60%;
    margin: 0px auto;
    margin-bottom: 30px;
  }

  .clients-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-partners-grid img {
    width: 230px;
  }

  #certifications {
    padding: 15px 0px;
  }

  #certifications p {
    font-size: 20px;
  }

  #lets-talk p {
    font-size: 20px;
  }

  .contact-card {
    max-width: 500px;
  }

  label {
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  .hero-content h1 {
    font-size: 35px;
    line-height: 37px;
  }

  #hero {
    height: 70vh;
  }

  header {
    width: 77%;
  }

  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    row-gap: 10px;
  }

  .expertise-grid img {
    width: 45px;
  }

  #approach-description-1,
  #approach-description-2 {
    font-size: 15px;
  }

  .approach-text-container p {
    font-size: 14px;
  }

  .approach-text-container h3 {
    font-size: 24px;
  }

  .approach-step {
    margin-bottom: 50px;
  }

  .approach-line {
    width: 2px;
    background-color: #e0e0e0;
    height: calc(100% - 260px);
    position: absolute;
    left: 103px;
    top: 85px;
  }

  #approach-description-3,
  #approach-description-4 {
    font-size: 20px;
  }

  .works-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .certifications-list {
    padding-left: 3px;
  }

  .certifications-list li {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1;
  }

  .back-to-top.show {
    display: none;
  }

  .main-footer {
    padding: 40px 40px;
  }

  .sub-footer {
    padding: 10px 35px;
  }

  .privacy-policy,
  .footer-right-text {
    letter-spacing: 1px;
  }
}

@media (max-width: 425px) {
  header {
    width: 77%;
  }

  #services h1,
  #expertise h1,
  #approach h1,
  #works h1,
  #principles h1,
  #clients-partners h1,
  #certifications h1,
  #lets-talk h1 {
    font-size: 35px;
  }

  .back-to-top.show {
    display: none;
  }

  #hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 30px;
    line-height: 40px;
  }

  .hero-content p {
    font-size: 16px;
  }

  #services-description {
    font-size: 15px;
  }

  .expertise-container {
    background-color: white;
    padding: 25px;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
    /* Reduce to 3 columns */
    row-gap: 30px;
    /* Adjust spacing */
  }

  .expertise-grid div {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .expertise-grid img {
    width: 40px;
    /* Reduce icon size */
  }

  #approach-description-1,
  #approach-description-2 {
    font-size: 15px;
  }

  .approach-main-container {
    padding: 40px 40px 0px 40px;
    width: 75%;
  }

  .approach-text-container h3 {
    font-size: 24px;
  }

  .approach-text-container p {
    font-size: 14px;
  }

  .approach-image-container {
    width: 58px;
    height: 58px;
  }

  .approach-line {
    height: calc(100% - 250px);
    /* left: 98px; */
    left: 68px;
  }

  .approach-step {
    margin-bottom: 45px;
  }

  #approach-description-3,
  #approach-description-4 {
    font-size: 19px;
    width: 82%;
    margin: 45px auto;
    line-height: 30px;
  }

  #principles {
    padding: 40px 20px;
    padding-top: 0px;
  }

  .principle-segment h3 {
    font-size: 28px;
  }

  .principle-segment:nth-child(even) h3 {
    text-align: end;
  }

  .works-container {
    grid-template-columns: repeat(1, 1fr);
  }

  #clients-partners h1 {
    width: 53%;
    margin: 0px auto;
    margin-bottom: 20px;
  }

  .clients-partners-grid img {
    width: 118px;
  }

  .clients-partners-grid {
    column-gap: 50px;
  }

  #clients-partners p {
    font-size: 15px;
  }

  #certifications p {
    font-size: 15px;
    margin: 0px auto;
    width: 60%;
    margin-bottom: 20px;
  }

  .certifications-list li {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1;
    font-weight: 300;
  }

  .certifications-list {
    padding-left: 25px;
  }

  #lets-talk p {
    font-size: 17px;
  }

  .footer-content {
    gap: 40px;
  }

  .footer-right {
    font-size: 14px;
  }

  .sub-footer {
    padding: 10px 20px;
    height: 30px;
    line-height: 18px;
  }

  .footer-right-text,
  .privacy-policy {
    font-size: 13px;
  }
}

@media (max-width: 414px) {
  .service-card {
    height: 380px;
  }

  .approach-line {
    height: calc(100% - 230px);
    left: 98px;
  }
}

@media (max-width: 390px) {
  .approach-line {
    height: calc(100% - 260px);
  }

  .clients-partners-container {
    padding: 50px;
  }

  .work-box {
    width: 120%;
    padding-bottom: 70%;
  }
}

@media (max-width: 375px) {
  .logo img {
    height: 37px;
    margin-top: 8px;
  }

  header {
    padding: 15px 42px;
    width: 78%;
  }

  .hero-content {
    margin-left: 25px;
  }

  .approach-main-container {
    /*         padding: 40px 56px 0px 50px; */
    width: 72%;
  }

  .approach-text-container h3 {
    font-size: 22px;
  }

  .approach-text-container p {
    font-size: 13px;
  }

  .approach-line {
    height: calc(100% - 230px);
    left: 78px;
  }

  .principle-segment {
    padding: 20px 20px 20px 20px;
  }

  .work-box {
    width: 125%;
    padding-bottom: 80%;
  }

  .clients-partners-container {
    padding: 40px;
  }

  label {
    font-size: 16px;
  }

  .main-footer {
    padding: 40px 40px;
  }
}

@media (max-width: 360px) {
  .approach-line {
    left: 78px;
  }

  #clients-partners h1 {
    width: 62%;
  }

  .certifications-list {
    padding-left: 0px;
  }

  .certifications-list li {
    font-size: 12px;
  }
}

@media (max-width: 320px) {
  header {
    padding: 15px 26px;
    width: 84%;
  }

  .hero-content {
    margin-left: 10px;
  }

  .hero-content h1 {
    font-size: 25px;
    line-height: 30px;
  }

  .hero-content p {
    font-size: 14px;
  }

  #services h1,
  #expertise h1,
  #approach h1,
  #works h1,
  #principles h1,
  #clients-partners h1,
  #certifications h1,
  #lets-talk h1 {
    font-size: 30px;
  }

  #services {
    height: 135vh;
    padding: 30px 20px;
  }

  .service-card p {
    font-size: 13px;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card {
    height: 300px;
  }

  #expertise {
    height: 107vh;
    max-height: 107vh;
  }

  #approach-description-1,
  #approach-description-2 {
    font-size: 12px;
  }

  .approach-text-container p {
    font-size: 12px;
  }

  .approach-text-container h3 {
    font-size: 20px;
  }

  .approach-image-container {
    width: 50px;
    height: 50px;
  }

  .approach-line {
    height: calc(100% - 250px);
    left: 67px;
  }

  /*     .approach-main-container {
        height: 110vh;
    } */

  /*     #approach {
        height: 190vh;
    } */

  #principles {
    height: 92vh;
  }

  .works-container {
    gap: 25px;
    margin: 10px;
  }

  .work-box {
    width: 100%;
    padding-bottom: 60%;
  }

  /*     #works {
        height: 115vh;
    } */

  #clients-partners h1 {
    width: 60%;
  }

  #clients-partners p {
    width: 80%;
  }

  .clients-partners-container {
    height: 31vh;
    padding: 26px;
  }

  #clients-partners {
    height: 54vh;
  }

  .certifications-list {
    padding-left: 0px;
  }

  .certifications-container {
    padding: 25px 40px 25px 70px;
  }

  #lets-talk p {
    font-size: 15px;
  }

  .contact-card {
    padding: 15px;
  }

  .main-footer {
    padding: 30px 20px;
  }

  .privacy-policy,
  .footer-right-text {
    letter-spacing: 0px;
  }

  .footer-icon {
    width: 30px;
    height: 30px;
  }

  nav ul.nav-active {
    width: 320px;
  }

  nav ul {
    top: 0px;
    height: 48%;
  }
}
