.hero-section{
    min-height:550px;
    position:relative;
    color:#fff;
}
.hero-overlay{
    position:absolute;
    padding:20px;
    top:0;left:0;width:100%;height:100%;
    display:flex;align-items:center;justify-content:center;flex-direction:column;
}
.info-box{
    background:#f8f9fa;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
    margin-top:-60px;
    padding:32px 24px;
    position:relative;
    overflow:hidden;
}
.info-box .row{
    min-height:200px;
}
.info-box .btn-info{
    position:absolute;
    bottom:20px;
    right:40px;
}

.section-title{
    font-weight:700;
    margin-bottom:24px;
}
.card-list{
    display:flex;
    overflow-x:auto;
    padding-bottom:8px;
}
.card_home {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
}
.card_home_child{
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 12px;
    padding:10px;
}

.yakazi-profiles img{
    width:64px;height:64px;border-radius:50%;object-fit:cover;
}
.footer{
    background-color:none;
    border-top:none;
}
.custom-list{
    list-style:none;
    padding-left:0;
}
.custom-list li{
    position:relative;
    padding-left:30px;
    margin-bottom:10px;
}
.custom-list li:before{
    content:'';
    position:absolute;
    left:0;
    top:-1px;
    width:24px;
    height:24px;
    background-size:contain;
}
.icon-container{
    height:50px;width:50px;background-color:#008BDC1A;border-radius:30px;
    display:flex;align-items:center;justify-content:center;
    margin-bottom:15px;
}
.advert-carousel-wrapper{
}
.advert-carousel-viewport{
    position:relative;
    overflow:hidden;
}
.advert-slides-container{
    display:flex;
    transition:transform 0.4s ease-in-out;
    will-change:transform;
}
.advert-slide-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:36px;
    height:36px;
    font-size:16px;
    border-radius:50%;
    border:none;
    background:none;
    color:#999;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background 0.2s ease,transform 0.2s ease,opacity 0.2s ease;
    cursor:pointer;
    z-index:10;
    opacity:0.9;
}

.advert-slide-arrow:active{
    transform:translateY(-50%) scale(0.95);
}
.advert-slide-arrow.prev{
    left:7px;
}
.advert-slide-arrow.next{
    right:7px;
}
.advert-slide{
    flex:0 0 80%;
    transition:opacity 0.3s ease-in-out;
    margin-right:10px;
}
.advert-slide.active{
    opacity:1;
}
.advert-carousel-controls{
    display:flex;
    align-items:center;
    gap:12px;
    padding-bottom:10px;
    flex-wrap:wrap;
    margin-left:5px;
}
.advert-nav-btn{
    width:25px;
    height:25px;
    font-size:15px;
    border-radius:50%;
    border:none;
    background:#00a0d2;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 4px 12px rgba(0,160,210,0.25);
    transition:background 0.2s ease;
}
.advert-nav-btn:hover{
    background:#007ba3;
    transform:scale(1.1);
}
.advert-nav-btn:active{
    transform:scale(0.95);
}
.advert-carousel-viewport{
    user-select:none;
}
.advert-carousel-viewport.dragging{
    cursor:grabbing;
}

.job-category-carousel-wrapper{
    position:relative;
    /* margin-left:5px; */
    margin-right:5px;
}

.job-category-carousel{
    overflow:hidden;
    position:relative;
    user-select:none;
}
.job-category-carousel.dragging{
    cursor:grabbing;
}
.active_job_category_container{
    display:flex;
    flex-wrap:nowrap;
    gap:7px;
    transition:transform 0.3s ease;
    will-change:transform;
}
.active_job_category_container .slider_menu_btn{
    flex:0 0 auto;
    white-space:nowrap;
}

.hire-category-carousel-wrapper{
    position:relative;
    /* margin-left:5px; */
    margin-right:5px;
}

.hire-category-carousel{
    overflow:hidden;
    position:relative;
    user-select:none;
}
.hire-category-carousel.dragging{
    cursor:grabbing;
}
.active_hire_category_container{
    display:flex;
    flex-wrap:nowrap;
    gap:7px;
    transition:transform 0.3s ease;
    will-change:transform;
}
.active_hire_category_container .slider_menu_btn{
    flex:0 0 auto;
    white-space:nowrap;
}
.advert-bullets{
    display:flex;
    align-items:center;
    gap:8px;
}
.advert-bullet{
    width:8px;
    height:8px;
    border-radius:50%;
    border:none;
    background:#c7d8e2;
    padding:0;
    transition:background 0.2s ease,transform 0.2s ease;
}
.advert-bullet.active{
    background:#00a0d2;
    transform:scale(1.2);
}
.advert-see-all-link{
    margin-left:auto;
    text-decoration:none;
    margin-right:10px;
}

