body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: white;
    height: 100%;
  }

.topnav {
    background: linear-gradient(135deg, #009DE0 5%, #252042 95%);
    overflow: hidden;
    position: sticky;
    top:0;
    z-index: 1000;
  }
  
  .navbar-text {
    float: left;
    padding: 14px 16px;
    font-size: 18px;
    color: white;
  }
  
  .topnav a {
    float: right;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  .topnav a.active {
    background-color: #009DE0 ;
    color: white;
  }
  
  .topnav .icon {
    
    display: none;
    color: white;
  }

  /* top image */

  .top-image img{
    height: 40rem;
    width: 120rem;
    position: relative;
    display: inline-block;
  }

  
  .text-overlay {
    position: absolute;
    top: 40%;
    left: 20rem; /* Adjust as needed */
    transform: translateY(-50%);
    color: black; /* Text color */
    padding: 10px;
    border-radius: 5px;
  }

 
  @keyframes typing {
    from { width: 0; }
    to { width: 100%; }
  }
  
  @keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: white; } /* Adjust the color as needed */
  }
  
  @keyframes fadeOutCursor {
    from { border-color: white; }
    to { border-color: transparent; }
  }
  
  #typing-text {
    display: inline-block;
    overflow: hidden; /* Ensures the text is hidden until typed */
    white-space: nowrap; /* Keeps the text on one line */
    border-right: 2px solid white; /* Creates the blinking cursor effect */
    font-size: 3rem;
    
    animation: 
      typing 4s steps(22, end), /* Typing effect */
      blink 0.75s step-end infinite, /* Blinking cursor during typing */
      fadeOutCursor 0.5s step-end forwards 4s; /* Fade out cursor after typing */
  }

  /* info section */

  .info {
    padding-left: 10rem;
    padding-right: 10rem;
  }

  .info h1 {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 3rem;
  }

  .info-row {
    display: flex;
    flex-wrap: wrap; /* Allows the columns to stack on smaller screens */
    justify-content: center;
  }

  .info-column {
    flex: 1;
    max-width: 100%;
    padding: 1rem;
  }

  .info-column img {
    height: 45rem;
    width: 40rem;
    margin-left: 5rem;
  }

  .info-column p {
    text-align: center;
    font-size: 1.4rem;
    margin-top: 5.5rem;
    margin-right: 5rem;
  }

  .info-container {
    display: flex;
    gap: 5rem; /* Adjust the gap between rectangles */
    justify-content: center;
    align-content: center;
    padding: 5rem;
  }
  


  .visionheading{
    font-size: 2.3rem;
    text-align: center;
    margin-top: 5rem;
  }

  .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px; /* Limit max width for better alignment */
    margin: 0 auto;
    padding-top: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 50px;
    position: relative; /* Ensure relative positioning for child elements */
}

.section {
    text-align: center;
    flex-basis: 45%; /* Give both sections equal width */
}

.icon img {
    width: 80px;
    height: auto;
}

h2 {
    font-size: 24px;
    color: black;
    margin-top: 20px;
}

p {
    font-size: 16px; /* Increased font size for readability */
    color: black;
    margin-top: 10px;
    line-height: 1.5;
}

.missiontext, .visiontext {
    width: 100%; /* Ensure full width is utilized */
    text-align: justify; /* Text justification for even spacing */
}

/* Divider line between sections */
.divider {
    width: 2px;
    height: 25rem; /* Adjusted height to fill the container */
    background-color: #3d0505; /* Light gray vertical line */
    align-self: stretch; /* Ensure the divider stretches to match the height of the sections */
    margin-top: 0; /* Remove margin if present */
}

.team-section {
  text-align: center;
  padding: 50px;
  background-color: #fff;
}

.team-heading {
  font-size: 36px;
  color: #1a2e67;
  margin-bottom: 30px;
}

