@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap");

:root {
  
  --primary-color: #0f4761;
  --secondary-color: #008080;
  --text-color: #5d5d5d;
  --white: #fff;
  --black: #000;

  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

/* Base styles */

*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font: inherit;
}

* {
margin: 0;
padding: 0;
}

html, body {
  height: 100%;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  ::-webkit-scrollbar {width: 10px;}
  ::-webkit-scrollbar-track {background-color: hsl(0, 0%, 98%);}
  ::-webkit-scrollbar-thumb {background-color: hsl(0, 0%, 80%);}
  ::-webkit-scrollbar-thumb:hover {background-color: hsl(0, 0%, 70%);}
}

body {
  font-family:
    Poppins,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

h1, h2, h3, h4, p {
  overflow-wrap: break-word;
}

li,
a,
button {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.debug {
    border: 2px solid red;
}

/*------------------    Header      ------------*/

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  max-width: 1800px;
  margin: auto;
}

.company-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  align-items: center;
}

.nav-link {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 400;
  padding-bottom: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.nav-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 700;
}

.nav-item-active {
  border-bottom: 2px solid #0f4761; 
  font-weight: bold; 
}

.nav-link.sign-in {
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 5px;
  background-color: var(--primary-color);
}

.page-container {
  justify-content: center;
  /* max-width: 1200px; */
  margin: 0 auto;
  /* padding: 0 2rem; */
}

@media (max-width: 1000px) {
  .main-header {
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: center;
  }
  .main-nav {
    padding: 2rem 0;
  }

  
}

