@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600&display=swap');

/* FADE EFFECT */
@keyframes fadeUp {
    0% {
      opacity: 0;
      transform: translateY(200px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-up {
    opacity: 0; /* Ensure the div is invisible initially */
  }

  .fade-up-visible {
    opacity: 1; /* Ensure the div becomes visible */
    animation: fadeUp 1s ease-out forwards; /* Apply the animation */
  }



/* GLOBAL FONTS */
p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
}


h1{
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 2%;
}
h2{
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 28.8px;
    letter-spacing: 2%;
}
h3{
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 28.8px;
    letter-spacing: 2%;
}


a {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
    color: #7EB8E4;
}

h1 a{
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}


li{
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 22.4px;
}


/* GLOBAL BUTTONS */
.subscription-button {
    background-color: #004973;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 500;

    &:hover {
        background-color: #08406d;
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
        transition: 0.3s;
    }
}


/* STRUCTURES */

/* HEADER CSS */

/* heder code for results page header */
.headerdiv2{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    padding-right: 5%;
    padding-left: 5%;
}

.headerdiv{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: solid 0.5px rgba(255, 255, 255, 0.384);
    padding-right: 5%;
    padding-left: 5%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 58px; /* Adjust the height as needed */
}

.button-container {
    display: flex;
    gap: 10px; /* Space between buttons */
}

.register-btn, .login-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none; /* Remove underline from links */
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-btn {
    background-color: white;
    color: #c70000; /* Red color for text */

    &:hover{
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
        transition: 0.3s;
    }
}

.login-btn {
    background-color: #c70000; /* Red background */
    color: white;

    &:hover{
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
        transition: 0.3s;
    }
}

/* END OF HEADER CSS */

/* FOOTER CSS */
.footer {
    border-top: solid 0.5px rgba(255, 255, 255, 0.44);
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-container p {
    color: white;
    margin: 0;
    flex: 1;
}

.footer-nav {
    display: flex;
    gap: 10px; /* Space between links */
    flex: 2;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    margin-left: 10px;
}

.footer-nav a:not(:last-child)::after {
    content: '|';
    margin-left: 10px;
    color: white;
}
/* END OF FOOTER CSS */

body{
    margin: 0px;
}

.section-apai{
    padding-top:60px;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%; 
}

.section-apai-boxed{
    max-width: 1140px; 
    margin: 0px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.herodiv{
    height: 90vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.herodiv-frame{
    margin-top: -52px;
    padding: 64px;
    border-radius: 24px;
    background-color: rgba(22, 102, 148, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 32px;
}


.searchdiv{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* search field css for serach reuslts page */
.searchdiv2{
    display: flex;
    flex-direction: unset;
    justify-content: center;
    position: relative;
    width: 90%;
    margin: 0px auto;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: solid 0.5px rgba(255, 255, 255, 0.384);
}
.searchdiv2 .searchdiv{
    width: -webkit-fill-available;
}
.searchfield-d{
    height: 8px;
    width: -webkit-fill-available;
    border-radius: 12px;
    border: 0px;
    padding: 24px 64px 24px 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22.4px;
    color: rgba(0, 0, 0, 0.4);
}

.bodycopy {
    padding: 0px !important;
}
tr{
    background-color: #fff;
}

/* end search form css for search results page*/


.searchfield-c{
    height: 42px;
    width: 625px;
    border-radius: 12px;
    border: 0px;
    padding: 24px 64px 24px 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22.4px;
    color: rgba(0, 0, 0, 0.4);
}

.searchiconbutton{
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;

    &:hover{
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    border-radius: 99999px;
    transition: 0.3s;
    }
}


/* CSS FOR GRID SECTION */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12%, 1fr)); 
    gap: 2%;
    max-width: 1140px;
}

.grid-item {
    background-color: #004973;
    color: white;
    padding: 30px 10px 20px 10px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
    &:hover{
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
        transition: 0.3s;
    }
}

.grid-item img {
    max-width: 80px;
    height: 80px;
    margin-bottom: 32px;
    border-radius: 24px;
}

.grid-item h3{
    font-size: 18px;
}

/* CSS FOR TWO COLUMN SECTION */
.pro-section {
    
}

.pro-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-items: stretch; /* Ensure both children stretch to the same height */
}

.text-content {
    max-width: 45%;
}

.video-content {
    border-radius: 24px;
    padding: 29px;
    display: flex;
    align-items: center;
}

.video-content > iframe{
    border-radius: 8px;
    background-color: rgba(113, 178, 228, 0.341);
}

.text-content h1 {
    
}

.text-content p {
    margin-bottom: 10px;
    font-size: 22px;
}

.text-content ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.text-content ul li {
    font-size: 22px;
    color: #004973;
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px; /* Adjust padding for the icon */
}

.text-content ul li .list-icon-arrow-right {
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: rgba(0, 73, 115, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-content ul li .list-icon-arrow-right img {
    width: 16px;
    height: 16px;
}

/* CSS FOR SLIDER SECTION */
.testimonials-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    padding: 20px;
    position: relative;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    transition: transform 1.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 calc(100% / 2.5); /* Adjust to show 2.5 slides */
    display: flex;
    justify-content: center; /* Center the content horizontally */
}

.testimonial {
    background-color: #0a3d62;
    color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Stretch the content vertically */
    align-items: start;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%; /* Make the testimonial take the full height of the slide */
    margin: 0 10px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.testimonial-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-icon img {
    width: 24px;
    height: 24px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
    text-align: left;
    flex: 1; /* Allow the text to take up available space */
}

.testimonial-author {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.author-title {
    font-size: 14px;
    text-align: center;
    color: lightgray;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.slider-btn {
    border: none;
    cursor: pointer;
    margin: 0 5px;
    background: none;
}

.slider-btn img {
    width: 48px;
    height: 48px;
    border-radius: 12px;

    &:hover{
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
    }
}