/* Google fornt inport link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 260px;
    background: #11101d;
    z-index: 100;
    transition: all 0.5s ease;
}
.sidebar.close{
    width: 78px;
}
.sidebar .logo-datails{
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
}
.sidebar .logo-datails i{
    font-size: 30px;
    color: #fff;
    height: 50px;
    min-width: 78px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}
.sidebar .logo-datails .logo_name{
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    transition: 0.3s ease;
    transition-delay: 0.1s;
}
.sidebar.close .logo-datails .logo_name{
    opacity: 0;
    pointer-events: none;
    transition-delay: 0s;
}
.sidebar .nav-links{
    height: 100%;
    padding: 30px 0 150px 0;
    overflow: auto;
}
.sidebar.close .nav-links{
    overflow: visible;
}
.sidebar .nav-links::-webkit-scrollbar{
    display: none;

}
.sidebar .nav-links li{
    position: relative;
    list-style: none;
    transition: all 0.4s ease;
}
.sidebar .nav-links li:hover{
    background: #1d1b31;
}
.sidebar .nav-links li .icon_link{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar.close .nav-links li .icon_link{
    display: block;
}
.sidebar .nav-links li i{
    height: 50px;
    min-width: 78px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.sidebar .nav-links li.showMenu i.arrow{
    transform: rotate(-180deg);
}
.sidebar.close .nav-links i.arrow{
    display: none;
}
.sidebar .nav-links li a{
    display: flex;
    align-items: center;
    text-decoration: none;
}
.sidebar .nav-links li a .link_name{
    font-size: 18px;
    font-weight: 400;
    color: #fff;
}
.sidebar.close .nav-links li a .link_name{
    opacity: 0;
    pointer-events: none;
}
.sidebar .nav-links li .sub-menu{
    padding: 6px 6px 14px 80px;
    margin-top: -10px;
    background: #1d1b31;
    display: none;
}
.sidebar .nav-links li.showMenu .sub-menu{
    display: block;
}
.sidebar .nav-links li .sub-menu a{
    color: #fff;
    font-size: 15px;
    padding: 5px 0;
    white-space: nowrap;
    opacity: 0.6;
    transition: all 0.3s ease;
}
.sidebar .nav-links li .sub-menu a:hover{
    opacity: 1;
}
.sidebar.close .nav-links li .sub-menu{
    position: absolute;
    left: 100%;
    top: -10px;
    margin-top: 0;
    padding: 10px 20px;
    border-radius: 0 6px 6px 0;
    opacity: 0;
    display: block;
    pointer-events: none;
    transition: 0s;
}
.sidebar.close .nav-links li:hover .sub-menu{
    top: 0;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.4s ease;
}
.sidebar .nav-links li .sub-menu .link_name{
    display: none;
}
.sidebar.close .nav-links li .sub-menu .link_name{
    display: none;
}
.sidebar.close .nav-links li .sub-menu .link_name{
    font-size: 18px;
    opacity: 1;
    display: block;
}
.sidebar .nav-links li .sub-menu.blank{
    opacity: 1;
    pointer-events: auto;
    padding: 3px 20px 6px 16px;
    opacity: 0;
    pointer-events: none;
}
.sidebar .nav-links li:hover .sub-menu.blank{
    top: 50%;
    transform: translateY(-50%);
}
.sidebar .profile-details{
    position: fixed;
    bottom: 0;
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1d1b31;
    padding: 6px 0;
    transition: all 0.5s ease;
}
.sidebar.close .profile-details{
    background: none;
}
.sidebar.close .profile-details{
    width: 78px;
}
.sidebar .profile-details .profile-content{
    display: flex;
    align-items: center;

}
.sidebar .profile-details img{
    height: 52px;
    width: 52px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 14px 0 12px;
    background: #1d1b31;
    transition: all 0.5s ease;
}
.sidebar.close .profile-details img{
    padding: 10px;
}
.sidebar .profile-details .profile_name,
.sidebar .profile-details .job{
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}
.sidebar.close .profile-details i,
.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job{
    display: none;
}
.sidebar .profile-details .job{
    font-size: 12px;
}
.home-section{
    position: relative;
    background: #ffffff;
    height: 100vh;
    left: 250px;
    width: calc(100% - 250px);
    transition: all 0.5s ease;
    
}
.sidebar.close ~ .home-section{
    left: 78px;
    width: calc(100% - 78px);
}
.home-section .home-content{
    
    height: 60px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 5;
    background-color: #fdfcfc;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);

}
.home-section .home-content .bx-menu,
.home-section .home-content .text{
    color: #2c2626;
    font-size: 35px;
}
.home-section .home-content .bx-menu{
    margin: 0 15px; 
    cursor: pointer;
}
.home-section .home-content .text {
    font-size: 26px !important;
    font-weight: 600 !important;
    margin-right: 70px !important;
}
.home-section .LoginB {
    padding-top: 10px; 
}
.home-section .buttons-container{
    padding: 20px;
    position: fixed;
    right: 10px; 

    
}
.home-section .LoginA,     
.home-section .LoginB{

    font-size: 12px;
    font-weight: 600;
    background-color: #512da8;
    color: #fff;
    padding: 10px 25px;
    border: 1px solid transparent;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
}
.home-section .box input,
.home-section .text-input{
    background-color: #f1f1f1;
    border: none;
    margin: 8px 0;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 8px;
    width: 700px;
    box-shadow: #000 0px 0px 3px;
    position: relative;
    right: -10%;
}
.home-section .home-content .bx-filter-alt{
    position: absolute;
    margin: 0 15px; 
    /* left: 75%; */
    padding: 20px 20px 20px 65px;
    top: 0%;
    font-size: 25px;
    color: #565659;
    cursor: pointer;
}

