/*======= New Footer css 17-2-26 =========*/
.hire_mega_footer {
    background: linear-gradient(180deg, var(--secondary_color) 0%, var(--secondary_hover) 50%, #0B1A2E 100%);
    color: #ffffff;
    padding-top: 5rem;
    position: relative;
}
.hire_mega_footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange_color), transparent);
}
/* Footer Top: Lead Capture & Trust */
.mega-footer-top {
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--footer-border);
}
.mega-footer-top-inner {
    gap: 2.5rem 0;
}
.mega-footer-lead {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mega-footer-lead-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--footer-border);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Glow effect on hover */
.mega-footer-lead-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--orange_color), var(--primary_hover));
    opacity: 0;
    transition: opacity 0.3s var(--transition-smooth);
}

.mega-footer-lead-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 65, 3, 0.03));
    border-color: rgba(255, 65, 3, 0.2);
    transform: translateX(4px);
    box-shadow: 0 8px 30px rgba(255, 65, 3, 0.08);
}

.mega-footer-lead-item:hover::before {
    opacity: 1;
}

.mega-footer-lead-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 65, 3, 0.15), rgba(255, 65, 3, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--transition-smooth);
}

.mega-footer-lead-item:hover .mega-footer-lead-icon {
    background: linear-gradient(135deg, rgba(255, 65, 3, 0.25), rgba(255, 65, 3, 0.15));
    box-shadow: 0 0 20px rgba(255, 65, 3, 0.2);
}

.mega-footer-lead-icon svg {
    width: 24px;
    height: 24px;
    color: var(--orange_color);
}

.mega-footer-lead-icon img {
    width: 24px;
    height: 24px;
}

.mega-footer-lead-text {
    flex: 1;
}

.mega-footer-lead-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
    line-height: 1.7;
}

.mega-footer-lead-desc {
    font-size: 0.875rem;
    color: var(--gray_color_light);
    margin:0;
}
.mega-footer-lead-arrow {
    flex: 0 0 auto;
}
.mega-footer-lead-arrow svg {
    width: 20px;
    height:20px;
    color: var(--orange_color);
    transition: all 0.3s var(--transition-smooth);
}
.mega-footer-lead-arrow img {
    width: 20px;
    height:20px;
    transition: all 0.3s var(--transition-smooth);
}
.mega-footer-lead-item:hover .mega-footer-lead-arrow svg {
    transform: translateX(6px);
}

/* Trust Signals - ENHANCED */
.mega_footer_trust_colm {
    padding-left: 20px;
}
.mega-footer-trust {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.mega-footer-trust-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}
.mega-footer-trust-item .ftr_trust_texts {
    flex: 1;
}
.mega-footer-trust-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 65, 3, 0.2), rgba(255, 65, 3, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 65, 3, 0.15);
}

.mega-footer-trust-check svg {
    width: 14px;
    height: 14px;
    color: var(--orange_color);
}
.mega-footer-trust-check img {
    width: 14px;
    height: 14px;
}

@media screen and (max-width:1199px) {
    .mega-footer-lead-item {
        gap: 16px;
        padding: 16px 20px;
    }
    .mega-footer-lead-icon {
        width: 46px;
        height: 46px;
        border-radius: 10px;
    }
    .mega-footer-lead-icon svg, .mega-footer-lead-icon img {
        width: 20px;
        height: 20px;
    }
    .mega-footer-lead-title {
        font-size: 15px;
    }
    .mega-footer-trust-item {
        font-size: 15px;
        gap: 12px;
    }
}
@media screen and (max-width:991px) {
    .mega_footer_trust_colm {
        padding-left:0;
    }
}
@media screen and (max-width:767px) {
   .mega-footer-lead-title {
        line-height: 1.6;
    }
}

/* =====================================================
   FOOTER COLUMNS - POLISHED
   ===================================================== */
.mega-footer-columns {
    gap: 2.5rem 0;
    padding: 3.5rem 0;
}
.mega-footer-column {
    width: 20%;
}
.mega-footer-column-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange_color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 0.875rem;
}

.mega-footer-column-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--orange_color);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 65, 3, 0.5);
}

