/* Declaring some variables for the page */

* {
    font-family: 'roboto', sans-serif;
}

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

 /* Main Scroll Button Container */
#scrollToTopBtn {
  position: fixed;
  bottom: -60px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #009C99;
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transition: bottom 0.5s ease, opacity 0.5s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

#scrollToTopBtn.show {
  bottom: 30px;
  opacity: 1;
}

/* Pulsing (Ring style) */
#scrollToTopBtn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgba(77, 255, 246, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: pulse-ring 1.5s infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

#scrollToTopBtn:hover {
  background-color: #009C99;
}

/* Styling the wave content on the about us page */
.wave-section {
    position: relative;
    text-align: center;
    color: white;
    margin-bottom: 6rem;
}

.wave {
    display: block;
    position: relative;
    bottom: 0;
    left: 0;
    max-width: 100%;
    z-index: -1;
}

.wave-content {
    position: absolute;
    left: 100px;
    bottom: 100px;
    margin: auto;
    text-align: left;
}

.wave-content::after {
    display: block;
    content: "";
    width: 20%;
    height: 2px;
    background-color: #05009c;
    margin-top: 30px;
}

.wave-content h2 {
    font-size: 1rem;
    font-size: clamp(1rem, 0.4rem + 3vw, 4rem);
    line-height: 0;
}

.about-container,
.about-container2 {
    max-width: 85%;
    margin: auto;
}

.team-header {
    text-align: center;
}

.team-header p {
    color: #009C99;
    font-weight: 900;
}

.team-header h3 {
    font-size: 1rem;
    font-size: clamp(1rem, 0.6rem + 2vw, 3rem);
    max-width: 40%;
    margin: auto;
    padding-bottom: 4rem;
}

/* Styling the members section on the about us page */
.members-card {
    max-width: 1200px; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    justify-content: center; 
    margin: auto;
    padding-top: 2rem;
    padding-bottom: 80px;
}

/* Ensure all profile images have the same size */
.profile-card .image-container img {
    width: 100%;
    height: 260px;              /* choose a consistent height */
    object-fit: cover;          /* crop instead of stretch */
    object-position: center;
    display: block;
}

/* Optional: if some images are wrapped in image-container */
.profile-card .image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.profile-card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


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

.members-card img,
.members-card2 img {
    width: 100%;
}

.profile-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 6px 4px 8px 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.members-card .profile-description {
    margin: 1rem 3rem 1rem 3rem;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}

.members-card .colored-design {
    height: 3rem;
    background: rgb(238,174,202);
    background: radial-gradient(circle, rgba(238, 174, 202, 0.645) 0%, rgba(34, 192, 195, 0.508) 100%);
}

.members-card .profile-description .profile-details .profile-connect {
    display: flex;
    align-items: center;
    justify-content: end;
    column-gap: 1rem;
    margin-bottom: 0;
    font-weight: 500;
    padding-top: 1rem;
}

.members-card .profile-description .profile-details h3:nth-child(1) {
    font-size: 1.3rem;
    font-weight: 500;
}

.members-card .profile-description .profile-details .profile-connect p {
    padding-right: 1rem;
    font-size: 0.6rem;
    opacity: 50%;
}

.profile-details p:nth-child(2) {
    margin-bottom: 3px;
    font-weight: 100;
    opacity: 50%;
    font-size: 0.8rem;
}

.profile-details h3:nth-child(3) {
    margin-top: 0;
    font-weight: 500;
    color: #808080;
}

.profile-details p:nth-child(4) {
    font-size: 0.9rem;
    line-height: 1.4rem;
    font-weight: 300;
}

.profile-details p:nth-child(4):after {
    display: block;
    content: "";
    width: 15%;
    height: 4px;
    background: rgb(238,174,202);
    background: radial-gradient(circle, rgba(238, 174, 202, 0.645) 0%, rgba(34, 192, 195, 0.508) 100%);
    margin-top: 30px;
}