.home-section .faq-button{
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffffff; /* Set your desired background color */
    border-radius: 50%;
    width: 60px; /* Adjust the width and height for your preferred size */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}
.home-section .bx-message-error{
    font-size: 30px;
    margin-top: 5px;
    color: #000000;
    cursor: pointer;
}
/* start */
.home-section .popup{
    position: fixed;
    top: -150%; /*add */
    left: 85%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
    width: 380px;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
    transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms, transform 200ms ease-in-out 0ms;
    z-index: 1001;
}

.home-section .popup.active{
    top: 60%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms, transform 200ms ease-in-out 0ms;
}

.home-section .popup .close-btn{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    background: #888;
    color: #eee;
    text-align: center;
    line-height: 15px;
    border-radius: 15px;
    cursor: pointer;
}
/* end */
.home-section .popup .form h2{
    margin-bottom: 10px 0px 20px;
    margin: 0 0 20px;
    color: #333;
    text-align: center;
    font-size: 25px;
}
.home-section .popup .form, .form-element{
    margin-bottom: 15px;
}
.home-section .popup .form, .form-element .sub-title{
    font-weight: 600;
    font-size: 15px;
    color: #333;
}
.home-section .popup .form .form-element .box,
.home-section .popup .form .form-element .faq-box,
.home-section .filter .filter-shape .filter-box{
    border: 2px solid #ddd;
    border-radius: 10px; 
    padding: 10px;
    margin-bottom: 10px;
    background-color: #ebebeb;
    
}
.home-section .popup .form .form-element .faq-box,
.home-section .filter .filter-shape .filter-box{
    overflow: auto;
    max-height: 300px;
}
.home-section .popup .form .form-element label{
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.home-section .popup .form .form-element input{
    background-color: #f7f7f7;
    position: relative;
    top: 0;
    right: -5px;
    width: calc(100% - 12px); 
    padding: 8px;
    box-sizing: border-box;
    outline: none;
    
}
/* tester */
.home-section .popup .form .form-element .question,
.home-section .filter .filter-shape .filter-box .question{
    font-size: 14px;
    background-color: rgb(255, 255, 255);
    color: rgba(0,0,0,0.8);
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
    text-align: left; 
    margin: 0; 
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    transition: 0.4s;
    cursor: pointer;
}
.home-section .popup .form .form-element .question i,
.home-section .filter .filter-shape .filter-box .question i{
    font-size: 25px;
}
.active, .accordion:hover{
    background-color: #f1f7f5;
}
.home-section .popup .form .form-element .answer,
.home-section .filter .filter-shape .filter-box .answer{
    padding: 0 1rem 0.5rem 1rem;
    background-color: #fff;
    overflow: hidden;
    max-height: auto;
    display:none;
}
.home-section .popup .form .form-element .answer p,
.home-section .filter .filter-shape .filter-box .answer p{
    color: rgba(0,0,0,0.7);
    font-size: 12px;
    line-height: 1.4;

}
.home-section .popup .form .form-element .faq,
.home-section .filter .filter-shape .filter-box .filter-sub-sub-title{
    border: 1px solid rgba(0,0,0,0.2);
    margin: 10px 0;
    border-radius: 5px;
}
.home-section .popup .form .form-element .faq.active,
.home-section .filter .filter-shape .filter-box .filter-sub-sub-title.active{
    border: none;
}

/* end */
.page-adoption{
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    overflow: hidden;
}
.page-adoption .title{
    font-size: 40px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    border-radius: 50px;
}
.page-adoption::before{
    content: '';
    position: absolute;
    top:  7%;
    left: 5%;
    right: 5%;
    bottom: 11%;
    z-index: -1; 
    border-radius: 24px;
    background: rgba(220, 220, 220, 0.7);
    /* border: #000 solid 9px; */
}
.page-adoption .container{
    max-width: 950px;
    width: 100%;
    overflow: hidden;
    padding: 80px 0;
    position: relative;
}
.page-adoption .main-card{
    position: relative;
    
}
.page-adoption .container .main-card{
    width: 200%;
    display: flex;
    justify-content: space-evenly;
    transition: all 1s ease;
    z-index: 1;
}
.page-adoption .main-card .cards {
    width: calc(100% / 2 - 10px);
    display: flex;
    justify-content: space-between;
    margin: 0 20px;
    flex-wrap: wrap; 
}
.page-adoption .main-card .cards .card{
    background: #fff;
    width: calc(100% / 3 - 10px);
    padding: 30px;
    border-radius: 24px;
    transition: all 0.4s ease;
    box-shadow: #000 0px 0px 3px;
}
.page-adoption .main-card .cards .card:hover,
.home-section .search-container .card-container:hover{
    transform: translateY(-15px);
}
.page-adoption .cards .card .content .img,
.home-section .search-container .card-container .content .img{
    height: 130px;
    width: 130px;
    margin-bottom: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 3px;
    border-radius: 10%;
    
}
.page-adoption .card .content .img img,
.home-section .search-container .card-container .content .img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10%;
    border: 3px soild #fff; 
}
.page-adoption .card .content .details .name,
.home-section .search-container .card-container .content .details .name{    
    font-size: 20px;
    font-weight: 500;
    color: #1f02fb;
}
.page-adoption .card .content .details .gender,
.home-section .search-container .card-container .content .details .gender{
    font-size: 14px;
    color: #000000;
}
.page-adoption .cards .card .content,
.home-section .search-container .card-container .content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.button{
    display: flex;
    margin: 20px;
    justify-content: center;
    z-index: 1;
    position: relative;
}
.button label{
    height: 15px;
    width: 15px;
    background: #fff;
    margin: 0 4px;
    border-radius: 20px;
    transition: all 0.5s ease;
}
.button label.active{
    width: 35px;
}
#twoA:checked ~ .main-card,
#twoB:checked ~ .main-card{
    margin-left: -100%
}
#oneA:checked ~ .button label.one,
#twoA:checked ~ .button label.two,
#oneB:checked ~ .button label.one,
#twoB:checked ~ .button label.two {
    width: 35px;
}
#twoA:checked ~ .button label.one,
#oneA:checked ~ .button label.two,
#twoB:checked ~ .button label.one,
#oneB:checked ~ .button label.two {
    width: 15px;
}
.page-adoption .button1,
.home-section .search-container .button1{
    position: relative;
    border: none;
    font-size: 16px;
    color: #fff;
    padding: 8px 16px;
    background-color: #4070F4;
    border-radius: 6px;
    margin: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.page-adoption .button1:hover,
.home-section .search-container .button1:hover{
    background: #265DF2;
}
input[type="radio"]{
    display: none;
}
@media (max-width: 768px) {
    .main-card .cards .card{
        width: calc(100% / 2 - 10px);
        margin: 20px 0 10px 0;
    }
}
@media (max-width: 600px) {
    .main-card .cards .card{
        width: 100%;
    }
}
.first-page{
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border:#000 solid 5px; */
    background: #fff;
    
}

.first-page .home-img {
    position: relative;
}

.first-page .home-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
}

