/* ==========================================================================
   PATLE GROUP - PREMIUM FACILITY MANAGEMENT & MANPOWER WEBSITE REDESIGN
   DESIGN SYSTEM & CUSTOM CORE STYLES
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties / Design Tokens */
:root, [data-theme="light"] {
    /* Color Palette - Light Theme (Default) */
    --primary: #1e293b;
    --primary-light: #334155;
    --primary-dark: #0f172a;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;
    --text-main: #1e293b;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-cream: #fafaf9;
    --bg-navy: #0f172a;
    --bg-navy-light: #1e293b;
    --border-color: #e2e8f0;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Layout & Styling Values */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Header Dimensions */
    --header-height: 90px;
    --header-sticky-height: 80px;
}

[data-theme="dark"] {
    /* Color Palette - Dark Theme */
    --primary: #94a3b8;
    --primary-light: #cbd5e1;
    --primary-dark: #f8fafc;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-light: #94a3b8;
    --bg-white: #1e293b;
    --bg-light: #0f172a;
    --bg-cream: #1e293b;
    --bg-navy: #090d16;
    --bg-navy-light: #0f172a;
    --border-color: #334155;
}

/* Base & Reset Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   LAYOUT & CONTAINER UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-bg-navy {
    background-color: var(--bg-navy);
    color: var(--bg-white);
}

.section-bg-cream {
    background-color: var(--bg-cream);
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-dark);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
}

.section-header.text-left .section-title::after {
    left: 0;
    transform: none;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-bg-navy .section-desc {
    color: var(--text-light);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex alignment helper classes */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

.btn-accent:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-outline-white:hover {
    background-color: var(--bg-white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header-top {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    font-size: 0.85rem;
    padding: 10px 0;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 28px;
}

.header-top-info {
    display: flex;
    gap: 22px;
    align-items: center;
}

.header-top-info span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
}

.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 2px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    transition: var(--transition-smooth);
}

body.scrolled .main-header {
    background-color: var(--bg-white);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    border-bottom-color: var(--accent);
}

.nav-container {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

body.scrolled .nav-container {
    height: var(--header-sticky-height);
}

/* Executive Brand Logo Badge */
.brand-logo-badge {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
    color: var(--accent);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--accent);
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    transition: var(--transition-smooth);
}

.logo:hover .brand-logo-badge {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}

/* Nav Menu */
.mobile-nav-header {
    display: none !important;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    padding: 8px 12px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-link span {
    white-space: nowrap;
    display: inline-block;
}

.nav-link i.nav-icon {
    font-size: 0.9rem;
    color: var(--accent-dark);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary-dark);
    background-color: rgba(245, 158, 11, 0.12);
}

.nav-link:hover i.nav-icon, .nav-item.active .nav-link i.nav-icon {
    color: var(--accent);
    transform: translateY(-1px);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
    width: 60%;
}

/* Sign In Executive CTA Button */
.btn-signin-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-signin-pill:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5);
    color: #0f172a !important;
}

.btn-signin-pill i {
    font-size: 0.95rem;
}

/* Dropdown Menu Styles - HOVER & STYLISH UPGRADE */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.96);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18), 0 0 30px rgba(14, 165, 233, 0.15);
    width: 280px;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(14, 165, 233, 0.25);
    border-top: 4px solid var(--accent);
    z-index: 1000;
}

/* Invisible bridge so mouse hover never drops when moving cursor */
.dropdown::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    height: 18px;
    background: transparent;
}

/* Mega-style for services dropdown */
.nav-item.has-mega-dropdown .dropdown {
    width: 620px;
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.96);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px;
}

/* Desktop Hover & Focus Triggers */
@media (min-width: 992px) {
    .nav-item:hover .dropdown,
    .nav-item:focus-within .dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.dropdown-title {
    grid-column: span 2;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-dark);
    padding: 6px 14px 12px 14px;
    border-bottom: 2px dashed rgba(203, 213, 225, 0.7);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-title::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    font-size: 0.8rem;
}

/* Stylish Dropdown Links */
.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.dropdown-link i {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
    transition: all 0.28s ease;
}