/*-------------- Hero section ---------------*/
.hero-section {
  
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw; */
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.hero-background {
  width: 100vw;
  height: 100%;
  /* max-height: 50vh; */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  left: 0;
  z-index: 2;
  max-width: 80vw;
  padding: 2rem 4rem;
  /* padding-left: 4rem; */
  border-radius: 1rem;
  text-align: left;
  background-color: rgba(15, 71, 97, .80);
  margin: 5rem auto;
  box-sizing: border-box;
  
}

.hero-heading {
  color: #fff;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 3.2rem;
   /* max-width: 1144px;  */
  /* margin: 0 0 40px 0; */
}

.accent-header-text {
  color: white;
  font-size: 1.7rem;
  padding: 1rem 0;
  font-style: italic;

}

.button-group {
  display: flex;
  justify-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.btn-group {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.3rem 0;
  gap: 1rem;
  z-index: 101;
  
}

.button {
  box-sizing: border-box;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 10px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.button:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.button:hover {
  background-color: #f1f1f2;
  color:var(--primary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease-in-out;
}

.button-primary {
  color: #0f4761;
  background-color: #fff;
  border: none;
}

.button-secondary {
  color: #fff;
  background-color: transparent;
  border: 3px solid #fff;
}



@media (max-width: 1000px) {

  .hero-background {
    height: max-content;
  }

  .hero-content {
     max-width: 100vw;
     height: max-content;
     /* width: 100vw; */
     padding: 1.8rem;
     /* margin: 0;      */
     border-radius: 0;
   }


  .hero-heading {
    font-size: 2rem;
    line-height: 2.3rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .button-group, .btn-group {
    flex-direction: column;
    margin: 0 1rem;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 640px) {

  .hero-content {
    padding: 1.5rem;
      }

  .hero-heading {
    font-size: 1.8rem;
    line-height: 2rem;
  }
  .accent-header-text {
  font-size: 1.3rem;
  text-align: center;

}

  .button-group, .btn-group {
    gap: 0.8rem;
  }

  .button {
    font-size: 1rem;
    line-height: 3rem;
    text-align: center;
    padding: 0 1.2rem;
  }
}

/*--------------------- Stats Card Section -----------------*/

.stats-section {
  /* width: 100%; */
  max-width: 100%;
  margin: 0 auto 32px auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -3rem;
  margin-bottom: 3rem;
}

.stats-container {
  border-radius: 20px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.2rem;
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: space-around;
  margin: auto;
  align-items: center;
  background-color: #fff;
  z-index: 100;
  margin-bottom: 3rem;
}

.stat-card  {
  flex: 1 1 0;
  min-width: 0;
  background: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  margin: 0;
}

.icon-wrapper {
  display: block;
  justify-content: center;
  align-items:center;
  height: 50px;
  margin-bottom: 1rem;
}

.icon-wrapper svg {
  height: 100%;
  width: auto;
  max-width:70px;
  display: block;
  margin: 0;
  vertical-align: top;
  
}

.stat-number {
  color: #5d5d5d;
  font-size: 3rem;
  font-weight: 600;
  line-height: 4rem;
  margin: 1rem 0;
}

.stat-description {
  color: #5d5d5d;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2em;
  max-width: 280px;
  text-align: center;
}

@media (max-width: 1200px) {

  .stats-container {
    flex-wrap: wrap;
    padding: 1.5rem;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.3rem;
    line-height: 3rem;
  }

  .stat-description {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }
  .icon-wrapper svg {
    width: auto;
    height: 50px;
  }
}

@media (max-width: 640px) {
  .stats-container {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    margin: 1rem;
  }

   .stats-section {
    
    margin: 0 auto;
    width: 80%;
    max-width: 100vw;
  }


  .stat-card {
    width: 100%;
    padding: 0.7rem 0.3rem;
    margin: 0;
  }

  .stat-number {
    font-size: 2.3rem;
    line-height: 2rem;
    margin: 0.5rem 0;

  }

  .stat-description {
    font-size: 1rem;
    line-height: 1.3rem;
  }
}


/*--------------------- Introduction Section -----------------*/

.landing-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  margin-top: -5rem;
}

.tagline-section {
  width: 100%;
  text-align: center;
}

.tagline {
  font-size: 2.7rem;
  font-weight: 500;
  color: #008080;
}

.content-section {
  display: flex;
  gap: 4.5rem;
  padding: 3rem 1rem;
}

.content-left {
  flex: 1 1 0%;
  max-width: 35rem;
  padding-left: 3rem;
}

.intro-text {
  font-size: 1.3rem;
  line-height: 2rem;
  font-weight: 500;
  color: #0f4761;
  text-align: justify;
}

.intro-text span {
  font-weight: 700;
}

.content-right {
  flex: 1 1 0%;
  max-width: 35rem;
}

.description-text {
  font-size: 1.2rem;
  line-height: 1.7rem;
  text-align: justify;
  color: #5d5d5d;
  margin-bottom: 1.5em;
}

.description-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .tagline {
    font-size: 2.2rem;
    
  }

  .content-section {
    flex-direction: column;
    padding: 3.75rem 0;
    gap: 2rem;
  }

  .content-left,
  .content-right {
    padding-left: 0;
    flex: 1;
    max-width: 100%;
  }
}

@media (max-width: 640px) {

  .landing-container {
    margin-top: 0;
  }
  .tagline {
    font-size: 1.7rem;

  }

  .content-section {
    padding: 2rem 0;
  }

  .intro-text {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }

  .description-text {
    font-size: 1rem;
    line-height: 1.3rem;
  }
}

/*--------------------- Brands Section -----------------*/

.brands-section {
  background-color: rgba(244, 244, 244, 1);
  display: flex;
  padding: 0 25rem 3rem 25rem;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.brands-container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.brands-logo-grid {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.brand-logo {
  object-fit: contain;
  object-position: center;
  margin: auto;
}

 .brand-logo-sasol {
  width: auto;
  height: 7.5rem;
} 

.brand-logo-volvo {
  aspect-ratio: 1;
  width: 7rem;
  margin-top: auto;
  margin-bottom: auto;
  flex-shrink: 0;
  max-width: 100%;
}

.brand-logo-heineken {
  width: 20rem;
  align-self: start;
}


@media (max-width: 1000px) {
  .brands-logo-grid {
    justify-content: center; 
  }

  .brand-logo {
    margin: 0 auto;
  }

  .brands-section {
    align-content: center;
    padding: 0 5rem 3rem 5rem ;
  } 

  .brand-logo-sasol {
    align-self: center;
    width: 12.5rem;
  }

  .brand-logo-volvo,  .brand-logo-heineken, .brand-logo-sasol {
    align-self: center;}
  
}

@media (max-width: 640px) {
  .brand-logo {
    width: 12.5rem;
    height: auto;
  }

  .brand-logo-volvo {
    width: 8.125rem;
    padding: 0.8rem;
  }
}

/*--------------------- Popular Courses Section -----------------*/

.courses-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.course-card {
  border-radius: 20px;
  padding: 2rem;
  color: #fff;
  position: relative;
  width: 100%;
}

.course-card-primary {
  width: auto;
  background-color: #0f4761;
}

.course-card-secondary {
  width: auto;
  background-color: #008080;
}

.course-card-tertiary {
  grid-column: span 2;
  display: flex;
  background-color: #009999;
}

.course-content {
  max-width: 600px;
}

.course-heading {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 2.5rem;
  margin: 4rem 0 2rem 0;
  max-width: 75%;
}

.card-course-duration {
  font-size: 1rem;
  font-weight: 600;
  border-radius: 15px 0 0 15px;
  padding: 15px 30px;
  position: absolute;
  right: 0;
  top: 2rem;
  background-color: rgba(238, 238, 238, 0.3);
}

.card-course-description {
  font-size: 1rem;
  line-height: 1.4rem;
  font-weight: 400;
  color: white;
  max-width: 500px;
}

.course-image {
  width: 50%;
  height: 100%;
  border-radius: 0 20px 20px 0;
  object-fit: cover;
  position: absolute;
  right: 0;
  top: 0;
}

@media (max-width: 1000px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .course-card-primary,
  .course-card-secondary {
    width: 100%;
    grid-column: span 2;
  }

  .course-card-tertiary {
    flex-direction: column;
  }

  .course-heading {
    margin-top: 3rem;
  }

  .course-content {
    max-width: 100%;
  }

  .course-image {
    position: static;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    margin-top: 20px;
  }

  .courses-title {
    font-size: 2.5rem;
    line-height: 3rem;
  }
}

@media (max-width: 640px) {
  .course-card {
    padding: 1.2rem;
  }

  .course-heading {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .card-course-duration {
    font-size: 0.8rem;
    top: 1rem;
    padding: 0.7rem 1.2rem;
  }

  .card-course-description {
    font-size: 1rem;
    line-height: 1.3rem;
  }

  .course-image {
    height: 200px;
  }
}

/*--------------------------- About Page ------------------ */
/*--------------------------- Core principles ------------- */

.core-principles {
  width: 100%;
}

.core-principles__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.principles-list__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.checkmark-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.principles-list__text {
  font-size: 20px;
  font-weight: 500;
  color: #5d5d5d;
  line-height: 1.2;
  margin: 0;
}

@media (max-width: 1000px) {
  .principles-list__text {
    font-size: 18px;
  }
}

@media (max-width: 640px) {

  .core-principles__container {
    margin-top: 3rem;
  }
  .principles-list__text {
    font-size: 16px;
  }

  .principles-list__item {
    gap: 15px;
  }
}

/*--------------- About Us page - About section */

.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 80px;
  border-radius: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #0f4761;
}

.about-content {
  max-width: 1199px;
  color: #fff;
  text-align: justify;
  font-size: 20px;
  line-height: 26px;
}

.about-heading {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-weight: normal;
}

.about-heading strong {
  font-weight: 700;
}

.about-text {
  display: inline;
  font-weight: 400;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

@media (max-width: 991px) {
  .about-section {
    padding: 48px 40px;
    margin:0 1rem 0 1rem;
    width: 95vw;
  }

  .about-content {
    font-size: 22px;
    line-height: 28px;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 32px 20px;
  }

  .about-content {
    font-size: 20px;
    line-height: 26px;
  }
}


/*-------------- Customer logo section ----------------*/

.customers-section {
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
}

.content-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

.intro-section {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 74px;
  text-align: justify;
}

.intro-highlight {
  color: #0f4761;
  font-family: Poppins, sans-serif;
  font-size: 23px;
  line-height: 29.9px;
  flex: 0 0 550px;
  padding: 4px 0 52px 49px;
  font-weight: normal;
}

.intro-description {
  flex: 0 0 523px;
  color: #5d5d5d;
  font-family: Poppins, sans-serif;
  font-size: 17px;
  line-height: 25.5px;
}

.logo-grid {
  max-width: 1200px;
  margin: auto;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.customer-logo {
  height: auto;
  max-width: 200px;
  object-fit: contain;
}

.heineken-logo {
  height: 79px;
  width: 286px;
}

.sasol-logo {
  max-height: 120px;
}

.volvo-logo {
  height: 120px;
  max-width: 286px;
  object-fit: contain;
  width: 146px;
}

@media (max-width: 991px) {
  .intro-section {
    flex-direction: column;
    padding: 60px 0;
    gap: 40px;
  }

  .intro-highlight {
    flex: 1;
    padding: 0;
    max-width: 100%;
  }

  .intro-description {
    flex: 1;
    padding: 0;
    max-width: 100%;
  }

  .logo-row {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .customers-section {
    padding: 40px 15px;
  }

  .intro-section {
    padding: 30px 0;
  }

  .intro-highlight {
    font-size: 20px;
    line-height: 26px;
  }

  .intro-description {
    font-size: 15px;
    line-height: 22px;
  }

  .logo-row {
    gap: 15px;
  }

  .customer-logo {
    max-width: 45%;
  }

  .distell-logo {
    max-width: 45%;
  }
}

/*-----------------  Compliance section  ----------------*/
.compliance-section {
  padding: 46px 250px;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recognition-card {
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  height: auto;
  padding: 20px;
  background-color: rgba(241, 241, 242, 0.3);
}

.card-content {
  padding: 20px ;
}

.card-title {
  color: #000;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 15px;
}

.card-subtitle {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
}

.card-description {
  color: #000;
  font-weight: 400; 
}

.card-description strong {
  font-weight: 700;
}

@media (max-width: 1200px) {
  .compliance-section {
    padding: 30px 20px;
  }

  .recognition-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .recognition-card {
    height: auto;
    padding: 20px;
  }

  .card-content {
    padding: 20px;
  }

  .card-title {
    font-size: 32px;
    line-height: 40px;
  }

  .card-subtitle {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 40px;
  }

  .card-description {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 640px) {
  .recognition-grid {
    grid-template-columns: 1fr;
  }

  .card-title {
    font-size: 28px;
    line-height: 36px;
  }
}

/*---------------------  Courses Page  -----------------*/

.course-box {
  border: 3px solid #0f4761;
  border-radius: 20px;
  margin: 20px auto;
  max-width: 1200px;
  background-color: rgba(241, 241, 242, 0.3);
}

.course-content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 40px;
}

.course-header {
  background-color: #0f4761;
  border-radius: 15px 15px 0 0;
}

.header-title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 50px;
  text-align: center;
  padding: 0 20px;
  margin: 0;
}

.course-content-table {
  padding: 40px;
}

.course-table-title {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.skills-grid h4.course-table-title:last-of-type {
  border-bottom: none;
}

.course-table-duration {
  color: #333333;
  font-weight: 400;
  margin-bottom: 20px;
}

.course-table-description {
  color: #333;
  font-weight: 400;
}

.strengths-service-table-subtitle {
  color: #0f4761;
  font-size: 18px;
  line-height: 23px;
  margin: 0 0 20px;
  max-width: 415px;
}

.strengths-service-table-description {
  color: #333;
  font-size: 16px;
  line-height: 24px;
}

.spacer {
  height: 20px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px;
}

.skill-item {
  padding-bottom: 20px;
  border-bottom: 1px solid #c7c7c7;
}

.skill-description {
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  margin-top: 10px;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 40px;
}

.workshop-title {
  color: #000;
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  padding: 20px;
  margin: 0;
}

.highlight-text {
  color: #009999;
  font-size: 32px;
  font-weight: 500;
  line-height: 36px;
  text-align: right;
  padding: 0 40px 40px;
  margin: 0;
  grid-column: span 2;
}

.service-subtitle {
  color: #0f4761;
  font-size: 20px;
  line-height: 25px;
  max-width: 415px;
  margin-bottom: 20px;
}

.service-description {
  color: #333;
  max-width: 725px;
  margin-left: 590px;
  margin-top: -100px;
}

.divider svg {
  width: 95%;
  justify-self: center;
  height: 1px;
  background: #c7c7c7;
}

.subheading-text {
  text-align: center;
  color: var(--bs-gray);
  margin-top: -50px;
  margin-bottom: 50px;
}

.btn {
  box-sizing: border-box;
  font-weight: 600;
  line-height: 50px;
  padding: 0 40px;
  border-radius: 10px;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background-color: #0f4761;
  border: none;
}

.btn-secondary {
  color: #0f4761;
  background-color: transparent;
  border: 3px solid #0f4761;
}

@media (max-width: 991px) {
  .section-title {
    font-size: 42px;
    line-height: 56px;
    margin-top: 2rem;
  }

  .skills-grid,
  .workshop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-grid h4.course-table-title:last-of-type {
    border-bottom: 1px solid #c7c7c7;
  }

  .workshop-grid h4.course-table-title:not(:last-of-type) {
    padding-bottom: 30px;
    border-bottom: 1px solid #c7c7c7;
  }

  .course-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .service-description {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: 600;
  }

  .course-content-table {
    padding: 20px;
  }

  .course-table-title {
    font-size: 18px;
    line-height: 22px;
  }

  .course-table-description {
    font-size: 16px;
    line-height: 24px;
  }

  .skills-grid,
  .workshop-grid {
    grid-template-columns: 1fr;
  }

  .skill-title,
  .workshop-title {
    font-size: 20px;
    line-height: 22px;
  }

  .highlight-text {
    font-size: 22px;
    line-height: 25px;
    text-align: center;
    padding: 20px;
  }

  .service-subtitle {
    font-size: 18px;
    line-height: 24px;
  }

  .service-description {
    font-size: 16px;
    line-height: 22px;
  }
}


/*--------------------- Contact Section -----------------*/
.contact-section {
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  color: #0f4761;
  font-size: 2.8rem;
  font-weight: 500;
  text-align: center;
  margin: 3rem 0 5rem 0;
}

.contact-content {
  display: flex;
  align-items: center;
  gap: 100px;
}

.contact-description {
  color: #5d5d5d;
  font-size: 23px;
  font-weight: 500;
  max-width: 550px;
  line-height: 1.5;
}

.contact-details {
  color: #fff;
  margin: 0;
  padding: 50px 50px;
  border-radius: 20px;
  background-color: #0f4761;
}

.contact-details p, .contact-details address {
  margin: 0;
  padding: 5px 0;
}

.contact-details-title {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-info span {
  font-weight: 700;
}

.address {
  font-size: 20px;
  margin-top: 20px;
  font-style: normal;
  line-height: 1.3;
}

/* Contact Form Section */
.contact-form-section {
  padding: 50px 250px;
  text-align: center;
  margin-bottom: 50px;
}

.contact-form {
  max-width: 1200px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
}

.form-input {
  border: none;
  border-radius: 5px;
  padding: 15px 20px;
  font-size: 17px;
  width: 100%;
  background-color: #f1f1f2;
}

.form-textarea {
  border: none;
  border-radius: 5px;
  padding: 15px;
  font-size: 18px;
  width: 100%;
  height: 150px;
  margin-top: 8px;
  resize: none;
  background-color: #f1f1f2;
}

.submit-button {
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 16px 32px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 13px;
  cursor: pointer;
  background-color: #0f4761;
}

@media (max-width: 991px)  {
  .contact-content {
    margin: 20px;
  }
  
}

/* Our team */

/* Team section */
.team-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: white;
}

.container {
    padding: 50px 20px;
    width: 100%;
    max-width: 1200px;
}

.team-title {
    margin-bottom: 80px;
    font-size: 72px;
    font-weight: 500;
    text-align: center;
    color: #0F4761;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: -300px;
}

/* Team member card */
.team-member {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}

.team-member.reverse {
    align-items: flex-end;
}

/* Image container styles */
.member-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-color: #E5E7EB; /* Light gray background */
}

.member-image-container.left {
    height: 650px;
    width: 500px;
}

.member-image-container.right {
    height: 650px;
    width: 500px;
    top: -350px;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    mix-blend-mode: multiply; /* This helps blend the gradient with the background */
}

.gradient-overlay.left, .gradient-overlay.right {
    background: linear-gradient(180deg, #D3D3D3 0%, #0F4761 100%);
}

.member-image {
    position: relative;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    margin: 33px auto 0;
}

.member-image-container.left .member-image {
    height: 650px;
}

.member-image-container.right .member-image {
    height: 650px;
}

/* Member info styles */
.member-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.member-info.text-right {
  position: relative;
    text-align: right;
    top: -350px;
}

.member-name {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.member-role,
.member-email,
.member-phone {
    font-size: 24px;
    color: #030303;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .member-image {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .contact-description {
      padding: 20px;
    }
    .contact-details {
        padding: 20px;
        margin: 20px;
    }

    .team-title {
        margin-bottom: 64px;
        font-size: 48px;
    }

    .team-members {
        gap: 64px;
        margin-bottom: 0;
    }
  
    .team-member {
        flex-direction: column;
        gap: 40px;
        margin: 30px;
        align-items: center;
    }

    .team-member.reverse {
        flex-direction: column-reverse;
        align-items: center;
    }

    .member-image-container.left,
    .member-image-container.right {
        width: auto;
        height: 550px;
        top: auto;
    }

    .member-info,
    .member-info.text-right {
        text-align: center;
        top: auto;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 32px 20px;
        
    }

    .team-title {
        margin-bottom: 40px;
        font-size: 36px;
    }

    .team-members {
        gap: 40px;
    }
}


/*--------------- Footer ------------------*/
.footer {
  padding: 92px 20px 0;
  background-color: #0f4761;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
}


/* Responsive Design */
@media (max-width: 991px) {
  .contact-section {
    padding: 3rem 2rem;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-details {
    padding: 20px;
  }

  .contact-form-section {
    padding: 50px 20px;
  }

  .form-row {
    flex-direction: column;
  }
}

/* Focus and Hover States */
.nav-link:hover,
.nav-link:focus,
.footer-link:hover,
.footer-link:focus {
  text-decoration: underline;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  outline: 2px solid #0f4761;
}

.submit-button:hover,
.submit-button:focus {
  background-color: #0d3a4f;
  outline: none;
}

/* Accessibility Enhancements */
.submit-button:focus-visible,
.nav-link:focus-visible,
.footer-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.footer-section-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18.2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-contact-section {
  flex: 1;
}

.contact-info {
  margin-bottom: 69px;
  font-style: normal;
}

.contact-item {
  color: #fff;
  font-size: 14px;
  line-height: 19.6px;
}

.contact-item p {
  font-size: 14px;
}

.contact-label {
  font-weight: 700;
}

.physical-address {
  color: #fff;
  font-size: 14px;
  line-height: 19.6px;
  font-style: normal;
}

.footer-navigation-section {
  flex: 1;
}

.footer-nav + .footer-nav .footer-section-title {
  margin-top: 2.8rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-link {
  color: #fff;
  font-size: 14px;
  line-height: 19.6px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1px;
  cursor: pointer;
  font-weight: 400;
}

.footer-nav-link:hover,
.footer-nav-link:focus {
  text-decoration: underline;
}

.footer-courses-section {
  flex: 1;
}

.footer-courses-section .footer-nav + .footer-nav .footer-section-title {
  margin-top: 48px;
}

.footer-bottom {
  max-width: 1200px;
  border-top: 1px solid #fff;
  padding-top: 30px;
  padding: 30px 0 39px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: auto;
}

.copyright,
.credits {
  color: #fff;
  font-size: 13px;
  line-height: 19.5px;
  margin: 0;
}

@media (max-width: 991px) {
  .footer-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .contact-section,
  .footer-navigation-section,
  .footer-courses-section {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 60px 20px 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
}

/* Chatbot peak performance landing page */

.chat-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
} 

.chat-intro, .chat-bot {
  padding: 3rem;
}

.chat-intro {
  background-color: #0d3a4f;
  color: #fff;
  border-top-right-radius: 1rem;
  align-content: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 10rem;
}


.chat-intro img {
  display: block;
  margin: 0 auto 2rem auto;
  max-width: 120px;
  width: 60%;
  height: auto;
}

.chat-intro h2 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.chat-intro h3 {
  font-size: 1.7rem;
  margin-bottom: 5rem;
  max-width: 33vw;
  word-break: break-word;
  
  white-space: normal;
}

.chat-intro p {
  margin-top: 2rem;
  max-width: 25vw;
  margin-left: auto;
  margin-right: auto;
}

p+p {
  margin-top: 1.2rem;
  line-height: 1.5rem;
}


@media (max-width: 1200px) {
  .chat-section {
  grid-template-columns: 1fr ;
  gap: 1rem;
} 

.chat-intro {
  border-top-right-radius: 0rem;
  padding: 2rem 5rem;
}

.chat-intro h2 {
  font-size: 2.5rem;
}

.chat-intro h3 {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  max-width: 90vw;
}

.chat-intro p {
  margin: 2rem 0;
  max-width: 90vw;
}

}

@media (max-width: 640px) {
  .chat-intro img {
    max-width: 80px;
    width: 70%;
    margin-bottom: 1.2rem;
  }
}


