/* =====================================================================
   TECHNOMAK ENGINEERING — SHARED HEADER + FOOTER STYLES
   ---------------------------------------------------------------------
   Ha CSS file header.html ani footer.html sobat vaparaycha.
   Har navin page chya <head> madhe khali dilelya link tags add kara:

     <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap" rel="stylesheet">
     <link rel="stylesheet" href="header-footer.css">

   NOTE: page chya main content sathi lagnari sagli CSS (hero, sectors,
   products, etc.) ithe NAHI. Ti tumchya swatah chya page-specific CSS
   madhe rahil.
   ===================================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins', sans-serif;
    font-weight:400;
}

/* Hero nasnaarya saadhya pages sathi (about, contact, careers, etc.) -
   fixed navbar chya khali content zaku nahi yenya sathi ha class
   content chya sabse baherchya wrapper var lava (<main class="site-content">) */
.site-content{
    padding-top:85px;
}

/*================ NAVBAR ================*/

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:85px;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 20px;      /* Mail left, Logo center, Phone+Menu right */
    box-shadow:0 2px 10px rgba(0,0,0,.06);
    z-index:999;
    transition:background .4s ease, box-shadow .4s ease;
}

.logo-center{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    text-decoration:none;
}

.nav-left{
    display:flex;
    align-items:center;
    gap:16px;
}

.logo-icon{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo-icon img{
    width:60px;
    height:60px;
    object-fit:contain;
}

.nav-mail,
.nav-phone{
    display:flex;
    align-items:center;
    gap:7px;
    font-size:12.5px;
    font-weight:600;
    color:#333;
    text-decoration:none;
    white-space:nowrap;
    transition:color .3s ease;
}

.nav-mail:hover,
.nav-phone:hover{
    color:#1B3A6B;
}

.nav-right{
    display:flex;
    align-items:center;
    gap:22px;
}

@media (max-width:600px){
    .nav-mail span,
    .nav-phone span{display:none;}
}

.navbar.scrolled{
    background:#fff;
    box-shadow:0 2px 18px rgba(0,0,0,.08);
}
.logo{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
}

.logo img{
    width:70px;
    height:70px;
    object-fit:contain;
}

.logo-text{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:18px;
    font-weight:700;
    line-height:1;
    letter-spacing:0px;
    white-space:nowrap;
}

.techno{
    color:#1B3A6B;
}

.mak{
    color:#1B3A6B;
}

.engineering{
    color:#111;
    font-weight:600;
    font-size:14px;
}

@media (max-width:900px){
    .logo-text{display:none;}
}

.nav-links{
    display:flex;
    align-items:center;
    gap:28px;
    margin-right:30px;
}

.nav-links a{
    text-decoration:none;
    font-size:13.5px;
    font-weight:600;
    letter-spacing:.6px;
    text-transform:uppercase;
    color:#111;
    text-shadow:none;
    position:relative;
    padding:6px 0;
    transition:color .3s ease;
    white-space:nowrap;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;bottom:0;
    width:0;
    height:2px;
    background:#1B3A6B;
    transition:width .3s ease;
}

.nav-links a:hover::after{
    width:100%;
}

.navbar.scrolled .nav-links a{
    color:#111;
    text-shadow:none;
}

.nav-links a:hover{
    color:#1B3A6B;
}

@media (max-width:900px){
    .nav-links{display:none;}
}

/*================ NAVBAR CONTACT (phone / email) ================*/

.nav-contact{
    display:flex;
    align-items:center;
    gap:20px;
    margin-right:24px;
    padding-right:24px;
    border-right:1px solid #e6e6e6;
}

.nav-contact-item{
    display:flex;
    align-items:center;
    gap:7px;
    font-size:12.5px;
    font-weight:600;
    color:#333;
    text-decoration:none;
    white-space:nowrap;
    transition:color .3s ease;
}

.nav-contact-item:hover{
    color:#1B3A6B;
}

.nav-contact-icon{
    width:15px;
    height:15px;
    fill:#1B3A6B;
    flex-shrink:0;
}

@media (max-width:1180px){
    .nav-contact span{display:none;}
    .nav-contact{gap:14px;padding-right:14px;margin-right:14px;}
}

@media (max-width:900px){
    .nav-contact{display:none;}
}

/*================ NAVBAR DROPDOWNS (Sectors / Products) ================*/

.nav-item{
    position:relative;
    display:flex;
    align-items:center;
}

.nav-drop-label{
    display:flex;
    align-items:center;
    gap:6px;
}

.nav-drop-label .chev{
    width:6px;
    height:6px;
    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;
    transform:rotate(45deg);
    transition:transform .3s ease;
    margin-top:-2px;
}

.nav-item:hover .nav-drop-label .chev{
    transform:rotate(225deg);
    margin-top:2px;
}

.nav-dropdown{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%) translateY(6px);
    min-width:200px;
    max-height:230px;
    overflow-y:auto;
    background:#fff;
    border-radius:8px;
    box-shadow:0 14px 30px rgba(0,0,0,.14);
    padding:6px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .25s ease, transform .25s ease, visibility .25s;
    z-index:1000;

    /* compact custom scrollbar */
    scrollbar-width:thin;
    scrollbar-color:rgba(27,58,107,.35) transparent;
}

