/*
    Theme Name: Serca Knowlege Platform
    Theme URI: https://wordpress.org/themes/searca/
    Author: Blink Creative Studio
    Version: 1.0
*/
@font-face {
    font-family: 'Inter-Display';
    src: url('assets/fonts/inter-display/InterVariable.ttf') format('woff2');
    font-weight: 100 900; /* Full weight range */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter-Display';
    src: url('assets/fonts/inter-display/InterVariable-Italic.ttf') format('woff2');
    font-weight: 100 900; /* Full weight range */
    font-style: italic;
    font-display: swap;
}

body {
    /* font-family: 'inter'; */
    font-family: "Inter-Display", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
}

p {
    font-family: "Inter-Display", sans-serif;
}

#cadre-footer-text {
    font-family: "Cormorant Garamond", sans-serif;
}

.primary-menu-tablet {
    display: flex;
    font-size: 14px;
    padding: 10px 0;
    justify-content: space-between;
}

.primary-menu-tablet .sub-menu {
    display: none;
}

.primary-menu-tablet li {
    color: #000000 !important;
}

.primary-menu-tablet .menu-item-type-post_type:hover > .sub-menu {
    display: block;
}

.primary-menu-tablet .sub-menu {
    color: #000000;
    display: none;
    font-weight: 200;
    position: absolute;
    background-color: #ffffff;
    z-index: 9999;
    width: 250px;
    padding: 10px 0;
    border-radius: 10px;
}

.primary-menu-tablet .sub-menu li {
    padding: 5px 15px;
    font-size: 14px;
    width: 100%;
}

.primary-menu-tablet .sub-menu li:hover {
    color: #096936;
    width: 100%;
}

.primary-menu-mobile {
    text-align: left;
}

.primary-menu-mobile > .menu-item > a {
    position: relative;
    display: block;
    width: 100%;
    padding: 8px 0;
}

.primary-menu-mobile > .menu-item > a::after  {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 16px;
    height: 16px;
    background-image: url('/wp-content/themes/Searca/assets/images/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-45deg) translateY(-40%)
}

.primary-menu-mobile > .menu-item > .sub-menu > .menu-item  {
    position: relative;
    padding: 5px;
    margin: 0 8px;
    
}

.primary-menu-mobile > .menu-item > .sub-menu > .menu-item::after  {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 16px;
    height: 16px;
    background-image: url('/wp-content/themes/Searca/assets/images/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-45deg) translateY(-40%)
}

.primary-menu-mobile-home {
    position: relative;
    width: 100%;
    padding: 8px 0;
}

.primary-menu-mobile > .menu-item > .sub-menu > li > a {
    font-size: 14px;
}

.primary-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    width: 705px;
}

.primary-menu > .menu-item {
    font-size: 16px;
    transition: all 0.1s ease;
}

.primary-menu .menu-item:hover {
    color: #096936;
}

.primary-menu .menu-item-type-custom:hover > .sub-menu {
    display: block;
}

.primary-menu .menu-item-type-post_type:hover > .sub-menu {
    display: block;
}

.primary-menu .sub-menu {
    color: #000000;
    display: none;
    font-weight: 200;
    position: absolute;
    background-color: #ffffff;
    z-index: 9999;
    width: 250px;
    padding: 10px 0;
    border-radius: 10px;
}

.primary-menu .sub-menu li {
    padding: 5px 15px;
    width: 100%;
}

.primary-menu .sub-menu li:hover {
    color: #096936;
    width: 100%;
}

.menu-item-type-custom {
    /* display: none; */
}


.footer-quick-links {
    color: #ffffff;
}

.footer-quick-links li {
    display: block;       
    width: max-content; 
    margin-bottom: 20px;
    cursor: pointer;
}

.footer-quick-links li:hover {
    border-bottom: 1px solid #ffffff;
    margin-bottom: 19px;
}

.footer-quick-links .sub-menu li {
    display: none;
}

.slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}

.banner-slider .slide-container .slide-content {
    color: #ffffff;
}

.banner-slider .slide-container .slide-content h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: -1.2px;
}