@keyframes fadeIn{
    from{opacity:0;transform:translateY(10px);}
    to{opacity:1;transform:translateY(0);}
}
@media(max-width:576px){
    /* .advert-carousel-controls{
        flex-direction:column;
        align-items:flex-start;
    } */
    /* .advert-see-all-link{
        margin-left:0;
    } */
    .advert-slide-arrow{
        width:30px;
        height:30px;
        font-size:14px;
    }
    .advert-slide-arrow.prev{
        left:5px;
    }
    .advert-slide-arrow.next{
        right:5px;
    }
    .hire_verified_workers_container{
        margin-top:15px;
    }
}

/* Profile card styles matching find_hire */
.profiles-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.profile-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#fff;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,0.04);
    padding:22px 28px;
    gap:22px;
}
.profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #e3e3e3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #888;
    margin-right:auto;
    margin-left:auto;
    margin-bottom:20px;
}
.profile-info {
    flex: 1;
}
.profile-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2px;
    min-height:26px;
}
.profile-name-text{
    padding-right:5px;
    float:left;
    width:100%;
}
.profile-rating {
    color: #f7b500;
    font-size: 1rem;
    margin-left: 6px;
}
.profile-rating.desktop{
    margin-left:10px;
}
.profile-meta {
    color: #666;
    font-size: 0.97rem;
    margin-bottom: 2px;
}
.profile-type {
    color: #888;
    font-size: 0.95rem;
}
.view-profile-btn {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    min-width:100px;
}
.view-profile-btn.mobile{
    padding:5px 10px;
}
.view-profile-btn:hover {
    background: #0056b3;
}
.view-profile-btn.desktop{
    margin-left:auto;
    margin-top:10px;
}
         @media (max-width: 768px){
             .profile-card {
                 display:flex;
                 align-items:center;
                 justify-content:space-between;
                 position:relative;
             }
             .profile-info {
                 flex:1;
             }
             .view-profile-btn.desktop {
                 margin-left:auto;
             }
             .profile-name{
                 position:relative;
             }
         }

         /* Horizontal profile card styles */
         .profiles-list-horizontal {
             display: flex;
             flex-wrap: wrap;
             gap: 20px;
             justify-content: flex-start;
         }

.profile-card-horizontal{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#fff;
    border-radius:5px;
    border:1px solid rgba(0, 0, 0, .125);
    padding:10px;
    gap:10px;
    min-width:260px;
    max-width:400px;
    flex:1;
}

.profile-card-horizontal .profile-img {
     width:60px;
     height:60px;
     border-radius:50%;
     object-fit:cover;
     background:#e3e3e3;
     display:flex;
     align-items:center;
     justify-content:center;
     font-size:2rem;
     color:#888;
     margin-right:auto;
     margin-left:auto;
     margin-bottom:20px;
 }
 .profile-card-horizontal .profile-info {
     flex:1;
 }
 .profile-card-horizontal .profile-name {
     font-weight:600;
     font-size:1.1rem;
     margin-bottom:2px;
     min-height:26px;
 }
 .profile-card-horizontal .profile-name-text{
     padding-right:5px;
     float:left;
     width:100%;
 }
 .profile-card-horizontal .profile-rating {
     color:#f7b500;
     font-size:1rem;
     margin-left:6px;
 }
 .profile-card-horizontal .profile-meta {
     color:#666;
     font-size:0.97rem;
     margin-bottom:2px;
 }
 .profile-card-horizontal .profile-type {
     color:#888;
     font-size:0.95rem;
 }
 .profile-card-horizontal .view-profile-btn {
     background:#007bff;
     color:#fff;
     border:none;
     border-radius:6px;
     padding:10px   ;
     font-size:1rem;
     cursor:pointer;
     transition:background 0.2s;
     min-width:100px;
 }
 .profile-card-horizontal .view-profile-btn:hover {
     background:#0056b3;
 }
 @media (max-width:768px){
     .profiles-list-horizontal {
         flex-direction:column;
     }
     .profile-card-horizontal {
         min-width:auto;
         max-width:none;
     }
 }
.custom-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  display: none; align-items: center; justify-content: center;
}
.custom-modal.show {
  display: flex;
}
.custom-modal-dialog {
  background: #fff;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  margin: auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.custom-modal-content {
  padding: 30px 20px 20px 20px;
  text-align: center;
}
.custom-modal-body p {
  margin-bottom: 20px;
}
.btn.btn-primary {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}
.btn.btn-primary:hover {
  background: #0056b3;
}

