/* ==========================================================================
   site.css
   Centralized styles for the shared chrome (header/nav + footer) rendered
   by Site.master, plus a small set of site-wide responsive safety rules.
   Page-specific content styles remain in each page's own stylesheet.
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    max-width: 100%;
    /* General horizontal-scroll safety net. */
    overflow-x: hidden;
}

body {
    max-width: 100%;
}

img {
    max-width: 100%;
}

/* Clips any page-content overflow without becoming an ancestor of the sticky
   header (that would break position: sticky on .sticky-header). */
.page-content {
    overflow-x: hidden;
    width: 100%;
}

/* Every page centers text by default (body/p/headings). On mobile, switch
   text alignment to left across all pages - this only affects text-align,
   not the position/size of the surrounding block (margins, flex layout,
   etc. are untouched), matching the same change already made to the
   default.aspx hero text. */
@media (max-width: 768px) {
    body, p, h1, h2, h3, h4, h5, h6, li, td, th {
        text-align: left !important;
    }
}

/* ------------------------------ Header ----------------------------------- */
header {
    width: auto;
    height: 60px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    padding: 10px;
    transition: 500ms;
}

.header-logo {
    height: 65px;
    width: 97px;
    float: left;
    margin-left: 10px;
    background-position: center center;
    background-image: url('/images/logo/LOGOESENZ-1.png');
    background-repeat: no-repeat;
}

.navlist {
    display: flex;
    gap: 9px;
    margin-right: 5px;
}

.HeaderMenu {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif, "Segoe UI", Segoe, Helvetica, Arial, "Lucida Grande", sans-serif !important;
    text-decoration: none;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all .55s ease;
}

    .HeaderMenu:hover {
        cursor: pointer;
        border-bottom: 2px solid #FD7E14;
    }

.logofont {
    font-family: 'Montserrat', sans-serif, "Segoe UI", Segoe, Helvetica, Arial, "Lucida Grande", sans-serif !important;
    float: left;
    color: #ffffff;
    font-size: 22px !important;
    height: 35px;
    line-height: 45px;
    font-weight: 600;
}

.logofontp {
    font-family: 'Montserrat', sans-serif, "Segoe UI", Segoe, Helvetica, Arial, "Lucida Grande", sans-serif !important;
    font-weight: 600;
    color: #ffffff;
}

.HeaderBtn {
    color: #ffffff;
    background-color: #FD7E14;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

    .HeaderBtn:hover {
        background-color: #00AFEF;
    }

.MenuIcon {
    margin-right: 10px;
    display: none;
    cursor: pointer;
}

/* Sticky header */
.sticky-header {
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Tablet / small-laptop: collapse nav into a hamburger-triggered drawer.
   The drawer is `position: fixed`, anchored to the viewport - not to the
   header - so it is never part of any ancestor's document flow and can
   never inflate the page's scrollable width, whether it's open or closed.
   (The earlier absolute/offset-based version lived inside the header's box
   and leaked into page-wide horizontal whitespace on mobile.) */
@media (max-width: 1024px) {
    #menu-icon {
        display: block;
    }

    .navlist {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 80%;
        height: 100vh;
        margin: 0;
        background: rgba(0,0,0,.95);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .25s ease;
        z-index: 500;
    }

    .navlist.open {
        transform: translateX(0);
    }

    .HeaderMenu {
        margin-left: 0;
        display: block;
        margin: 10px 0;
    }
}

/* Small phones: tighten header logo/branding so it doesn't crowd the menu icon */
@media (max-width: 480px) {
    .header-logo {
        height: 50px;
        width: 75px;
        margin-left: 5px;
    }

    .logofont {
        font-size: 16px !important;
        line-height: 30px;
    }

    .logofontp {
        font-size: 12px;
    }

    .navlist {
        width: 85%;
        max-width: 85%;
    }
}

/* header end */

/* ------------------------------ Footer ------------------------------------ */
footer {
    width: auto;
    height: 100%;
    background-color: #000000;
}

.footermain {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
}

.footerleft {
    display: flex;
    margin-top: 70px;
    min-height: 100px;
    max-width: 550px;
}

.footermid {
    margin-top: 50px;
    color: #ffffff;
}

.footerright {
    max-width: 400px;
}

.Addressinfo {
    float: right;
    color: #ffffff;
    max-width: 300px;
}

.ContactDetails {
    margin-top: 70px;
    color: #ffffff;
    width: 300px;
}

.idClassHeadFont {
    font-size: 16px;
    text-align: left;
}

.playstore-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 1);
    padding: 0.625rem;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    outline: 0;
    transition: all .2s ease;
    text-decoration: none;
    border: 1px solid #ffffff;
}

