/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, hgroup, menu, nav, section {
    display: block;
}
body, a:not(header a) {
    font-size: 18px;
    line-height: 28px;
    color: #767676;
    font-family: 'Lato', sans-serif;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
ul,ol{
 margin: 0;
}
a{
    text-decoration: none;
    transition: all 0.3s ease-in;
}
img, svg {
    width: auto;
    max-width: 100%;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
  }
input::placeholder, textarea::placeholder {
    color: #696969 !important;
    opacity: 1; /* Firefox */
  }
  
input::-ms-input-placeholder, textarea::-ms-input-placeholder { /* Edge 12 -18 */
    color: #696969 !important;
  }

.error {
    color: #f00;
}
.developer-categories .nav-link {
    color: #222;
    border-radius: 0;
    padding: 3px 28px;
    border: 1px solid #f58220;
}

.developer-categories .nav-link.active, .developer-categories .show>.nav-link {
    background: #f58220;
}
.profile-right-inner h3:first-child{
    margin-top: 0;
}
.profile-banner{
    min-height: 77vh;
    align-items: center;
}
    .small-heading-four {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Optional: for smoother look */
  max-height: calc(1.2em * 5.5); /* 1.2em is approx line-height, adjust as needed */
}
.small-heading-two {
  gap: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.label-light-primary{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.label-light-primary li {
  border: 1px solid #F58220;
  background: #FFF3E9;
  color: #222;
  padding: 0px 8px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  margin: 0;
  border-radius: 2px;
  box-sizing: border-box;
}
.developer-categories .nav-link:hover {
    background: #f58220;
    color: #fff;
    border-color: #f58220;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
    }
}
h1,.h1{
    font-size: 48px;
    line-height: 58px;
    color: #222222;
    font-weight: 700;
    margin-bottom: 24px;
}

h2,.h2{
    font-size: 46px;
    line-height: 56px;
    color: #222222;
    font-weight: 700;
    margin-bottom: 29px;
}
h3,.h3{
    font-size: 24px;
    line-height: 34px;
    color: #222222;
    font-weight: 700;
    margin-bottom: 17px;
}
h4,.h4{
    font-size: 20px;
    line-height: 24px;
    color: #222222;
    font-weight: 700;
}
.text-lg{
    font-size: 34px;
    line-height: 44px;
    margin-bottom: 15px;
}
.text-base{
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 10px;
}
p:not(:last-child){
    margin-bottom: 24px;
}

.btn,.label,.btn:focus,.btn:active{
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    border: none;
    border-radius: 0;
    display: inline-block;
    padding: 9px 13px;
}
.label-sm{
    padding: 3px 7px;
}
.btn-primary,.btn-primary:active,.label-primary{
    background-color: #F58220;
    color: #ffffff;
    border: 1px solid #F58220;
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: inherit;
    background: inherit;
    border-color: inherit;
}
.btn-outline-primary,.btn-outline-primary:active{
    color: #F58220;
    border: 1px solid #F58220;
}
.label-white{
    background-color: #fff;
    color: #F58220;
    border: 1px solid #fff;
}
.btn-primary:hover,.btn-outline-primary:hover{
    background-color: #F58220;
    border-color: #F58220;
}
.single-profile-book-a-30-min-call{
    background-color: #F58220;
    color: #fff;
}
.border-primary-subtle{
    border-color: #F58220 !important;
}
section{
    padding: 60px 0;
}
.mt-sm{
    margin-top: 25px;
}
.ml-sm{
    margin-left: 25px;
}
.mb-sm,img{
    margin-bottom: 25px;
}
.text-primary{
    color: #F58220 !important;
}
.text-dark{
    color: #000 !important;
}
.bg-light-orange{
    background-color: #FFF3E9;
}
.bg-gray-light{
    background-color: #F9F9F9;
}
.boxed{
    padding: 24px;
}
.boxed-sm{
    padding: 16px;
}

.form-group{
    margin-bottom: 15px;
}
.form-control{
    font-size: 16px;    
    line-height: 26px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(222, 226, 230, 0.5);
    /* color: #fff; */
    padding: 15px 20px;
    border-radius: 0;
}
textarea.form-control{
    height: 90px;
}
.circle-img{
    border-radius: 100%;
    object-fit: cover;
    max-height: 80px;
    width: 80px;
}
.testimonials-three .slick-slide {
  margin: 0 15px;
}
.testimonials-three .slick-dots{
    text-align: center;
    width: 100%;
    position: static;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}
.testimonials-three .slick-dots button{
    height: auto;
    background: no-repeat;
    border: none;
    padding: 0;
}
.testimonials-three .slick-dots li.slick-active {
    background-color: #f58220;
}
.testimonials-three .slick-dots li{
    float: left;
    margin-right: max(12px, .625vw);
    height: 9px;
    width: 9px;
    border-radius: 9999px;
    background-color: #696969;
    font-size: 0;
}
.banner-detail-icon li,.banner-detail-icon li a{
display: inline-block;
    font-size: 0;
    line-height: normal;
}
.list-disc{
    list-style-type: disc !important;
    list-style-position: inside !important;
}
.profile-inner-img{
    max-height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}
.ai-automation-skills-list li, .main-skills-list li,.other-skills-list li {
    font-size: 14px !important;
}
@media only screen and (min-width: 767px) {
    .left-inner{
        border-right: 1px solid #F58220;
        position: relative;
    }
    .left-inner:after{
        position: absolute;
        content: '';
        right: -5px;
        top: 9px;
        height:10px;
        width: 10px;
        background: #f58220;
        border-radius: 100%;
    }
    .left-inner:first-child:after{
        top: 0;
    }
}
@media only screen and (max-width: 991px) {
    body, a:not(header a) {
        font-size: 16px;
        line-height: 26px;
    }
    h1, .h1{
        font-size: 40px;
        line-height: 48px;
    }   
    h2, .h2 {
        font-size: 27px;
        line-height: 37px;
    }
    h3, .h3 {
        font-size: 21px;
        line-height: 31px;
    }
    h4, .h4 {
        font-size: 18px;
        line-height: 22px;
    }
    h2,h3,h4,p:not(:last-child){
        margin-bottom: 15px;
    }
    .text-lg{
        font-size: 24px;
        line-height: 34px;
    }
    .form-control {
        height: 52px;
        font-size: 14px;
    }
    textarea.form-control {
        height: 70px;
    }
    .cta-one:after{
        position:absolute;
        content:'';
        top:0;
        left:0;
        width:100%;
        height:100%;
        background-color: rgba(0, 0, 0, 0.7);
    }
    .btn, .label {
        font-size: 14px;
        line-height: 24px;
    }
    section {
        padding: 40px 0;
    }
    .banner{
        position: relative;
    }
    .banner:after{
        position:absolute;
        content:'';
        top:0;
        left:0;
        width:100%;
        height:100%;
        background-color: rgba(0, 0, 0, 0.7);
    }
}
@media only screen and (max-width: 767px) {
    h1, .h1 {
        font-size: 32px;
        line-height: 42px;
    }
    .profile-inner-img{
        height: 250px;
    }
    .profile-banner{
        min-height: auto;
    }
}

/* Loader Styles */
.loader-container {
    padding: 40px 0;
}

.loader-image {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Profile Card Gradient Overlay */
.profile-grad:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(24.91%, rgb(0 0 0 / 7%)), color-stop(75.18%, #000000));
    background: -o-linear-gradient(top, rgb(0 0 0 / 7%) 24.91%, #000000 75.18%);
    background: linear-gradient(180deg, rgb(0 0 0 / 7%) 24.91%, #000000 75.18%);
}
.profile-grad {
    height: 400px;
}
.profile-grad > img {
    object-position: top;
}

/* Single Profile template styles moved from inline */
.project-location {
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #cecece;
    display: inline-block;
}
.project-location .location-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.project-location span {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}
.project-location .gap-2 {
    gap: 8px !important;
}

/* Book a 30 Min Call button states */
#book-a-30-min-call-b-t-cta:active,
#book-a-30-min-call-b-t-cta:focus,
#book-a-30-min-call-b-t-cta:focus-visible {
    background-color: #F58220 !important;
    border: 2px solid #F58220 !important;
    color: #fff !important;
}
#book-a-30-min-call-b-t-cta:hover {
    background-color: #F58220 !important;
    border-color: #F58220 !important;
    color: #fff !important;
}

/* Profile Home template styles moved from inline */
/* Stats Section Styles */
.stats-section {
    padding-top:24px;
    padding-bottom:24px;
}
.stats-item{
    padding: 15px 30px;
}
.stats-section .border-start {
    border-left: 1px solid rgba(0, 0, 0, 0.50);
}

.stats-section .stats-number {
    font-size: 26px;
}

.stats-section .stats-label {
    font-size: 18px;
}

@media (max-width: 767px) {
    .stats-section .col-6:nth-child(odd) .border-start {
        border-left: none !important;
    }
    .stats-section {
        padding-top:15px;
        padding-bottom:15px;
    }
    .stats-section .stats-number {
        font-size: 18px;
    }
    .stats-section .stats-label {
        font-size: 13px;
        line-height: normal;
    }
    .stats-item{
        padding: 10px 15px;
    }
}
@media (min-width: 768px) and (max-width: 1024px){
    .stats-section .stats-number {
        font-size: 16px;
    }
    .stats-section .stats-label {
        font-size: 13px;
        line-height: normal;
    }
    .stats-section {
        padding-top:20px;
        padding-bottom:20px;
    }
    .stats-item{
        padding: 10px 15px;
    }
}

/* Filter Dropdown Styles */
.dropdown.filter-dp {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}
.dropdown.filter-dp .dropdown-toggle{
    min-width: 230px !important;
    padding: 14px 20px !important;
    position: relative !important;
}
.filter-dp .dropdown-menu.show{
    width: 75%;
    padding: 30px;
    max-height: 300px;
    overflow-y: auto;
    min-height: 300px;
    height: 250px;
}
.filter-dp .dropdown-item-checkbox input[type=checkbox]{
    accent-color: #F58B21;
}

/* Hide the native checkbox */
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 18px;
    width: 18px;
    z-index: 2;
    margin: 0;
}

/* Create the custom box */
.custom-checkbox .checkmark {
    position: relative;
    height: 18px;
    width: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    z-index: 1;
}
.dropdown-item-checkbox:hover .checkmark {
    background-color: rgba(255, 165, 0, 0.2);
    border-color: orange;
}

/* Optional: show checkmark symbol on hover (visual preview only) */
.dropdown-item-checkbox:hover .checkmark::after {
    content: "✔";
    position: absolute;
    top: -6px;
    left: 2px;
    color: orange;
    font-size: 14px;
}

/* Change background when checked */
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #F58220;
    border-color: #F58220;
}

/* Add the white checkmark when checked */
.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: "✔";
    position: absolute;
    top: -6px;
    left: 2px;
    color: white;
    font-size: 14px;
}
/* Make the label clickable */
.custom-checkbox .checkbox-label {
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.dropdown.filter-dp .btn {
    margin-right: 15px;
}
.dropdown.filter-dp .dropdown-menu{
    transform: inherit !important;
    top: 50px !important;
    left: 158px !important;
    border-radius: 0;
    margin-top:10px !important;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background-color:#fff;
    box-shadow:none !important;
}
.profile-search-container .btn{
    transform: translateY(0) !important;
}
.dropdown.filter-dp .btn.btn-primary:hover, .btn-outline-primary:hover{
    color:#fff;
}
.dropdown.filter-dp .btn-check:checked+.btn, .btn.active, .btn.show, :not(.btn-check)+.btn:active{
    background-color: #F58220 !important;
    border-color: #F58220 !important;
    color: #fff !important;
}
.dropdown.filter-dp button:focus:not(:focus-visible){
    border: 1px solid #F58220 !important;
}

.dropdown.filter-dp button:focus-visible {
    outline: 2px solid #F58220 !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}
.dropdown.filter-dp .dropdown-toggle::after{
    content: "";
    position: absolute;
    right: 15px !important;
    top: 50% !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 2px solid #F58220  !important;
    border-bottom: 2px solid #F58220  !important;
    transform: translateY(-50%) rotate(45deg) !important;
    transition: transform 0.2s ease !important;
    border-top: none !important;
    border-left: none !important;
}
.dropdown.filter-dp .dropdown-toggle.show::after {
    transform: translateY(-50%) rotate(-135deg) !important;
    border-right-color:#FFF !important;
    border-bottom-color:#fff !important;
}
.dropdown.filter-dp .dropdown-toggle:active::after, .dropdown.filter-dp .dropdown-toggle:hover::after{
    border-right-color:#FFF !important;
    border-bottom-color:#fff !important;
}
.profile-search-container{
    max-width:none !important;
}
.profile-search-container .form-control{
    padding: 16px 50px 16px 20px !important;
}

@media (max-width: 767px) {
    .dropdown.filter-dp .dropdown-toggle{
        min-width: inherit !important;
        padding: 14px 10px !important;
    }
    .dropdown.filter-dp .btn{
        margin-right: 10px !important;
    }
    .dropdown.filter-dp .btn:last-child{
        margin-right: 0 !important;
    }
    .dropdown.filter-dp .dropdown-menu{
        left: 0 !important;
    }
}
@media (max-width: 480px) {
    .dropdown.filter-dp{
        display: block !important;
    }
    .dropdown.filter-dp .btn{
        margin-bottom: 10px !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    .filter-dp .dropdown-menu.show{
        width: 100% !important;
    }
    .filter-dp .dropdown-menu.show{
        top:100% !important;
    }
}

/* Enhanced Search Bar Styling */
.profile-search-container {
    max-width: 600px;
    margin: 0 auto;
}
.profile-search-container input {
    padding-right: 80px;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.profile-search-container input:focus {
    border-color: #F58220;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15), 0 4px 12px rgba(0,0,0,0.15);
    outline: none;
}
.search-icons {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
}
.search-clear-btn,
.search-btn {
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #6c757d;
}
.search-clear-btn:hover {
    background-color: #f8f9fa;
    color: #dc3545;
}
.search-btn {
    color: #F58220;
}
.search-btn:hover {
    background-color: #f8f9fa;
    color: #F58220;
}

/* Active Filters Styling */
.clear-all-filters {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 14px;
    color: #6c757d;
    transition: all 0.2s ease;
}
.clear-all-filters:hover {
    background: #f8f9fa;
    border-color: #dc3545;
    color: #dc3545;
}
.filter-tag {
    background: #F58220;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.filter-tag:hover {
    background: #F58220;
    color: white;
}
.filter-tag .remove-filter {
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
}
.filter-tag .remove-filter:hover {
    background: rgba(255,255,255,0.5);
}

/* Technology Dropdown Styling */
.technology-checkbox {
    margin-right: 8px;
}
.checkmark-cstm {
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
    width: 100%;
}
.dropdown-item-checkbox {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}
.dropdown-item-checkbox:hover {
    background-color: #f8f9fa;
}
.tech-icon {
    margin-right: 8px;
}
.tech-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Results Count Styling */
#results-count {
    font-size: 16px;
    font-weight: 500;
    color: #495057;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-search-container input {
        font-size: 14px;
        padding-right: 70px;
    }
    .search-icons {
        right: 8px;
    }
    .search-clear-btn,
    .search-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* Search results highlighting */
.search-active {
    background-color: #e3f2fd;
    border-left: 3px solid #2196f3;
}

/* Loading state for search */
.search-loading #technology-search {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDNWMSIgc3Ryb2tlPSIjOTk5IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTAgMTlWMTciIHN0cm9rZT0iIzk5OSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPHA+L3N2Zz4K');
    background-repeat: no-repeat;
    background-position: right 50px center;
    animation: spin 1s linear infinite;
}

/* Fallback Alert Styling */
.alert-warning button:hover {
    background-color: #E67A1A !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(245, 130, 32, 0.3);
}
.alert-warning button:active {
    transform: translateY(0);
}

/* Smooth Scroll Highlight Effect */
.scroll-highlight {
    position: relative;
    animation: scrollHighlight 2s ease-out;
}
@keyframes scrollHighlight {
    0% {
        background-color: rgba(245, 130, 32, 0.1);
        transform: scale(1.005);
    }
    50% {
        background-color: rgba(245, 130, 32, 0.05);
        transform: scale(1.002);
    }
    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

/* Smooth scroll behavior for the entire page */
html {
    scroll-behavior: smooth;
}

/* Enhanced button hover effect for smooth scroll button */
.smooth-scroll {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.smooth-scroll:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

@media (max-width: 768px) {
    .alert-warning {
        flex-direction: column !important;
        padding: 12px !important;
    }
    .alert-warning span {
        text-align: center;
    }
}