.mega-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-footer-links li {
    margin-bottom: 0.75rem;
}

.mega-footer-links a {
    color: var(--gray_color_light);
    text-decoration: none;
    transition: all 0.2s var(--transition-smooth);
    display: inline-block;
    position: relative;
}

.mega-footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--orange_color);
    transition: width 0.2s var(--transition-smooth);
}
.mega-footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}
.mega-footer-links a:hover::after {
    width: 100%;
}
/* View all link in footer */
.mega-footer-links .footer-view-all {
    color: var(--orange_color);
    font-weight: 600;
    margin-top: 0.75rem;
    display: inline-block;
}
.mega-footer-links .footer-view-all:hover {
    color: var(--primary_hover);
}
@media screen and (max-width:1399px) {
    .mega-footer-column-title {
        font-size: 13px;
    }
    .mega-footer-links a {
        font-size: 15px;
    }
}
/* =====================================================
   FOOTER LOCATIONS - GLOBAL OFFICES
   ===================================================== */
.mega-footer-locations {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.5rem 2.5rem 3rem;
    border-top: 1px solid var(--footer-border);
}
.mega-footer-locations-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange_color);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mega-footer-locations-title::before {
    content: '';
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange_color), transparent);
    border-radius: 1px;
}
.mega-footer-locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}
.mega-footer-location {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--footer-border);
    border-radius: 10px;
    transition: all 0.25s var(--transition-smooth);
}
.mega-footer-location:hover {
    background: rgba(255, 65, 3, 0.04);
    border-color: rgba(255, 65, 3, 0.15);
    transform: translateY(-2px);
}
.mega-footer-location-country {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mega-footer-location-icon {
    width: 18px;
    height: 18px;
    color: var(--orange_color);
    flex-shrink: 0;
}
.mega-footer-location-address {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.625rem;
}
.mega-footer-location-phone {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.2s var(--transition-smooth);
}
.mega-footer-location-phone:hover {
    color: var(--orange_color);
}
.mega-footer-location-phone::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--orange_color);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary-glow-strong);
}
/* =====================================================
   FOOTER BOTTOM - REFINED
   ===================================================== */
.mega-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.75rem 0;
}
.mega-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 0;
    padding-left: 10px;
    padding-right: 10px;
}
.footer_bottom_left, .footer_bottom_middle, .footer_bottom_right {
    margin-left: -10px;
    margin-right: -10px;
}
.footer_bottom_left {
    width: 60%;
}
.footer_bottom_middle {
    width: 20%;
    text-align: center;
}
.footer_bottom_right {
    width: 20%;
    display: flex;
    justify-content: flex-end;
}
.mega-footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.mega-footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}
.mega-footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1.25rem 0;
    flex-wrap: wrap;
}
.mega-footer-legal-links a {
    font-size: 0.875rem;
    color: var(--gray_color_light);
    text-decoration: none;
    transition: color 0.2s var(--transition-smooth);
    position: relative;
    padding: 0 20px;
}
.mega-footer-legal-links a:first-child {
    padding-left: 0;
}
.mega-footer-legal-links a:last-child {
    padding-right: 0;
}
.mega-footer-legal-links a:after {
    position: absolute;
    content: "";
    right: -1px;
    top: 5px;
    bottom: 2px;
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
}
.mega-footer-legal-links a:last-child:after {
    display:none;
}
.mega-footer-legal-links a:hover {
    color: #ffffff;
}
.mega-footer-legal-links span {
    color: rgba(255, 255, 255, 0.15);
}
.mega-footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}
.mega-footer-badges {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-wrap: wrap;
}
.mega-footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--footer-border);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s var(--transition-smooth);
}
.mega-footer-badge .f_badge_icon {
    display: inline-flex;
}
.mega-footer-badge:hover {
    background: rgba(255, 65, 3, 0.08);
    border-color: rgba(255, 65, 3, 0.2);
    color: rgba(255, 255, 255, 0.9);
}
.mega-footer-badge svg {
    width: 16px;
    height: 16px;
    color: var(--orange_color);
}
.mega-footer-badge img {
    width: 16px;
    height: 16px;
}
@media screen and (max-width:1599px) {
    .mega-footer-legal {
        display: flex;
        gap: 1rem;
    }
    .mega-footer-legal-links a {
        padding: 0 12px;
    }
    .mega-footer-legal-links a:first-child {
        padding-left: 0;
    }
    .mega-footer-legal-links a:last-child {
        padding-right: 0;
    }
}
@media screen and (max-width:1399px) {
    .mega-footer-legal-links a {
        padding: 0 8px;
    }
}
@media screen and (max-width:1199px) {
    .footer_bottom_left {
        width: 100%;
    }
    .footer_bottom_middle {
        width: 50%;
        text-align: left;
    }
    .footer_bottom_right {
        width: 50%;
    }
    .mega-footer-column {
        width: 33.33%;
    }
}
@media screen and (max-width:991px) {
    .mega-footer-column {
        width: 50%;
    }
    .footer_bottom_left {
        width: 100%;
    }
    .footer_bottom_middle {
        width: 50%;
    }
    .footer_bottom_right {
        width: 50%;
        display: flex;
        justify-content: flex-end;
    }
}
@media screen and (max-width:767px) {
    .mega-footer-legal {
        gap: 1rem 0;
    }
    .mega-footer-copyright {
        width: 100%;
    }
    .mega-footer-legal-links {
        width: 100%;
    }
    .footer_bottom_middle {
        width: 100%;
    }
    .footer_bottom_right {
        width: 100%;
        display: block;
        justify-content: flex-start;
    }
}
@media screen and (max-width:575px) {
    .mega-footer-column {
        width: 100%;
    }
}
/* =====================================================
   FOOTER CONNECT SECTION (Newsletter + Social + Locations)
   ===================================================== */
