/* M&H Consulting — overrides on top of style.css */

/* -------- Header: keep template's original background; just size logo -------- */
.logo a img {
    max-height: 60px;
    width: auto;
}

/* -------- Center the main menu on the page -------- */
.header-bottom .menu-wrapper {
    justify-content: center !important;
}

/* -------- Slider: smaller hero text and shorter background -------- */
#home {
    max-height: 650px;
    overflow: hidden;
}
.slider-area .slider-height,
.slider-area2 .slider-height2 {
    min-height: 520px !important;
}
.slider-area .slider-height {
    padding-bottom: 300px;
}
.slider-area .hero__caption span {
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}
.slider-area .hero__caption h1 {
    font-size: 65px;
    line-height: 1.1;
    margin-bottom: 18px;
    color: white;
}
.slider-area .hero__caption p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 28px;
    color: white;
}
@media (max-width: 767px) {
    .slider-area .hero__caption h1 { font-size: 30px; }
    .slider-area .slider-height { min-height: 420px !important; }
}

/* -------- "Our Best Services" & "Our Values" — equal-height, aligned cards -------- */
.categories-area .row {
    align-items: stretch;
}
.categories-area .single-cat {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.categories-area .single-cat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.categories-area .single-cat .cat-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.categories-area .single-cat .cat-icon span {
    font-size: 52px;
    line-height: 1;
}
.categories-area .single-cat .cat-cap {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.categories-area .single-cat .cat-cap h5 {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.categories-area .single-cat .cat-cap p {
    flex: 1;
}
.categories-area .gray-bg,
.categories-area.gray-bg {
    background: #f7f8fa;
}

/* -------- Partners section: constrain logo to legacy size -------- */
#partners .support-location-img {
    text-align: center;
}
#partners .support-location-img img {
    max-width: 280px;
    height: auto;
    width: 100%;
}

/* -------- Client brand slider: normalize sizes/spacing (logos are transparent PNGs) -------- */
#clients .single-brand,
.brand-area .single-brand {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 0 20px;
    box-sizing: border-box;
}
.brand-area .single-brand.slick-slide {
    opacity: 1 !important;
}
#clients .single-brand img,
.brand-area .single-brand img {
    max-height: 70px;
    max-width: 100%;
    width: auto !important;
    height: auto;
    object-fit: contain;
    display: inline-block;
    opacity: 1;
    transition: opacity 0.25s ease;
}
#clients .single-brand img:hover,
.brand-area .single-brand img:hover {
    opacity: 1;
}
#clients .single-brand img[alt="IBM"],
.brand-area .single-brand img[alt="IBM"] {
    max-width: 85px !important;
}
#clients .single-brand img[alt="LCL Banque"],
.brand-area .single-brand img[alt="LCL Banque"] {
    max-width: 80px !important;
}

/* -------- Careers apply button spacing -------- */
#careers .single-cat .btn.post-btn {
    margin-top: 18px;
    display: inline-block;
}
#careers .single-cat:hover .btn.post-btn {
    color: #ff2143;
    background-color: #ffffff;
}

/* -------- Leaflet map polish -------- */
#mh-map {
    z-index: 1;
}

/* -------- Compact footer -------- */
.footer-area .footer-top.footer-padding {
    padding-top: 50px;
    padding-bottom: 10px;
}
.footer-area .single-footer-caption {
    margin-bottom: 20px !important;
}
.footer-area .footer-logo {
    margin-bottom: 15px;
}
.footer-area .footer-logo img {
    max-width: 200px;
    height: auto;
    display: block;
}
.footer-area .footer-tittle h4 {
    margin-bottom: 15px;
}
.footer-area .footer-tittle ul li {
    padding: 2px 0;
}
.footer-area .footer-number {
    margin-top: 10px;
}
.footer-area .footer-bottom {
    padding-top: 15px;
    padding-bottom: 15px;
}

/* -------- Uniform vertical rhythm between main content bands -------- */
main > .categories-area,
main > .support-company-area,
main > .count-down-area,
main > .brand-area,
main > .wantToWork-area,
main > section.wantToWork-area {
    padding-top: 90px !important;
    padding-bottom: 90px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* Kill the extra bottom margin that `.mb-50` on cards adds on the last row */
main > .categories-area .single-cat {
    margin-bottom: 0 !important;
}
main > .categories-area .row + .row {
    margin-top: 30px;
}

/* -------- Footer logo white styling -------- */
.footer-logo-white {
    filter: brightness(0) invert(1) !important;
}


/* -------- Contact form submit button disabled state -------- */
#submitBtn {
    transition: all 0.3s ease;
}

#submitBtn:disabled,
#submitBtn.boxed-btn:disabled,
button#submitBtn:disabled {
    background-color: #d3d3d3 !important;
    background: #d3d3d3 !important;
    color: #666666 !important;
    border-color: #999999 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

#submitBtn:disabled:hover,
#submitBtn.boxed-btn:disabled:hover,
button#submitBtn:disabled:hover {
    background-color: #d3d3d3 !important;
    background: #d3d3d3 !important;
    color: #666666 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* -------- Clients carousel grayscale mode -------- */
#clients-carousel.bw-mode img {
    filter: grayscale(100%);
    opacity: 1;
}

/* -------- Contact info spacing -------- */
.contact-info h3 {
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.contact-info p {
    margin: 0;
    line-height: 1.6;
}