/* Styling the Our History section on the about us  page*/
.fnl-story {
    max-width: 960px;
    margin: auto;
    /* border-bottom: 1px solid rgba(233, 225, 225, 0.811); */
    padding-bottom: 30px;
}

.our-history {
    margin-bottom: 30px;
}

.our-history p {
    line-height: 1.6rem;
    font-size: 1.2rem;
    letter-spacing: 0.1px;
}

.our-history h1 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2rem;
    color: #009C99;
}

#second-title {
    padding-top: 30px;
}

.abtUs1 {
    max-width: 100%;
    min-height: 700px;
    padding-bottom: 20px;
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    filter: brightness(0.8);
    /* parallax pic */
    background-image: url('../images/abtUs1.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Styling the Values and mission/vision section on the about us page */
.values-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 80px;
    vertical-align: top;
}

.vision-mission-con {
    max-width: 90% ;
    margin-left: 10px;
    /* border: 1px solid red; */
    padding-left: 20px;
}

.vision-mission-con h1 {
    margin-bottom: 40px;
}

.vision-mission-con p {
    line-height: 1.4rem;
    opacity: 60%;
}

.v1-space {
    margin-top: 50px;
}

/* Styling the accordions on the values page of the About us */
.accordion li {
    list-style: none;
    margin: 10px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.accordion h1 {
    margin-top: 0;
}

.accordion li .value-text {
    margin-left: 30px;
}
  
.accordion li label {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}
  
label::before {
    content:"+";
    color: #009C99;
    margin-right: 10px;
    font-size: 2rem;
    font-weight: 600;
}
  
input[type="radio"] {
    display: none;
}
  
.accordion .value-text {
    color:#8C8C8C;
    padding-left: 30px;
    margin-top: -15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, padding 0.5s;
}
  
.accordion input[type="radio"]:checked + label + .value-text {
    max-height: 80px;
    padding: 10px 10px 20px;
}
  
.accordion input[type="radio"]:checked + label::before {
    content: "-";
}

/* Styling the company rotating logo */
.about-us-logo img {
    width: 120px;
    display: block;
    margin: auto;
    /* opacity: 0.7; */
}

.about-us-logo .rotate-image{
    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

/* use keyframes */
@-webkit-keyframes spin {
    100%{-webkit-transform: rotate(360deg);}
}
@-webkit-keyframes spin {
    100%{-webkit-transform: rotate(360deg);}
}
@keyframes spin {
    100%{-webkit-transform: rotate(360deg)};
}

/* Styling the footer design on top of it */
.design-part {
    background: rgb(238,174,202);
    background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(34,193,195,1) 100%);
    max-width: 100%;
    height: 0.5rem;
}

/* Styling the Contact form on the Services page */
.service-contact-container {
    max-width: 100%;
    position: relative;
}

.service-contact-container .footer-background-image img {
    position: absolute;
    object-fit: cover;
    object-position: center;
    max-width: 50%;
    left: 40%;
    margin: auto;
    z-index: -1;
}

.service-contact-container .footer-background-image img:nth-child(1) {
    left: 0%;
}

.service-contact-container .footer-background-image img:nth-child(2) {
    right: 0%;
    bottom: 0;
}

.service-contact-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 255, 251, 0.229);
    z-index: -2;
}

.service-contact-form {
    max-width: 100%;
    display: flex;
    justify-content: center;
    column-gap: 190px;
}

.form-1,
.form-2 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.form-1 #support-us {
    margin-top: 15px;
    padding-bottom: 10px;
}
.form-1 {
    margin-right: 40px;
}

.form-1 #intouch{
    text-decoration: underline;
    text-decoration-color: #009C99;
}

.form-1 h3{
    line-height: 0.4rem;
    font-size: 1rem;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    padding-bottom: 10px;
}

.form-1 p {
    line-height: 1rem;
}

.form-1 a {
    text-decoration: none;
    color: black;
    font-size: 1.6rem;
    font-weight: bolder;
}

.anchor-contact a{
    font-size: 1.1rem;
    font-weight: 100;
    text-decoration: underline;
    transition-duration: 0.4s;
    color: #5d5757;
}