.first-page .home-img .intro-text {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    position: absolute;
    top: 89%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(247, 243, 243, 0.8);
    padding: 20px;
    border-radius: 16px;
    max-width: 80%;
    white-space: pre-line;
    line-height: 1.5;
}


.second-page {
    position: relative;
}

.second-page .second-page-img {
    position: relative;
    overflow: hidden;
    
}

.second-page .second-page-img img {
    content: '';
    width: 100%;
    height: 100%;
    clip-path: inset(0 0 47% 0);
    z-index: -1;
}

.second-page .second-text {
    font-size: 60px;
    font-weight: 900;
    color: #fff;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
}

.second-page .second-sub-text {
    font-size: 30px;
    font-weight: 380;
    color: #fff;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .first-page .home-img .intro-text {
        font-size: 16px;
    }

    .second-page .second-text {
        font-size: 40px;
    }

    .second-page .second-sub-text {
        font-size: 25px;
    }
}


.center-shapes {
    display: flex;
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.white-shape {
    width: 210px;
    height: 210px; 
    background: #fff; 
    margin: 0 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.white-shape img {
    width: 150px; 
    height:150px;
    margin-bottom: 10px;            
}

.shape-text {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #000;
}
.page-adoption .article-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px 0;
}
.page-adoption .article-box .article-shape {
    margin-right: 25px; 
}

.page-adoption .article-box .article-shape:last-child {
    margin-right: 0; 
}
.page-adoption .article-shape{
    background-color: #fff;
    margin-right: 10px;
    width: 400px; 
    height: 430px;
    border-radius: 5px;
    outline: none;
    border: none;
    box-shadow: #000 0px 0px 3px;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-adoption .article-shape .articles .img img{
    max-height: 290px;
    width: 100%;
    object-position: 50% 50%;
    
} 
.page-adoption .article-shape .articles .img{
    max-height: 250px;
    width: 100%;
    display: block;
    margin-bottom: 14px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 90%);
    

}

