:root {
    /* Colors */
    --color-primary: #0B2545;
    --color-secondary: #07172B;
    --color-accent: #FEA619;
    --color-accent-alt: #F59E0B;
    --color-accent-hover: #D97706;
    --color-white: #FFFFFF;
    
    /* Text Colors */
    --text-main: #475569;
    --text-muted: #94A3B8;
    --text-light: #CBD5E1;
    --text-dark: #020617;
    --text-footer-legal: #64748B;
    
    /* UI Colors */
    --border-color: #E2E8F0;
    --border-dark: #1E293B;
    --border-darker: #334155;
    --bg-light: #F1F5F9;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}
/*
Theme Name: M/S Ujjwal Roy Custom Theme
Theme URI: https://vantrise.com/
Author: Indraneel Biswas
Author URI: https://www.linkedin.com/in/indraneel-biswas/
Description: Custom Elementor-compatible theme for M/S Ujjwal Roy
Version: 1.0
Text Domain: msujjalray
*/

/* Reset & Basics */
html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    padding-top: 124px; /* Space for fixed headers */
}
a { text-decoration: none; }
* { box-sizing: border-box; }

/* --------------------------------------
   TOP HEADER NOTIFICATION / INFO BAR
-------------------------------------- */
.top-bar {
    position: absolute;
    height: 43px;
    left: 0px;
    right: 0px;
    top: 0px;
    background: var(--color-secondary);
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    z-index: 1000;
}

.top-bar-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 2650px;
    height: 26px;
}

.top-bar-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.info-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.info-item .text {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-light);
}

.info-item .muted-text {
    color: var(--text-muted);
}

.info-item .icon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vertical-border {
    width: 0;
    height: 16px;
    border-left: 1px solid var(--border-darker);
    margin-left: 16px;
}

.top-bar-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.lang-label {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.lang-switcher {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2px;
    background: var(--border-dark);
    border: 1px solid var(--border-darker);
    border-radius: 9999px;
    height: 26px;
}

.lang-opt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2px 8px;
    height: 20px;
    border-radius: 9999px;
    font-family: 'FreeSans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    color: var(--text-light);
    cursor: pointer;
}

.lang-opt.active {
    background: var(--color-accent-alt);
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-dark);
}

/* Hide the top Google Translate banner that pushes the site down */
body {
    top: 0 !important;
}
.skiptranslate iframe {
    display: none !important;
}

/* Hide Google Translate hover tooltips and highlights */
.goog-tooltip {
    display: none !important;
}
.goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important; 
    box-shadow: none !important;
}

/* --------------------------------------
   MAIN NAVIGATION HEADER
-------------------------------------- */
.site-header {
    position: absolute;
    height: 81px;
    left: 0px;
    right: 0px;
    top: 43px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 999;
}

.header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px 32px;
    width: 100%;
    max-width: 1280px;
    height: 80px;
    gap: 32px;
}

.site-branding .logo-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-title {
    font-family: var(--font-heading);
    font-style: normal;
    font-weight: 800;
    font-size: 17px;
    line-height: 17px;
    letter-spacing: -0.425px;
    color: var(--color-primary);
}

.logo-subtitle {
    margin-top: 4px;
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 700;
    font-size: 10px;
    line-height: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-accent-hover);
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 44px; /* Based on the design specs */
    object-fit: contain;
}

.main-navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.mobile-contact-wrap {
    display: none;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

.nav-menu li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-menu li a {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.35px;
    color: var(--text-main);
    padding: 8px 0px;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-alt);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--color-primary);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li.current-menu-item a {
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-accent-alt);
}

.nav-menu li.current-menu-item a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.btn-contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    height: 42px;
    background: var(--color-accent-alt);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-dark);
}

.btn-profile {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-box {
    width: 24px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -8px;
}
.hamburger-inner::after {
    bottom: -8px;
}

/* --------------------------------------
   FOOTER
-------------------------------------- */
.site-footer {
    background: var(--color-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container {
    width: 100%;
    max-width: 1280px;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 48px;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 250px;
}

.brand-bio {
    max-width: 268px;
}

.footer-logo-wrap {
    background: var(--color-white);
    border-radius: 12px;
    padding: 8px 16px; /* Adjust padding to look good with text or image */
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 8px;
    min-height: 56px;
}

.bio-text {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-muted);
    margin: 0 0 8px 0;
}

.bio-highlight {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.bio-highlight .text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-accent);
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-white);
    margin: 0;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu li a {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--color-accent);
}

.office-details {
    gap: 15px;
}

.office-info p {
    margin: 0 0 4px 0;
}

