/* Custom CSS for top bar */
.top_bar {
    background-color: #252f2d;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top_contact_info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top_contact_info a:hover {
    color: #f5c729 !important;
    transition: all 0.3s ease;
}

/* Sectors Section Styles */
.sectors_section {
    width: 100%;
    float: left;
    padding: 90px 0px 60px;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.sectors_section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 199, 41, 0.05) 0%, rgba(37, 47, 45, 0.05) 100%);
    z-index: 0;
}

.sectors_taital {
    width: 100%;
    font-size: 40px;
    color: #252f2d;
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.sectors_taital_1 {
    color: #f5c729;
    border-bottom: 5px solid #252f2d;
}

.sectors_text {
    width: 100%;
    font-size: 16px;
    color: #666666;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.sectors_section_2 {
    width: 100%;
    float: left;
    position: relative;
    z-index: 1;
}

.sector_box {
    background-color: #ffffff;
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.5s ease;
    height: 100%;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.sector_box:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #f5c729;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.sector_box:hover {
    transform: translateY(-15px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
}

.sector_box:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.sector_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #f5c729;
    border-radius: 50%;
    margin-bottom: 25px;
    color: #252f2d;
    font-size: 32px;
    position: relative;
    transition: all 0.5s ease;
}

.sector_box:hover .sector_icon {
    background-color: #252f2d;
    color: #f5c729;
    transform: rotateY(360deg);
}

.sector_title {
    font-size: 22px;
    font-weight: 600;
    color: #252f2d;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.sector_title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #f5c729;
}

.sector_text {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sector_box {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.sector_box:nth-child(1) {
    animation-delay: 0.1s;
}

.sector_box:nth-child(2) {
    animation-delay: 0.3s;
}

.sector_box:nth-child(3) {
    animation-delay: 0.5s;
}

.sector_box:nth-child(4) {
    animation-delay: 0.7s;
}

.sector_box:nth-child(5) {
    animation-delay: 0.9s;
}

.sector_box:nth-child(6) {
    animation-delay: 1.1s;
}

/* Freelance Profiles Section Styles */
.freelance_profiles_section {
    width: 100%;
    float: left;
    padding: 90px 0px;
    background-color: #252f2d;
}

.freelance_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #f5c729;
    font-weight: bold;
    text-align: center;
}

.freelance_taital_1 {
    color: #fefefd;
    border-bottom: 5px solid #f5c729;
}

.freelance_text {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #fefefd;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.freelance_section_2 {
    width: 100%;
    float: left;
    padding-top: 30px;
}

.platform_box {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.platform_box:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.2);
}

.upwork_box {
    border-top: 5px solid #6FDA44;
}

.fiverr_box {
    border-top: 5px solid #1DBF73;
}

.platform_icon {
    margin-bottom: 20px;
}

.platform_img {
    width: 80px;
    height: auto;
}

.platform_name {
    font-size: 24px;
    font-weight: 600;
    color: #252f2d;
    margin-bottom: 15px;
}

.platform_text {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.platform_link a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #f5c729;
    color: #252f2d;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.upwork_box .platform_link a:hover {
    background-color: #6FDA44;
    color: #ffffff;
}

.fiverr_box .platform_link a:hover {
    background-color: #1DBF73;
    color: #ffffff;
}

/* Hourly Rate Section Styles */
.hourly_rate_section {
    width: 100%;
    float: left;
    padding: 70px 0px;
    background-color: #f9f9f9;
    position: relative;
}

.hourly_rate_box {
    background-color: #252f2d;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hourly_rate_box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="%23f5c729" stroke-width="1" fill="none" opacity="0.2" /></svg>');
    background-size: 120px;
    opacity: 0.05;
}

.hourly_rate_title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #f5c729;
}

.hourly_rate_text {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 25px;
}

.rate_value {
    display: flex;
    align-items: baseline;
    margin-bottom: 25px;
}

.currency {
    font-size: 30px;
    font-weight: 700;
    color: #f5c729;
    margin-right: 5px;
}

.amount {
    font-size: 60px;
    font-weight: 700;
    color: #f5c729;
    line-height: 1;
}

.period {
    font-size: 20px;
    color: #ffffff;
    margin-left: 5px;
    opacity: 0.8;
}

.rate_description {
    font-size: 16px;
    color: #ffffff;
    opacity: 0.8;
    max-width: 80%;
}

.rate_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background-color: rgba(245, 199, 41, 0.1);
    border-radius: 50%;
    color: #f5c729;
    font-size: 60px;
    animation: pulse 2s infinite;
}

.contact_rate_btn {
    margin-top: 30px;
}

.contact_rate_btn a {
    display: inline-block;
    padding: 12px 35px;
    background-color: #f5c729;
    color: #252f2d;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 5px 15px rgba(245, 199, 41, 0.3);
}

