.HomeIntro__background img {
    position: absolute;
    top: 10vh;
    object-fit: cover;
    object-position: 50% 50%;
    background-position: 50% 50%;
    background-size: cover;
    
    height: 80vh;
}

@media (max-width: 739px) {
    .HomeBrands__mainInner--isActive {
        display: grid;
        grid-template-rows: auto auto auto!important;
    }
}

.HomeBrands__description p:not(:first-child) {
    margin-top: calc(.00794 * 100vw + 4.12698px);
}

.HomeBrands.AboutFeatures {
    margin-top: 0;
    padding-top: calc(.10317 * 100vw + -6.34921px);
    padding-bottom: calc(.10317 * 100vw + -6.34921px);
    margin-bottom: 0;
    min-height: auto;
}

@media (min-width: 420px) {
    .HomeBrands.AboutFeatures {
        width: calc(100% - 2 * 30px);
    }
}

.HomePeople__mobile__servicesNav, .HomePeople__ipad__servicesNav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    display: flex; /* Optional: if you want flex layout */
}

.HomePeople__ipad, .HomePeople__mobile, .HomePeople__desktop {
    min-height: auto!important;
    padding-bottom: calc(.10317 * 100vw + -6.34921px);
}

/** Menu bar **/
.MenuBar__logo img {
    display:none;
}
/* Hamburger Button Styles */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #000;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-menu-content a {
    color: #000;
    font-size: 1.5rem;
    text-decoration: none;
}


/* Responsive adjustments */
.HomePeople__desktop {
    margin-top: 0 !important; ;
}
@media (max-width: 1024px) {
    .HomeIntro__background img {
        font-size: 2.8rem;

    }

    .hero-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .HomeIntro__background img {
        height: 80vh !important;
        /* Smaller height on tablets */
    }

    .HomeIntro__background img {
        font-size: 2.2rem;
    }

    /* Menu bar */
    .hamburger-btn {
        display: flex;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .MenuBar {
        background: #fff;
    }
    .MenuBar__logo svg {
        display: none;
    }
    /* Optional: Hide claim text on mobile if needed */
    .MenuBar__claim {
        display: none;
    }
    .MenuBar__logo img {
        display:flex;
        width: 100px;
    }
    .HomeBrands.AboutFeatures {
        
        padding-left: 7%;
        padding-right: 7%
    }
}

@media (max-width: 480px) {
    .HomeIntro__background img {
        height: 60vh !important;
        top: 30vh !important;
        /* Even smaller height on mobile */
    }

    .HomeIntro__background img {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    .HomeBrands.AboutFeatures {
        
        padding-left: 7%;
        padding-right: 7%
    }
}

@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .desktop-menu {
        display: flex;
        gap: 20px;
    }
}

/** profile overlay **/
/* Overlay styles - initially hidden */
.profile-overlay {
    display: flex;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8)!important;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Overlay content styles */
.AboutPeople__person {
    position: relative!important;
    margin-bottom: 2rem;
}

.AboutPeople__personDescription, .AboutPeople__photoSetWrapper, .AboutPeople__photoSetWrapper::after {
    background: none!important;
}

.overlay-content {
    font-family: "Moderat",Arial,"Helvetica Neue",Helvetica,sans-serif;
    line-height: 1.7;
    z-index: 1000;
    background: white;
    padding: 2rem;
    max-width: 80%;
    width: 90%;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15)!important;
    transform: translateY(20px);
    transition: transform 0.5s ease!important;
}

/* Close button styles */
.close-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
}

.close-overlay:hover {
    color: #333;
}

/* When overlay is targeted (visible) */
.profile-overlay:target {
    visibility: visible;
    display: flex;
    opacity: 1;
    
  align-items: center;
  justify-content: center;
}

.profile-overlay:target .overlay-content {
    transform: translateY(0);
}

/* Profile info styles */
.overlay-content h3 {
    margin-top: 0;
    color: #222;
    font-size: 1.8rem;
}

.overlay-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #444;
}

.overlay-content strong {
    color: #222;
}
.overlay-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .overlay-content {
        padding: 1.5rem;
    }
    
    .overlay-content h3 {
        font-size: 1.5rem;
    }
}