/* Main Header */
.main-header{ position: fixed; z-index: 9999; width: 100%; top: 0; height: 140px; display: flex; flex-direction: column; align-items: center; transition: all .5s; background: rgba(5,7,10,0.55); border-bottom: 1px solid var(--line); }
.main-header .logo{ width: 200px; display: inline-block; height: 29px; }
.main-header .logo span{ width: 200px; height: 29px; background-image: url("../img/mastech-logo-final-color.svg"); background-size: 100% 100%; transition: var(--transition); display: block; }

/* Top Header */
.main-header .top-header{ background: rgba(5,7,10,0.55); border-bottom: 1px solid var(--line); height: 50px; width: 100%; transition: var(--transition); z-index: 9999; }
.main-header .top-header .content{ display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100%; }

.main-header .top-header .nav{ display: flex; gap: 25px; height: 100%; align-items: center; margin-left: auto; }
.main-header .top-header .nav li{ }
.main-header .top-header .nav li a{ color: var(--white); text-decoration: none; font-size: 13px; font-weight: 600; position: relative; }
.main-header .top-header .nav li a:after{ content: ""; display: block; width: 0; height: 1px; background: var(--white-ccc); transition: var(--transition); position: absolute; bottom: -2px; }
.main-header .top-header .nav li a:hover:after{ width: 100%; }

/* Bottom Header */
.main-header .bottom-header{ height: 90px; width: 100%; }
.main-header .bottom-header .content{ display: flex; justify-content: space-between; align-items: center; height: 100%; }

@keyframes blink {
   0%,
   100%{ opacity: 1; }
   50%{ opacity: 0.35; }
}

@keyframes header-slide-down{
    0%{ transform: translateY(-100%); opacity: .9; }
    100%{ transform: translateY(0); opacity: 1; }
}

/*Main Header Fixed*/
.main-header.fixed{ top: -50px; box-shadow: 0 5px 10px rgba(0,0,0,.1); position: fixed; }
.main-header.fixed .main-menu .menu li .link-label{ color: var(--white); }
.main-header.fixed .logo span{ background-image: url("../img/mastech-iso-color-final.svg") !important; background-repeat: no-repeat; z-index: 9991; width: 29px; height: 29px; }

/*Main Menu*/
.main-header a{ text-decoration: none; }
.main-header .main-menu{ transition: var(--transition); }
.main-header .main-menu .menu{ display: flex; transition: var(--transition); align-items: center; gap: 40px; }
.main-header .main-menu .menu li{ }
.main-header .main-menu .menu li .link-label{ color: var(--white); font-size: 15px; transition: all .1s; font-weight: 600; display: block; text-align: center; position: relative; cursor: default; }
.main-header .main-menu .menu li a.link-label{ cursor: pointer; }
.main-header.hover .main-menu .menu li .link-label{ color: var(--white) !important; }
.main-header.hover .main-menu .menu li.active .link-label{ color: var(--green) !important; }

.main-header .main-menu .menu li .link-label:after{ content: ""; display: block; width: 0; height: 1px; position: absolute; bottom: -3px; background: var(--green); transition: var(--transition); }
.main-header.hover .main-menu .menu li.active .link-label:after{ width: 100%; }

.main-header .right-elements{ display: flex; align-items: center; gap: 15px; }
.main-header .right-elements .button{ cursor: pointer !important; border-color: 1px solid var(--white); color: var(--white) !important; transition: var(--transition); padding: 11px 20px; background: transparent; font-size: 15px; }
.main-header .right-elements .button:hover{ background: rgba(255,255,255,.08); transform: translateY(-1px); box-shadow: none; }
.main-header .right-elements .search-button{ color: var(--white); font-size: 19px; height: 20px; width: 20px; display: flex; align-items: center; justify-content: center; transition: var(--transition); cursor: pointer; }
.main-header .right-elements .search-button:hover{ color: var(--green) !important; }