.banner-slider .slide-container > .text-left {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.banner-slider .slide-container .text-left .text-container p {
    padding: 30px 0;
    line-height: 1.5;
    font-weight: 200;
}

.banner-slider .slide-container .text-left .text-container a {
    font-size: 14px;
    padding: 10px 20px;
    background-color: #F3BD1C;
    border-radius: 5px;
}

.banner-slider .slide-container {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100% !important;
}

.banner-slider .slide-container > .text-right {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.banner-slider .slide-container .text-right .text-container p {
    padding: 30px 0;
    line-height: 1.5;
    font-weight: 200;
}

.banner-slider .slide-container .text-right .text-container a {
    font-size: 14px;
    padding: 10px 20px;
    background-color: #F3BD1C;
    border-radius: 5px;
}

.banner-slider .slide-container > .center-align {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.banner-slider .slide-container .center-align .text-container {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
}

.banner-slider .slide-container .center-align .text-container .wp-block-buttons {
    justify-content: center;
}

.banner-slider .slide-container .center-align .text-container a {
    font-size: 14px;
    padding: 10px 20px;
    background-color: #F3BD1C;
    border-radius: 5px;
}

.banner-slider .slick-dots {
    bottom: 35px !important;
}

.banner-slider .slick-dots li button:before {
    font-size: 8px !important;
    color: #ffffff !important;
}

.banner-slider .slick-dots li.slick-active button:before {
    font-size: 8px !important;
}

.banner-slider .slick-dots li.slick-active button:before {
    color: #F3BD1C !important;
}

.slick-list, .slick-track, .slide-container {
    height: 100% !important;
}

.custom-checkbox {
    display: none; 
}

.custom-checkbox + label {
    position: relative;
    padding-left: 25px; 
    cursor: pointer;
}

.custom-checkbox + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px; 
    height: 18px;
    border: 1px solid #9A9A9A; 
    border-radius: 3px; 
    background-color: #fff; 
}

.custom-checkbox:checked + label::before {
    background-color: #196129; 
    border-color: #196129; 
}

/* .featured-material-slider .slick-track{
    display: flex !important; 
    gap: 20px !important;
}

.featured-material-slider .slick-dots {
    bottom: -40px !important;
}

.featured-material-slider .slick-dots li button:before {
    font-size: 8px !important;
    color: #000000 !important;
}

.featured-material-slider .slick-dots li.slick-active button:before {
    font-size: 8px !important;
}

.featured-material-slider .slick-dots li.slick-active button:before {
    color: #000000 !important;
} */

#home-featured-resources .slick-track {
    display: flex !important; 
    gap: 20px !important;
    width: 100%
}

#agri-featured-resources .slick-track {
    display: flex !important; 
    gap: 20px !important;
    width: 100%
}

.featured-publications .slick-track {
    display: flex !important; 
    gap: 20px !important;
    width: 100%
}

.custom-logo-link {
    width: 300px;
}

.component-list {
    list-style: none; 
    padding-left: 0; 
  }
  
.component-list li {
    position: relative; 
    padding-left: 20px; 
}

.component-list li::before {
    content: "•"; 
    position: absolute;
    left: 0; 
    color: #ffffff; 
    font-size: 14px;
}

.component-banner-description ul li {
    padding: 20px 0px 0px 20px;
}

#login h1 {
    /* display: none; */
}

#verified_email {
    outline: none;
    border-color: #e5e7eb;
    font-style: italic;
    color: #196129;
    cursor: not-allowed;
}

.arrowed-list, .check-list, .numbered-list, .numbered, .bulleted {
    position: relative;;
}

.check-list li, .arrowed-list li, .numbered-list li, .numbered li, .bulleted li{
    padding-left: 30px;
    margin-bottom: 5px
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    background-repeat: no-repeat;
    color: #ffffff;
    background-color: #196129;
}

.arrowed-list li::before {
    content: "\2192";
    position: absolute;
    background-repeat: no-repeat;
    color: #196129;
    border: 2px solid #196129;
}