.team-container {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.team-member {
  /* background-color: #009DE0; */
  /* background: linear-gradient(180deg, #013c72 20%, white 80%); */

  color: black;
  width: 40rem;
  border-radius: 20rem 20rem 1rem 1rem;
  padding: 20px;
  text-align: center;
}

.member-image img {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  object-fit: cover;
}

.member-name {
  font-size: 1.5rem;
  margin: 15px 0 5px;
}

.member-position {
  font-size: 1.3rem;
  color: black;
}

.member-description {
  font-size: 1.2rem;
  color: black;
  margin-top: 10px;
}

  
  
/* footer */
.footer {
  background: linear-gradient(135deg, #009DE0 5%, #252042 95%);
  color: white;
}

.footer h2{
  color: white;
}

.footer p{
  color: white;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 5rem;
}

.footer-column {
  flex: 33.33%;
  padding: 20px;
  box-sizing: border-box;
}

.footer-column a{
  color: white;
}
  


  


  @media screen and (max-width: 768px) {
   
    .topnav a.icon {
      float: right;
      display: block;
      color: white;
    }
  
    .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }

    .topnav a {
      display: none;
  }

  .topnav.responsive .navbar-text {
      float: none;
      display: block;
      text-align: center;
      padding-bottom: 0;
  }

  .topnav.responsive a {
      display: block;
      text-align: left;
      float: none;
      padding: 14px;
  }
   
    .card-container {
      flex-direction: column;
      gap: 20px; /* Increase space between cards on mobile */
  }

  .team-heading {
    font-size: 28px;
  }

  .team-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .team-member {
    width: 90%;
    border-radius: 2rem;
    padding: 15px;
  }

  .member-image img {
    width: 12rem;
    height: 12rem;
  }

  .member-name {
    font-size: 1.3rem;
  }

  .member-position {
    font-size: 1.1rem;
  }

  .member-description {
    font-size: 1rem;
  }

  .info {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .info h1 {
    font-size: 3rem;
    text-align: center;
  }

  .info-row {
    display: block; /* Stack elements on smaller screens */
  }

  .info-column img {
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure the image fits within the container */
    margin: 0 auto; /* Center the image */
    display: block; /* Ensure it behaves like a block element */
  }

  .info-column p {
    text-align: center;
    font-size: 1rem;
    margin: 0 auto;
    line-height: 1.5;
    padding: 0;
    text-indent: 0;
  }


.visionheading {
    font-size: 1.8rem;
    margin-bottom: -2rem;
}

.container {
    flex-direction: column;
    gap: 2rem;
}

.section {
    width: 100%; /* Full width on mobile */
}

.icon img {
    width: 50px;
}

h2 {
    font-size: 1.6rem;
}

p {
    font-size: 1rem;
    /* word-spacing: 5rem; */
}

.divider {
    width: 0%; 
    height: 0px;/* Adjust the width of the divider */
}

.footer-row {
  flex-direction: column;
  align-items: center;
}

.footer-column {
  width: 100%;
  padding: 10px 0;
}



  }


  @media screen and (min-width: 768px) and (max-width: 1024px) {
    .info {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .info h1 {
        font-size: 3.5rem;
    }

    .info-row {
        display: flex;
        flex-direction: column; /* Stack vertically on tablets */
    }

    .info-column img {
        width: 80%;
        height: auto;
        margin: 0 auto;
        display: block;
        
    }

    .info-column p {
        font-size: 1.2rem;
        padding: 0;
        text-align: center;
        display: block;
    }

    .team-heading {
        font-size: 32px;
    }

    .team-container {
        flex-direction: column;
        gap: 3rem;
    }

    .team-member {
        width: 80%;
        margin: 0 auto;
    }

    .member-name {
        font-size: 1.4rem;
    }

    .member-position {
        font-size: 1.2rem;
    }

    .member-description {
        font-size: 1.1rem;
    }

    .visionheading {
        font-size: 2rem;
    }

    .container {
        flex-direction: column;
        gap: 3rem;
    }

    .section {
        width: 100%;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1.1rem;
    }

    .divider {
        display: none; /* Hide the divider on tablets */
    }

    .footer-row {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        width: 100%;
        padding: 10px;
    }

    .top-image img {
        width: 100%;
        height: auto;
    }

    .topnav a {
        padding: 12px 14px;
        font-size: 16px;
    }
}
