:root {
    --primary-orange: #f47920;
    --primary-blue: #2b5a91;
    --text-dark: #333333;
    --text-light: #777777;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --container-width: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text-dark); line-height: 1.6; background-color: var(--white); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

.main-header, .nav-menu, .nav-links, .nav-item { overflow: visible !important; }
.nav-item.has-dropdown { position: relative; padding-bottom: 20px; margin-bottom: -20px; }
.dropdown-menu { position: absolute; top: 100%; left: 0; width: 320px; background: #ffffff; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-radius: 8px; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease; z-index: 99999; padding: 10px 0; list-style: none; border-top: 4px solid #f47920; }
.nav-item.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { padding: 0; margin: 0; }
.dropdown-menu li a { display: flex; flex-direction: column; padding: 15px 25px; color: #333; text-decoration: none; transition: background 0.3s; border-bottom: 1px solid #f9fbfd; }
.dropdown-menu li a:last-child { border-bottom: none; }
.dropdown-menu li a:hover { background: #f9fbfd; }
.dropdown-menu li a .svc-title { font-size: 14px; font-weight: 700; color: #154b85; margin-bottom: 5px; display: flex; align-items: center; gap: 10px; }
.dropdown-menu li a .svc-title i { color: #f47920; }
.dropdown-menu li a .svc-desc { font-size: 12px; color: #777; font-weight: 500; line-height: 1.4; white-space: normal; }

body.header-overflow-fix { overflow-x: hidden; }
.top-bar { background-color: var(--primary-orange); color: var(--white); font-size: 12px; padding: 10px 0; }
.top-bar-flex { display: flex; justify-content: center; gap: 30px; }
.top-bar i { margin-right: 5px; }
.main-header { background-color: var(--white); border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; height: 80px; }
.header-content { display: flex; justify-content: space-between; align-items: center; height: 100%; position: relative; }
.logo-area { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-area img { height: 45px; }
.logo-text { display: flex; flex-direction: column; }
.logo-text .title { font-size: 24px; font-weight: 800; line-height: 1.1; }
.logo-text .subtitle { font-size: 11px; color: #a0a0a0; letter-spacing: 0.5px; }
.orange { color: var(--primary-orange); }
.blue { color: var(--primary-blue); }
.nav-menu { margin-left: auto; margin-right: 40px; height: 100%; display: flex; align-items: center; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { color: var(--primary-blue); font-size: 15px; font-weight: 700; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-orange); }
.header-call-box { position: relative; display: flex; align-items: center; height: 100%; padding-left: 55px; padding-right: 20px; z-index: 2; }
.header-call-box::before { content: ''; position: absolute; top: 0; bottom: 0; left: 20px; width: 100vw; background-color: var(--primary-blue); clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%); z-index: -1; }
.phone-icon-circle { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; background-color: var(--white); color: var(--primary-orange); border: 2px solid var(--primary-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; z-index: 10; }
.phone-text { color: var(--white); font-weight: 700; font-size: 15px; letter-spacing: 0.5px; }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--primary-blue); margin-left: auto; }
@media (max-width: 1100px) { .nav-menu { display: none; } .menu-toggle { display: block; } .header-call-box { display: none; } }

/* =========================================
   FOOTER (Animated Premium Version)
   ========================================= */
footer { background-color: var(--primary-orange) !important; color: #ffffff !important; padding: 60px 0 0 0 !important; margin-top: 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr 1fr; gap: 30px; padding-bottom: 50px; max-width: 1200px; margin: 0 auto; }

/* Animated Underline on Footer Titles */
.footer-col h4 { font-size: 16px; margin-bottom: 25px; text-transform: uppercase; font-weight: 700; color: #ffffff; position: relative; display: inline-block; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 30px; height: 3px; background: #ffffff; transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); border-radius: 2px; }
.footer-col:hover h4::after { width: 100%; }

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 15px; font-size: 13px; display: flex; align-items: flex-start; gap: 12px; }

/* Smooth Slide Right on Link Hover */
.footer-col ul li a { color: #ffffff; text-decoration: none; transition: all 0.3s ease; display: inline-block; }
.footer-col ul li a:hover { transform: translateX(8px); opacity: 0.9; text-shadow: 0 0 8px rgba(255,255,255,0.4); }

.icon-circle { display: inline-flex; justify-content: center; align-items: center; width: 28px; height: 28px; background-color: #ffffff; color: #154b85; border-radius: 50%; font-size: 13px; flex-shrink: 0; }
.contact-col .text { line-height: 1.6; }

/* Bouncy Phone Pill */
.phone-pill { display: inline-flex; align-items: center; gap: 8px; background-color: #e9f2fb; color: #154b85 !important; padding: 8px 20px; border-radius: 20px; font-weight: 700; font-size: 14px; margin-top: 5px; text-decoration: none !important; transition: 0.3s; }
.phone-pill:hover { background-color: #ffffff; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.15); }

/* Bouncy & Spinning Social Icons */
.social-icons { display: flex; gap: 10px; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background-color: #ffffff; border-radius: 50%; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); font-size: 16px; }
.social-icons a.yt { color: #ff0000; }
.social-icons a.in { color: #0077b5; }
.social-icons a.fb { color: #1877f2; }
.social-icons a.tk { color: #000000; }
.social-icons a:hover { transform: translateY(-5px) rotate(360deg); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }

.footer-bottom { background-color: #ffece1 !important; color: #555555 !important; padding: 15px 0 !important; width: 100%; }
.bottom-flex { display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; }
.footer-tiny-logo { width: 24px !important; height: 24px !important; object-fit: contain !important; margin: 0 !important; padding: 0 !important; display: inline-block !important; }

/* Pulsing Glowing Floating Action Buttons */
@keyframes pulse-glow { 
    0% { box-shadow: 0 0 0 0 rgba(244, 121, 32, 0.5); } 
    70% { box-shadow: 0 0 0 15px rgba(244, 121, 32, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(244, 121, 32, 0); } 
}
.floating-actions { position: fixed; right: 30px; bottom: 50px; display: flex; flex-direction: column; gap: 12px; z-index: 99; }
.float-btn { width: 45px; height: 45px; background-color: #ffffff; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.15); color: #154b85; font-size: 20px; text-decoration: none; transition: 0.3s; }
.float-btn:hover { transform: scale(1.1); color: #f47920; animation: pulse-glow 1.5s infinite; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .floating-actions { right: 15px; bottom: 20px; } }

/* =========================================
   📱 MOBILE MENU RESPONSIVE (Append to End)
   ========================================= */

/* Mobile Menu Toggle Animation */
@media (max-width: 1100px) {
    .menu-toggle {
        display: flex !important; /* Override previous display:none */
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 1002;
        position: relative;
        background: none;
        border: none;
        padding: 0;
    }
    
    /* Hamburger Icon Animation */
    .menu-toggle i {
        font-size: 22px;
        color: var(--primary-blue);
        transition: 0.3s;
        position: absolute;
    }
    .menu-toggle i.fa-times {
        opacity: 0;
        transform: scale(0.8);
    }
    .menu-toggle.active i.fa-bars {
        opacity: 0;
        transform: scale(0.8);
    }
    .menu-toggle.active i.fa-times {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Menu Slide-In Styles */
@media (max-width: 1100px) {
    .nav-menu {
        /* Reset desktop styles */
        display: block !important;
        margin: 0 !important;
        height: 100vh !important;
        
        /* Slide-in positioning */
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 280px;
        max-width: 85vw;
        background: #ffffff;
        padding: 80px 20px 30px;
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        overflow-y: auto;
    }
    
    /* Active State - Slide In */
    .nav-menu.active {
        right: 0;
    }
    
    /* Mobile Nav Links */
    .nav-links {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }
    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 15px;
        color: var(--text-dark);
        font-weight: 600;
    }
    .nav-links a.active {
        color: var(--primary-orange);
    }
    
    /* Mobile Dropdown (Click to open) */
    .nav-item.has-dropdown {
        position: static; /* Reset absolute positioning */
        padding: 0;
        margin: 0;
    }
    .dropdown-menu {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid #eee !important;
        border-radius: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 0 0 0 15px !important;
        margin: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #fafafa;
        display: block !important;
    }
    .dropdown-menu.show {
        max-height: 800px; /* Allow expansion */
    }
    .dropdown-menu li a {
        padding: 12px 0 !important;
        font-size: 14px;
        border-bottom: none !important;
    }
    .dropdown-menu .svc-desc {
        display: none; /* Hide long descriptions on mobile */
    }
    
    /* Overlay Background */
    .menu-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        backdrop-filter: blur(2px);
    }
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Hide Desktop Call Box on Mobile */
    .header-call-box {
        display: none !important;
    }
    
    /* Show Mobile Call Button inside Menu */
    .mobile-call-box {
        display: block !important;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
        text-align: center;
    }
}

/* Desktop Reset (Ensure desktop isn't affected) */
@media (min-width: 1101px) {
    .nav-menu {
        position: static !important;
        height: auto !important;
        right: auto !important;
        transform: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        background: transparent !important;
        padding: 0 !important;
    }
    .dropdown-menu {
        max-height: none !important;
        overflow: visible !important;
    }
    .menu-overlay { display: none !important; }
    .mobile-call-box { display: none !important; }
}

/* =========================================
    FORCE MOBILE MENU FIX
   ========================================= */

@media (max-width: 1100px) {
    /* 1. Ensure Menu is Visible & Positioned */
    .nav-menu {
        display: block !important; /* OVERRIDE DISPLAY NONE */
        position: fixed !important;
        top: 0 !important;
        right: -300px !important; /* Hidden by default */
        width: 280px !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 9999 !important;
        transition: right 0.3s ease !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2) !important;
        overflow-y: auto !important;
        padding-top: 80px !important; /* Space for header */
    }

    /* 2. Slide In Animation */
    .nav-menu.active {
        right: 0 !important; /* Show Menu */
    }

    /* 3. Fix Toggle Button */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer !important;
        z-index: 10000 !important;
    }

    /* 4. Fix Overlay */
    .menu-overlay {
        display: block !important;
        position: fixed !important;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5) !important;
        z-index: 9998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: 0.3s !important;
    }
    .menu-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* 5. Mobile Dropdowns */
    .nav-links {
        flex-direction: column !important;
    }
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: block !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #f9f9f9;
        width: 100% !important;
        box-shadow: none !important;
    }
    .dropdown-menu.show {
        max-height: 500px !important;
    }
}

/* ===== FINAL MOBILE MENU FIX ===== */
@media (max-width: 1100px) {
    .nav-menu {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: -300px !important;
        width: 280px !important;
        height: 100vh !important;
        background: #fff !important;
        z-index: 99999 !important;
        transition: 0.3s !important;
        padding-top: 80px !important;
    }
    .nav-menu.active { right: 0 !important; }
    
    .menu-overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0,0,0,0.5) !important;
        z-index: 99998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    .menu-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* =========================================
   🔥 COMPLETE MOBILE FIX (FINAL VERSION)
   ========================================= */

@media (max-width: 1100px) {
    /* --- Fix Top Bar Stacking --- */
    .top-bar-flex {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
        padding: 8px 0 !important;
    }
    .top-bar-flex span,
    .top-bar-flex a {
        display: block !important;
        width: 100% !important;
        font-size: 12px !important;
    }

    /* --- Fix Header Height on Mobile --- */
    .main-header {
        height: auto !important;
        padding: 10px 0 !important;
    }
    .header-content {
        height: auto !important;
        padding: 5px 0 !important;
    }

    /* --- Menu Overlay Fix --- */
    .menu-overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0,0,0,0.5) !important;
        z-index: 99998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease !important;
    }
    .menu-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* --- Mobile Menu Container --- */
    .nav-menu {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: 300px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 99999 !important;
        transition: right 0.3s ease !important;
        padding: 70px 0 30px !important;
        overflow-y: auto !important;
        box-shadow: -5px 0 25px rgba(0,0,0,0.15) !important;
    }
    .nav-menu.active {
        right: 0 !important;
    }

    /* --- Nav Links Mobile --- */
    .nav-links {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .nav-links li {
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    .nav-links a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 16px 25px !important;
        font-size: 15px !important;
        color: #333 !important;
        font-weight: 600 !important;
        text-decoration: none !important;
    }
    .nav-links a:hover,
    .nav-links a.active {
        background: #f9f9f9 !important;
        color: var(--primary-orange) !important;
    }

    /* --- Submenu (Accordion) --- */
    .nav-item.has-dropdown {
        position: static !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .dropdown-menu {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid #eee !important;
        border-radius: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.35s ease !important;
        background: #fafafa !important;
        display: block !important;
    }
    .dropdown-menu.show {
        max-height: 600px !important;
    }
    .dropdown-menu li a {
        padding: 12px 35px !important;
        font-size: 14px !important;
        color: #555 !important;
        border-bottom: 1px solid #eee !important;
    }
    .dropdown-menu .svc-desc {
        display: none !important;
    }

    /* --- Hide Desktop Call Box --- */
    .header-call-box {
        display: none !important;
    }

    /* --- Mobile Call Box Inside Menu --- */
    .mobile-call-box {
        display: block !important;
        padding: 20px 25px !important;
        margin-top: 10px !important;
        border-top: 2px solid #eee !important;
    }
    .mobile-call-box a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        color: var(--primary-orange) !important;
        font-weight: 700 !important;
        font-size: 16px !important;
        text-decoration: none !important;
    }
}

/* --- Desktop Reset --- */
@media (min-width: 1101px) {
    .menu-overlay { display: none !important; }
    .nav-menu {
        position: static !important;
        height: auto !important;
        right: auto !important;
        transform: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        background: transparent !important;
        padding: 0 !important;
    }
    .nav-links { flex-direction: row !important; }
    .dropdown-menu { max-height: none !important; }
    .mobile-call-box { display: none !important; }
}