/* =========================================
   1. CORE VARIABLES & GLOBAL STYLES
   ========================================= */
:root {
    --primary-color: #231f20;   /* Dark Charcoal */
    --secondary-color: #eb1e24; /* Red */
    --gradient-primary: linear-gradient(135deg, #231f20 0%, #4a4244 100%);
    --gradient-secondary: linear-gradient(135deg, #eb1e24 0%, #8b1014 100%);
    --shadow-premium: 0 20px 50px rgba(35, 31, 32, 0.08);
    --text-dark: #222;
}

/* =========================================
   2. HEADER (TOP & BOTTOM)
   ========================================= */
.header { position: sticky; top: 0; z-index: 1100; width: 100%; }

/* Top Header */
.top_header { background: #000000; color: #fff; padding: 10px 0; font-size: 13px; overflow: hidden; position: relative; z-index: 1101; }
.top_header .desktop-bar { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.top_header ul { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.top_header a { color: #fff; display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; transition: 0.3s; text-decoration: none;}
.top_header a:hover { color: var(--secondary-color); }

/* Top Header Separators */
.desktop-bar .top-right, .desktop-bar .top-left { gap: 0; }
.desktop-bar .top-right li, .desktop-bar .top-left li { padding: 0 15px; position: relative; }
.desktop-bar .top-right li:first-child::after, .desktop-bar .top-left li:first-child::after {
    content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    height: 14px; width: 1px; background-color: rgba(255,255,255,0.4);
}
.desktop-bar .top-right li:last-child { padding-right: 0; }
.desktop-bar .top-left li:first-child { padding-left: 0; }

/* Bottom Header */
.bottom_header { padding: 15px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); background: #fff; position: relative; z-index: 100; transition: 0.3s; }
.bottom_header .container { display: flex; justify-content: space-between; align-items: center; }

/* Desktop Menu */
.nav.navbar-menu > ul { display: flex; gap: 25px; margin: 0; align-items: center; list-style: none;}
.nav.navbar-menu > ul > li > a { font-weight: 600; color: #000000; font-size: 16px; padding: 10px 0; display: block; letter-spacing: 0.3px; transition: 0.3s; text-decoration: none;}
.nav.navbar-menu > ul > li:hover > a { color: var(--secondary-color); }

/* ================= CTA BUTTON (Get Quote) ================= */
.nav.navbar-menu > ul > li.cta-request-head > a {
    background: var(--secondary-color) !important; /* Button Red */
    color: #ffffff !important; 
    padding: 12px 30px !important; 
    border-radius: 50px;
    font-weight: 700; 
    box-shadow: 0 5px 15px rgba(235, 30, 36, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    margin-left: 15px; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    text-transform: uppercase; 
    font-size: 14px; 
    letter-spacing: 0.5px;
}
.nav.navbar-menu > ul > li.cta-request-head > a:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    background: #000000 !important; /* Button Black */
}

/* =========================================
   3. PREMIUM MEGA MENU
   ========================================= */
.drop_menu_mega { position: static !important; }

.mega_menu_section {
    width: 100%; left: 0; right: 0; display: flex; padding: 10px 0;
    background: rgba(255, 255, 255, 0.98); /* Slight Transparency */
    backdrop-filter: blur(15px); /* Frosted Glass Effect */
    box-shadow: 0 40px 80px rgba(35, 31, 32, 0.15); /* Softer, wider premium shadow */
    border-top: 3px solid var(--secondary-color); /* Red Border */
    border-bottom-left-radius: 16px; 
    border-bottom-right-radius: 16px;
    overflow: hidden; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    top: 100%; position: absolute; z-index: 999;
}

.drop_menu_mega:hover .mega_menu_section { opacity: 1; visibility: visible; transform: translateY(0); }

/* Sidebar (Vertical Tabs) */
.mega_menu_main { width: 25%; flex-shrink: 0; background: transparent; border-right: 1px solid rgba(0,0,0,0.05); padding-top: 20px; padding-bottom: 20px; margin: 0; list-style: none;}
.mega_menu_main li { position: relative; }
.mega_menu_main li a {
    padding: 15px 30px; display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; color: #555; border-bottom: none; transition: all 0.3s;
    font-size: 15px; text-decoration: none;
}
.mega_menu_main li.active a, .mega_menu_main li a:hover {
    background: #fff; color: var(--secondary-color) !important;
    padding-left: 35px; box-shadow: -5px 0 0 var(--secondary-color) inset, 0 5px 15px rgba(0,0,0,0.02);
}
.mega_menu_main li a::after {
    content: '\f054'; font-family: "Font Awesome 5 Free"; font-weight: 900;
    font-size: 10px; opacity: 0; transition: 0.3s; transform: translateX(-10px);
}
.mega_menu_main li.active a::after { opacity: 1; color: var(--secondary-color); transform: translateX(0); }

/* Right Content Area */
.tabs-content { width: 75%; flex: 1; padding: 30px 40px; background: transparent; min-height: 450px; }
.sub-mega-menu { display: none; width: 100%; height: 100%; animation: fadeInMenu 0.4s ease-in-out; }
.sub-mega-menu.active { display: flex; gap: 40px; width: 100%; align-items: stretch; }
@keyframes fadeInMenu { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Menu Grid Elements */
.menu-sec-left { width: 60%; }
.menu-heading-group { margin-bottom: 25px; }
.menu-sec-left span.menu-title {
    font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase;
    letter-spacing: 1.5px; display: block; margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 10px;
}
.menu-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 25px; }

/* Premium Grid Item Hover Effects */
.menu-link-item { 
    display: flex; align-items: flex-start; gap: 15px; 
    padding: 15px; border-radius: 12px; transition: all 0.3s ease; 
    color: #333; text-decoration: none; border: 1px solid transparent;
}
.menu-link-item:hover { 
    background: #fff; transform: translateY(-3px); 
    box-shadow: 0 10px 30px rgba(35, 31, 32, 0.05);
    border-color: rgba(235, 30, 36, 0.1);
}

/* Premium Icon Box */
.menu-link-icon {
    width: 42px; height: 42px; background: rgba(235, 30, 36, 0.08); color: var(--secondary-color);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0; transition: all 0.4s ease; margin-top: 2px;
}
.menu-link-item:hover .menu-link-icon { 
    background: var(--secondary-color); color: #fff; transform: rotateY(180deg);
}

.menu-link-text { display: flex; flex-direction: column; }
.menu-link-text h4 { font-size: 15px !important; font-weight: 700; margin: 0 0 5px 0 !important; color: #111; transition: 0.2s; line-height: 1.2; }
.menu-link-item:hover .menu-link-text h4 { color: var(--secondary-color); }
.menu-link-text p { font-size: 13px !important; color: #666; margin: 0 !important; line-height: 1.4; }

/* Taller Premium Featured Card */
.Menu_section_two_layout { 
    width: 40%; height: auto; align-self: stretch; 
    padding: 10px 10px 10px 0;
}
.featured-menu-card {
    background-color: #000000; background-size: cover; background-position: center; 
    border-radius: 20px; padding: 40px 35px; height: 100%; min-height: 380px; /* Increased Height */
    position: relative; overflow: hidden; display: flex; flex-direction: column; 
    justify-content: flex-end; color: #fff; box-shadow: 0 15px 35px rgba(35, 31, 32, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.featured-menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(235, 30, 36, 0.3); /* Red glow on hover */
}
.featured-menu-card::before { 
    content: ''; position: absolute; inset: 0; 
    background: linear-gradient(to top, rgba(35, 31, 32, 0.95) 0%, rgba(235, 30, 36, 0.3) 100%); 
    z-index: 1;
}
.featured-menu-card h4, .featured-menu-card p, .featured-menu-card a { position: relative; z-index: 2; }
.featured-menu-card h4 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: #fff; line-height: 1.3;}
.featured-menu-card p { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 20px; line-height: 1.5; }
.featured-menu-card .btn-feature {
    background: #fff; color: var(--primary-color); padding: 12px 28px; border-radius: 50px;
    font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px;
    width: fit-content; position: relative; z-index: 1; transition: 0.3s; text-decoration: none;
}
.featured-menu-card .btn-feature:hover { background: var(--secondary-color); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(235, 30, 36, 0.4);}


/* =========================================
   4. SIMPLE DROPDOWN (About Menu)
   ========================================= */
.simple-dropdown-li { position: relative; }
.simple-dropdown-menu {
    position: absolute; top: 100%; left: 0; background: #fff; min-width: 220px;
    box-shadow: 0 15px 35px rgba(35, 31, 32, 0.1); border-top: 3px solid var(--secondary-color);
    border-radius: 0 0 12px 12px; opacity: 0; visibility: hidden;
    transform: translateY(15px); transition: all 0.3s ease; padding: 10px 0; z-index: 1000; list-style: none;
}
.simple-dropdown-li:hover .simple-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.simple-dropdown-menu li { display: block; }
.simple-dropdown-menu li a {
    padding: 12px 20px; display: block; color: #333 !important; font-weight: 600;
    font-size: 14px !important; transition: 0.3s; text-decoration: none;
}
.simple-dropdown-menu li a:hover { color: var(--secondary-color) !important; background: #fcfcfc; padding-left: 25px; }


/* =========================================
   5. MOBILE MENU & SIDEBAR
   ========================================= */
.mobile-toggle { font-size: 24px; color: #000000; cursor: pointer; display: none; z-index: 10; position: relative;}
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1150; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(3px); }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-sidebar { position: fixed; top: 0; right: -100%; width: 300px; height: 100%; background: #fff; z-index: 1200; transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.1); display: flex; flex-direction: column; }
.mobile-menu-sidebar.active { right: 0; }
.mobile-menu-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-close { font-size: 24px; color: #000000; cursor: pointer; }
.mobile-menu-body { padding: 20px; overflow-y: auto; flex: 1; }
.mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.mobile-nav-list > li { border-bottom: 1px solid #f5f5f5; margin-bottom: 0;}
.mobile-nav-list > li > a, .mobile-link-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-size: 16px; font-weight: 600; color: #000000; cursor: pointer; transition: 0.3s;}
.mobile-nav-list > li > a:hover, .mobile-link-header:hover { color: var(--secondary-color); padding-left: 5px; }

/* Mobile Submenu Styles */
.mobile-submenu { display: none; background: #fcfcfc; margin: 10px 15px 20px 15px; padding: 10px; border-radius: 12px; border: 1px solid rgba(235, 30, 36, 0.05); box-shadow: inset 0 2px 10px rgba(0,0,0,0.02); position: relative; }
.mobile-submenu::before { content: ''; position: absolute; left: 0; top: 15px; bottom: 15px; width: 3px; background: var(--secondary-color); border-top-right-radius: 3px; border-bottom-right-radius: 3px; opacity: 0.5; }
.mobile-submenu li { border-bottom: 1px dashed rgba(0,0,0,0.05); margin-bottom: 0; }
.mobile-submenu li:last-child { border-bottom: none; }
.mobile-submenu li a { font-size: 14px; font-weight: 500; color: #555; padding: 12px 15px; display: flex; align-items: center; border-radius: 8px; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); text-decoration: none;}
.mobile-submenu li a::before { content: ''; width: 6px; height: 6px; background: #d1d1d1; border-radius: 50%; margin-right: 12px; transition: 0.3s; }
.mobile-submenu li a:hover { color: var(--secondary-color); background: #fff; box-shadow: 0 4px 12px rgba(235, 30, 36, 0.08); transform: translateX(5px); font-weight: 600; }
.mobile-submenu li a:hover::before { background: var(--secondary-color); transform: scale(1.5); box-shadow: 0 0 5px rgba(235, 30, 36, 0.4); }
.submenu-icon { transition: 0.3s; }
.submenu-icon.rotate { transform: rotate(180deg); color: var(--secondary-color); }

.mobile-menu-footer { padding: 20px; background: #f9f9f9; border-top: 1px solid #eee; }
.mobile-menu-footer .orng_cta { width: 100%; justify-content: center; background: var(--secondary-color); color: #fff; padding: 12px; border-radius: 50px; font-weight: bold; transition: 0.3s; display: flex; text-decoration: none;}
.mobile-menu-footer .orng_cta:hover { background: #000000; }

/* Mobile Marquee */
.marquee-container { display: none; white-space: nowrap; overflow: hidden; width: 100%; background: #000000; padding: 8px 0;}
.marquee-content { display: flex; animation: marquee 20s linear infinite; padding-left: 100%; }
.marquee-content li { display: inline-flex; align-items: center; margin-right: 40px; }
.marquee-content a { color: #fff; display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13px; text-transform: uppercase; text-decoration: none;}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* =========================================
   6. LOGO SIZING
   ========================================= */
/* Lock the logo container */
.bottom_header .logo a {
    display: flex;
    align-items: center;
    height: 100%;
}
/* Constrain the SVG/IMG strictly */
.bottom_header .logo img {
    height: 55px; /* Change this number to adjust desktop logo size */
    width: auto;
    max-height: 100%; 
    display: block;
    object-fit: contain; 
}
.mobile-menu-header img {
    height: 45px !important;
    width: auto;
    display: block;
}

/* =========================================
   RESPONSIVE OVERRIDES
   ========================================= */
@media (max-width: 991px) {
    .nav.navbar-menu { display: none; }
    .mega_menu_section { display: none; }
    .mobile-toggle { display: block; }
    .top_header .desktop-bar { display: none; }
    .marquee-container { display: flex; }
    .bottom_header .logo img { height: 40px; }
}