/* Distinct Colorful Icon Badges on Hover */
.dropdown-link:nth-child(1):hover i,
.dropdown-link[href*="labour"]:hover i {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.45);
}
.dropdown-link:nth-child(2):hover i,
.dropdown-link[href*="security"]:hover i {
    background: linear-gradient(135deg, #10b981, #047857);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
}
.dropdown-link:nth-child(3):hover i,
.dropdown-link[href*="housekeeping"]:hover i {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.45);
}
.dropdown-link:nth-child(4):hover i,
.dropdown-link[href*="staff"]:hover i {
    background: linear-gradient(135deg, #a855f7, #7e22ce);
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.45);
}
.dropdown-link:nth-child(5):hover i,
.dropdown-link[href*="crane"]:hover i {
    background: linear-gradient(135deg, #f59e0b, #b45309);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}
.dropdown-link:nth-child(6):hover i,
.dropdown-link[href*="fabrication"]:hover i {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
}
.dropdown-link:nth-child(7):hover i,
.dropdown-link[href*="transport"]:hover i {
    background: linear-gradient(135deg, #06b6d4, #0e7490);
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.45);
}

.dropdown-link:hover {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    border-color: #93c5fd;
    transform: translateX(6px) scale(1.02);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.18);
    color: var(--primary-dark);
}

.dropdown-link:hover i {
    transform: scale(1.1) rotate(-5deg);
}

/* Right arrow on hover */
.dropdown-link::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--accent-dark);
    margin-left: auto;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
}

.dropdown-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Hamburger mobile menu button */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