.mega-footer-connect {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.5rem 0;
}
.mega-footer-connect-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem 0;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}
/* Newsletter */
.mega-footer-newsletter-col, .mega-footer-social-col, .mega-footer-address-col {
    width: 33.33%;
    padding-left: 10px;
    padding-right: 10px;
}
.mega-footer-social-col {
    display: flex;
    justify-content: center;
}
.mega-footer-address-col {
    display: flex;
    justify-content: flex-end;
}
.mega-footer-newsletter-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.mega-footer-newsletter-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}
.mega-footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
}
.mega_footer_newsletter_inputbox {
    flex: 1;
}
.mega-footer-newsletter-input {
    width: 100%;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.mega-footer-newsletter-input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.mega-footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.mega-footer-newsletter-input:focus {
    outline: none;
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.08);
}
.mega-footer-newsletter-btn {
    flex: 0 0 auto;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    border: none;
    border-radius: 6px;
    white-space: nowrap;
}
.mega-footer-newsletter-btn:hover {
    transform: none;
    box-shadow: none;
}
/* Social Links */
.mega-footer-social-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.7;
}
.mega-footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.mega-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}
.mega-footer-social-link svg, .mega-footer-social-link img {
    width: 18px;
    height: 18px;
}
.mega-footer-social-link:hover {
    background: var(--secondary_color);
    border-color: var(--secondary_color);
    color: #fff;
    transform: translateY(-2px);
}
/* Office Locations */
.mega-footer-offices-grid {
    display: flex;
    gap: 2rem 10px;
    flex-wrap: wrap;
}
.mega-footer-offices {
    width: 100%;
}
.mega-footer-office {
    display: flex;
    flex-direction: column;
    gap: 0.25rem 0;
    padding-left: 0.75rem;
    border-left: 2px solid var(--secondary_color);
    width: calc(50% - 5px);
}
.mega-footer-office-country {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}
.mega-footer-office-address {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    max-width: 100%;
    margin: 0;
}
.mega-footer-office-phone {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}
.mega-footer-office-phone:hover {
    color: var(--primary);
}
.mega-footer-office-country .country_icons {
    flex: 0 0 auto;
}
.mega-footer-office-country .country_icons svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}
.mega-footer-office-country .country_icons img {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}
.mega-footer-office-country .country_texts {
    flex:1;
}