.bulleted li::before {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    background-color: #F7D671;
    left: 0px;
    margin-top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.point-green {
  list-style: disc inside;
  color: inherit; /* keep normal text color */
}

.point-green li::marker {
  color: #2a7f3d; /* bullet color only */
}

.point-black {
  list-style: disc inside;
  color: inherit; /* keep normal text color */
}

.point-black li::marker {
  color: black; /* bullet color only */
}

strong > .green {
    color: #2a7f3d; 
}

.custom-bullet {
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.5em;
  height: 1.5em;
  background-color: black;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  font-weight: bold;
  font-family: sans-serif;
}

.numbered-list, .numbered {
    counter-reset: list-counter;
}

.numbered-list li, .numbered li {
    counter-increment: list-counter;
}

.numbered li::before {
    content: counter(list-counter);
    position: absolute;
    background-repeat: no-repeat;
    color: #000000
} 

.numbered-list li::before {
    content: counter(list-counter);
    position: absolute;
    background-repeat: no-repeat;
    color: #ffffff;
    background-color: #196129;
    border-radius: 5px;
}

.check-list li::before, .arrowed-list li::before, .numbered-list li::before, .numbered li::before {
    position: absolute;
    background-repeat: no-repeat;
    left: 0px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

span .current {
    color: #196129;
    border-bottom: 2px solid #196129;
    margin-bottom: 5px;
}

.loader-container {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 100px;
}

.loader {
    border: 16px solid #f3f3f3; 
    border-top: 16px solid #34db55; 
    border-radius: 50%;
    width: 90px;
    height: 90px;
    animation: spin 2s linear infinite;
}

.postform {
    border-radius: 7px;
    font-size: 14px;
    padding: 5px 25px 5px 5px;
}

/* Hide the default arrow */
select {
    appearance: none; /* Standard syntax */
    -webkit-appearance: none; /* Safari and Chrome */
    -moz-appearance: none; /* Firefox */
    background-size: 12px; /* Adjust size of the arrow */
    width: 100%;
    border: 1px solid #000000;
    padding: 5px 25px 5px 5px;
    cursor: pointer;
  }

  .select-wrapper::after {
    content: ''; /* Create the arrow */
    position: absolute;
    top: 50%;
    right: 12px; /* Position the arrow inside the select */
    transform: translateY(-50%);
    border: 5px solid transparent; /* Create a triangle arrow */
    border-top-color: #333; /* Set the arrow color */
    pointer-events: none; /* Ensure it doesn’t block clicks */
  }
  
  /* Optional: Ensure consistent styling across browsers */
  select::-ms-expand {
    display: none; /* Hide the arrow for IE/Edge */
  }

.search-item-content {
    max-height: 85px;
    overflow-y: hidden;
}

.active-page {
    color: #196129;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.numbered-pagination-button {
    padding: 5px 15px;
}

.elipsis {
    padding: 0px 10px;
}

.e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0px !important;
}

.elementor-element {
    padding: 0px !important;
}



.home-search-item {
    padding: 10px 0px;
}

.home-search-item:hover {
    background-color: #f3f3f3;
    transition: all 0.3s ease;
}

.answer {
    font-size: 18px;
}

.active-faq {
    background-color: #062b18;
    transition: all 0.3s ease;
}

.active-faq > .flex > h6 {
    color: #ffffff;
    transition: all 0.3s ease;
}

.active-faq .answer {
    color: #ffffff;
    transition: all 0.3s ease;
    font-weight: 200;
}

.colab-list li::before {
    content: "\2713";
    padding-right: 5px;
    background-repeat: no-repeat;
    color: #196129;
}

#country-Philippines {
    right: 37%;
    top: 19%;
}

#country-Laos {
    right: 68%;
    top: 22%;
}

#country-Myanmar {
    top: -33px;
}

#country-Vietnam {
    right: 71%;
    top: 6%;
}

#country-Brunei {
    right: 51%;
    top: 47%;
}

#country-Singapore {
    left: 24%;
    top: 60%;
}

#country-Malaysia {
    right: 80%;
    top: 49%;
}

#country-Cambodia {
    right: 73%;
    top: 29%;
}

#country-Thailand {
    left: 76px;
    top: 16%;
}

#country-Indonesia {
    right: 50%;
    top: 76%;
}

#country-Timor-Leste {
    right: 213px;
    bottom: 0px;
}