.contact_rate_btn a:hover {
    background-color: #ffffff;
    color: #252f2d;
    transform: translateY(-3px);
    box-shadow: 0px 8px 20px rgba(245, 199, 41, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 199, 41, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(245, 199, 41, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 199, 41, 0);
    }
}

@media (max-width: 991px) {
    .hourly_rate_box {
        padding: 40px;
    }
    
    .hourly_rate_title {
        font-size: 30px;
    }
    
    .rate_icon {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }
    
    .amount {
        font-size: 50px;
    }
}

@media (max-width: 767px) {
    .hourly_rate_box {
        padding: 30px;
    }
    
    .hourly_rate_title {
        font-size: 26px;
    }
    
    .hourly_rate_text {
        font-size: 16px;
    }
    
    .rate_description {
        max-width: 100%;
    }
    
    .rate_icon {
        margin-top: 20px;
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    .hourly_rate_box {
        padding: 25px;
        text-align: center;
    }
    
    .rate_value {
        justify-content: center;
    }
    
    .rate_description {
        margin: 0 auto;
    }
}

/* Reviews Section Styles */
.reviews_section {
    width: 100%;
    float: left;
    padding: 90px 0px;
    background-color: #f9f9f9;
}

.reviews_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #f5c729;
    font-weight: bold;
    text-align: center;
}

.reviews_taital_1 {
    color: #292929;
    border-bottom: 5px solid #363636;
}

.reviews_text {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #343534;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.reviews_section_2 {
    width: 100%;
    float: left;
    padding-top: 30px;
}

/* Review Carousel Styles */
#reviewsCarousel {
    padding-bottom: 60px;
}

#reviewsCarousel .carousel-inner {
    max-width: 800px;
    margin: 0 auto;
}

.review_box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1);
    min-height: 300px;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.quote_icon {
    font-size: 30px;
    color: #f5c729;
    margin-bottom: 15px;
}

.review_text {
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.client_info {
    margin-top: 20px;
    border-top: 1px solid #eeeeee;
    padding-top: 20px;
}

.client_name {
    font-size: 18px;
    color: #252f2d;
    font-weight: 600;
    margin-bottom: 5px;
}

.client_position {
    font-size: 14px;
    color: #f5c729;
    margin-bottom: 0;
}

/* Carousel Controls */
.reviews-indicators {
    bottom: 0;
}

.reviews-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cccccc;
    border: none;
    margin: 0 5px;
}

.reviews-indicators li.active {
    background-color: #f5c729;
}

.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: #252f2d;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
    background-color: #f5c729;
}

.reviews-control {
    width: 20px;
    height: 20px;
}

/* Carousel Animation */
.carousel-item {
    opacity: 0;
    transition: opacity 0.7s ease !important;
    position: absolute;
    display: block !important;
    width: 100%;
}

.carousel-item.active {
    opacity: 1;
    position: relative;
}

/* Responsive styles */
@media (max-width: 991px) {
    .review_box {
        padding: 30px;
    }
    
    #reviewsCarousel .carousel-inner {
        max-width: 90%;
    }
    
    .carousel-control-prev {
        left: 0;
    }
    
    .carousel-control-next {
        right: 0;
    }
    
    .freelance_taital {
        font-size: 36px;
    }
    
    .platform_box {
        padding: 30px 20px;
    }
}

@media (max-width: 767px) {
    .top_bar {
        padding: 5px 0;
    }
    
    .top_contact_info {
        flex-direction: column;
        align-items: flex-end;
    }
    
    .top_contact_info > div {
        margin-bottom: 5px;
        margin-left: 0 !important;
    }
    
    .review_box {
        padding: 25px;
        min-height: auto;
    }
    
    .reviews_taital, .freelance_taital {
        font-size: 32px;
    }
    
    .carousel-control-prev, .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .platform_box {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .top_contact_info {
        align-items: center;
    }
    
    .review_box {
        padding: 20px;
    }
    
    .quote_icon {
        font-size: 24px;
    }
    
    .carousel-control-prev, .carousel-control-next {
        display: none;
    }
    
    .freelance_taital {
        font-size: 28px;
    }
    
    .freelance_text {
        margin-bottom: 30px;
    }
    
    .platform_box {
        padding: 25px 15px;
    }
    
    .platform_img {
        width: 60px;
    }
    
    .platform_link a {
        padding: 10px 20px;
    }
}

/* Responsive styles */
@media (max-width: 767px) {
    .top_bar {
        padding: 5px 0;
    }
    
    .top_contact_info {
        flex-direction: column;
        align-items: flex-end;
    }
    
    .top_contact_info > div {
        margin-bottom: 5px;
        margin-left: 0 !important;
    }
    
    .review_box {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .top_contact_info {
        align-items: center;
    }
    
    .reviews_taital {
        font-size: 32px;
    }
    
    .review_box {
        padding: 20px;
    }
}