/*Search Modal*/
.main-header .nav-search{ display: flex; align-items: center; position: relative; }
.main-header .nav-search-input{ width: 0; opacity: 0; padding: 0; border: 1px solid transparent; background: rgba(255, 255, 255, 0.06); color: var(--offwhite); font-family: 'Inter', sans-serif; font-size: 14px; height: 36px; outline: none; transition: width 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease, padding 300ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms ease; }
.main-header .nav-search.is-open .nav-search-input{ width: 220px; opacity: 1; padding: 0 12px; border-color: rgba(255, 255, 255, 0.15); }
.main-header .nav-search.is-open .nav-search-input:focus{ border-color: var(--green); }
.main-header .nav-search-btn{ width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: white; background: transparent; border: none; cursor: pointer; flex-shrink: 0; transition: color 200ms; }
.main-header .nav-search-btn:hover,
.main-header .nav-search.is-open .nav-search-btn{ color: var(--green); box-shadow: none; transform: none; }
.main-header .nav-search-btn svg{ display: block; min-width: 20px; }

/* Link label */
.main-header .desktop-only{ }
.main-header .mobile-only{ display: none !important; }

/*Hamburger*/
.main-header .hamburger{ width: 27px; height: 23px; position: absolute; right: 20px; transform: rotate(0deg); transition: .5s ease-in-out; cursor: pointer; top: 37px; display: none; }
.main-header .hamburger span{ display: block; position: absolute; height: 3px; width: 100%; background: var(--white); opacity: 1; left: 0; transform: rotate(0deg); transition: .25s ease-in-out; }
.main-header .hamburger span:nth-child(1){ top: 0; }
.main-header .hamburger span:nth-child(2),
.main-header .hamburger span:nth-child(3){ top: 10px; }
.main-header .hamburger span:nth-child(4){ top: 20px; }

.main-header.menu-open .hamburger span:nth-child(1){ top: 18px; width: 0%; left: 50%; }
.main-header.menu-open .hamburger span:nth-child(2){ transform: rotate(45deg); }
.main-header.menu-open .hamburger span:nth-child(3){ transform: rotate(-45deg); }
.main-header.menu-open .hamburger span:nth-child(4){ top: 18px; width: 0%; left: 50%; }

.main-header.menu-open .hamburger span{ background: var(--black); }

/*Header Expanded*/
.main-header.hover{ }
.main-header .header-expanded{ width: 100%; height: auto; background: var(--white); position: fixed; top: 140px; max-height: 0; transition: all .5s; }
.main-header .header-expanded .menu-mobile-go-back-button{ display: none; padding: 30px 20px 40px; font-size: 16px; font-weight: 600; color: var(--black); }
.main-header.hover .header-expanded{ max-height: calc(100% - 140px); box-shadow: 0 5px 10px rgba(0,0,0,.1); overflow-y: auto; }
.main-header.fixed .header-expanded{ top: 140px; max-height: calc(100% - 140px); }
.main-header .header-expanded .content .menu-expanded-content{ display: flex; max-height: 0; overflow: hidden; opacity: 0; width: 0; transition: opacity .5s, max-height 0.5s cubic-bezier(0, 1, 0, 1); }
.main-header .header-expanded .content .menu-expanded-content.show{ padding: 0; max-height: 1200px; overflow: visible; width: 100%; opacity: 1; }

/* Fixed Header Scroll */
.header-fixed .main-header .header-expanded{ top: 90px; }
.header-fixed .main-header.hover .header-expanded{ max-height: calc(100% - 90px); }
.header-fixed .main-header.fixed .header-expanded{ top: 90px; max-height: calc(100% - 90px); }

/* Columns */
.main-header .header-expanded{ scrollbar-width: none; -ms-overflow-style: none; }
.main-header .header-expanded::-webkit-scrollbar{ display: none; }