.single-country-content > p {
    padding-bottom: 10px;
}

.single-country-subcontent > p {
    padding-bottom: 10px;
}

.single-country-content > ul {
    padding-bottom: 10px;
}

.single-country-subcontent > ul {
    padding-bottom: 10px;
}

.single-country-content > ol {
  list-style-type: decimal;
  margin-left: 1.25rem; /* Tailwind’s ml-5 */
  padding-bottom: 10px;
}

.single-country-content > ul > li {
    position: relative;
    padding-left: 15px;
}

.single-country-subcontent > ul > li {
    position: relative;
    padding-left: 15px;
}

.single-country-content > ul > li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 8px;
    left: 0;
    border-radius: 1000px;
    position: absolute;
    border: solid #000000; /* Dark green check */
    background-color: #000000;
}

.single-country-subcontent > ul > li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 8px;
    left: 0;
    border-radius: 1000px;
    position: absolute;
    border: solid #000000; /* Dark green check */
    background-color: #000000;
}

.sea-content > p {
    font-weight: 300;
}

.hide-header {
    transform: translateY(-100%);
}



.map-pointer {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: red; /* Base color of the pointer */
    border-radius: 50%; /* Makes the circular top */
    transform: translateY(-50%); /* Slightly move it up */
  }
  
.map-pointer::after {
    content: '';
    position: absolute;
    bottom: -10px; /* Positioning below the circle */
    left: 50%;
    transform: translateX(-50%) rotate(45deg); /* Center and rotate */
    width: 14px;
    height: 14px;
    background-color: red; /* Same as the circle */
    clip-path: polygon(50% 0, 100% 100%, 0 100%); /* Triangle shape */
}

.inactive-icon p{
    max-height: 0px;
    max-width: 0;
    padding-right: 0;
    padding-left: 0;
}

.active-icon p{
    max-height: 100px;
    max-width: 500px;
    padding-right: 20px;
    padding-left: 30px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.inactive-icon .flag-icon{
    transform: scale(0.5);
}

.active-icon {
    z-index: 99;
}

.active-icon .flag-icon{
    transform: scale(0.8);
}

.inactive-map{
    /* display: none; */
    opacity: 0;
}

.active-map{
    display: block;
    opacity: 1;
}

.active-component .component-text {
    max-height: 500px;
}

.inactive-component .component-text {
    max-height: 0;
}

.button-gold {
    background-color: #ceab23;
}

.button-gold .arrow-bg {
    background-color: #2a7f3d;
}

.button-gold:hover {
    background-color: #ffcb00;
}

.button-green {
    background-color: #2a7f3d;
}

.button-green .arrow-bg {
    background-color: #ceab23;
}

.button-green:hover .arrow-bg {
    background-color: #ffcb00;
}

.inactive-mobile-menu {
    display: none;
}

.active-mobile-menu {
    display: block;
}

.blub-icon {
    display: inline-block; /* Ensures proper scaling */
    animation: pulse-resize 1.5s infinite ease-in-out;
}


.banner-slider .slide-container .center-align .text-container a {
    padding: 0 !important;
    background-color: transparent !important;
}

.active-searchby .checked-box {
    display: block;
}

.active-searchby .unchecked-box {
    display: none;
}

.inactive-searchby .checked-box {
    display: none;
}

.inactive-searchby .unchecked-box {
    display: block;
}

/* ---------- swiper --------- */

.swiper {
    width: 240px;
    height: 320px;
  }

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.swiper-slide {
    background-color: #ffffff;
}

.fadein-shape {
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
    animation-delay: 2s; /* Delay of 700ms */
}

.scrollbar-custom::-webkit-scrollbar {
    width: 4px !important;
  }
  
.scrollbar-custom::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}
  
.scrollbar-custom::-webkit-scrollbar-thumb {
    background: #0a875a !important;
    border-radius: 4px !important;
}

.scrollbar-custom::-webkit-scrollbar-thumb:hover {
    background: #0a875a !important
}

.moss-check-item {
    display: flex;
    align-items: start;
    gap: 10px;
}