.nav-dropdown::-webkit-scrollbar{
    width:5px;
}
.nav-dropdown::-webkit-scrollbar-track{
    background:transparent;
}
.nav-dropdown::-webkit-scrollbar-thumb{
    background:rgba(27,58,107,.35);
    border-radius:10px;
}
.nav-dropdown::-webkit-scrollbar-thumb:hover{
    background:rgba(27,58,107,.6);
}

.nav-item:hover .nav-dropdown{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(-50%) translateY(2px);
}

.nav-dropdown a{
    display:block;
    padding:7px 12px;
    font-size:11.5px;
    font-weight:600;
    letter-spacing:.4px;
    text-transform:uppercase;
    color:#333;
    border-radius:5px;
    text-decoration:none;
    white-space:nowrap;
    transition:background .2s ease, color .2s ease;
}

.nav-dropdown a::after{
    content:none;
}

.nav-dropdown a:hover{
    background:rgba(27,58,107,.08);
    color:#1B3A6B;
}

.menu-btn{
    border:1.5px solid #e3e3e3;
    background:none;
    font-size:13px;
    font-weight:600;
    letter-spacing:1.5px;
    text-transform:uppercase;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:12px;
    padding:11px 20px;
    color:#111;
    text-shadow:none;
    transition:border-color .3s ease, background .3s ease, color .4s ease;
}

.menu-btn:hover{
    border-color:#1B3A6B;
    background:rgba(27,58,107,.06);
    color:#1B3A6B;
}

.navbar.scrolled .menu-btn{
    color:#111;
    text-shadow:none;
}

.menu-btn .bars{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.menu-btn .bars span{
    width:18px;
    height:2px;
    background:#111;
    transition:background .3s ease;
}

.menu-btn:hover .bars span{
    background:#1B3A6B;
}


/*================ FULLSCREEN MENU OVERLAY ================*/

body{
    overflow-x:hidden;
}

.menu-overlay{
    position:fixed;
    inset:0;
    background:#f6f5f2;
    z-index:9999;
    opacity:0;
    visibility:hidden;
    transform:scale(1.04);
    transition:opacity .5s ease, transform .5s ease, visibility .5s;
    display:flex;
    flex-direction:column;
    overflow-y:auto;
}

.menu-overlay.active{
    opacity:1;
    visibility:visible;
    transform:scale(1);
}



.menu-header{
    height:70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 40px;
    position:relative;
    z-index:2;
    background:none;
    flex-shrink:0;
}

.menu-header .logo img{
    width:50px;
    height:50px;
}

.menu-close{
    border:1.5px solid rgba(0,0,0,.15);
    background:none;
    color:#111;
    font-size:12px;
    font-weight:700;
    letter-spacing:1.5px;
    text-transform:uppercase;
    cursor:pointer;
    padding:10px 18px;
    transition:border-color .3s ease, background .3s ease, color .3s ease;
}

.menu-close:hover{
    border-color:#1B3A6B;
    background:#1B3A6B;
    color:#fff;
}

.menu-body{
    flex:1;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    position:relative;
    z-index:2;
    min-height:0;
}

.menu-left{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:10px 50px;
    min-height:0;
    overflow-y:auto;
}

.menu-right{
    position:relative;
    overflow:hidden;
}

.menu-right img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.menu-right::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(160deg, rgba(27,58,107,.28), rgba(10,10,12,.55));
}