.office-proprietor {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    line-height: 23px;
    color: var(--color-white);
}

.office-address, .office-district {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 23px;
    color: var(--text-muted);
}

.office-zones {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 9px;
}

.zone-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* Ensure long text wraps nicely */
    gap: 6px;
}

.zone-item .icon {
    margin-top: 3px; /* Align icon with first line of text */
}

.zone-item .text {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-footer-legal);
}

.footer-legal-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.footer-legal-links a {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-footer-legal);
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--text-light);
}

/* --------------------------------------
   RESPONSIVE DESIGN
-------------------------------------- */
@media (max-width: 1220px) {
    .footer-col {
        flex: 0 0 calc(50% - 24px); /* 2 columns with 48px gap */
    }
}

@media (max-width: 1120px) {
    .top-bar-left {
        gap: 8px;
    }
    .vertical-border {
        margin-left: 8px;
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0px 16px;
        gap: 16px;
    }
    /* Hide specific top bar items to save space */
    .info-pm-surya, .border-pm-surya, .info-iso, .border-iso {
        display: none !important;
    }
    .footer-container{
        padding: 0px 16px;
    }
}

@media (max-width: 900px) {
    .info-item .text {
        font-size: 11px;
    }
    .nav-menu {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 113px;
        overflow: hidden;
    }
    /* Keep top bar visible for language switcher and phone */
    .site-header {
        top: 43px;
        height: 70px;
    }
    .header-container {
        height: 70px;
    }
    .main-navigation {
        position: fixed;
        top: 0;
        right: -320px;
        bottom: 0;
        width: 320px;
        max-width: 100%;
        height: 100vh;
        background: var(--color-white);
        box-shadow: -4px 0 15px rgba(0,0,0,0.1);
        padding: 130px 20px 20px; /* Space for the absolute headers + padding */
        z-index: 998; /* Sits just underneath the header */
        transition: right 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
    }
    .main-navigation.toggled {
        right: 0;
    }
    .nav-menu {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    .nav-menu li {
        width: 100%;
        border-bottom: none;
    }
    .nav-menu li a {
        width: 100%;
        padding: 12px 20px;
        justify-content: center;
        text-align: center;
    }
    .menu-toggle {
        display: block;
        order: 3;
        z-index: 10000; /* Ensure toggle stays clickable */
    }
    .hamburger-inner {
        transition: background-color 0.15s ease;
    }
    .hamburger-inner::before, .hamburger-inner::after {
        transition: top 0.15s ease 0.15s, bottom 0.15s ease 0.15s, transform 0.15s ease;
    }
    
    .menu-toggle.is-active .hamburger-inner {
        background-color: transparent !important;
    }
    .menu-toggle.is-active .hamburger-inner::before,
    .menu-toggle.is-active .hamburger-inner::after {
        transition: top 0.15s ease, bottom 0.15s ease, transform 0.15s ease 0.15s;
    }
    .menu-toggle.is-active .hamburger-inner::before {
        top: 0;
        transform: rotate(45deg);
    }
    .menu-toggle.is-active .hamburger-inner::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    .header-actions {
        display: none; /* Hide desktop contact on mobile */
    }
    
    /* Improve mobile active state */
    .nav-menu li a::after,
    .nav-menu li.current-menu-item a::after {
        display: none !important; /* Remove sliding underline on mobile */
    }
    .nav-menu li.current-menu-item a {
        color: var(--color-accent-hover);
        border: none;
    }
    .nav-menu li a:hover {
        color: var(--color-primary);
    }
    
    /* Mobile Contact Button */
    .mobile-contact-wrap {
        display: block;
        margin-top: 24px;
        width: 100%;
    }
    .mobile-btn-contact {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .footer-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .footer-top {
        gap: 32px; /* Reduce gap slightly on mobile */
    }
}

#goog-gt-tt{
    display: none!important;
}

.ms-hero-img, .ms-about-img, .ms-feat-img{
	height: 100%!important;
}

/* --------------------------------------
   STANDARD PAGES (T&C, PRIVACY, ETC)
-------------------------------------- */
body:not(.elementor-page) .site-main {
    max-width: 991px;
    margin: 0 auto;
    padding: 60px 32px;
    font-family: var(--font-primary);
    color: #44474E;
    line-height: 1.8;
}

body:not(.elementor-page) .site-main h1,
body:not(.elementor-page) .site-main h2,
body:not(.elementor-page) .site-main h3 {
    color: var(--color-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

@media (max-width: 767px) {
    body:not(.elementor-page) .site-main {
        padding: 40px 20px;
    }
}