body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    background-color: #ffffff!important;
    color:#000000;
}

.ml-2 {
    margin-left: 0.5rem;
}
.pr-2 {
    padding-right: 0.5rem;
}

.nav-link {
    font-size: 15px!important;
}

.mainbg {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .mainbg::before {
    content: "";
    background: linear-gradient(to bottom, #f0f6fd, #ffffff);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/pattern1.png');
    background-repeat: repeat-x;
    background-size: auto;
    background-position: center top; /* This centers the image */
    opacity: 0.4;
    z-index: -1;
  }

  .mainbg2 {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .mainbg2::before {
    content: "";
    background: linear-gradient(to bottom, #f0f6fd, #ffffff);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/pattern1.png');
    background-repeat: repeat-x;
    background-size: auto;
    background-position: center top; /* This centers the image */
    opacity: 0.6;
    z-index: -1;
  }

  .nav-tabs .nav-link.active {
    background-color: #fff;
    border-bottom:1px solid #fff;
    font-size:15px!important;
  }

  .searchbox {
    font-size:16px!important;
  }

  .searchbox input:focus {
    outline: none !important;
    -webkit-box-shadow: none !important; /* Safari and Chrome */
    box-shadow: none !important;         /* Standard syntax */
    border-color: inherit !important;    /* Reset any custom border color */
  }
  
  .searchbox input::-moz-focus-inner {   /* Firefox */
    border: 0 !important;
  }

::-webkit-scrollbar {
    height: 0.7em;
}

::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 100vw;
    margin-block: .5em;
}

::-webkit-scrollbar-thumb {
    background-color:#d5dbf1;
    border: .25em solid #fff;
    border-radius: 100vw;
}

.media-scroller-container {
    position: relative;
    display: flex;
    align-items: center;
}

.media-scroller {
    display: grid;
    gap: var(--size-1);
    grid-auto-flow: column;
    grid-auto-columns: 22%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    padding-top:8px;
}

.media-element {
    display: grid;
    grid-template-rows: min-content;
    gap: var(--size-2);
}

.media-element-box {
    display: block;
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.media-element-box:hover {
    transform: translateY(-8px);
    color: #ffffff;
}

.media-element-box a {
    text-decoration: none;
}

.media-element-box a:hover {
    text-decoration: none;
}


.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-90%);
    background-color: rgba(0, 0, 0, 0);
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s;
}

.scroll-button.left {
    left: 0;
}

.scroll-button.right {
    right: 0;
}

.scroll-button:focus {
    outline: none;
}

.scroll-button.hidden {
    opacity: 0;
    pointer-events: none;
}


.snaps-inline {
    scroll-snap-type: inline mandatory;
}

.snaps-inline > * {
    scroll-snap-align: start;
}

.stars i {
    color: #f7931e;
    margin-right: 2px;
}

.nav-pills {
    --bs-nav-pills-border-radius: var(--bs-border-radius);
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: #f7931e;

}

.nav-link {
    padding:3px 11px 3px 11px;
    font-size:14px;
    margin-right:8px;
    /* border-radius: 12px!important; */
}

.nav-pills a {
    color: #000000;
}

.nav-pills a:hover {
    color: #000000;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #f7931e;
    --bs-btn-border-color: #f7931e;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #e58616;
    --bs-btn-hover-border-color: #d87e15;
    --bs-btn-focus-shadow-rgb: 247, 147, 30;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #d87e15;
    --bs-btn-active-border-color: #cc7714;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #f7931e;
    --bs-btn-disabled-border-color: #f7931e;
    border-radius:20px!important;
    padding-left:15px!important;
    padding-right:15px!important;
}

.search-box {
    display: block;
    padding:20px; 
    border:1px solid #d5dbf1; 
    border-radius:15px;
    background-color: #ffffff;
    margin-bottom:28px;
    box-shadow: 0 0 10px rgba(213, 219, 241, 0.5);
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    font-size:14px;
    z-index: 9999999999!important; 
    position: absolute;
}

.search-box  a {
    color:#000000!important;
    text-decoration: none;
    line-height: 20px;
}

.search-box a:hover {
    color: #366fea;
}


.box1 {
    display: block;
    font-size:15px;
    border: 1px solid #d5dbf1;
    color:#333;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.box1:hover {
    background-color: #fff9e6;
    transform: translateY(-8px);
    color:#000000!important;
    text-decoration: none;
}


.start-project-menu {
    display: block;
    padding:30px; 
    border:1px solid #d5dbf1; 
    border-radius:15px;
    background-color: #ffffff;
    margin-bottom:28px;
    box-shadow: 0 0 10px rgba(213, 219, 241, 0.5);
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    font-size:16px;
    width:600px; 
    height:200px; 
    position:fixed; 
    top: 70px; 
    right: 18%; 
    z-index: 10000;
}

.start-project-style a {
    text-decoration: none;
    line-height: 18px;
    color:#000000;
}

.start-project-style a:hover {
    color:#366fea;
}


.form-box {
    padding:60px; 
    border:1px solid #d5dbf1; 
    border-radius:15px;
    background-color: #ffffff;
    margin-bottom:28px;
    box-shadow: 0 0 10px rgba(213, 219, 241, 0.5);
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    font-size:16px;
}

.bg-blue {
    background: linear-gradient(to bottom, #ffffff, #ffffff);
}

.card-header-custom {
    background-color: #000000!important; 
    border:0px solid #000000; 
    padding:14px 30px 14px 30px; 
    color:#fff; 
    font-size:24px;
    box-shadow: 0 0 10px rgba(213, 219, 241, 0.5);
}

.card-body-custom {
    border:0px solid #000000; 
    padding-top:20px;
    padding-bottom:0px;
    box-shadow: 0 0 20px rgba(213, 219, 241, 0.5);
}

.card-body-custom a {
    color:#000000;
    text-decoration: none;
    font-size:14px;
}

.card-body-custom input {
    background-color: #ffffff;
    padding:8px;
}

/*
.review-box {
    border-radius: 20px;
    background-color: #fff;
    font-size:12px;
    padding:30px;
    border:1px solid #d5dbf1;
    box-shadow: 0 0 10px rgba(213, 219, 241, 0.5);
}
*/

.review-box {
    border: 1px solid #d5dbf1;
    color:#333;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.review-heading {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size:14px;
}

.review-img img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-info {
    margin-left: 15px;
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: bold;
    font-size: 16px;
}

.review-town {
    font-size: 14px;
    color: #666;
}

.review-text {
    font-size: 14px;
    line-height: 16px;
    color: #333;
    line-height: 1.5;
}

.footer-style {
    color:#000000!important;
    border-top:0px solid #eee;
}

.footer-style a {
    color:#000000!important;
    text-decoration: none;
}

.footer-style a:hover {
    color:#000000;
    text-decoration: underline;
}

.footer-style ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.footer-style li {
    padding-left: 0;
    margin-left: 0;
}

#search-results {
    max-width: 100%;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 5px;
}

.states-style {
    line-height: 26px;
}

.states-style a {
    font-size:14px;
    text-decoration: none;
    color:#000000;
}

.states-style a:hover {
    color:#0a53be;
}


.states-style-btn a {
    font-size:16px;
    color:#000000;
    text-decoration: none;
    font-weight: bold;
}

.states-style-btn a:hover {
    color:#0a53be;
}

 /* Ensure the cards have the same height */
 .services-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-card a {
    font-size:14px;
    text-decoration: none;
    color:#000;
}

.services-card a:hover {
    color:#0a53be;
}

.text-style a {
    font-size:14px;
    text-decoration: none;
    color:#000;
}

.text-style a:hover {
    color:#0a53be;
}

.box-style a {
    font-size:14px;
    text-decoration: none;
    color:#000;
}

.box-style a:hover {
    color:#0a53be;
}


.join-pro-network-style {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: url('../img/pro-bg.png');
    background-position: right center;
    background-repeat: no-repeat;
    height: 100%;
    min-height: 400px;
}


.project-style-box {
    background-color: #000000;
    color:#fff;
    padding-top:20px;
    padding-bottom:10px;
    margin-bottom:40px;
    margin-top:-25px;
}

.list-group-item.active {
    background-color: #eee!important;
    color:#fff!important;
    border:0px;
}

.star-rating {
    display: inline-block;
}
.star-rating i {
    color: #ffc107; /* Star color */
    font-size: 1.2em;
}

.review {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.portfolio-image {
    cursor: pointer;
    transition: transform 0.3s;
}

.portfolio-image:hover {
    transform: scale(1.05);
}



/* Styles for phones (extra small and small devices, less than 768px) */
@media (max-width: 767px) {
    .media-scroller {
        grid-auto-columns:50%!important;
        padding-top:8px;
    }


    .join-pro-network-style {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-image: none;
        background-position: right center;
        background-repeat: no-repeat;
        height: 100%;
        min-height: 400px;
    }
}

.col-md-6.mb-4 > a {
    text-decoration: none;
    color: inherit;
}

.col-md-6.mb-4 > a:hover {
    text-decoration: none;
    color: inherit;
}