/* Mobile Nav & Sidebar Redesign */
@media (max-width: 991px) {
    .header-top {
        display: none;
    }
    
    .main-header {
        position: sticky;
        top: 0;
        z-index: 1001;
        background: #ffffff;
        box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
    }
    
    .nav-container {
        height: 72px;
        padding-left: 18px;
        padding-right: 18px;
    }
    
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: rgba(245, 158, 11, 0.12);
        color: var(--primary-dark);
        font-size: 1.25rem;
        cursor: pointer;
        transition: var(--transition-fast);
        border: 1px solid rgba(245, 158, 11, 0.3);
    }
    
    .hamburger:hover {
        background: var(--accent);
        color: var(--primary-dark);
    }

    /* Backdrop Overlay when Mobile Drawer is Open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden !important;
    }

    body.menu-open .hamburger {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    body.menu-open #floating-logo-btn {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(20px) !important;
        transition: all 0.25s ease !important;
    }

    /* Mobile Sidebar Drawer Container */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 86vw;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 0 0 24px 0;
        box-shadow: 10px 0 30px rgba(15, 23, 42, 0.25);
        transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1002;
        list-style: none;
        margin: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }

    /* Mobile Sidebar Executive Header Bar */
    .mobile-nav-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
        border-bottom: 3px solid var(--accent);
        color: #ffffff;
        position: sticky;
        top: 0;
        z-index: 10;
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 8px 0;
        list-style: none;
        flex-shrink: 0;
    }
    
    .mobile-nav-header .mobile-brand-title {
        font-family: var(--font-heading);
        font-weight: 800;
        font-size: 1.1rem;
        color: #ffffff;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .mobile-nav-header .mobile-nav-close {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: #ffffff;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1rem;
        transition: var(--transition-fast);
        outline: none;
    }
    
    .mobile-nav-header .mobile-nav-close:hover {
        background: var(--danger);
        border-color: var(--danger);
        color: #ffffff;
    }

    /* Mobile Search Input Box Inside Sidebar */
    .mobile-search-container {
        padding: 12px 16px;
        background: #f8fafc;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .mobile-search-box {
        position: relative;
        width: 100%;
    }
    
    .mobile-search-box input {
        width: 100%;
        padding: 10px 14px 10px 38px;
        border-radius: 20px;
        border: 1px solid #cbd5e1;
        background: #ffffff;
        font-size: 0.88rem;
        color: var(--primary-dark);
        outline: none;
        transition: var(--transition-fast);
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    }
    
    .mobile-search-box input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    }
    
    .mobile-search-box i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--accent-dark);
        font-size: 0.88rem;
        pointer-events: none;
    }

    /* Mobile Menu List Body */
    .mobile-menu-body {
        padding: 12px 14px 24px 14px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .nav-menu .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        padding: 2px 12px;
        box-sizing: border-box;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--primary-dark);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        background: transparent;
        border: none;
        border-bottom: 1px solid #f1f5f9;
        transition: var(--transition-fast);
    }
    
    /* Disable desktop floating line on mobile */
    .nav-link::after {
        display: none !important;
    }
    
    .nav-link:hover, .nav-item.active .nav-link {
        background: rgba(245, 158, 11, 0.12);
        color: var(--accent-dark);
    }
    
    .nav-link i.nav-icon {
        font-size: 1rem;
        color: var(--accent-dark);
        width: 22px;
        text-align: center;
    }

    /* Chevron arrow indicator for items with dropdown */
    .nav-link i.fa-chevron-down {
        font-size: 0.75rem;
        color: #94a3b8;
        transition: transform 0.3s ease;
        margin-left: auto;
    }
    
    .nav-item.active-mobile .nav-link i.fa-chevron-down {
        transform: rotate(180deg);
        color: var(--accent-dark);
    }

    /* Mobile Accordion Submenu Styles */
    .dropdown {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-top: none !important;
        background: #f8fafc !important;
        border-radius: 10px !important;
        padding: 0 !important;
        margin-top: 2px;
        margin-bottom: 6px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        pointer-events: auto !important;
    }
    
    .dropdown::before {
        display: none !important;
    }
    
    .nav-item.active-mobile .dropdown {
        max-height: 600px;
        padding: 8px !important;
    }
    
    .dropdown-title {
        display: block;
        width: 100%;
        grid-column: auto;
        font-size: 0.78rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--accent-dark);
        padding: 6px 10px;
        border-bottom: 1px dashed #cbd5e1;
        margin-bottom: 4px;
    }

    /* Clean Mobile Sub-menu Links */
    .dropdown-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 12px;
        border-radius: 8px;
        color: var(--primary-dark);
        font-weight: 600;
        font-size: 0.88rem;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        box-shadow: none;
        transition: all 0.2s ease;
        width: 100%;
    }
    
    .dropdown-link::after {
        display: none !important;
    }
    
    .dropdown-link i {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 0.8rem;
        border-radius: 6px;
    }
    
    .dropdown-link:hover {
        background: #ffffff;
        border-color: var(--accent);
        color: var(--accent-dark);
        transform: translateX(4px);
    }

    /* Mobile Sign In Pill CTA */
    .nav-item .btn-signin-pill {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 10px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Hide floating widget button when mobile menu is active */
    body.mobile-menu-open #floating-logo-btn {
        opacity: 0;
        pointer-events: none;
    }
}

/* ==========================================================================
   HERO / BANNER CAROUSEL
   ========================================================================== */
.hero-slider {
    position: relative;
    height: calc(100vh - 36px);
    width: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    z-index: 2;
}