.main-header .header-expanded .main-menu-columns{ display: flex; justify-content: space-between; width: 100%; }
.main-header .header-expanded .main-menu-columns .column.grey-column{ background: var(--white-eee); padding: 40px 20px; }

.main-header .header-expanded .main-menu-columns .column:nth-child(1){ width: 22%; min-width: 22%; padding: 40px 20px 40px 0; }
.main-header .header-expanded .main-menu-columns .column:nth-child(2){ width: 40%; padding: 40px; }
.main-header .header-expanded .main-menu-columns .column:nth-child(3){ width: 40%; padding: 40px 30px; }

.main-header .header-expanded .main-menu-columns.two-columns .column:nth-child(1){ width: 22%; padding: 40px 20px 40px 0; }
.main-header .header-expanded .main-menu-columns.two-columns .column:nth-child(2){ width: 75%; padding: 40px; }

/* Shared */
.main-header .header-expanded .title-label{ font-size: 13px; color: var(--black); opacity: .5; font-weight: 600; margin-bottom: 10px; padding: 0; position: relative; }
.main-header .header-expanded .title-label.line-label{ padding: 0; }
.main-header .header-expanded .title-label.line-label span{ background: var(--black); display: inline-block; z-index: 10; position: relative; width: 100px; padding-left: 10px; }
.main-header .header-expanded .title-label.line-label:before{ content: ""; display: block; width: 100%; height: 1px; background: #C8C8C8; position: absolute; top: 5px; left: 0; }
.main-header .header-expanded .title-label.second-title-label{ margin-top: 20px; }

    /* Description Box */
    .main-header .header-expanded .description-box{ color: var(--black); }
    .main-header .header-expanded .description-box .title{ font-size: 28px; font-weight: 600; margin-bottom: 15px; line-height: 1.1; font-family: var(--space); letter-spacing: -1px; }
    .main-header .header-expanded .description-box .title span{ display: block; }
    .main-header .header-expanded .description-box .description{ color: var(--black); font-size: 14px; line-height: 1.5; margin-bottom: 30px; }
    .main-header .header-expanded .description-box .button{ background: none; color: #006B3B; font-weight: 600; border: none; font-size: 16px; padding: 0; font-family: var(--space); }
    .main-header .header-expanded .description-box .button:hover{ transform: none; color: var(--black); }

    /* Iconized Highlights */
    .main-header .header-expanded .iconized-highlights{ padding-top: 5px; }
    .main-header .header-expanded .iconized-highlights .iconized{ display: flex; flex-direction: column; }
    .main-header .header-expanded .iconized-highlights .iconized li{ margin-bottom: 5px; }
    .main-header .header-expanded .iconized-highlights .iconized li a{ display: flex; align-items: flex-start; color: var(--black); padding: 15px 10px; border-radius: 10px; transition: var(--transition); }
    .main-header .header-expanded .iconized-highlights .iconized li a:hover{ background: var(--white-eee); }
    .main-header .header-expanded .iconized-highlights .iconized li a figure{ width: 40px; height: 40px; min-width: 40px; margin-right: 20px; display: flex; align-items: center; justify-content: center; }
    .main-header .header-expanded .iconized-highlights .iconized li a figure svg{ width: auto; height: 100%; }
    .main-header .header-expanded .iconized-highlights .iconized li a figure .figma-menu-icon{ width: 100%; height: 100%; object-fit: contain; }
    .main-header .header-expanded .iconized-highlights .iconized li a figure .figma-menu-icon + svg{ display: none; }
    .main-header .header-expanded .iconized-highlights .iconized li a .right{ display: flex; flex-direction: column; }
    .main-header .header-expanded .iconized-highlights .iconized li a .right .name{ font-weight: 600; margin-bottom: 5px; font-size: 19px; line-height: 1.3; }
    .main-header .header-expanded .iconized-highlights .iconized li a .right .description{ font-size: 13px; color: var(--black); line-height: 1.4; opacity: .6; }
    .main-header .header-expanded .iconized-highlights .iconized li.external a{ background: var(--white-ccc); }
    .main-header .header-expanded .grey-column .iconized-highlights .iconized li a:hover{ background: var(--white); }
    .main-header .header-expanded .grey-column .iconized-highlights .iconized li.external a{ background: var(--white); }
    .main-header .header-expanded .grey-column .iconized-highlights .iconized li.external a:hover{ background: var(--white-ccc); }

    /* Capabilities */
    .main-header .header-expanded .iconized-highlights.capabilities-list .iconized li a{ flex-direction: column; background: var(--white-eee); }
    .main-header .header-expanded .iconized-highlights.capabilities-list .iconized li figure{ background: none; border-radius: 10px; width: 100%; height: 170px; overflow: hidden; margin-bottom: 15px; }
    .main-header .header-expanded .iconized-highlights.capabilities-list .iconized li figure img{ width: 100%; height: 100%; object-fit: cover; }
    .main-header .header-expanded .iconized-highlights.capabilities-list .iconized li a .right .name{ font-weight: 600; margin-bottom: 15px; font-size: 22px; }
    .main-header .header-expanded .iconized-highlights.capabilities-list .iconized li a .right .description{ font-size: 13px; color: var(--black); line-height: 1.4; opacity: .6; margin-bottom: 15px; }
    .main-header .header-expanded .iconized-highlights.capabilities-list .iconized li a .right .learn-more{ font-size: 14px; color: var(--black); }
    .main-header .header-expanded .grey-column .iconized-highlights.capabilities-list .iconized li a{ background: var(--white); }

    /* Posts */
    .main-header .header-expanded .iconized-highlights.posts-list .learn-more{ font-size: 14px; color: var(--black); }
    .main-header .header-expanded .iconized-highlights.posts-list .iconized li{ margin-bottom: 15px; }
    .main-header .header-expanded .iconized-highlights.posts-list .iconized li a{ background: var(--white-eee); }
    .main-header .header-expanded .iconized-highlights.posts-list .iconized li figure{ background: none; border-radius: 10px; width: 50px; height: 50px; min-width: 50px; min-height: 50px; overflow: hidden; }
    .main-header .header-expanded .iconized-highlights.posts-list .iconized li figure img{ width: 100%; height: 100%; object-fit: cover; }
    .main-header .header-expanded .iconized-highlights.posts-list .iconized li figure .figma-menu-icon{ object-fit: contain; padding: 2px; }
    .main-header .header-expanded .iconized-highlights.posts-list .learn-more{ margin-top: 10px; display: inline-block; font-weight: 600; opacity: .7; transition: var(--transition); }
    .main-header .header-expanded .iconized-highlights.posts-list .learn-more i{ font-size: 16px; position: relative; top: 2px; }
    .main-header .header-expanded .iconized-highlights.posts-list .learn-more:hover{ opacity: 1; }
    .main-header .header-expanded .grey-column .iconized-highlights.posts-list .iconized li a{ background: var(--white); }

    /* Partners Logos */
    .main-header .header-expanded .iconized-highlights.partners-logos{ margin-bottom: 20px; }
    .main-header .header-expanded .iconized-highlights.partners-logos .iconized li{ margin-bottom: 10px; }
    .main-header .header-expanded .iconized-highlights.partners-logos .iconized li:last-child{ margin-bottom: 0; }
    .main-header .header-expanded .iconized-highlights.partners-logos .iconized li a:hover{ background: none; }
    .main-header .header-expanded .iconized-highlights.partners-logos .iconized li a figure{ width: 200px; height: auto; background: none; border-radius: 0; }
    .main-header .header-expanded .iconized-highlights.partners-logos .iconized li a figure img{ width: 100%; height: auto; object-fit: contain; }

        .main-header .header-expanded .iconized-highlights.partners-logos .iconized li.databricks figure{ width: 180px; }
        .main-header .header-expanded .iconized-highlights.partners-logos .iconized li.gcp figure{ }
        .main-header .header-expanded .iconized-highlights.partners-logos .iconized li.snowflake figure{ width: 180px; }
        .main-header .header-expanded .iconized-highlights.partners-logos .iconized li.aws figure{ width: 80px; }
        .main-header .header-expanded .iconized-highlights.partners-logos .iconized li.reltio figure{ width: 120px; }
        .main-header .header-expanded .iconized-highlights.partners-logos .iconized li.informatica figure{ width: 180px; }
        .main-header .header-expanded .iconized-highlights.partners-logos .iconized li.fabric figure{ width: 190px; }

        /* Special List */
        .main-header .header-expanded .special-list{ display: flex; gap: 30px; justify-content: space-between; align-items: stretch; width: 100%; margin-bottom: 20px; }
        .main-header .header-expanded .special-list li{ background: var(--white); border-radius: 10px; overflow: hidden; width: 33.3333%; box-shadow: 0 4px 6px rgba(0,0,0,.1); }
        .main-header .header-expanded .special-list li figure{ width: 100%; height: 130px; }
        .main-header .header-expanded .special-list li figure img{ width: 100%; height: 100%; object-fit: cover; }
        .main-header .header-expanded .special-list li .text{ padding: 20px; }
        .main-header .header-expanded .special-list li .title{ color: var(--black); font-size: 18px; font-weight: 500; margin-bottom: 10px; }
        .main-header .header-expanded .special-list li .description{ color: #6B6B6B; font-size: 13px; line-height: 1.6; margin: 15px 0 25px; }
        .main-header .header-expanded .special-list li .learn-more{ background: none; border: none; color: #006B3B; font-size: 16px; transition: var(--transition); font-weight: 600; font-family: var(--space); }
        .main-header .header-expanded .special-list li .learn-more:hover{ color: var(--black); }

        /* Industries Menu */
        .main-header .header-expanded .industries-content .small-titles .iconized-highlights .iconized li a .right .name{ font-size: 16px; }

        /* Solutions Menu */
        .main-header .header-expanded .solutions-content .main-menu-columns .column:nth-child(2){ width: 100%; }


@media screen and (max-width: 1280px){

}

@media screen and (max-width: 1024px){

    .main-header{ height: 70px; }

    .main-header .bottom-header{ position: relative; }
    .main-header .bottom-header .content{ padding-right: 60px; }

    .main-header .hamburger{ display: block; top: 50%; transform: translateY(-50%); }

    /* Top Header */
    .main-header .top-header{ display: none; }

    /* Fixed Header */
    .main-header.fixed{ top: 0; }

    /*Webkit Scrollbars*/
    .main-header .header-expanded::-webkit-scrollbar{ width: 10px; height: 10px; }
    .main-header .header-expanded::-webkit-scrollbar-track{ background: var(--white); }
    .main-header .header-expanded::-webkit-scrollbar-thumb{ border-radius: 20px; border: 3px solid var(--white); background: #999; }
    .main-header .header-expanded::-webkit-scrollbar-thumb:hover{ background: #888; }

    .main-header .main-menu{ position: fixed; width: 100%; height: calc(100% - 70px); background: var(--white); top: 70px; left: 0; opacity: 0; visibility: hidden; z-index: 9999; transform: translateY(-110%); }

    .main-header .right-elements{ gap: 10px; }
    .main-header .right-elements .button{ padding: 9px 11px; }

    .main-header.menu-open{ background: var(--white); border-bottom: 1px solid #EAEAEA; padding-top: 0; }
    .main-header.menu-open .logo span{ background-image: url("../img/mastech-logo-final-color-black.svg") !important; }
    .main-header.menu-open .main-menu{ opacity: 1; visibility: visible; transform: translateY(0); }
    .main-header.menu-open .main-menu .menu{ flex-direction: column; align-items: flex-start; gap: 0; }
    .main-header.menu-open .main-menu .menu li{ margin: 0; width: 100%; border-bottom: 1px solid #EAEAEA; }
    .main-header.menu-open .main-menu .menu li.menu-item-contact-us{ border-bottom: none; }
    .main-header.menu-open .main-menu .menu li .link-label{ font-size: 17px; padding: 20px; color: var(--black); text-align: left; }
    .main-header.menu-open .nav-search-btn svg{ stroke: var(--black); }
    .main-header.menu-open .right-elements .button{ color: var(--black) !important; border-color: var(--black); }

    .main-header .desktop-only{ display: none !important; }
    .main-header .mobile-only{ display: block !important; }

    .main-header .main-menu .menu li .link-label{ font-weight: normal !important; }
    .main-header .main-menu .menu li .link-label:before{ display: none !important; }

    .main-header .nav-search.is-open{ }
    .main-header .nav-search.is-open form{ position: absolute; right: 0; top: 0; }
    .main-header .nav-search.is-open .nav-search-input{ background: var(--black); width: 180px; }

    .main-header .logo,
    .main-header .logo span{ width: 150px; height: 25px; }
    .main-header.fixed .logo span{ width: 25px; height: 25px; }

    /* Header Expanded */
    .main-header .content{ height: auto; }
    .main-header .header-expanded .menu-mobile-go-back-button{ display: block; }
    .main-header .header-expanded{ top: 70px; z-index: 99999; background: var(--white); }
    .main-header.hover .header-expanded{ overflow-y: auto; height: calc(100% - 70px); max-height: 5000px !important; }
    .header-fixed .main-header.fixed .header-expanded{ top: 70px; }
    .main-header .header-expanded .content .menu-expanded-content.show{ flex-direction: column; padding: 0; max-height: 5000px; height: 100%; }

    /* Columns */
    .main-header .header-expanded .content{ padding: 0; }
    .main-header .header-expanded .main-menu-columns{ flex-direction: column; }
    .main-header .header-expanded .main-menu-columns .column:nth-child(1){ width: 100%; padding: 0 20px; margin-bottom: 30px; }
    .main-header .header-expanded .main-menu-columns .column:nth-child(2){ width: 100%; padding: 0 20px; }
    .main-header .header-expanded .main-menu-columns .column:nth-child(3){ width: 100%; padding: 0 20px; }
    .main-header .header-expanded .main-menu-columns.two-columns .column:nth-child(1){ width: 100%; padding: 0 20px; }
    .main-header .header-expanded .main-menu-columns.two-columns .column:nth-child(2){ width: 100%; padding: 0 20px; }
    .main-header .header-expanded .main-menu-columns .column.grey-column{ padding: 30px 20px !important; margin-top: 20px !important; }

    /* Shared */
    .main-header .header-expanded .title-label{ padding: 0; }

    .main-header .header-expanded .special-list{ flex-direction: column; }
    .main-header .header-expanded .special-list li{ width: 100%; }
    .main-header .header-expanded .special-list li figure{ position: relative; padding-top: 54%; }
    .main-header .header-expanded .special-list li figure img{ position: absolute; top: 0; left: 0; }

}

@media screen and (max-width: 782px){

}

@media screen and (max-width: 767px){

}

@media screen and (max-width: 600px){

}
@media screen and (max-width:360px){.main-header .bottom-header .content{padding-left:12px;padding-right:48px}.main-header .logo,.main-header .logo span{width:125px;height:21px}.main-header .right-elements{gap:5px}.main-header .right-elements .button{padding:7px 8px;font-size:13px}.main-header .nav-search-btn{width:30px;height:34px;padding:7px 5px}.main-header .nav-search-btn svg{min-width:18px}.main-header .hamburger{right:12px;width:24px}}