.page-adoption .article-shape .articles .title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    padding: 10px;
    text-align: center;
}
.page-adoption .article-shape .articles span{
    font-size: 14px;
    font-weight: 400;
    position: relative;
    top: -15px;
    color: #000;
    padding: 10px;
    display: flex;
    justify-content: center;
    text-align: center;

}
.page-adoption .article-shape .touch{
    font-size: 16px;
    font-weight: 600;
    color: #512da8;
    background-color: #ffffff;
    height: 15%;
    width: 100%;
    outline: none;
    border: none;
    margin-top: 15px;
    border-top: 1.5px solid #000;
    cursor: pointer;
}
/* style for search page continue */
.home-section .search-container{
    position: absolute;
    top: 90px;
    transition: all 0.5s ease; 
}
.home-section .search-container .card-container {
    width: calc(90% - 20px);
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    flex-wrap: wrap; 
}
.home-section .search-container .card-container .content{
    background: #fff;
    width: calc(25% - 20px);
    margin-bottom: 20px; /* Add margin-bottom for spacing between rows */
    padding: 10px;
    border-radius: 24px;
    transition: all 0.4s ease;
    box-shadow: 0px 0px 3px #000;
}
.home-section .search-container .card-container .content:hover {
    transform: scale(1.05); 
}
.home-section .filter {
    background-color: #fefefe;
    position: fixed;
    border-radius: 15px;
    width: 35%;
    height: auto;
    top: -150%;
    left: 78%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms, transform 200ms ease-in-out 0ms;
    z-index: 1001;
}
.home-section .filter.active{
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0ms ease-in-out 200ms, opacity 200ms ease-in-out 0ms, transform 200ms ease-in-out 0ms;
}
.home-section .filter-shape{
    margin-top: 20px;
}
.home-section .filter .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    background: #888;
    color: #eee;
    text-align: center;
    line-height: 15px;
    border-radius: 15px;
    cursor: pointer;
} 
.home-section .filter-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0px 20px 10px;
}

.home-section .line-separator {
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

.home-section .filter-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 30px 10px 20px;
}

.home-section .filter-content {
    margin-bottom: 10px;
}

.home-section .filter-shape .filter-content {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 20px 10px 20px;
}
.home-section .filter-shape .filter-content button{
    background-color: #fff;
    margin-right: 10px;
    width: 200px;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    outline: none;
    border: none;
    padding: 5px 20px;
    box-shadow: #000 0px 0px 3px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.home-section .filter-shape .filter-content button:hover {
    background-color: #f0f0f0;
}
.home-section .filter-shape .filter-box .answer .option-input {
    margin-left: 10px;
    
}

.home-section .filter-shape .filter-box .answer label {
    display: inline-block;
    justify-content: space-between;
    margin-top: 10px;
    margin-left: 5px;
    box-shadow: #000 0px 0px 3px;
    background-color: #fff;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    width: 200px;
    height: 30px;
    cursor: pointer;
}

.home-section .filter-shape .filter-box .answer label:hover {
    background-color: #ccc;
}
.home-section .bottom-page{
    max-height: 100%;
    width: 100%;
    display: block;
    
}
.home-section .bottom-page img{
    width: 100%;
    object-fit: cover;

}