.menu-right .menu-right-caption{
    position:absolute;
    left:36px;
    bottom:32px;
    z-index:2;
    color:#fff;
}

.menu-right .menu-right-caption .eyebrow{
    color:#fff;
    opacity:.85;
    font-size:12px;
    font-weight:700;
    letter-spacing:1.5px;
    text-transform:uppercase;
    margin-bottom:8px;
}

.menu-right .menu-right-caption h3{
    font-size:22px;
    font-weight:700;
    max-width:320px;
    line-height:1.3;
}

.menu-nav{
    display:flex;
    flex-direction:column;
    width:100%;
}

.menu-nav a,
.menu-drop-toggle{
    display:flex;
    align-items:center;
    gap:16px;
    text-decoration:none;
    color:#111;
    font-size:13.5px;
    font-weight:600;
    letter-spacing:.6px;
    text-transform:uppercase;
    padding:11px 4px;
    border-bottom:1px solid rgba(0,0,0,.07);
    transition:color .3s ease, padding-left .3s ease;
    background:none;
    border-left:none;
    border-right:none;
    border-top:none;
    width:100%;
    cursor:pointer;
    font-family:'Poppins',sans-serif;
}

.menu-nav a .num,
.menu-drop-toggle .num{
    font-size:11px;
    font-weight:600;
    color:#8a8a8f;
    letter-spacing:1px;
}

.menu-nav a:hover,
.menu-drop-toggle:hover{
    color:#1B3A6B;
    padding-left:14px;
}

.menu-nav a:hover .num,
.menu-drop-toggle:hover .num{
    color:#1B3A6B;
}

.menu-drop-toggle .chevron{
    margin-left:auto;
    width:7px;
    height:7px;
    border-right:1.5px solid #8a8a8f;
    border-bottom:1.5px solid #8a8a8f;
    transform:rotate(45deg);
    transition:transform .3s ease, border-color .3s ease;
}

.menu-item.open .menu-drop-toggle .chevron{
    transform:rotate(225deg);
    border-color:#1B3A6B;
}

.menu-item.open .menu-drop-toggle{
    color:#1B3A6B;
}

.menu-drop{
    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease;
    background:rgba(0,0,0,.02);

    /* compact custom scrollbar, matches .nav-dropdown */
    scrollbar-width:thin;
    scrollbar-color:rgba(27,58,107,.35) transparent;
}

.menu-drop::-webkit-scrollbar{
    width:5px;
}
.menu-drop::-webkit-scrollbar-track{
    background:transparent;
}
.menu-drop::-webkit-scrollbar-thumb{
    background:rgba(27,58,107,.35);
    border-radius:10px;
}
.menu-drop::-webkit-scrollbar-thumb:hover{
    background:rgba(27,58,107,.6);
}

.menu-item.open .menu-drop{
    max-height:220px;
    overflow-y:auto;
}

.menu-drop a{
    display:block;
    padding:8px 4px 8px 30px;
    font-size:11.5px;
    font-weight:500;
    letter-spacing:.3px;
    text-transform:none;
    color:#555;
    text-decoration:none;
    border-bottom:none;
    transition:color .25s ease, padding-left .25s ease;
}

.menu-drop a:hover{
    color:#1B3A6B;
    padding-left:36px;
}

.menu-footer{
    position:relative;
    z-index:2;
    padding:14px 4px 4px;
    color:#4a4c4f;
    font-size:12px;
    flex-shrink:0;
}

@media (max-width:900px){
    .menu-body{grid-template-columns:1fr;}
    .menu-right{display:none;}
    .menu-header{padding:0 26px;}
    .menu-left{padding:12px 26px;}
}


/*================ FOOTER ================*/

.site-footer{
    position:relative;
    background:#eef0f1;
    color:#3d3f42;
}

.footer-inner{
    position:relative;
    max-width:1300px;
    margin:0 auto;
    padding:70px 40px 0;
}

