/*SERVICES*/

.services{
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 20px;
    padding-top: 20.8rem;
}

.service-container {
    text-align: center; /* Center the header and description */
    padding: 10px; /* Add some padding around the section */
    margin-bottom: 5rem;
}

.serviceshead {
    margin-bottom: 2rem;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
}

.osprovidetext {
    font-size: clamp(2.4rem, 5vw, 7rem);
    color: #0400ff;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
}

.ostext {
    font-size: clamp(2.4rem, 5vw, 7rem);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    color: rgb(255, 255, 255);
}

.osdes {
    color: #ffffff;
    font-size: clamp(1rem, 1.3vw, 3rem);
    font-style: italic;
    line-height: clamp(1.6rem, 1.8vw, 3.6rem);
    font-family: "Quicksand", sans-serif; /* Use your preferred font */
    font-weight: 400;
    margin: 0 auto; /* Center the description */
    max-width: 90%; /* Limit the width on mobile */
}

.serviceshead, .osdes {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.serviceshead.fade-in, .osdes.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/*SERVICES MEDIA QUERIES*/
@media only screen and (min-width: 768px) and (max-width: 1023px) { 
}

@media only screen and (min-width: 1024px) and (max-width: 1439px) {
    .service-container {
        margin-top: 1rem;
    }
    .serviceshead {
        margin-bottom: 10px;
        text-align: left; /* Ensure text is left-aligned */
        margin-left: 3rem;
    }

    .osdes {
        margin-left: 3rem;
        margin-top: 3rem;
        margin-right: auto; /* Keep right margin auto for overall centering of the block */
        max-width: 40%; /* Limit the width */
        text-align: left; /* Ensure text is left-aligned */
    }
}

@media only screen and (min-width: 1440px) and (max-width: 40000px) {
    .service-container {
        margin-top: 1rem;
    }
    .serviceshead {
        margin-bottom: 20px;
        text-align: left; /* Ensure text is left-aligned */
        margin-left: 3rem;
    }

        .osdes {
        margin-left: 3rem;
        margin-top: 3rem;
        margin-right: auto; /* Keep right margin auto for overall centering of the block */
        max-width: 40%; /* Limit the width */
        text-align: left; /* Ensure text is left-aligned */
    }
}

/*SERVICES CARD*/

.icon {
  font-size: clamp(3rem, 10vw, 8rem); /* Adjusts from ~48px to 128px */
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.icon:hover {
  transform: scale(1.1);
}


.ssl-services {
  margin-top: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
}

.ssl-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ssl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
  margin: 0 auto;
}

.ssl-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.ssl-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.stitle {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: rgb(187, 187, 255);
  font-size: clamp(1.5rem, 2vw, 5rem);
  margin: 1rem;
  text-align: center;
}

.sdes {
  font-family: "Quicksand", sans-serif;
  color: white;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1vw, 2rem);
  line-height: clamp(1.6rem, 1.8vw, 3.6rem);
  max-width: 90%; /* Limit the width on mobile */
  text-align: center;
}

/**/

.ssl-services2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
}

.ssl-cards2 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ssl-card2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
  margin: 0 auto;
}

.ssl-card2.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.ssl-card2 {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.s2title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: rgb(187, 187, 255);
  font-size: clamp(1.5rem, 2vw, 5rem);
  margin: 1rem 0 0.5rem;
  text-align: center;
}

.s2des {
  font-family: "Quicksand", sans-serif;
  color: white;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1vw, 2rem);
  line-height: clamp(1.6rem, 1.8vw, 3.6rem);
  max-width: 90%; /* Limit the width on mobile */
  text-align: center;
}

/*SERVICES CARD QUERIES*/
@media only screen and (min-width: 767px) and (max-width: 1023px) { 
}

