/* UNITECH MAINTENANCE - PREMIUM VISUAL REFINEMENT
   STRICT CONTENT PRESERVATION MODE
*/

:root {
    --primary: #0056b3;
    --primary-dark: #003d80;
    --accent: #ffc107;
    --accent-dark: #eab308;
    --midnight: #020814;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-100: #f1f5f9;
    --text-main: #1a1a1a;
    --text-muted: #4b5563;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- FIX FOR MOBILE SLIDING --- */
html, body {
    overflow-x: hidden; /* This prevents the left/right sliding */
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography Polish --- */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.025em;
    font-weight: 800;
    line-height: 1.2;
}

.display-3, .display-4 {
    letter-spacing: -0.04em;
    font-weight: 900;
}

.lead {
    font-weight: 400;
    line-height: 1.8;
}

.fw-800 { font-weight: 800 !important; }
.fw-600 { font-weight: 600 !important; }

/* --- Navigation & Top Bar --- */
.top-bar {
    background-color: var(--midnight);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar {
    transition: var(--transition);
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--slate-800) !important;
    padding: 0.5rem 1.25rem !important;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* --- Hero Section - Elevated --- */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(2, 8, 20, 0.85), rgba(2, 8, 20, 0.85)), 
                url(assets/images/lomba.webp);
    background-size: cover;
    background-position: center;
    border-bottom: 8px solid var(--primary);
}

.badge-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    color: white;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

/* --- UI Elements - Modernized --- */
section {
    padding: 120px 0;
}

.accent-line {
    width: 60px;
    height: 6px;
    background: linear-gradient(to right, var(--primary), #3b82f6);
    border-radius: 50px;
}

.service-card {
    border: 1px solid rgba(0,0,0,0.04) !important;
    border-radius: 24px !important;
    background: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    padding: 2.5rem !important;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(0, 86, 179, 0.1) !important;
}

.service-card .icon-box {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 10px 8px rgba(0,0,0,0.05));
}

.brand-box {
    border: 1px solid #f1f5f9;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.brand-box:hover {
    border-color: var(--primary);
    transform: scale(1.06) translateY(-5px);
    box-shadow: var(--shadow-md);
}

.grayscale-hover {
    filter: grayscale(100%) contrast(0.8) opacity(0.5);
    transition: var(--transition);
}

.grayscale-hover:hover {
    filter: grayscale(0%) contrast(1) opacity(1);
}

/* --- Buttons - 'Expensive' Look --- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
    border: none;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 10px 25px -5px rgba(0, 86, 179, 0.4);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(0, 86, 179, 0.5);
    color: white;
}

.btn-warning {
    background: var(--accent);
    border: none;
    padding: 1.15rem 2.5rem;
    font-weight: 800;
    border-radius: 100px;
    box-shadow: 0 10px 25px -5px rgba(255, 193, 7, 0.35);
    transition: var(--transition);
    color: var(--midnight) !important;
    font-size: 1rem;
}

.btn-warning:hover {
    background: var(--accent-dark);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px -5px rgba(255, 193, 7, 0.5);
}

/* --- Process Steps --- */
.process-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border: 2px solid var(--slate-100);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-md-3:hover .process-number {
    transform: rotate(10deg) scale(1.1);
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* --- Alert / Disclaimer Polish --- */
.alert-warning {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 8px solid var(--accent);
    padding: 2.5rem !important;
    border-radius: 24px;
}

/* --- Form Fields --- */
.form-control, .form-select {
    border: 2px solid var(--slate-100);
    padding: 1rem 1.25rem;
    border-radius: 16px;
    transition: var(--transition);
    background-color: #fafbfc;
}

.form-control:focus, .form-select:focus {
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

/* --- Footer --- */
.footer {
    background-color: var(--midnight);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer h2, .footer h5 {
    color: var(--white);
    font-weight: 800;
    margin-bottom: 2rem;
}

.footer-links li a {
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.footer-links li a:hover {
    color: var(--white);
    transform: translateX(8px);
}

/* --- Accessibility Focus --- */
.focus-ring:focus-visible {
    outline: 3px solid var(--primary) !important;
    outline-offset: 4px;
    box-shadow: 0 0 0 8px rgba(0, 86, 179, 0.2) !important;
}

/* --- Animations --- */
.animate-up {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Polish --- */
/* --- Mobile Polish --- */
@media (max-width: 991.98px) {
    section { padding: 80px 0; }
    
    .navbar-collapse {
        background: var(--white);
        margin-top: 1rem;
        padding: 2rem;
        border-radius: 24px;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--slate-100);
    }

    /* Add this to prevent huge text breaking layout */
    .display-3 {
        font-size: 2.5rem; 
        word-wrap: break-word;
    }
}

/* Add this inside your <style> tags */
.brand-card-link:hover .brand-img-icon2 {
    opacity: 1 !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}



