* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f1f1f1;
    font-family: 'Poppins', sans-serif;
    max-width: 100vw;
}

.btn {
    font-family: 'Poppins', sans-serif;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    border-radius: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e3e3e3;
    color: #0c0c0c;
}

.cta-section {
    display: flex;
    height: 100vh;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
}

.mobile-cta-section {
    display: none;
}

.line-section {
    overflow: hidden;
    margin-top: 130px;
}
  
.cta-line {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 5rem;
    line-height: 7rem;
}
  
.cta-line.animate {
    animation: revealText 0.6s ease-out forwards;
}
  
@keyframes revealText {
    to {
      transform: translateY(0);
      opacity: 1;
    }
}
  
#cta-btn {
    font-size: 1.2rem;
    cursor: pointer;
    transform: scale(0.8);
    transition: 0.2s;
    opacity: 0;
    background-color: #e3e3e3;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

#cta-btn:hover {
    background-color: #0c0c0c;
    color: #e3e3e3;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.fi-bs-arrow-up-right {
    font-size: 0.9rem;
    margin-left: 5px;
}

#cta-btn.animate {
    animation: popIn 1s cubic-bezier(0.25, 1.25, 0.5, 1) forwards;
    animation-delay: 0.8s;
}
  
@keyframes popIn {  
    0% {
      transform: scale(0.8);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
}

#upper-mockup {
    max-width: 100vw;
    height: auto;
    top: 80px;
    position: absolute;
    z-index: -1;
}

#bottom-mockup {
    max-width: 100vw;
    height: auto;
    bottom: 0;
    position: absolute;
    z-index: -1;
}

@keyframes zoomFadeIn {
    0% {
      transform: scale(0.95);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
}

.mockup {
    opacity: 0;
    transform: scale(1.2);
    animation: zoomFadeIn 1s ease-out forwards;
    animation-delay: 0.3s;
  }
  
#upper-mockup, #bottom-mockup {
    max-width: 100vw;
    height: auto;
    position: absolute;
    z-index: -1;
}
  
#upper-mockup {
    top: 80px;
}
  
#bottom-mockup {
    bottom: 0;
}

.search-section {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
}

#search-firstline {
    margin-top: 200px;
}

#search-firstline, #search-secondline {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 4rem;
    line-height: 5rem;
}

.search-input-wrapper {
    margin-top: 5rem;
    position: relative;
    flex: 1;
}

.search-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

#search-bar {
    width: 750px;
    height: 50px;
    margin: 10px 10px 10px 0;
    padding: 10px;
    padding-left: 20px;
    padding-right: 60px;
    border-radius: 16px;
    background-color: #fcfbfb;
    border: none;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.1s ease-in-out;
    font-size: 1.1rem;
    color: #636363;
}

.shortcut-hint {
    position: absolute;
    right: 30px;
    height: 25px;
    top: 33%;
    transform: translateY(-50%);
    background: #f0f0f0;
    color: #555;
    justify-items: center;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
    font-family: monospace;
}

#search-bar:focus {
    outline: none;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

#search-bar::placeholder {
    color: #aaa;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

#search-bar:focus::placeholder {
    color: transparent;
}



#search-instruction {
    font-size: 0.8rem;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-align: center;
}

#search-instruction {
    color: #a1a1a1;
    font-size: 0.8rem;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.search-section span,
.search-section .search-bar-wrapper,
.search-section #search-instruction {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.search-section.animate span,
.search-section.animate .search-bar-wrapper,
.search-section.animate #search-instruction {
    opacity: 1;
    transform: translateY(0);
}

.search-section.animate span {
    animation: scaleUp 1s ease-out forwards;
}

.search-section.animate .search-bar-wrapper {
    animation: scaleUp 1s ease-out forwards;
}

.search-section.animate #search-instruction {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes bounce {
    0% {
        transform: translateY(50px);
    }
    60% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* .filter-sort-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.filter-sort-section label {
    margin-right: 5px;
    font-weight: 500;
    color: #333;
}

.filter-sort-section select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    min-width: 120px;
    cursor: pointer;
}

.filter-sort-section button#apply-filters-btn {
    background: #e3e3e3;
    color: #000;
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.filter-sort-section button#apply-filters-btn:hover {
    background: #323232;
    color: #f0f0f0
}