.moss-check-icon {
    width: 23px;
    /* height: 23px; */
    min-width: 23px;
    border: 2px solid #0C5C32; /* Dark green border */
    border-radius: 5px; /* Rounded corners */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 9px;
    padding-bottom: 11px;
  }
  
  /* Creating the checkmark */
.moss-check-icon::after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid #0C5C32;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
  }

.white-check-item {
    display: flex;
    align-items: start;
    gap: 10px;
}

.white-check-icon {
    width: 23px;
    /* height: 23px; */
    min-width: 23px;
    border: 2px solid #6BA586; /* Dark green border */
    border-radius: 5px; /* Rounded corners */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 9px;
    padding-bottom: 11px;
  }
  
  /* Creating the checkmark */
.white-check-icon::after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid #ffffff; /* Dark green check */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
  }

.simple-bullet-black, .simple-bullet-white {
    padding-left: 15px;
    position: relative;
}

  /* Creating the checkmark */
.simple-bullet-black::before, .simple-bullet-white::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 8px;
    left: 0;
    border-radius: 1000px;
    position: absolute;
  }

.simple-bullet-black::before {
    border: solid #000000; /* Dark green check */
    background-color: #000000;
}

.simple-bullet-white::before {
    border: solid #ffffff; /* Dark green check */
    background-color: #ffffff;
}
  
.impact-item {
    padding: 0px 0 0px 20px;
    width: 400px;
    border-left: 1px solid #B59637;
    font-style: italic;
}

.white-impact-border {
    height: 2px;
    width: 100%;
    background-color: #777777;
    margin: 15px 0;
    opacity: 0.2;
}

.moss-impact-border {
    height: 1px;
    width: 100%;
    background-color: #C8C8C8;
    margin: 15px 0;
}

.inner-content-text-area ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.semi-bold {
    font-weight: 600;
}

.active-topic-button {
    background-color: #cbe0d5; /* blue-600 */
    font-weight: bold;
}

.hidden {
    display: none;
}

.kp-search-active {
    color: #096936;
    font-weight: bold;
}

.kp-searched-item {
    width: 320px;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-resize {
    0% { transform: scale(0.8); }  /* Normal size */
    50% { transform: scale(1.4); } /* Enlarge */
    100% { transform: scale(0.8); }  /* Back to normal */
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@media (max-width: 1280px) {
    .primary-menu .menu-item {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .primary-menu {
        display: none;
    }

    .primary-menu-tablet {
        font-size: 12px;
        padding: 8px 0;
        justify-content: space-between;
    }

    .custom-logo-link {
        width: 120px;
    }

    .slide-container > .text-left {
        flex-direction: column-reverse;
    }

    .banner-slider .slide-container .slide-content h1 {
        font-size: 42px;
        line-height: 50px;
        letter-spacing: -1.1px;
    }

    .slide-container .text-left .text-container p {
        font-size: 12px;
        padding: 10px 0;
    }
    
    .slide-container .text-left .text-container a {
        font-size: 12px;
    }

    /** right align hero banner */
    .slide-container > .text-right {
        flex-direction: column-reverse;
    }

    .slide-container .text-right .text-container p {
        font-size: 12px;
        padding: 10px 0;
    }
    
    .slide-container .text-right .text-container a {
        font-size: 12px;
    }

    /** center */
    .slide-container .center-align .text-container p {
        font-size: 12px;
    }

    .slide-container .center-align .text-container a {
       font-size: 12px;
    }

    #country-Singapore {
        left: 23%;
        top: 55%;
    }

    #country-Brunei {
        right: 49%;
        top: 37%;
    }

    #country-Indonesia {
        right: 49%;
        top: 55%;
    }

    #country-Timor-Leste {
        right: 146px;
        bottom: 137px;
    }

    #country-Malaysia {
        right: 75%;
        top: 35%;
    }

    #country-Vietnam {
        right: 66%;
        top: 1%;
    }

    #country-Thailand {
        left: 76px;
        top: 7%;
    }

    #country-Laos {
        right: 68%;
        top: 10%;
    }

    #country-Cambodia {
        right: 70%;
        top: 20%;
    }
}

@media (max-width: 768px) { 

    .banner-slider .slide-container .slide-content h1 {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.24px;
    }

    .impact-item {
        width: 100%;
    }
}
