/* The ERP House logo sizing across the theme */
.main-menu-two__logo img,
.main-menu__logo img,
.main-header .main-menu__logo img {
    height: 74px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
}

.site-footer-two__logo img,
.site-footer__logo img {
    height: 64px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.xs-sidebar-group .content-inner .logo img {
    height: 56px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.mobile-nav__content .logo-box img,
.coming-soon-page__logo img {
    height: 52px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

/* Compact menu bar only — do not touch address/top bar */
.main-menu-two__left {
    padding: 5px 0;
}

.main-menu-two__right {
    padding: 5px 0;
}

.main-menu__logo {
    padding: 5px 0;
}

.main-menu__right {
    padding: 5px 0;
}

/* Keep header bottom border full-width so it meets the left vertical line */
.main-menu-two__wrapper:before {
    left: 0;
    right: 0;
    z-index: 1;
}

.main-menu__wrapper:before {
    left: 0;
    right: 0;
    z-index: 1;
}

@media (max-width: 991px) {
    .main-menu-two__logo img {
        height: 58px;
        max-width: 260px;
    }

    .main-menu-two__left,
    .main-menu-two__right {
        padding: 5px 0;
    }
}

@media (max-width: 575px) {
    .main-menu-two__logo img {
        height: 50px;
        max-width: 220px;
    }
}

/* Keep all team photos the same size regardless of upload dimensions */
.team-one__img {
    aspect-ratio: 1 / 1.15;
    overflow: hidden;
}

.team-one__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/*
 * Theme hover pattern: circular overlay, rows of 2 icons (odd last row centered).
 * Size stays fixed so extra networks never stretch the photo.
 */
.team-one__social-box-inner {
    pointer-events: none;
}

.team-one__social-box {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px;
    min-height: 200px;
    max-width: 200px;
    max-height: 200px;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
    gap: 17px !important;
}

.team-one__social-box .team-one__social {
    justify-content: center;
    gap: 16px;
}

.team-one__social-box .team-one__social a {
    pointer-events: auto;
    font-size: 28px;
    line-height: 1;
    color: var(--techguru-white);
}

.team-one__social a .fab,
.team-one__social a .team-one__tiktok-icon {
    font-size: 28px;
    line-height: 1;
    color: inherit;
    vertical-align: middle;
}

.team-one__social a .team-one__tiktok-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
}

.team-details__social-list {
    flex-wrap: wrap;
}

.team-details__social-list a .fab,
.team-details__social-list a .team-details__tiktok-icon {
    font-size: 18px;
    line-height: 1;
    color: inherit;
}

.team-details__social-list a .team-details__tiktok-icon {
    display: block;
    width: 1em;
    height: 1em;
}

/* Footer contact icons must keep circular size */
.site-footer-two__contact-list li {
    align-items: flex-start;
}

.site-footer-two__contact-icon {
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
}

.site-footer-two__contact-content {
    min-width: 0;
    flex: 1 1 auto;
}

/* Footer quick links: keep icon + label on one line */
.footer-widget-two__quick-links {
    margin-left: 10px;
}

.footer-widget-two__support {
    padding-left: 36px;
}

.footer-widget-two__services {
    padding-left: 36px;
}

.footer-widget-two__support:before {
    left: 8px;
}

.footer-widget-two__services:before {
    left: 12px;
}

.footer-widget-two__quick-links-list li a {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 8px;
    font-size: 16px;
}

.footer-widget-two__quick-links-list li a span {
    flex-shrink: 0;
}

.site-footer-two__social-box-inner a .fab.fa-whatsapp {
    font-size: inherit;
    line-height: 1;
    color: inherit;
}

/* Floating WhatsApp button — right side; low by default, lifts when scroll-to-top shows */
.whatsapp-float {
    position: fixed;
    right: 24px;
    left: auto;
    bottom: 28px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25d366;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, bottom 0.25s ease;
    animation: whatsapp-float-pulse 2.4s ease-in-out infinite;
}

body:has(.scroll-to-top.show) .whatsapp-float {
    bottom: 170px;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    color: #fff;
    background-color: #1ebe57;
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    animation: none;
}

.whatsapp-float .fab {
    line-height: 1;
}

@keyframes whatsapp-float-pulse {
    0%,
    100% {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.45);
    }
    70% {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(37, 211, 102, 0);
    }
}

@media (max-width: 575px) {
    .whatsapp-float {
        right: 16px;
        bottom: 20px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }

    body:has(.scroll-to-top.show) .whatsapp-float {
        bottom: 170px;
    }
}
