body {
    font-family: sans-serif;
}

.about-us {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 50px;
}
  
.section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    height: 400px; /* adjust to your desired height */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    overflow: hidden;
}
  
.section.active {
    opacity: 1;
}

.mission {
    opacity: 0;
}

.features {
    opacity: 0;
    display: flex;
    flex-direction: column;
}
  
.section-reach-out {
    opacity: 0;
}

.section img {
    width: 50%;
    height: auto;
    object-fit: cover;
    overflow: hidden;
    border-radius: 5px;
}
  
.section-content {
    width: 50%;
    padding: 20px;
}
  
.section h2, h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #000;
}
  
.section p {
    line-height: 1.5;
    color: #000;
}
  
.feature-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;  /* Add this line to center the button */
    margin-right: auto;  /* Center the container horizontally */
    margin-left: auto;  /* Center the container horizontally */
    transition: 0.3s;
}
  
.feature {
    width: 40%;
    padding: 10px;
    border-radius: 5px;
    display: none;
    margin-right: 10px;  /* Add spacing between features */
    transition: 0.3s;
}

.feature:last-child {
    margin-right: 0;  /* Remove spacing for the last feature */
}
  
.feature:first-child {
    display: block;
}

.feature-next-button {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    background-color: #fff; /* White background */
    color: #20273fff;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
    margin-bottom: 10px; /* Add margin to separate buttons */
    margin-right: 10px; /* Add margin to separate buttons */
    font-family: sans-serif;
    align-items: center;
    justify-content: center;
}

.feature-next-button:hover {
    background-color: #1a81bdff; /* Darker red on hover */
    color: #fff;
  }

.feature img{
    max-width: 100px;
}

/* WELCOME */
.welcome {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: 500px; /* adjust to your desired height */
    transition: 0.3s;
    background-color:  rgba(26, 129, 189, 0.92);
    font-family: sans-serif;
}
  
.welcome-image-container {
    width: 50%;
    height: 100%;
    overflow: hidden;
}
  
.welcome-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transform: translateY(-50%); /* initial parallax position */
    transition: 0.3s;
}
  
.welcome-content {
    width: 50%;
    padding: 20px;
    /* text-align: center; */
}
  
.welcome h2 {
    font-size: 48px; /* larger text for welcome section */
    margin-bottom: 10px;
    color: #fff; /* use different color for emphasis */
}
  
.welcome p {
    line-height: 1.5;
    color: #fff; /* lighter text for better contrast */
}
  
/* Animation on scroll */  
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
  
.welcome-content {
    animation: fade-in 1s ease-in-out;
}
  
/* Parallax scrolling animation */
  
.welcome:hover .welcome-image {
    transform: translateY(0%);
    transition: 0.3s;
}
  
.welcome:active .welcome-image {
    transform: translateY(5%);
    transition: 0.3s;
}

/* REACH OUT */
.reach-out {
  padding: 50px 0;
  text-align: center;
  width: 80%;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.card-container {
  display: flex;
  justify-content: space-around;
}

.card {
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  width: 30%; /* adjust for responsiveness */
}

.card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.reach-out h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #000;
}

.reach-out h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #000;
    font-weight: lighter;
}

.card h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.card p {
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 768px) {
.about-us {
    padding-left: 0px;
    padding-right: 0px;
}

.card {
    width: 50%;
    margin-bottom: 2rem;
}

.card-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto; /* adjust to your desired height */
}

.section img {
    width: 50%;
    height: auto;
    object-fit: cover;
    overflow: hidden;
    border-radius: 5px;
}
  
.section-content {
    width: 100%;
    padding: 20px;
}

.section h2, h3 {
    font-size: 15px;
    margin-bottom: 10px;
    color: #000;
}

.section p {
    line-height: 1.5;
    color: #000;
}

.feature {
    width: 100%;
}
}

@media (max-width: 992px) {
    .section-content {
        padding: 1rem;
    }

    .feature {
        width: 100%;
    }
    .welcome {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
    }

    .welcome-content {
        width: 100%;
        padding: 20px;
        /* text-align: center; */
    }
      
    .welcome h2 {
        font-size: 18px; /* larger text for welcome section */
        margin-bottom: 10px;
        color: #fff; /* use different color for emphasis */
    }
      
    .welcome p {
        line-height: 1.5;
        color: #fff; /* lighter text for better contrast */
    }

    .welcome-image {
        display: none;
    }
}

@media (max-width: 1300px) {
    .welcome h2 {
        font-size: 36px; /* larger text for welcome section */
        margin-bottom: 10px;
        color: #fff; /* use different color for emphasis */
    }
      
    .welcome p {
        line-height: 1.5;
        color: #fff; /* lighter text for better contrast */
    }
}

@media (max-width: 1200px) {
    .welcome h2 {
        font-size: 24px; /* larger text for welcome section */
        margin-bottom: 10px;
        color: #fff; /* use different color for emphasis */
    }
      
    .welcome p {
        line-height: 1.5;
        color: #fff; /* lighter text for better contrast */
    }
}