body {
    font-family: roboto, arial;
    padding-top: 50px;
}
p {
    margin: 0;
}

.floating-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    font-size: 16px;
}
.floating-header-home {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    font-size: 16px;
}
.floating-header-right {
    display: flex;
}
@media (max-width:800px) {
    .floating-header {
        font-size: 12px;       
    }
    .floating-header-home {
        font-size: 12px;
        flex-direction: column;
        align-items: center;
    }
    .floating-header-right {
        flex-direction: column;
        align-items: center;
    }
}

.header-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: whitesmoke;
    padding-left: 100px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.mail {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
}

.mail-icon {
    height: 13px;
    margin-right: 4px;
}
.email-address {
    font-size: 12px;
    text-decoration: none;
    color: black;
}

.divider {
    height: 20px;
    border-left: 0.5px;
    border-left-style: dotted;
    width: 0px;
    margin-right: 10px;
    margin-left: 10px;
}
.divider-sometimes {
    height: 20px;
    border-left: 0.5px;
    border-left-style: dotted;
    width: 0px;
    margin-right: 10px;
    margin-left: 10px;
}
@media (max-width: 800px) {
    .divider-sometimes {
        display: none;
    }
}

.phone {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}
.phone-icon {
    height: 14px;
    margin-right: 4px;
}
.phone-number {
    font-size: 12px;
}

.Linkedin-link {
    height: 16px;
    padding: 0;
    border: none;
    background-color: whitesmoke;
    margin-right: 10px;
    cursor: pointer;

}
.Facebook-link {
    height: 16px;
    padding: 0;
    border: none;
    background-color: whitesmoke;
    margin-right: 10px;
    cursor: pointer;
}
.X-link {
    height: 16px;
    padding: 0;
    border: none;
    background-color: whitesmoke;
    margin-right: 10px;
    cursor: pointer;
}
.Instagram-link {
    height: 16px;
    padding: 0;
    border: none;
    background-color: whitesmoke;
    cursor: pointer;
}


.main-header {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: space-between;
    margin-bottom: 30px;

}
.left-side {
    margin-left: 100px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
@media (max-width:800px) {
    .left-side {
        margin-left: 10px;
    }
    .socials {
        padding-left: 20px;
    }
    
}
.logo {
    margin-right: 20px;
    padding: 0;
}
.PMI-logo-button {
    border: none;
    cursor: pointer;
    padding: 0;
}
.PMI-logo {
    height: 90px;
    object-fit: cover;
    object-position: center;
    padding: 0;
    margin-top: -10px;
}
.company-name {
    font-size: 28px;
    font-weight: 400;
    font-family: lora, serif;
}
.moto {
    font-size: 16px;
    color: grey;
    font-family: lora, serif;
    margin-top: -10px;
}

.right-side {
    margin-left: 10px;
    margin-right: 20px;

}
@media (max-width:800px) {
    .home-button {
        display: block;
        white-space: nowrap;
        margin: 10px 0;
    }
    
.PMI-logo {
    height: 80px;
}
}
.home-button {
    color: white;
    background-color: rgb(72, 16, 204);
    border: none;
    border-radius: 3px;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 8px;
    padding-top: 8px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 20px;
    text-decoration: none;
    transition: opacity 0.25s;
    
}
.home-button:hover {
opacity: 0.8;
}
.header-button {
    margin-right: 10px;
    opacity: 0.7;
    text-decoration: none;
}
.middle {
    max-width: 500px;
}

.header-logo {
    height: 50px;
}
.header-logo-img {
    object-fit: cover;
    object-position: center;
    height: 50px;
    margin-left: 10px;
}

/* ✨ responsive tweaks for tablet and below */
@media (max-width: 1000px) {
    .left-side {
        margin-left: 40px; /* ✨ reduced margin */
    }
    .header-top {
        padding-left: 40px;
    }
    .socials {
        padding-left: 40px;
        padding-top: 4px;
    }

    .main-header {
        flex-direction: column; /* ✨ stack logo and nav */
        align-items: center;
        gap: 10px;
    }
    .right-side {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ✨ mobile view adjustments */
@media (max-width: 800px) {
    .header-top {
        padding-left: 20px;
        padding-right: 20px; /* ✨ balance spacing */
        text-align: center;
    }
    .left-side {
        margin-left: 0; /* ✨ center logo and title */
        justify-content: center;
        text-align: center;
    }
    .right-side {
        flex-direction: column; /* ✨ stack buttons */
        margin-top: 10px;
    }
    .home-button {
        display: block;
        margin: 10px 0;
         /* ✨ full width on mobile */
        text-align: center;
    }
    .header-button {
        display: block;
        margin: 6px 0;
        text-align: center;
        font-size: 14px;
    }
}