@media only screen and (min-width: 1024px) and (max-width: 1439px) {
    .ssl-services {
        padding: 2rem 1rem;
        text-align: left; /* Align text to the left */
    }
    .ssl-cards {
        flex-direction: row;
        gap: 10rem;
    }
    .ssl-card {
        margin: 0 auto;
        max-width: 300px;
    }

    .sdes {
        text-align: center; /* Ensure text is left-aligned */
        max-width: 37.5rem;
    }

    .ssl-services2 {
        padding: 2rem 1rem;
        text-align: left; /* Align text to the left */
    }
    .ssl-cards2 {
        flex-direction: row;
        gap: 10rem;
    }
    .ssl-card2 {
        margin: 0 auto;
        max-width: 300px;
    }

    .s2des {
    text-align: center; /* Ensure text is left-aligned */
    max-width: 37.5rem;
    }
}

@media only screen and (min-width: 1440px) and (max-width: 40000px) {
    .ssl-services {
        padding: 2rem 1rem;
        text-align: left; /* Align text to the left */
    }
    .ssl-cards {
        flex-direction: row;
        gap: 20rem;
    }
    .ssl-card {
        margin: 0 auto;
        max-width: 300px;
    }

    .sdes {
    text-align: center; /* Ensure text is left-aligned */
    max-width: 40rem;
    }

    .ssl-services2 {
        padding: 2rem 1rem;
        text-align: left; /* Align text to the left */
    }
    .ssl-cards2 {
        flex-direction: row;
        gap: 20rem;
    }
    .ssl-card2 {
        margin: 0 auto;
        max-width: 300px;
    }

    .s2des {
    text-align: center; /* Ensure text is left-aligned */
    max-width: 40rem;
    }
}

/* CORE VALUES SECTION */
.coreval {
  position: relative;
  background-color: #1b1b3a;
  overflow: hidden;
  background-image: url('cvbackground.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll; /* Ensures image scrolls with content */
  padding: 7rem 2rem;
  z-index: 0;
  color: #ffffff;
  text-align: center;
}

.coreval::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(27, 27, 58, 0.85); /* Keeps content readable */
  z-index: -1;
}

.corevalhead {
  margin-bottom: 2rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
}

.coretext {
  font-size: clamp(2.4rem, 5vw, 7rem);
  color: rgb(255, 255, 255);
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
}

.valuetext {
  font-size: clamp(2.4rem, 5vw, 7rem);
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  color: #0400ff;
}

/* CORE VALUE  CARDS */
.coreval-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.coreval-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: scale(1);
  transition: transform 0.3s ease;
  max-width: 800px;
  width: 80%;
  text-align: center;
}


.coreval-card:hover {
  transform: scale(1.03);
}


/* Icon styles */


/* Description styles */
.card-description {
  font-family: "Quicksand", sans-serif;
  color: white;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1vw, 2rem);
  line-height: clamp(1.6rem, 1.8vw, 3.6rem);
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* CORE VALUES MEDIA QUERIES */
@media only screen and (min-width: 767px) and (max-width: 1023px) { 
}

@media only screen and (min-width: 1024px) and (max-width: 1439px) {
    .coreval-cards {
  display: flex;
  flex-wrap: wrap; /* Ensures cards wrap on smaller screens */
  flex-direction: row;
  gap: 2rem;
  justify-content: center; /* Centers the cards in the container */
  padding: 2rem;
  margin: 2 auto;

    }
    .coreval-card {
        max-width: 240px;
        height: 25rem;
        margin: 0 auto;
    }

    .card-description {
      margin-top: 2rem;
      line-height: 1.6;
      max-width: 100%;
      font-size: 1rem;
      align-items: center;
    }
}

@media only screen and (min-width: 1440px) and (max-width: 40000px) {
.coreval-cards {
  display: flex;
  flex-wrap: wrap; /* Ensures cards wrap on smaller screens */
  flex-direction: row;
  gap: 12rem;
  justify-content: center; /* Centers the cards in the container */
  padding: 2rem;
  margin: 2 auto;
}
    .coreval-card {
        max-width: 240px;
        height: 25rem;
        width: 80%;
    }

    .card-description {
      margin-top: 2rem;
      line-height: 1.2;
      max-width: 100%;
      font-size: 1.5rem;
      align-items: center;
    }
}