.icon {
    height: 1.5rem;
    width: 1.5rem;
}

.texts {
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.text-1 {
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    line-height: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.text-2 {
    font-weight: 400;
}

/* Footer semantic helper classes (used by the centralized footer markup) */
.footer-heading {
    font-weight: bold;
    color: #FD7E14;
}

.address-title {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    color: #FD7E14;
}

.footer-company-name {
    margin-top: 20px;
    text-align: left;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon-link {
    display: block;
    width: 40px;
    height: 45px;
    overflow: hidden;
}

    .social-icon-link.linkedin {
        height: 34px;
    }

.social-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

    .social-icon-img.rounded {
        border-radius: 5px;
    }

.footer-link {
    cursor: pointer;
    text-decoration: none;
    color: #ffffff;
}

.app-badge-spacing {
    margin-top: 8px;
}

.icon-playstore {
    background-image: url('/images/icons/google-play.png');
}

.icon-appstore {
    background-image: url('/images/icons/appstore.png');
}

.subheading-spacing {
    margin-top: 10px;
}

.copyright-text {
    color: #ffffff;
}

/* Tablet: let the three footer columns wrap instead of overflowing */
@media (max-width: 1024px) {
    .footermain {
        justify-content: center;
        text-align: left;
    }

    .footerleft {
        justify-content: center;
        margin-top: 40px;
    }

    .Addressinfo {
        float: none;
    }

    .footermid,
    .ContactDetails {
        margin-top: 30px;
    }
}

/* Mobile: stack the footer columns full-width */
@media (max-width: 600px) {
    .footerleft {
        width: 100%;
    }

    /* Logo + "Address" stay side by side (row-wise, like desktop) instead of
       stacking into one long column. align-items:center previously centered
       the logo and the address block independently of each other - since
       they're different widths, that gave each a different left starting
       edge. flex-start makes both start flush at the same left edge. */
    .footerleft {
        max-width: 550px;
        min-height: auto;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 15px;
    }

    .Addressinfo {
        max-width: none;
        flex: 1;
    }

    /* footermid/footerright stay centered as their own block (like before) -
       only the text inside is left-aligned, the box itself isn't stretched
       to a shared left edge. Both need the SAME explicit width so their
       auto-margin centering lands at the same offset - without it, each
       shrinks to fit its own (different) content width and centers at a
       different starting point (Download Links vs For Sales Queries). */
    .footermid,
    .footerright {
        width: 280px;
    }

    .footermid {
        max-width: 550px;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .footerright {
        max-width: 550px;
        float: none;
        margin-top: 0px;
        margin-left: auto;
        margin-right: auto;
    }

    .ContactDetails {
        width: auto;
        margin-top: 20px;
    }

    .Addressinfo,
    .idClassHeadFont {
        text-align: left;
    }

    .copyright-text {
        text-align: center !important;
        width: 100%;
    }

    .footer-company-name,
    .address-title {
        text-align: left;
    }
}

@media (max-width: 400px) {
    .header-logo {
        margin-left: 0;
    }

    .footermain {
        gap: 0;
    }
}
/* footer end */