.hero-content-wrap {
    position: relative;
    z-index: 3;
    color: var(--bg-white);
    max-width: 750px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-badge {
    transform: translateY(0);
    opacity: 1;
}

.hero-title {
    color: var(--bg-white);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.hero-title span {
    color: var(--accent);
}

.hero-slide.active .hero-title {
    transform: translateY(0);
    opacity: 1;
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.hero-slide.active .hero-text {
    transform: translateY(0);
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.hero-slide.active .hero-buttons {
    transform: translateY(0);
    opacity: 1;
}

/* Slider Controls */
.hero-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.hero-arrow {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.hero-arrow:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.hero-indicators {
    position: absolute;
    left: 50px;
    bottom: 50px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-dot.active {
    background-color: var(--accent);
    width: 30px;
}

/* ==========================================================================
   ABOUT BRIEF SECTION
   ========================================================================== */
.about-brief-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-img-showcase {
    position: relative;
}

.about-img-large {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-img-small {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 250px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-white);
    overflow: hidden;
}

.experience-badge {
    position: absolute;
    top: -30px;
    left: -30px;
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.experience-badge span {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.experience-badge p {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.about-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bullet-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: rgba(30, 41, 59, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.bullet-item p {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ==========================================================================
   FACTS / STATS COUNTER
   ========================================================================== */
.facts-row {
    grid-template-columns: repeat(4, 1fr);
}

.fact-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.fact-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.fact-icon {
    font-size: 2.25rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.fact-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--bg-white);
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fact-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ==========================================================================
   SERVICES GRID (HOMEPAGE)
   ========================================================================== */
.service-home-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    background-color: var(--bg-navy-light);
}

.service-home-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(0.7);
}

.service-home-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.4);
}

.service-home-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg, rgba(5, 25, 45, 0.95) 0%, rgba(5, 25, 45, 0.4) 60%, transparent 100%);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.service-home-title {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.service-home-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-home-card:hover .service-home-desc {
    max-height: 100px;
    opacity: 1;
}

.service-home-btn {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background-color: var(--primary);
    color: var(--bg-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.service-home-card:hover .service-home-btn {
    background-color: var(--accent);
    color: var(--primary-dark);
}

/* ==========================================================================
   WHY CHOOSE US & WORKFLOWS
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.why-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: var(--radius-md);
    background-color: rgba(30, 41, 59, 0.06);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.why-card:hover .why-icon {
    background-color: var(--primary);
    color: var(--bg-white);
}

.why-content h4 {
    margin-bottom: 8px;
}

.why-content p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.why-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   CLIENTELE & PARTNERS
   ========================================================================== */
.logos-container {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
}

.logo-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #cbd5e1;
    border-radius: var(--radius-md);
    height: 105px;
    width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-item img {
    max-height: 65px;
    max-width: 100%;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.25), 0 0 15px rgba(245, 158, 11, 0.2);
}

.logo-item:hover img {
    transform: scale(1.08);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   TESTIMONIALS CAROUSEL
   ========================================================================== */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 320px;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    text-align: center;
    padding: 30px;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.testimonial-author-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-arrow {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.testimonial-arrow:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: var(--bg-navy);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    font-size: 0.925rem;
    border-top: 4px solid var(--accent);
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
}

.footer-logo img {
    height: 70px;
    width: auto;
    margin-bottom: 20px;
}

.footer-widget h4 {
    color: var(--bg-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ==========================================================================
   PAGE SPECIFIC BANNER & DECORATIVE BACKGROUNDS
   ========================================================================== */
.page-header {
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    position: relative;
    color: var(--bg-white);
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.85) 100%);
    z-index: 1;
}

.page-header-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   PAGE: ABOUT DETAIL COMPLIANCE
   ========================================================================== */
.about-full-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.desk-block {
    background-color: var(--bg-cream);
    border: 1px dashed var(--accent-light);
    border-radius: var(--radius-md);
    padding: 40px;
    margin-top: 40px;
    display: flex;
    gap: 30px;
}

.desk-img img {
    border-radius: var(--radius-full);
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.desk-content h4 {
    margin-bottom: 5px;
}

.desk-content .designation {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.desk-content blockquote {
    font-style: italic;
    color: var(--text-muted);
}

.cert-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-smooth);
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.cert-card h4 {
    margin-bottom: 10px;
}

.cert-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PAGE: SERVICES TABS & SPECIFICS
   ========================================================================== */
.services-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(30, 41, 59, 0.04);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.6s var(--transition-smooth);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-detail-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-detail-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-detail-card:hover .service-detail-img img {
    transform: scale(1.05);
}

.service-detail-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.service-detail-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-detail-body h3 {
    margin-bottom: 12px;
}

.service-detail-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-features-list {
    margin-bottom: 25px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.service-features-list i {
    color: var(--success);
}

/* ==========================================================================
   PAGE: CLIENTELE & FILTERABLE GALLERY
   ========================================================================== */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 280px;
    position: relative;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
    visibility: visible;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card-overlay h4 {
    color: var(--bg-white);
    margin-bottom: 5px;
}

.gallery-card-overlay p {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* ==========================================================================
   PAGE: CAREERS & FORMS
   ========================================================================== */
.career-split {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-box {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-box h3 {
    margin-bottom: 12px;
}

.form-box .desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* File upload styling */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    background-color: var(--bg-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background-color: rgba(30, 41, 59, 0.03);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.file-upload-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PAGE: CONTACT & MAP
   ========================================================================== */
.contact-split {
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--bg-light);
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    transition: var(--transition-smooth);
    width: 100%;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
    border-color: var(--accent);
}

.contact-info-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: var(--radius-full);
    background-color: var(--primary-dark);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.contact-info-content {
    width: 100%;
}

.contact-info-content h4 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    color: var(--primary-dark);
}

.contact-info-content p, .contact-info-content a {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-info-content a:hover {
    color: var(--primary-light);
}

.map-container {
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    padding: 30px;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--accent-dark);
    margin-bottom: 15px;
}

/* Form Success & Error Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background-color: rgba(239, 68, 110, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 110, 0.2);
}

/* ==========================================================================
   RESPONSIVE STYLING ADJUSTMENTS
   ========================================================================== */
@media (max-width: 1199px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 3.2rem; }
}

@media (max-width: 991px) {
    .section {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    
    .about-brief-wrap {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-img-showcase {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .experience-badge {
        left: -15px;
        top: -15px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .contact-split, .career-split, .about-full-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container {
        height: 350px;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2.15rem; }
    h2 { font-size: 1.85rem; }
    .hero-title { font-size: 2.5rem; }
    
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    
    .about-bullets {
        grid-template-columns: 1fr;
    }
    
    .about-img-small {
        display: none;
    }
    
    .facts-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .services-tabs-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 575px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .facts-row { grid-template-columns: 1fr; }
    
    .hero-controls {
        right: 20px;
        bottom: 20px;
    }
    
    .hero-indicators {
        left: 20px;
        bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .form-box {
        padding: 24px;
    }
}

/* ==========================================================================
   KORDE GROUP - ENHANCED HOVER ANIMATIONS & SPECIAL WIDGETS
   ========================================================================== */

/* 1. Language Radio Button Switcher Bar */
.lang-switcher-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    color: #ffffff;
    user-select: none;
    transition: var(--transition-fast);
}

.lang-switcher-wrap:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.lang-switcher-label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
}

.lang-option {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
    padding: 2px 8px;
    border-radius: 12px;
}

.lang-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.lang-option input[type="radio"]:checked {
    border-color: var(--accent);
    background-color: var(--accent);
    box-shadow: 0 0 8px rgba(250, 168, 49, 0.8);
}

.lang-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
}

.lang-option:hover {
    color: var(--accent-light);
}

/* 2. Interactive Micro-Animations & Cursor Hover Effects */
.service-card, .feature-card, .why-item, .fact-item, .contact-card, .team-card, .info-box {
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.35s ease !important;
}

.service-card:hover, .feature-card:hover, .why-item:hover, .contact-card:hover, .team-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.15) !important;
    border-color: var(--primary-light) !important;
}

/* Icon rotation & bounce on hover */
.service-card:hover .service-icon, .feature-card:hover .feature-icon, .contact-card:hover .card-icon {
    transform: scale(1.15) rotate(6deg);
    color: var(--accent) !important;
    transition: var(--transition-smooth);
}

/* Button Shimmer & Hover Elevation */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

/* Navigation Links Glow Hover */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
    width: 80%;
}

/* 3. Floating Client Logos Window Button & Modal Box */
/* 3. Floating Client Logos Window Button & Modal Box - COLORFUL DESIGN */
#floating-logo-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 40%, #8b5cf6 75%, #ec4899 100%);
    background-size: 200% 200%;
    color: #ffffff;
    padding: 13px 24px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.45);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.95rem;
    border: 2px solid #ffffff;
    animation: floatingPulse 2.5s infinite ease-in-out, gradientShift 4s ease infinite;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#floating-logo-btn:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 16px 36px rgba(236, 72, 153, 0.55), 0 0 25px rgba(59, 130, 246, 0.6);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatingPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(14, 165, 233, 0.45), 0 0 0 0 rgba(245, 158, 11, 0.6);
    }
    50% {
        box-shadow: 0 14px 35px rgba(236, 72, 153, 0.6), 0 0 0 14px rgba(245, 158, 11, 0);
    }
}

/* Floating Modal Backdrop & Dialog */
.floating-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.floating-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.floating-modal-dialog {
    background: linear-gradient(145deg, #ffffff 0%, #f0f4f8 100%);
    width: 92%;
    max-width: 960px;
    max-height: 88vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(14, 165, 233, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(14, 165, 233, 0.3);
    transform: scale(0.85);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-modal-backdrop.active .floating-modal-dialog {
    transform: scale(1);
}

.floating-modal-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 40%, #a855f7 75%, #ec4899 100%);
    color: #ffffff;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.floating-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #10b981, #3b82f6, #ec4899);
}

.floating-modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.02em;
}

.floating-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.floating-modal-close:hover {
    background: #ef4444;
    border-color: #ffffff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

.floating-modal-body {
    padding: 30px;
    overflow-y: auto;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.logo-grid-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.logo-card-item {
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 115px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Colorful Card Variations */
.logo-card-item:nth-child(8n+1) {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    border: 2px solid #60a5fa;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}
.logo-card-item:nth-child(8n+2) {
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
    border: 2px solid #fb923c;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.15);
}
.logo-card-item:nth-child(8n+3) {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 2px solid #34d399;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}
.logo-card-item:nth-child(8n+4) {
    background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
    border: 2px solid #c084fc;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.15);
}
.logo-card-item:nth-child(8n+5) {
    background: linear-gradient(135deg, #ffffff 0%, #ecfeff 100%);
    border: 2px solid #22d3ee;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.15);
}
.logo-card-item:nth-child(8n+6) {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
    border: 2px solid #f43f5e;
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.15);
}
.logo-card-item:nth-child(8n+7) {
    background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
    border: 2px solid #facc15;
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.15);
}
.logo-card-item:nth-child(8n+8) {
    background: linear-gradient(135deg, #ffffff 0%, #eeedfe 100%);
    border: 2px solid #818cf8;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

.logo-card-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 32px rgba(14, 165, 233, 0.25), 0 0 20px rgba(236, 72, 153, 0.2);
}

.logo-card-item img {
    max-height: 85px;
    max-width: 100%;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    transition: transform 0.3s ease;
}

.logo-card-item:hover img {
    transform: scale(1.08);
}

.logo-card-item:hover img {
    filter: grayscale(0%);
}

@media (max-width: 767px) {
    .logo-grid-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    #floating-logo-btn {
        bottom: 20px;
        left: 15px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   LIGHT / DARK THEME TOGGLE BUTTON & DARK MODE COMPONENT OVERRIDES
   ========================================================================== */

/* Theme Toggle Button Styling */
.theme-toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
    outline: none;
}

.theme-toggle-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
}

.theme-toggle-pill.dark-active {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent-light);
    font-weight: 700;
}

/* Dark Theme Overrides */
[data-theme="dark"] body {
    background-color: #0f172a;
    color: #f8fafc;
}

[data-theme="dark"] .main-header {
    background-color: rgba(15, 23, 42, 0.96);
    border-bottom-color: #334155;
}

[data-theme="dark"] .logo span {
    color: #ffffff !important;
}

[data-theme="dark"] .nav-link {
    color: #f8fafc;
}

[data-theme="dark"] .dropdown {
    background-color: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

[data-theme="dark"] .dropdown-link {
    color: #cbd5e1;
}

[data-theme="dark"] .dropdown-link:hover {
    background-color: #334155;
    color: var(--accent);
}

[data-theme="dark"] .form-box,
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .advantage-card,
[data-theme="dark"] .process-step,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .desk-block,
[data-theme="dark"] .floating-modal-dialog,
[data-theme="dark"] .table-responsive,
[data-theme="dark"] .why-card,
[data-theme="dark"] .feature-card {
    background-color: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

[data-theme="dark"] .form-control {
    background-color: #0f172a;
    color: #f8fafc;
    border-color: #334155;
}

[data-theme="dark"] .form-control:focus {
    border-color: var(--accent);
}

[data-theme="dark"] .custom-table th {
    background-color: #0f172a;
    color: #ffffff;
    border-bottom-color: #334155;
}

[data-theme="dark"] .custom-table td {
    border-bottom-color: #334155;
    color: #cbd5e1;
}

[data-theme="dark"] .custom-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