.sort-wrapper,
.filter-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
} */

.filter-sort-section {
    display: none !important; /* delete this style later */
}


@media (max-width: 768px) {
    .filter-sort-section {
        flex-direction: column;
        gap: 15px;
    }

    .sort-wrapper,
    .filter-wrapper {
        width: 100%;
        justify-content: flex-start;
    }

    .filter-sort-section select {
        width: 100%;
    }

    .filter-sort-section button#apply-filters-btn {
        width: 100%;
    }
}


.search-results {
    margin-top: 100px;
    width: 76%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
}

.searching-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    margin-bottom: 400px;
}

.searching-wrapper video {
    width: 280px;
    border-radius: 10px;
}

#search-results:has(.searching-wrapper) {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; 
}

.searching-wrapper {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}


.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fcfbfb;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.result-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
  
#name {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
}
  
/* #role {
    font-size: 0.875rem;
    color: #777;
} */

#card-data {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
}

.name-title {
    display: flex;
    flex-direction: column;
}

#tagline {
    font-size: 0.85rem;
    color: #666;
}

.extra-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #555;
}

.skills {
    margin-top: 6px;
    display: flex;
    gap: 6px;
}

.skill-tag {
    background-color: #f0f0f0;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
    color: #333;
}

.bottom-wrapper {
    padding: 12px 16px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#work-btn {
    border: none;
    border-radius: 10px;
    transition: 0.2s;
    padding: 6px 10px;
    font-size: 0.875rem;
    font-weight: 500;
}

#work-btn:hover {
    cursor: pointer;
    background-color: #0c0c0c;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.rating-wrapper {
    display: flex;
    align-items: center;
}

.rating-icon {
    width: 15px;
    height: 15px;
}
  
#rate {
    font-weight: 500;
    font-size: 1rem;
    color: #222;
    margin-left: 6px;
    margin-right: 4px;
}
  
#rating-count {
    font-weight: 400;
    font-size: 0.8rem;
    color: #555;
}

.name-title {
    display: flex;
    flex-direction: column;
    /* gap: 4px; */
}

#tagline {
    font-size: 0.85rem;
    color: #666;
    /* margin-top: 2px; */
    line-height: 1.4;
}

.extra-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #555;
}

.skills {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    color: #333;
}

.card * {
    animation: none !important;
    transition: none !important;
}

.card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.6s ease forwards;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    height: 100vh;
    margin: 0 auto;
    text-align: center;
}

#info-image {
    max-width: 100vw;
    height: auto;
    position: absolute;
    z-index: -1;
}

.mobile-image {
    display: none;
}

.info-text-container {
    display: flex;
    flex-direction: row;
    width: 1100px;
    height: fit-content;
    margin-top: 0;
    justify-content: space-between;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-text {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    line-height: 3.5rem;
    color: #0c0c0c;
    opacity: 0;
    transform: translateY(20px);
}

#left-side {
    text-align: left;
    color: black;
    max-width: 15%;
    margin-right: auto;
    animation-delay: 0.5s;
}

#right-side {
    text-align: left;
    color: white;
    max-width: 15%;
    margin-left: auto;
    animation-delay: 1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-left{
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
}

.fade-in-right {
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1s;
}

.clients-feedback-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* margin-top: 100px; */
    height: 100vh;
    margin: 0 auto;
    text-align: center;
}

.clients-feedback-section h1,
.clients-logo-section img {
    opacity: 0;
    transform: translateY(20px);
}

.clients-feedback-section.fade-in h1,
.clients-feedback-section.fade-in .clients-logo-section img {
    animation: fadeIn 1s ease-out forwards;
}

.clients-feedback-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    line-height: 3.5rem;
    color: #0c0c0c;
}

.clients-logo-section {
    display: flex;
    flex-direction: row;
    width: 1100px;
    height: fit-content;
    margin-top: 100px;
    justify-content: space-between;
}

.clients-logo-section img {
    width: 150px;
}