/* footer newsletter hsfc form */
.mega-footer-newsletter .hsfc-Step__Content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mega-footer-newsletter .hsfc-Step__Content .hsfc-Row {
    flex: 1;
    margin: 0;
}
.mega-footer-newsletter .hsfc-FormWrapper .hsfc-TextInput {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #ffffff !important;
    line-height: normal;
    height: 42px;
}
.mega-footer-newsletter .hsfc-FormWrapper .hsfc-TextInput:focus {
    outline: none;
    border-color: var(--orange_color) !important;
    background: rgba(255, 255, 255, 0.08);
}
.mega-footer-newsletter .hsfc-FormWrapper .hsfc-Button {
    padding: 13px 22px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    height: 42px;
}
.mega-footer-newsletter .hsfc-Step__Content .hsfc-FieldLabel {
	display:none;
}
.mega-footer-newsletter .hsfc-Step__Content .hsfc-NavigationRow {
    flex: 0 0 auto;
}
.mega-footer-newsletter .hsfc-Step__Content .hsfc-NavigationRow__Alerts {
    display: none;
}

.mega-footer-newsletter .hsfc-ErrorAlert {
    font-size: 13px !important;
    color: var(--error_color) !important;
}
.mega-footer-newsletter .hsfc-FormWrapper .hsfc-TextInput::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgba(255, 255, 255, 0.4);
}
.mega-footer-newsletter .hsfc-FormWrapper .hsfc-TextInput::-moz-placeholder { /* Firefox 19+ */
  color: rgba(255, 255, 255, 0.4);
}
.mega-footer-newsletter .hsfc-FormWrapper .hsfc-TextInput:-ms-input-placeholder { /* IE 10+ */
  color: rgba(255, 255, 255, 0.4);
}
.mega-footer-newsletter .hsfc-FormWrapper .hsfc-TextInput:-moz-placeholder { /* Firefox 18- */
  color: rgba(255, 255, 255, 0.4);
}

/* footer newsletter hsfc form */
@media screen and (max-width: 1599px) {
    .mega-footer-newsletter-col {
        width: 35%;
    }
    .mega-footer-social-col {
        width: 25%;
    }
    .mega-footer-address-col {
        width: 40%;
    }

}
@media screen and (max-width: 1399px) {
    .mega-footer-newsletter-col {
        width: 33%;
    }
    .mega-footer-address-col {
        width: 42%;
    }
}
@media screen and (max-width: 1199px) {
    .mega-footer-newsletter-col {
        width: 50%;
    }
    .mega-footer-social-col {
        width: 50%;
        justify-content: flex-end;
    }
    .mega-footer-address-col {
        display: block;
        justify-content: flex-start;
        width: 100%;
    }
}
@media screen and (max-width: 991px) {
    .mega-footer-offices-grid {
        gap: 1.25rem 0;
    }
}

@media screen and (max-width: 768px) {
    .mega-footer-connect {
        padding: 2rem 0;
    }
    .mega-footer-connect-inner {
        flex-direction: column;
        gap: 2rem;
    }
    .mega-footer-newsletter-col {
        width: 100%;
    }
    .mega-footer-social-col {
        width: 100%;
        justify-content: flex-start;
    }
    .mega-footer-newsletter-form {
        flex-direction: column;
    }
    .mega-footer-social {
        width: 100%;
    }
    .mega-footer-locations-compact {
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
    .mega-footer-office {
        display: flex;
        width: 100%;
    }
    .mega-footer-address-col {
        width: 100%;
    }
    .mega-footer-social-title {
        line-height: 1.6;
    }
}
@media screen and (max-width: 420px) {
    .mega-footer-newsletter .hsfc-Step__Content .hsfc-Row {
        flex: 0 0 auto;
        width: 100%;
    }
    .mega-footer-newsletter .hsfc-Step__Content .hsfc-NavigationRow {
        flex: 0 0 auto;
        width: 100%;
    }
    .mega-footer-newsletter .hsfc-FormWrapper .hsfc-Button {
        flex: 0 0 auto;
        width: 100%;
    }
}

/*======= New Footer css 17-2-26 =========*/