.footer-top{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1.2fr;
    gap:50px;
    padding-bottom:50px;
}

.footer-brand .logo{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
}

.footer-brand .logo img{
    width:66px;
    height:66px;
    object-fit:contain;
    background:transparent;
}

.footer-brand .logo-text{
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.footer-brand .logo-text .brand-line{
    font-size:17px;
    font-weight:700;
    letter-spacing:.4px;
}

.footer-brand .logo-text .techno{color:#1B3A6B;}
.footer-brand .logo-text .mak{color:#1B3A6B;}
.footer-brand .logo-text .engineering{
    font-size:11.5px;
    font-weight:600;
    letter-spacing:2px;
    color:#111;
    text-transform:uppercase;
    margin-top:3px;
}

.footer-brand p{
    font-size:14px;
    line-height:1.75;
    color:#4a4c4f;
    max-width:360px;
    margin-bottom:26px;
}

.footer-social{
    display:flex;
    gap:12px;
}

.footer-social a{
    --c:#5b5d5f;
    width:38px;
    height:38px;
    border-radius:50%;
    border:1px solid rgba(0,0,0,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    color:var(--c);
    text-decoration:none;
    transition:border-color .3s ease, background .3s ease, color .3s ease, transform .3s ease;
}

.footer-social a.fb{--c:#1877F2;}
.footer-social a.tw{--c:#000000;}
.footer-social a.li{--c:#0A66C2;}
.footer-social a.yt{--c:#FF0000;}

.footer-social a svg{
    width:16px;
    height:16px;
    fill:currentColor;
}

.footer-social a:hover{
    background:var(--c);
    border-color:var(--c);
    color:#fff;
    transform:translateY(-3px);
}

.footer-col h4{
    color:#111;
    font-size:15px;
    font-weight:700;
    letter-spacing:.4px;
    margin-bottom:22px;
    text-transform:uppercase;
}

.footer-col ul{
    list-style:none;
}

.footer-col ul li{
    margin-bottom:12px;
}

.footer-col ul li a{
    color:#4a4c4f;
    text-decoration:none;
    font-size:14px;
    font-weight:400;
    display:inline-flex;
    align-items:center;
    transition:color .3s ease, padding-left .3s ease;
}

.footer-col ul li a:hover{
    color:#1B3A6B;
    padding-left:4px;
}

.footer-contact ul{
    list-style:none;
}

.footer-contact ul li{
    display:flex;
    gap:14px;
    align-items:flex-start;
    margin-bottom:18px;
    font-size:14px;
    color:#4a4c4f;
    line-height:1.55;
}

.footer-contact ul li .icn{
    width:34px;
    height:34px;
    border-radius:8px;
    background:#fff;
    border:1px solid rgba(0,0,0,.1);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    margin-top:1px;
}

.footer-contact ul li .icn svg{
    width:16px;
    height:16px;
    fill:#4a4c4f;
}

.footer-contact ul li a{
    color:#3d3f42;
    text-decoration:none;
    transition:color .3s ease;
}

.footer-contact ul li a:hover{
    color:#1B3A6B;
}

.footer-bottom{
    position:relative;
    border-top:1px solid rgba(0,0,0,.08);
    padding:22px 40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
    max-width:1300px;
    margin:0 auto;
}

.footer-bottom p{
    font-size:13px;
    color:#55575a;
}

.footer-bottom p .techno-word{
    color:#1E8E3E;
    font-weight:600;
}

.footer-bottom p .mak-word{
    color:#1B3A6B;
    font-weight:600;
}

.footer-bottom-links{
    display:flex;
    gap:22px;
}

.footer-bottom-links a{
    font-size:13px;
    color:#55575a;
    text-decoration:none;
    transition:color .3s ease;
}

.footer-bottom-links a:hover{
    color:#1B3A6B;
}

@media (max-width:1100px){
    .footer-top{
        grid-template-columns:1fr 1fr;
        row-gap:40px;
    }
}

@media (max-width:640px){
    .footer-inner{padding:50px 22px 0;}
    .footer-bottom{padding:20px 22px;flex-direction:column;text-align:center;justify-content:center;}
    .footer-top{grid-template-columns:1fr;}
}