.clients-feedback-section.fade-in .clients-logo-section img:nth-child(1) {
    animation-delay: 0.5s;
}
.clients-feedback-section.fade-in .clients-logo-section img:nth-child(2) {
    animation-delay: 0.6s;
}
.clients-feedback-section.fade-in .clients-logo-section img:nth-child(3) {
    animation-delay: 0.7s;
}
.clients-feedback-section.fade-in .clients-logo-section img:nth-child(4) {
    animation-delay: 0.8s;
}
.clients-feedback-section.fade-in .clients-logo-section img:nth-child(5) {
    animation-delay: 0.9s;
    width: 100%;
    max-width: 200px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .cta-section {
        display: none;
    }

    #cta-btn-mobile {
        background-color: black !important;
        color: white;
        display: block !important;
        opacity: 0;
        margin-inline: auto;
        transform: scale(0.8);
        margin-top: 10px !important;
    }
      
    #cta-btn-mobile.animate {
        animation: popIn 1s cubic-bezier(0.25, 1.25, 0.5, 1) forwards;
        animation-delay: 1.6s;
    }
      
    @keyframes popIn {
            0% {
            opacity: 0;
            transform: scale(0.8);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    .mobile-cta-section {
        display: flex;
        height: 100vh;
        text-align: center;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 50px;
    }
    
    .mobile-line-section {
        overflow: hidden;
        margin-top: 130px;
        margin-bottom: 180px;
    }

    #mobile-firstline {
        margin-top: 30px ;
    }

    #mobile-firstline, #mobile-secondline {
        font-size: 1.8rem;
        line-height: 1.5;
    }
      
    .mobile-cta-line.animate {
        animation: revealText 0.6s ease-out forwards;
    }
    
    #mobile-upper-mockup {
        max-width: 100vw;
        height: auto;
        top: 80px;
        position: absolute;
        z-index: -1;
    }
    
    #mobile-bottom-mockup {
        max-width: 100vw;
        height: auto;
        bottom: 30px;
        position: absolute;
        z-index: -1;
    }

    .search-bar-wrapper {
        width: 100vw;
    }
    
    .search-input-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    #search-firstline, #search-secondline {
        font-size: 1.5rem !important;
        line-height: 0.8 !important;
    }
    
    .shortcut-hint {
        display: none;
    }
    
    #search-bar {
        height: 50px !important;
        width: 90vw !important;
        border-radius: 12px !important;
        padding-right: 45px;
    }

    #search-icon {
        display: flex;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        border-radius: 10px;
        font-size: 1rem;
        cursor: pointer;
        color: #fff;
        background-color: black;
        border: none;
    }

    #search-instruction {
        font-size: 10px !important;
    }

    .search-results {
        margin-top: 80px !important;
    }
    
    .searching-wrapper video {
        width: 220px !important;
        border-radius: 10px;
    }

    #no-results-text {
        font-size: 0.8rem !important;
    }

    .search-results {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        width: 100% !important;
        gap: 20px !important;
    }

    .card {
        width: 90% !important;
        max-width: 400px !important;
    }

    #card-data {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    .name-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 4px;
    }

    #role {
        margin: 0;
    }

    #tagline {
        margin-top: 4px;
    }

    .extra-info {
        justify-content: flex-start;
        gap: 8px;
        margin-top: 4px;
    }

    .skills {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 4px;
    }

    .bottom-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-top: 8px;
    }

    #work-btn {
        width: auto;
        text-align: center;
    }

    .rating-wrapper {
        justify-content: flex-end;
    }

    .pc-image {
        display: none;
    }

    .mobile-image {
        display: block !important;
    }

    /* .info-section {
        background-color: red;
    } */

    .info-text-container {
        max-width: 80%;
        margin-right: 20px;
    }

    .info-text {
        font-size: 1rem;
        color: #ffffff;
        font-weight: bolder;
        line-height: 1.5;
    }

    /* .clients-feedback-section {
        display: block;
    } */

    #clients-feedback-section-heading {
        font-size: 1.3rem;
        margin-inline: 20px;
        line-height: 1.5;
    }
    
    .clients-logo-section {
        max-width: 100%;
        margin-top: 50px;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .clients-logo-section img {
        width: 60px !important;
        height: auto;
        flex: none;
        object-fit: contain;
    }
    
    .clients-logo-section .logo {
        display: none;
    }
    
    .clients-logo-section .logo:nth-child(-n+4) {
        display: inline-block;
    }

    
    
    
    /* footer {
        display: none;
    } */
}