.anchor-contact a:hover {
    color: #009C99;
}

.first-input input::placeholder {
    padding-top: 10px;
    padding-left: 5px;
    color: #8C8C8C;
    opacity: 0.5;
    font-size: 20px;
    outline: #8C8C8C;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus {
    border: 1px solid #009C99;
} */

textarea:focus {
    outline: 1px solid #009C99;
}

.first-input {
    padding-right: 30px;
}

input[type="email"],
input[type="text"],
input[type="tel"] {
    padding: 20px 0 20px 20px;
    font-size: 20px;
    color: #8C8C8C;
    border: none;
    padding-right: 20px;
    background-color: #fff;
    outline: 1px solid #009C99;

}

input[type="email"],
input[type="text"] {
    margin-bottom: 20px;
}

input[type="text"],
input[type="tel"] {
    margin-right: 20px;
}

.services-row {
    margin-bottom: 20px;
}

.general-services {
    padding: 18px 1px;
    color: #8C8C8C;
    border: none;
    font-size: 17px;
    outline: 1px solid #009C99;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-2 textarea {
    width: 98%;
    height: 150px;
    background-color: #fff;
    border: none;
    color: #8C8C8C;
    padding-left: 28px;
    outline: 1px solid #009C99;
}

.btn-request {
    width: 200px;
    height: 60px;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
    background-color: #009C99;
    /* background-image: linear-gradient(to right, rgba(43, 10, 10, 0.77), rgba(54, 154, 99, 0.863)); */
    border: none;
    font-size: 1.2rem;
    color: #fff;
    transition-duration: 0.4s;
}

.btn-request:hover {
    background-color: black;
    color: #009C99;
}

/* Responsivesness */
@media (min-width: 1201px) {
    .wave-content {
        left: 25%;
    }
}
@media (max-width: 1200px) {
    .values-container {
        display: grid;
        grid-template-columns: 1fr;
    }
    .members-card {
        padding: 1rem;
    }
}

@media (max-width: 1130px) {
    .service-contact-container {
        padding: 1rem;
    }
    .title3, .title2, .title1 {
        width: 80%;
        bottom: 30%;
        margin: auto;
    }
}

@media (max-width: 992px) {
    .service-contact-form {
        flex-direction: column;
    }
    .our-history {
        padding: 1rem;
    }
    .form-1{
        padding-top: 70px;
        padding-bottom: 0;
    }
}

@media (max-width: 800px) {
    .wave-content {
        left: 10%;
        bottom: 50px;
    }
}

@media (max-width: 768px) {
    .fnl-story {
        max-width: 100%;
        margin: auto;
        padding: 1rem 1rem 3rem 1rem;
    }
    .values-container {
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }
    .members-card,
    .members-card2 {
        display: grid;
        justify-content: center;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 718px) {
    .profile-card:nth-child(4) .colored-design{
        margin-bottom: 0;
    }
}

@media (max-width: 658px) {
    .profile-card:nth-child(6) .colored-design{
        margin-bottom: 0;
    }
    .profile-card:nth-child(4) .colored-design{
        margin-bottom: 0;
    }
}

@media (max-width: 601px) {
    .wave-content {
        left: 10%;
        bottom: 20px;
    }
    .wave-content::after {
        margin-top: 10px;
    }
    .wave-content p {
        display: none;
    }
    .members-card {
        gap: 1rem;
    }
    .service-contact-container {
        max-width: 100%;
    }
    .service-contact-form {
        flex-direction: column;
        padding: 0 10px;
    }
    .form-1 {
        padding-bottom: 0;
    }
    input[type="email"],
    input[type="text"],
    input[type="tel"] {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    input[type="tel"] {
        margin-bottom: 0.5rem;
    }
    .general-services {
        width: 100%;
    }

    .form-2 textarea {
        width: 100%;
        padding-top: 0.5rem;
    }
    .btn-request {
        margin-top: 0.4rem;
    }
    .first-input input {
        display: grid;
    }
    .form-2 {
        padding-top: 1rem;
    }
}













