/* ============================================
   Tirupati Cement Products - Main Stylesheet
   Theme: White + Orange Accents + Soft Gradients
   Brand Colors: Orange #322787, Black #1A1A1A
   Font: Lexend
   ============================================ */

:root {
    --qg-orange: #322787;
    --qg-orange-dark: #241b62;
    --qg-orange-light: #ECEAF7;
    --qg-orange-glow: rgba(50,39,135, 0.08);
    --qg-black: #1A1A1A;
    --qg-dark: #222222;
    --qg-gray-900: #212529;
    --qg-gray-700: #495057;
    --qg-gray-500: #6c757d;
    --qg-gray-300: #e2e6ea;
    --qg-gray-200: #edf0f4;
    --qg-gray-100: #f7f8fa;
    --qg-white: #ffffff;
    --qg-gradient: linear-gradient(135deg, #322787 0%, #5247A8 100%);
    --qg-gradient-soft: linear-gradient(135deg, #F5F3FB 0%, #ECEAF7 50%, #F7F8FA 100%);
    --qg-gradient-hero: linear-gradient(135deg, #F5F3FB 0%, #FFFFFF 40%, #F0F4FF 100%);
    --qg-gradient-section: linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 100%);
    --qg-shadow: 0 4px 30px rgba(0,0,0,0.06);
    --qg-shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --qg-shadow-orange: 0 8px 30px rgba(50,39,135,0.15);
    --qg-radius: 12px;
    --qg-radius-lg: 20px;
    --qg-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Semantic colours — warm family to sit alongside orange */
    --qg-success: #10B981;
    --qg-success-bg: #D1FAE5;
    --qg-success-text: #065F46;
    --qg-danger: #EF4444;
    --qg-danger-bg: #FEE2E2;
    --qg-danger-text: #991B1B;
    --qg-warning: #F59E0B;
    --qg-warning-bg: #FEF3C7;
    --qg-warning-text: #92400E;
    --qg-info: #3B82F6;
    --qg-info-bg: #DBEAFE;
    --qg-info-text: #1E3A8A;

    /* Monospace stack for code, slugs, keyboard hints */
    --qg-font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

code, kbd, pre, samp { font-family: var(--qg-font-mono); }

body {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--qg-gray-700);
    background: var(--qg-white);
    overflow-x: hidden;
}

a { color: var(--qg-orange); text-decoration: none; transition: var(--qg-transition); }
a:hover { color: var(--qg-orange-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    color: var(--qg-black);
    line-height: 1.3;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

img { max-width: 100%; height: auto; }
section { padding: 80px 0; }

/* ---- PRELOADER ---- */
#qg-preloader { position: fixed; inset: 0; background: #1A1A1A; z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity 0.6s, visibility 0.6s; }
#qg-preloader.loaded { opacity: 0; visibility: hidden; }
.qg-preloader-inner { text-align: center; }
.qg-pl-logo { font-size: 42px; font-weight: 800; color: #fff; letter-spacing: -1px; animation: qgPlFadeIn 0.6s ease both; }
.qg-pl-q { color: #322787; display: inline-block; animation: qgPlGlow 2s ease-in-out infinite; }
.qg-pl-tagline { font-size: 11px; color: #555; letter-spacing: 6px; text-transform: uppercase; margin-top: 10px; animation: qgPlFadeIn 0.6s 0.2s ease both; opacity: 0; }
.qg-pl-line { width: 40px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; margin: 18px auto 0; overflow: hidden; animation: qgPlFadeIn 0.6s 0.3s ease both; opacity: 0; }
.qg-pl-line-fill { height: 100%; width: 30%; background: #322787; border-radius: 2px; animation: qgPlSlide 1.2s ease-in-out infinite; }
@keyframes qgPlGlow { 0%,100%{text-shadow:0 0 20px rgba(50,39,135,0.3)} 50%{text-shadow:0 0 40px rgba(50,39,135,0.7),0 0 80px rgba(50,39,135,0.2)} }
@keyframes qgPlSlide { 0%{transform:translateX(-100%)} 100%{transform:translateX(400%)} }
@keyframes qgPlFadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* ---- BUTTONS ---- */
.qg-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; font-family: 'Lexend', sans-serif;
    font-weight: 600; font-size: 15px; border-radius: 50px;
    border: 2px solid transparent; cursor: pointer;
    transition: var(--qg-transition); text-decoration: none;
    position: relative; overflow: hidden; z-index: 1;
}
.qg-btn::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    border-radius: inherit; transition: var(--qg-transition); transform: scaleX(0);
    transform-origin: right;
}
.qg-btn:hover::before { transform: scaleX(1); transform-origin: left; }

.qg-btn-primary {
    background: var(--qg-gradient); color: var(--qg-white); border-color: var(--qg-orange);
    box-shadow: var(--qg-shadow-orange);
}
.qg-btn-primary::before { background: var(--qg-orange-dark); }
.qg-btn-primary:hover { color: var(--qg-white); border-color: var(--qg-orange-dark); box-shadow: 0 12px 35px rgba(50,39,135,0.25); }

.qg-btn-outline {
    background: transparent; color: var(--qg-orange); border-color: var(--qg-orange);
}
.qg-btn-outline::before { background: var(--qg-orange); }
.qg-btn-outline:hover { color: var(--qg-white); }

.qg-btn-dark {
    background: var(--qg-black); color: var(--qg-white); border-color: var(--qg-black);
}
.qg-btn-dark::before { background: var(--qg-orange); }
.qg-btn-dark:hover { color: var(--qg-white); border-color: var(--qg-orange); }

.qg-btn-white {
    background: var(--qg-white); color: var(--qg-orange); border-color: var(--qg-white);
}
.qg-btn-white::before { background: var(--qg-orange); }
.qg-btn-white:hover { color: var(--qg-white); border-color: var(--qg-orange); }

.qg-btn-sm { padding: 10px 24px; font-size: 14px; }
.qg-btn-lg { padding: 18px 42px; font-size: 16px; }

/* ---- HEADER (Always Light) ---- */
.qg-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: var(--qg-transition);
    background: rgba(255,255,255,0.9); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.qg-header.scrolled {
    background: rgba(255,255,255,0.97);
    padding: 10px 0; box-shadow: 0 2px 30px rgba(0,0,0,0.06);
}
.qg-header-inner { display: flex; align-items: center; justify-content: space-between; }

.qg-logo img { height: 45px; transition: var(--qg-transition); }
.qg-logo .qg-logo-light { display: none; }
.qg-logo .qg-logo-dark { display: block; }

.qg-nav-list {
    display: flex; list-style: none; margin: 0; padding: 0; gap: 4px;
}
.qg-nav-list > li > a {
    padding: 10px 18px; color: var(--qg-gray-700); font-weight: 500;
    font-size: 15px; border-radius: 8px; transition: var(--qg-transition);
    display: flex; align-items: center; gap: 6px;
}
.qg-nav-list > li > a:hover { color: var(--qg-orange); background: var(--qg-orange-glow); }
.qg-nav-list > li > a .fa-chevron-down { font-size: 10px; }

/* Mega Menu */
.qg-dropdown { position: relative; }
/* ---- MEGA MENU (Colt-style) ---- */
.qg-mega-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(12px);
    background: var(--qg-white); border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(.16,1,.3,1);
    pointer-events: none; border: 1px solid var(--qg-gray-200); overflow: hidden;
}
.qg-dropdown:hover .qg-mega-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: all;
}

/* Services Mega - Split Layout */
.qg-mega-services { min-width: 820px; padding: 0; }
.qg-mega-split { display: flex; min-height: 380px; }

/* Left Panel */
.qg-mega-left {
    width: 260px; background: #f8f9fa; padding: 16px; flex-shrink: 0;
    border-right: 1px solid var(--qg-gray-200); display: flex; flex-direction: column; gap: 4px;
}
.qg-mega-cat {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    border-radius: 12px; text-decoration: none; color: var(--qg-black);
    transition: all 0.2s; cursor: pointer;
}
.qg-mega-cat:hover, .qg-mega-cat.active {
    background: var(--qg-white); box-shadow: 0 2px 12px rgba(0,0,0,0.06); color: var(--qg-black);
}
.qg-mega-cat-icon {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--qg-orange-light); color: var(--qg-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0; transition: all 0.2s;
}
.qg-mega-cat.active .qg-mega-cat-icon { background: var(--qg-orange); color: #fff; }
.qg-mega-cat-text strong { display: block; font-size: 14px; font-weight: 700; }
.qg-mega-cat-text span { display: block; font-size: 11px; color: var(--qg-gray-400); margin-top: 1px; line-height: 1.3; }

/* Right Panel */
.qg-mega-right { flex: 1; padding: 28px 32px; position: relative; }
.qg-mega-panel { display: none; }
.qg-mega-panel.active { display: block; animation: qgMegaFade 0.2s ease; }
@keyframes qgMegaFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.qg-mega-panel-head { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--qg-gray-400); margin-bottom: 8px; }
.qg-mega-panel-desc { font-size: 13px; color: var(--qg-gray-500); line-height: 1.6; margin-bottom: 20px; }
.qg-mega-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.qg-mega-svc {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border-radius: 8px; text-decoration: none; color: var(--qg-gray-700);
    font-size: 13.5px; font-weight: 500; transition: all 0.15s;
    background: var(--qg-gray-100); border: 1px solid transparent;
}
.qg-mega-svc:hover { background: var(--qg-orange-light); color: var(--qg-orange); border-color: rgba(50,39,135,0.15); }
.qg-mega-svc i { font-size: 9px; color: var(--qg-orange); }
.qg-mega-all {
    display: block; text-align: center; padding: 14px; margin-top: 16px;
    border: 1px solid var(--qg-gray-200); border-radius: 10px;
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--qg-gray-600); text-decoration: none; transition: all 0.2s;
}
.qg-mega-all:hover { border-color: var(--qg-orange); color: var(--qg-orange); background: var(--qg-orange-light); }

/* Portfolio Mega - Small */
.qg-mega-sm { min-width: 440px; padding: 20px; }
.qg-mega-pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qg-mega-card {
    display: flex; align-items: center; gap: 14px; padding: 20px;
    border-radius: 12px; text-decoration: none; color: var(--qg-black);
    border: 1px solid var(--qg-gray-200); transition: all 0.2s;
}
.qg-mega-card:hover { border-color: var(--qg-orange); box-shadow: 0 4px 16px rgba(50,39,135,0.08); transform: translateY(-2px); }
.qg-mega-card-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--qg-orange-light); color: var(--qg-orange);
    display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.qg-mega-card strong { display: block; font-size: 15px; font-weight: 700; }
.qg-mega-card span { display: block; font-size: 12px; color: var(--qg-gray-400); margin-top: 2px; }


/* Hamburger */
.qg-hamburger {
    display: none; background: none; border: none; padding: 8px; cursor: pointer;
    flex-direction: column; gap: 5px; z-index: 1001;
}
.qg-hamburger span {
    width: 28px; height: 2.5px; background: var(--qg-black); border-radius: 2px;
    transition: var(--qg-transition);
}

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

/* Mobile Menu */
.qg-mobile-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden; transition: var(--qg-transition);
}
.qg-mobile-overlay.open { opacity: 1; visibility: visible; }

.qg-mobile-menu {
    position: absolute; right: 0; top: 0; bottom: 0; width: 340px;
    background: var(--qg-white); padding: 30px; overflow-y: auto;
    transform: translateX(100%); transition: var(--qg-transition);
    display: flex; flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
.qg-mobile-overlay.open .qg-mobile-menu { transform: translateX(0); }

.qg-mobile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.qg-mobile-logo { height: 35px; }
.qg-mobile-close { background: none; border: none; color: var(--qg-gray-700); font-size: 22px; cursor: pointer; }

.qg-mobile-nav { list-style: none; padding: 0; margin: 0; flex: 1; }
.qg-mobile-nav > li { border-bottom: 1px solid var(--qg-gray-200); }
.qg-mobile-nav > li > a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; color: var(--qg-black); font-weight: 500; font-size: 16px;
}
.qg-mobile-nav > li > a:hover { color: var(--qg-orange); }
.qg-mob-toggle { cursor: pointer; transition: var(--qg-transition); font-size: 12px; color: var(--qg-gray-500); }
.qg-mob-sub { list-style: none; padding: 0 0 10px 16px; display: none; }
.qg-mob-sub li a { display: block; padding: 8px 0; color: var(--qg-gray-500); font-size: 14px; }
.qg-mob-sub li a:hover { color: var(--qg-orange); }

.qg-mobile-bottom { padding-top: 20px; border-top: 1px solid var(--qg-gray-200); }
.qg-mobile-cta { display: block; color: var(--qg-gray-700); font-size: 14px; padding: 6px 0; }
.qg-mobile-cta i { width: 20px; color: var(--qg-orange); }
.qg-mobile-social { display: flex; gap: 12px; margin-top: 16px; }
.qg-mobile-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--qg-gray-300); display: flex; align-items: center; justify-content: center; color: var(--qg-gray-700); font-size: 14px; }
.qg-mobile-social a:hover { background: var(--qg-orange); border-color: var(--qg-orange); color: var(--qg-white); }

/* ---- HERO / BANNER (Light Theme) ---- */
.qg-hero {
    min-height: 100vh; position: relative; display: flex; align-items: center;
    overflow: hidden;
    background: var(--qg-gradient-hero);
}
.qg-hero-bg {
    position: absolute; inset: 0; z-index: 1;
    background-size: cover; background-position: center;
}
.qg-hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,248,242,0.88) 50%, rgba(255,255,255,0.85) 100%);
}
.qg-hero-content { position: relative; z-index: 2; padding: 140px 0 100px; max-width: 800px; }
.qg-hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--qg-orange-light); color: var(--qg-orange);
    padding: 8px 20px; border-radius: 50px; font-size: 14px;
    font-weight: 600; margin-bottom: 24px;
    border: 1px solid rgba(50,39,135,0.15);
}
.qg-hero-title {
    font-size: 3.8rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px;
    letter-spacing: -1px;
}
.qg-hero-title span { color: var(--qg-orange); }
.qg-hero-desc {
    font-size: 18px; color: var(--qg-gray-500); margin-bottom: 36px; line-height: 1.7; max-width: 560px;
}
.qg-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero floating shapes (soft orange) */
.qg-hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.qg-hero-shape {
    position: absolute; border-radius: 50%;
    background: var(--qg-orange);
}
.qg-hero-shape-1 { width: 500px; height: 500px; top: -150px; right: -150px; opacity: 0.04; animation: qgFloat 8s ease-in-out infinite; }
.qg-hero-shape-2 { width: 300px; height: 300px; bottom: -80px; left: 5%; opacity: 0.03; animation: qgFloat 6s ease-in-out infinite reverse; }
.qg-hero-shape-3 { width: 200px; height: 200px; top: 30%; right: 15%; opacity: 0.05; animation: qgFloat 10s ease-in-out infinite; }

@keyframes qgFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* ==========================================================
   HERO ORBIT VARIANT
   ========================================================== */
.qg-hero-orbit { text-align: center; }
.qg-hero-orbit .qg-hero-content-orbit {
    padding: 160px 0 120px;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
}
.qg-hero-orbit .qg-hero-desc { margin-left: auto; margin-right: auto; }
.qg-hero-orbit .qg-hero-btns { justify-content: center; }

/* Soft dot-grid background */
.qg-hero-grid {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(26,26,26,0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26,26,26,0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 75%);
}

/* Orbit ring — rotates CW, icons counter-rotate CCW to stay upright */
.qg-hero-orbit-ring {
    position: absolute; top: 50%; left: 50%;
    width: 620px; height: 620px;
    margin: -310px 0 0 -310px;
    z-index: 2;
    animation: qgOrbitSpin 60s linear infinite;
    pointer-events: none;
}
.qg-hero-orbit-ring:hover,
.qg-hero-orbit-ring:focus-within { animation-play-state: paused; }
.qg-hero-orbit-ring:hover .qg-hero-orbit-item,
.qg-hero-orbit-ring:focus-within .qg-hero-orbit-item { animation-play-state: paused; }

.qg-hero-orbit-item {
    position: absolute;
    width: 68px; height: 68px;
    background: #fff;
    border: 1px solid var(--qg-gray-200);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--qg-orange);
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    animation: qgOrbitCounter 60s linear infinite;
    pointer-events: auto;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.qg-hero-orbit-item:hover {
    border-color: var(--qg-orange);
    box-shadow: 0 16px 40px rgba(50,39,135,0.2);
    color: var(--qg-orange);
}
.qg-hero-orbit-item.qg-hero-orbit-primary {
    background: var(--qg-orange);
    border-color: var(--qg-orange);
    color: #fff;
    box-shadow: 0 10px 30px rgba(50,39,135,0.25);
}
.qg-hero-orbit-item.qg-hero-orbit-primary:hover {
    box-shadow: 0 16px 44px rgba(50,39,135,0.35);
    color: #fff;
}
.qg-hero-orbit-n { top: -34px; left: 50%; margin-left: -34px; }
.qg-hero-orbit-e { top: 50%; right: -34px; margin-top: -34px; }
.qg-hero-orbit-s { bottom: -34px; left: 50%; margin-left: -34px; }
.qg-hero-orbit-w { top: 50%; left: -34px; margin-top: -34px; }

@keyframes qgOrbitSpin   { from { transform: rotate(0deg); }  to { transform: rotate(360deg); } }
@keyframes qgOrbitCounter{ from { transform: rotate(0deg); }  to { transform: rotate(-360deg); } }

/* Floating accent dots */
.qg-hero-dot {
    position: absolute; border-radius: 50%; z-index: 2;
    background: var(--qg-orange); pointer-events: none;
}
.qg-hero-dot-1 { width: 10px; height: 10px; top: 22%; left: 12%; opacity: 0.5; animation: qgFloatSm 4s ease-in-out infinite; }
.qg-hero-dot-2 { width: 8px; height: 8px;  top: 38%; right: 10%; opacity: 0.35; background: var(--qg-black); animation: qgFloatSm 5s ease-in-out infinite 0.5s; }
.qg-hero-dot-3 { width: 12px; height: 12px; bottom: 18%; left: 16%; opacity: 0.4; animation: qgFloatSm 6s ease-in-out infinite 1s; }
@keyframes qgFloatSm {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* Tablet — shrink orbit */
@media (max-width: 1199px) {
    .qg-hero-orbit-ring { width: 520px; height: 520px; margin: -260px 0 0 -260px; }
    .qg-hero-orbit .qg-hero-content-orbit { padding: 130px 0 100px; }
}

/* Mobile — orbit hidden, grid dimmed, content takes centre stage */
@media (max-width: 767px) {
    .qg-hero-orbit-ring { display: none; }
    .qg-hero-dot { display: none; }
    .qg-hero-grid { opacity: 0.5; }
    .qg-hero-orbit .qg-hero-content-orbit { padding: 110px 0 80px; }
    .qg-hero-orbit .qg-hero-title { font-size: 2.4rem; }
    .qg-hero-orbit .qg-hero-btns { justify-content: center; gap: 10px; }
}

/* Reduced-motion users — stop all rotation */
@media (prefers-reduced-motion: reduce) {
    .qg-hero-orbit-ring,
    .qg-hero-orbit-item,
    .qg-hero-dot { animation: none !important; }
}

/* ---- SECTION HEADERS ---- */
.qg-section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--qg-orange); font-weight: 600; font-size: 14px;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.qg-section-tag::before {
    content: ''; width: 30px; height: 2px; background: var(--qg-gradient);
}
.qg-section-title { margin-bottom: 16px; }
.qg-section-desc { color: var(--qg-gray-500); max-width: 600px; font-size: 16px; }
.qg-section-header { margin-bottom: 60px; }
.qg-section-header.text-center .qg-section-desc { margin: 0 auto; }

/* ---- SERVICE CARDS ---- */
.qg-service-card {
    background: var(--qg-white); border-radius: 16px; padding: 36px 30px;
    transition: all 0.35s cubic-bezier(.16,1,.3,1); border: 1px solid var(--qg-gray-200);
    height: 100%; position: relative; overflow: hidden;
}
.qg-service-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--qg-gradient); transform: scaleX(0); transition: transform 0.35s cubic-bezier(.16,1,.3,1);
    transform-origin: left;
}
.qg-service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); border-color: var(--qg-gray-200); }
.qg-service-card:hover::before { transform: scaleX(1); }
.qg-service-card:hover::before { transform: scaleX(1); }

.qg-service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--qg-orange-light); color: var(--qg-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 20px;
    transition: all 0.3s;
}
.qg-service-card:hover .qg-service-icon { background: var(--qg-orange); color: #fff; }
.qg-service-card:hover .qg-service-icon { background: var(--qg-gradient); color: var(--qg-white); box-shadow: var(--qg-shadow-orange); }
.qg-service-card h4 { font-size: 1.2rem; margin-bottom: 12px; }
.qg-service-card p { font-size: 14.5px; color: var(--qg-gray-500); margin-bottom: 20px; }
.qg-service-link { font-size: 14px; font-weight: 600; color: var(--qg-orange); display: inline-flex; align-items: center; gap: 6px; }
.qg-service-link i { transition: var(--qg-transition); }
.qg-service-link:hover i { transform: translateX(4px); }

/* ---- PORTFOLIO CARDS ---- */
.qg-portfolio-card {
    border-radius: var(--qg-radius-lg); overflow: hidden;
    position: relative; margin-bottom: 10px; cursor: pointer;
    transition: var(--qg-transition); box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.qg-portfolio-card img {
    width: 100%; height: 280px; object-fit: cover;
    transition: var(--qg-transition);
}
.qg-portfolio-card:hover img { transform: scale(1.05); }
.qg-portfolio-card:hover { box-shadow: var(--qg-shadow-lg); }
.qg-portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(17,17,17,0.85) 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px; transition: var(--qg-transition);
}
.qg-portfolio-overlay h5 { color: var(--qg-white); font-size: 1.1rem; margin-bottom: 4px; }
.qg-portfolio-overlay span { color: rgba(255,255,255,0.7); font-size: 13px; }
.qg-portfolio-btn {
    position: absolute; top: 20px; right: 20px; width: 44px; height: 44px;
    background: var(--qg-gradient); border-radius: 50%; display: flex;
    align-items: center; justify-content: center; color: var(--qg-white);
    font-size: 16px; opacity: 0; transform: translateY(10px);
    transition: var(--qg-transition); box-shadow: var(--qg-shadow-orange);
}
.qg-portfolio-card:hover .qg-portfolio-btn { opacity: 1; transform: translateY(0); }

/* ---- PORTFOLIO PAGE FILTER ---- */
.qg-filter-sidebar {
    background: var(--qg-white); border-radius: var(--qg-radius-lg);
    padding: 30px; border: 1px solid var(--qg-gray-200);
    position: sticky; top: 100px; box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}
.qg-filter-sidebar h5 { font-size: 1.1rem; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.qg-filter-sidebar h5 i { color: var(--qg-orange); }
.qg-filter-group { margin-bottom: 20px; }
.qg-filter-group label { font-size: 13px; font-weight: 600; color: var(--qg-gray-700); margin-bottom: 8px; display: block; }
.qg-filter-group label i { color: var(--qg-orange); }
.qg-filter-group select {
    width: 100%; padding: 10px 14px; border: 1px solid var(--qg-gray-200);
    border-radius: 8px; font-family: 'Lexend', sans-serif; font-size: 14px;
    color: var(--qg-gray-700); background: var(--qg-white); transition: var(--qg-transition);
    appearance: auto;
}
.qg-filter-group select:focus { border-color: var(--qg-orange); outline: none; box-shadow: 0 0 0 3px rgba(50,39,135,0.08); }
.qg-filter-btns { display: flex; gap: 10px; margin-top: 10px; }
.qg-filter-btns .btn-apply {
    flex: 1; padding: 10px; background: var(--qg-gradient); color: var(--qg-white);
    border: none; border-radius: 8px; font-family: 'Lexend', sans-serif;
    font-weight: 600; font-size: 14px; cursor: pointer; transition: var(--qg-transition);
}
.qg-filter-btns .btn-apply:hover { box-shadow: var(--qg-shadow-orange); }
.qg-filter-btns .btn-clear {
    flex: 1; padding: 10px; background: var(--qg-gray-100); color: var(--qg-gray-700);
    border: 1px solid var(--qg-gray-200); border-radius: 8px; font-family: 'Lexend', sans-serif;
    font-weight: 600; font-size: 14px; cursor: pointer; transition: var(--qg-transition);
}
.qg-filter-btns .btn-clear:hover { background: var(--qg-gray-200); }

/* Mobile Filter Button */
.qg-mobile-filter-btn {
    display: none; position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%; background: var(--qg-gradient);
    color: var(--qg-white); border: none; font-size: 20px; cursor: pointer;
    box-shadow: var(--qg-shadow-orange); transition: var(--qg-transition);
}
.qg-mobile-filter-btn:hover { transform: scale(1.1); }

/* ---- TESTIMONIALS ---- */
.qg-testimonial-card {
    background: var(--qg-white); border-radius: var(--qg-radius-lg); padding: 36px;
    border: 1px solid var(--qg-gray-200); transition: var(--qg-transition);
    height: 100%;
}
.qg-testimonial-card:hover { box-shadow: var(--qg-shadow); border-color: transparent; }
.qg-testimonial-quote { font-size: 40px; color: var(--qg-orange); line-height: 1; margin-bottom: 16px; opacity: 0.6; }
.qg-testimonial-text { font-size: 15px; color: var(--qg-gray-700); margin-bottom: 24px; font-style: italic; }
.qg-testimonial-author { display: flex; align-items: center; gap: 14px; }
.qg-testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.qg-testimonial-name { font-weight: 600; font-size: 15px; color: var(--qg-black); }
.qg-testimonial-role { font-size: 13px; color: var(--qg-gray-500); }
.qg-testimonial-stars { color: #FFB800; font-size: 13px; margin-bottom: 12px; }

/* ---- BLOG CARDS ---- */
.qg-blog-card {
    background: var(--qg-white); border-radius: var(--qg-radius-lg); overflow: hidden;
    border: 1px solid var(--qg-gray-200); transition: var(--qg-transition); height: 100%;
    display: flex; flex-direction: column;
}
.qg-blog-card:hover { box-shadow: var(--qg-shadow-lg); transform: translateY(-6px); border-color: transparent; }
.qg-blog-thumb { height: 220px; overflow: hidden; }
.qg-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--qg-transition); }
.qg-blog-card:hover .qg-blog-thumb img { transform: scale(1.06); }
.qg-blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.qg-blog-meta { display: flex; gap: 16px; font-size: 13px; color: var(--qg-gray-500); margin-bottom: 12px; }
.qg-blog-meta i { color: var(--qg-orange); }
.qg-blog-body h5 { font-size: 1.05rem; margin-bottom: 10px; }
.qg-blog-body h5 a { color: var(--qg-black); }
.qg-blog-body h5 a:hover { color: var(--qg-orange); }
.qg-blog-body p { font-size: 14px; color: var(--qg-gray-500); flex: 1; }
.qg-blog-link { font-size: 14px; font-weight: 600; color: var(--qg-orange); display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; }

/* ---- COUNTERS / ACHIEVEMENTS (Light Theme) ---- */
.qg-stats-section { background: var(--qg-white); padding: 80px 0 0; overflow: hidden; }
.qg-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 0 auto 40px; }
.qg-stat-item { text-align: left; padding: 0 30px; }
.qg-stat-num { font-size: 2.8rem; font-weight: 800; color: var(--qg-orange); line-height: 1; margin-bottom: 8px; letter-spacing: -1px; }
.qg-stat-label { font-size: 14px; font-weight: 600; color: var(--qg-black); line-height: 1.5; }
.qg-globe-outer { width: 100%; overflow: hidden; height: 280px; display: flex; justify-content: center; }
.qg-globe-sphere { width: 900px; height: 900px; flex-shrink: 0; border-radius: 50%; overflow: hidden; position: relative; background: #E8700F; }
.qg-globe-scroll { position: absolute; inset: 0; background-image: var(--qg-map-url); background-repeat: repeat-x; background-size: auto 100%; background-position: 0 center; animation: qgGlobeScroll 60s linear infinite; }
@keyframes qgGlobeScroll { from { background-position: 0 center; } to { background-position: -1800px center; } }
.qg-globe-shade { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(ellipse at 30% 25%, rgba(255,180,80,0.35) 0%, transparent 45%, rgba(0,0,0,0.3) 100%); }
@media (max-width: 1199px) { .qg-globe-sphere{width:800px;height:800px} .qg-globe-outer{height:260px} }
@media (max-width: 991px) { .qg-globe-sphere{width:700px;height:700px} .qg-globe-outer{height:220px} }
@media (max-width: 767px) { .qg-stats-grid{grid-template-columns:1fr 1fr;gap:30px 0} .qg-stat-num{font-size:2.2rem} .qg-globe-sphere{width:550px;height:550px} .qg-globe-outer{height:180px} }
@media (max-width: 575px) { .qg-stat-item{padding:0 16px} .qg-stat-num{font-size:1.8rem} .qg-globe-sphere{width:420px;height:420px} .qg-globe-outer{height:140px} }

/* ---- BREADCRUMB (Clean, no image) ---- */
.qg-breadcrumb {
    padding: 140px 0 50px;
    background: var(--qg-gradient-soft);
    border-bottom: 1px solid var(--qg-gray-200);
}
.qg-breadcrumb-content { text-align: center; }
.qg-breadcrumb-content h1 { color: var(--qg-black); font-size: 2.4rem; margin-bottom: 12px; }
.qg-breadcrumb-content nav { font-size: 14px; }
.qg-breadcrumb-content nav a { color: var(--qg-gray-500); }
.qg-breadcrumb-content nav a:hover { color: var(--qg-orange); }
.qg-bc-sep { margin: 0 10px; color: var(--qg-gray-300); font-size: 10px; }
.qg-bc-active { color: var(--qg-orange); font-weight: 500; }

/* ---- CONSULTANCY CTA SECTION ---- */
.qg-consult-section {
    background: var(--qg-gradient-soft); padding: 100px 0;
    position: relative; overflow: hidden;
}
.qg-consult-section::before {
    content: ''; position: absolute; top: -100px; right: -100px;
    width: 350px; height: 350px; border-radius: 50%;
    background: rgba(50,39,135,0.06);
}
.qg-consult-section::after {
    content: ''; position: absolute; bottom: -80px; left: -80px;
    width: 250px; height: 250px; border-radius: 50%;
    background: rgba(50,39,135,0.04);
}
.qg-consult-content { max-width: 600px; }
.qg-consult-content h2 { font-size: 2.2rem; margin-bottom: 16px; }
.qg-consult-content p { font-size: 17px; color: var(--qg-gray-700); margin-bottom: 30px; line-height: 1.8; }

/* ---- ABOUT PAGE ---- */
.qg-about-img-wrap { position: relative; }
.qg-about-img-wrap img { border-radius: var(--qg-radius-lg); }
.qg-about-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--qg-gradient); color: var(--qg-white);
    padding: 20px 28px; border-radius: var(--qg-radius); text-align: center;
    box-shadow: var(--qg-shadow-orange);
}
.qg-about-badge strong { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; }
.qg-about-badge span { font-size: 13px; font-weight: 500; }

/* ---- CLIENT LOGOS (Grid, Square) ---- */
.qg-client-box {
    aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 16px 12px; background: var(--qg-white); border: 1px solid var(--qg-gray-200);
    border-radius: var(--qg-radius); transition: var(--qg-transition);
    }
.qg-client-box:hover { box-shadow: var(--qg-shadow); border-color: transparent; }
.qg-client-box img { max-width: 70%; max-height: 60%; object-fit: contain; }
.qg-client-name {
    display: block; font-size: 11px; font-weight: 500; color: var(--qg-gray-500);
    text-align: center; margin-top: 8px; line-height: 1.3;
    white-space: normal; word-wrap: break-word; width: 100%;
}
.qg-client-box:hover .qg-client-name { color: var(--qg-orange); }

/* ---- CAREER CARDS ---- */
.qg-career-card {
    background: var(--qg-white); border-radius: var(--qg-radius-lg); padding: 30px;
    border: 1px solid var(--qg-gray-200); transition: var(--qg-transition);
}
.qg-career-card:hover { box-shadow: var(--qg-shadow); border-color: transparent; }
.qg-career-card h5 { margin-bottom: 12px; }
.qg-career-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.qg-career-meta span { font-size: 13.5px; color: var(--qg-gray-500); display: flex; align-items: center; gap: 6px; }
.qg-career-meta span i { color: var(--qg-orange); }

/* ---- CONTACT PAGE ---- */
.qg-contact-info-card {
    background: var(--qg-white); border-radius: var(--qg-radius-lg); padding: 36px;
    border: 1px solid var(--qg-gray-200); height: 100%; text-align: center;
    transition: var(--qg-transition);
}
.qg-contact-info-card:hover { box-shadow: var(--qg-shadow); border-color: transparent; transform: translateY(-4px); }
.qg-contact-info-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--qg-orange-light); color: var(--qg-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin: 0 auto 16px;
}
.qg-contact-info-card h5 { font-size: 1rem; margin-bottom: 8px; }
.qg-contact-info-card p { font-size: 14px; color: var(--qg-gray-500); margin: 0; }
.qg-contact-info-card a { color: var(--qg-gray-700); }
.qg-contact-info-card a:hover { color: var(--qg-orange); }

/* Contact Form */
.qg-form-card {
    background: var(--qg-white); border-radius: var(--qg-radius-lg);
    padding: 40px; border: 1px solid var(--qg-gray-200);
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}
.qg-form-field { margin-bottom: 20px; }
.qg-form-field label { font-size: 13px; font-weight: 600; color: var(--qg-gray-700); margin-bottom: 6px; display: block; }
.qg-form-field input,
.qg-form-field select,
.qg-form-field textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--qg-gray-200);
    border-radius: 10px; font-family: 'Lexend', sans-serif; font-size: 14px;
    color: var(--qg-gray-700); transition: var(--qg-transition); background: var(--qg-gray-100);
}
.qg-form-field input:focus,
.qg-form-field select:focus,
.qg-form-field textarea:focus { border-color: var(--qg-orange); outline: none; box-shadow: 0 0 0 3px rgba(50,39,135,0.08); background: var(--qg-white); }
.qg-form-field textarea { resize: vertical; min-height: 130px; }

/* ---- FOOTER (Light Theme) ---- */
.qg-footer-cta {
    background: var(--qg-gradient); padding: 60px 0;
}
.qg-footer-cta-inner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.qg-footer-cta-text h3 { color: var(--qg-white); font-size: 1.8rem; margin-bottom: 6px; }
.qg-footer-cta-text p { color: rgba(255,255,255,0.85); margin: 0; font-size: 16px; }

.qg-footer-main {
    background: var(--qg-gray-100);
    padding: 70px 0 40px;
    border-top: 1px solid var(--qg-gray-200);
}
.qg-footer-logo { display: inline-block; margin-bottom: 20px; }
.qg-footer-logo img { height: 40px; }
.qg-footer-about { font-size: 14px; color: var(--qg-gray-500); line-height: 1.8; margin-bottom: 20px; }
.qg-footer-social { display: flex; gap: 10px; }
.qg-footer-social a {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--qg-gray-300);
    display: flex; align-items: center; justify-content: center;
    color: var(--qg-gray-700); font-size: 14px; transition: var(--qg-transition);
}
.qg-footer-social a:hover { background: var(--qg-orange); border-color: var(--qg-orange); color: var(--qg-white); }

.qg-footer-widget h5 { color: var(--qg-black); font-size: 1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.qg-footer-widget h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--qg-gradient); }
.qg-footer-widget ul { list-style: none; padding: 0; margin: 0; }
.qg-footer-widget ul li { margin-bottom: 8px; }
.qg-footer-widget ul li a { color: var(--qg-gray-500); font-size: 14px; transition: var(--qg-transition); }
.qg-footer-widget ul li a:hover { color: var(--qg-orange); padding-left: 4px; }

.qg-footer-contact p { font-size: 14px; color: var(--qg-gray-500); margin-bottom: 8px; display: flex; align-items: flex-start; gap: 10px; }
.qg-footer-contact p i { color: var(--qg-orange); margin-top: 4px; width: 16px; flex-shrink: 0; }
.qg-footer-contact a { color: var(--qg-gray-500); }
.qg-footer-contact a:hover { color: var(--qg-orange); }

.qg-footer-form input {
    width: 100%; padding: 12px 14px; background: var(--qg-white);
    border: 1px solid var(--qg-gray-300); border-radius: 8px;
    color: var(--qg-black); font-family: 'Lexend', sans-serif; font-size: 14px;
    margin-bottom: 12px; transition: var(--qg-transition);
}
.qg-footer-form input::placeholder { color: var(--qg-gray-500); }
.qg-footer-form input:focus { border-color: var(--qg-orange); outline: none; box-shadow: 0 0 0 3px rgba(50,39,135,0.08); }

.qg-ff-success { text-align: center; padding: 20px 0; }
.qg-ff-success i { font-size: 30px; color: var(--qg-orange); display: block; margin-bottom: 8px; }
.qg-ff-success p { color: var(--qg-gray-500); font-size: 14px; margin: 0; }

.qg-footer-bottom {
    background: var(--qg-white);
    border-top: 1px solid var(--qg-gray-200);
    padding: 20px 0;
}
.qg-footer-bottom-inner { text-align: center; }
.qg-footer-bottom p { color: var(--qg-gray-500); font-size: 13px; margin: 0; }

/* ---- BACK TO TOP ---- */
.qg-back-top {
    position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
    border-radius: 50%; background: var(--qg-gradient); color: var(--qg-white);
    border: none; font-size: 18px; cursor: pointer; z-index: 999;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: var(--qg-transition); box-shadow: var(--qg-shadow-orange);
}
.qg-back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.qg-back-top:hover { transform: translateY(-4px); }

/* ---- WHATSAPP FLOAT ---- */
.qg-whatsapp-float {
    position: fixed; bottom: 30px; left: 30px; width: 56px; height: 56px;
    background: #25D366; color: var(--qg-white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; z-index: 999; box-shadow: 0 4px 15px rgba(37,211,102,0.3);
    transition: var(--qg-transition);
}
.qg-whatsapp-float:hover { transform: scale(1.1); color: var(--qg-white); }

/* ---- LIGHT SECTION VARIANTS ---- */
.qg-bg-light { background: var(--qg-gray-100); }
.qg-bg-gradient { background: var(--qg-gradient-soft); }
.qg-dark-section { background: var(--qg-gray-100); }
.qg-dark-section .qg-section-title { color: var(--qg-black); }
.qg-dark-section .qg-section-desc { color: var(--qg-gray-500); }

/* ---- NO RESULTS ---- */
.qg-no-results { text-align: center; padding: 60px 20px; color: var(--qg-gray-500); }
.qg-no-results i { font-size: 48px; color: var(--qg-gray-300); margin-bottom: 16px; display: block; }
.qg-no-results h4 { color: var(--qg-gray-700); margin-bottom: 8px; }

/* ---- 404 ---- */
.qg-404 { text-align: center; padding: 150px 0; }
.qg-404 h1 { font-size: 8rem; background: var(--qg-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.qg-404 h3 { margin-bottom: 16px; }

/* ---- THANK YOU ---- */
.qg-thankyou { text-align: center; padding: 150px 0; }
.qg-thankyou i { font-size: 60px; color: var(--qg-orange); margin-bottom: 20px; }

/* ---- UTILITY ---- */
.qg-text-orange { color: var(--qg-orange); }
.qg-mb-0 { margin-bottom: 0; }

/* ---- SUB-SERVICE POINTERS ---- */
.qg-sub-service-list {
    list-style: none; padding: 0; margin: 0 0 20px 0;
}
.qg-sub-service-list li {
    position: relative; padding: 5px 0 5px 20px;
    font-size: 13.5px; color: var(--qg-gray-500); line-height: 1.6;
}
.qg-sub-service-list li a {
    color: var(--qg-gray-500); text-decoration: none; transition: var(--qg-transition);
}
.qg-sub-service-list li a:hover { color: var(--qg-orange); padding-left: 4px; }
.qg-sub-service-list li::before {
    content: ''; position: absolute; left: 0; top: 13px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--qg-orange-light); border: 2px solid var(--qg-orange);
}
.qg-service-card:hover .qg-sub-service-list li::before {
    background: var(--qg-orange);
}

/* ---- HEADER RIGHT ALIGNED ---- */
.qg-header-right {
    display: flex; align-items: center; gap: 8px;
}

/* Active nav state */
.qg-nav-list > li > a.qg-active {
    color: var(--qg-orange) !important;
    background: var(--qg-orange-glow);
}
.qg-mobile-nav > li > a.qg-active { color: var(--qg-orange) !important; }

/* Search Button */
.qg-search-btn {
    background: none; border: none; color: var(--qg-gray-700); font-size: 16px;
    cursor: pointer; padding: 8px 12px; transition: var(--qg-transition);
}
.qg-search-btn:hover { color: var(--qg-orange); }

/* Search Overlay */
.qg-search-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.qg-search-overlay.open { opacity: 1; visibility: visible; }
.qg-search-inner { text-align: center; width: 100%; max-width: 600px; padding: 20px; }
.qg-search-inner h3 { color: var(--qg-black); margin-bottom: 30px; font-size: 1.6rem; }
.qg-search-form {
    display: flex; border: 2px solid var(--qg-gray-300); border-radius: 50px;
    overflow: hidden; transition: var(--qg-transition);
}
.qg-search-form:focus-within { border-color: var(--qg-orange); box-shadow: 0 0 0 4px rgba(50,39,135,0.08); }
.qg-search-form input {
    flex: 1; padding: 16px 24px; border: none; font-family: 'Lexend', sans-serif;
    font-size: 16px; outline: none; background: transparent; color: var(--qg-black);
}
.qg-search-form button {
    padding: 16px 24px; background: var(--qg-gradient); border: none;
    color: var(--qg-white); font-size: 18px; cursor: pointer;
}
.qg-search-close {
    position: absolute; top: 30px; right: 30px; background: none; border: none;
    font-size: 28px; color: var(--qg-gray-500); cursor: pointer;
}
.qg-search-close:hover { color: var(--qg-black); }

/* ---- FOOTER SOCIAL ROW ---- */
.qg-footer-social-row {
    display: flex; justify-content: center; gap: 12px;
    padding-top: 30px; margin-top: 10px;
    border-top: 1px solid var(--qg-gray-200);
}
.qg-footer-social-row a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--qg-gray-300); display: flex;
    align-items: center; justify-content: center;
    color: var(--qg-gray-700); font-size: 15px;
    transition: var(--qg-transition);
}
.qg-footer-social-row a:hover {
    background: var(--qg-orange); border-color: var(--qg-orange); color: var(--qg-white);
}

/* ---- PORTFOLIO PAGE (Shopify Theme Store Style) ---- */
.qg-pf-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 20px; margin-bottom: 10px;
    border-bottom: 1px solid var(--qg-gray-200);
}
.qg-pf-count { font-size: 14px; color: var(--qg-black); font-weight: 600; }
.qg-pf-clear { font-size: 13px; color: var(--qg-orange); text-decoration: none; }
.qg-pf-clear:hover { text-decoration: underline; }

/* Filter Sidebar */
.qg-pf-filter-group {
    border-bottom: 1px solid var(--qg-gray-200); padding-bottom: 16px; margin-bottom: 16px;
}
.qg-pf-filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.qg-pf-filter-title {
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 700; font-size: 14px; color: var(--qg-black);
    cursor: pointer; padding: 4px 0; user-select: none;
}
.qg-pf-filter-title i { font-size: 11px; color: var(--qg-gray-500); transition: var(--qg-transition); }
.qg-pf-filter-title[aria-expanded="false"] i { transform: rotate(180deg); }
.qg-pf-filter-options { padding-top: 14px; }

/* Checkbox */
.qg-pf-checkbox {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; cursor: pointer; font-size: 14px; color: var(--qg-gray-700);
    transition: var(--qg-transition); position: relative;
}
.qg-pf-checkbox:hover { color: var(--qg-black); }
.qg-pf-checkbox input { display: none; }
.qg-pf-check-mark {
    width: 18px; height: 18px; border: 2px solid var(--qg-gray-300);
    border-radius: 4px; flex-shrink: 0; display: flex; align-items: center;
    justify-content: center; transition: var(--qg-transition);
}
.qg-pf-checkbox input:checked ~ .qg-pf-check-mark {
    background: var(--qg-orange); border-color: var(--qg-orange);
}
.qg-pf-checkbox input:checked ~ .qg-pf-check-mark::after {
    content: '✓'; color: #fff; font-size: 11px; font-weight: 700;
}
.qg-pf-check-label { flex: 1; }
.qg-pf-check-count { font-size: 12px; color: var(--qg-gray-500); }

/* Project Cards */
.qg-pf-card {
    display: block; text-decoration: none; color: var(--qg-black);
    border-radius: var(--qg-radius); overflow: hidden;
    transition: var(--qg-transition); height: 100%;
}
.qg-pf-card:hover { color: var(--qg-black); }
.qg-pf-card:not(.qg-pf-card-scroll):hover .qg-pf-card-img img { transform: scale(1.03); }

.qg-pf-card-img {
    aspect-ratio: 2/3; overflow: hidden; border-radius: var(--qg-radius);
    border: 1px solid var(--qg-gray-200); background: var(--qg-gray-100);
}
.qg-pf-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

/* ----- Scroll-on-hover variant (long screenshots) ----- */
.qg-pf-card.qg-pf-card-scroll .qg-pf-card-img {
    position: relative;
}
.qg-pf-card.qg-pf-card-scroll .qg-pf-card-img img {
    width: 100%; height: auto; object-fit: unset;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.qg-pf-card.qg-pf-card-scroll:hover .qg-pf-card-img img {
    transform: translateY(calc(-1 * var(--qg-scroll-dist, 0px)));
    transition: transform var(--qg-scroll-dur, 6s) linear;
}

.qg-pf-card-body { padding: 16px 6px 10px; }
.qg-pf-card-body h5 { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; color: var(--qg-black); }
.qg-pf-card-cat { font-size: 11px; color: var(--qg-orange); background: var(--qg-orange-light); padding: 3px 10px; border-radius: 20px; display: inline-block; font-weight: 500; }

/* Portfolio Card Meta (Category + Tags in one row) */
.qg-pf-card-meta { display:flex; flex-wrap:wrap; gap:5px; margin-top:8px; }
.qg-pf-card-tag { background: transparent; color: var(--qg-gray-600); padding: 2px 8px; border-radius: 14px; font-size: 10px; font-weight: 500; border: 1px solid var(--qg-gray-300); }


/* Portfolio Search */
.qg-pf-search {
    position: relative; margin-bottom: 24px;
}
.qg-pf-search input {
    width: 100%; padding: 12px 16px 12px 42px; border: 1px solid var(--qg-gray-200);
    border-radius: var(--qg-radius); font-family: 'Lexend', sans-serif; font-size: 14px;
    background: var(--qg-white); transition: var(--qg-transition); outline: none;
}
.qg-pf-search input:focus { border-color: var(--qg-orange); box-shadow: 0 0 0 3px rgba(50,39,135,0.08); }
.qg-pf-search i {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--qg-gray-400); font-size: 14px;
}


/* Portfolio Detail Sidebar */
.qg-pf-detail-sidebar .qg-filter-sidebar { position: static; }
@media (min-width: 992px) {
    .qg-pf-detail-sidebar { position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow-y: auto; }
    .qg-pf-detail-sidebar::-webkit-scrollbar { width: 0; }
}

/* Featured Image */
.qg-pf-featured-img {
    border-radius: var(--qg-radius-lg); overflow: hidden;
    border: 1px solid var(--qg-gray-200); margin-bottom: 30px;
    max-height: 600px;
}
.qg-pf-featured-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Gallery Separator */
.qg-gallery-title {
    font-size: 18px; font-weight: 600; margin: 40px 0 20px;
    padding-top: 30px; border-top: 1px solid var(--qg-gray-200);
}

/* Gallery Grid */
.qg-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.qg-gallery-grid a { border-radius: 10px; overflow: hidden; aspect-ratio: 1; display: block; }
.qg-gallery-grid a img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.qg-gallery-grid a:hover img { transform: scale(1.05); }


/* Card Separation */
.qg-pf-card {
    border: 1px solid var(--qg-gray-200); border-radius: var(--qg-radius-lg);
    padding: 10px 10px 6px; background: var(--qg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.qg-pf-card:hover { border-color: var(--qg-orange); box-shadow: 0 8px 24px rgba(50,39,135,0.12); transform: translateY(-3px); }
.qg-pf-card-img { border-radius: 8px; }


/* Pagination */
.qg-pagination {
    display: flex; justify-content: center; align-items: center; gap: 6px;
    margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--qg-gray-200);
}
.qg-pg-btn {
    width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    border: none; border-radius: 10px; font-size: 14px;
    color: var(--qg-black); text-decoration: none; font-weight: 600;
    transition: var(--qg-transition); background: var(--qg-gray-100);
}
.qg-pg-btn:hover { background: var(--qg-black); color: #fff; }
.qg-pg-btn.active { background: var(--qg-orange); color: #fff; box-shadow: 0 4px 12px rgba(50,39,135,0.3); }
.qg-pg-dots { color: var(--qg-gray-400); font-size: 14px; }

/* Mobile 2 cards per row */
@media (max-width: 575px) {
    .qg-pf-card-body h5 { font-size: 13px; }
    .qg-pf-card-meta { gap: 3px; }
    .qg-pf-card-cat, .qg-pf-card-tag { font-size: 10px; padding: 2px 6px; }
    .qg-pf-card { padding: 6px 6px 4px; }
    .qg-pf-card-body { padding: 10px 4px 6px; }
}


/* ---- HORIZONTAL FILTER BAR ---- */
.qg-hf-bar {
    background: var(--qg-gray-100); 
    border-radius: var(--qg-radius); padding: 14px 20px;
    margin-bottom: 24px;
}
.qg-hf-form {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.qg-hf-search {
    position: relative; flex: 0 0 200px;
}
.qg-hf-search input {
    width: 100%; padding: 9px 12px 9px 34px; border: 1px solid var(--qg-gray-200);
    border-radius: 8px; font-family: 'Lexend',sans-serif; font-size: 13px;
    outline: none; transition: var(--qg-transition); background: var(--qg-white);
    color: var(--qg-black);
}
.qg-hf-search input:focus { border-color: var(--qg-orange); box-shadow: 0 0 0 3px rgba(50,39,135,0.08); }
.qg-hf-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--qg-orange); font-size: 13px; }
.qg-hf-dropdown { position: relative; }
.qg-hf-btn {
    display: flex; align-items: center; gap: 6px; padding: 9px 14px;
    border: 1px solid var(--qg-gray-200); border-radius: 8px; background: var(--qg-white);
    font-family: 'Lexend',sans-serif; font-size: 13px; font-weight: 500;
    color: var(--qg-black); cursor: pointer; transition: var(--qg-transition);
    white-space: nowrap;
}
.qg-hf-btn:hover { border-color: var(--qg-orange); color: var(--qg-orange); }
.qg-hf-btn i { font-size: 10px; color: var(--qg-orange); }
.qg-hf-badge {
    background: var(--qg-orange); color: #fff; font-size: 10px; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center;
}
.qg-hf-menu {
    padding: 8px; min-width: 220px; max-height: 280px; overflow-y: auto;
    border: 1px solid var(--qg-gray-200); border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.qg-hf-option {
    display: flex; align-items: center; gap: 8px; padding: 8px 10px;
    font-size: 13px; color: var(--qg-gray-700); cursor: pointer;
    border-radius: 6px; transition: background 0.15s;
}
.qg-hf-option:hover { background: var(--qg-gray-100); }
.qg-hf-option input { display: none; }
.qg-hf-check {
    width: 16px; height: 16px; border: 2px solid var(--qg-gray-300);
    border-radius: 4px; flex-shrink: 0; display: flex; align-items: center;
    justify-content: center; transition: var(--qg-transition);
}
.qg-hf-option input:checked ~ .qg-hf-check {
    background: var(--qg-orange); border-color: var(--qg-orange);
}
.qg-hf-option input:checked ~ .qg-hf-check::after { content: '✓'; color: #fff; font-size: 10px; font-weight: 700; }
.qg-hf-option small { margin-left: auto; color: var(--qg-gray-400); }
.qg-hf-count {
    margin-left: auto; font-size: 13px; color: var(--qg-orange);
    white-space: nowrap; font-weight: 600;
}

/* Active Filter Pills */
.qg-hf-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.qg-hf-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; background: var(--qg-orange-light); color: var(--qg-orange);
    border-radius: 20px; font-size: 12px; font-weight: 500; text-decoration: none;
    transition: var(--qg-transition);
}
.qg-hf-pill:hover { background: var(--qg-orange); color: #fff; }
.qg-hf-pill i { font-size: 10px; }
.qg-hf-clear { font-size: 12px; color: var(--qg-gray-500); text-decoration: none; margin-left: 4px; }
.qg-hf-clear:hover { color: var(--qg-orange); }

/* Mobile filter bar */
@media (max-width: 767px) {
    .qg-hf-search { flex: 1 1 100%; }
    .qg-hf-form { gap: 6px; }
    .qg-hf-btn { padding: 8px 10px; font-size: 12px; }
    .qg-hf-count { flex: 1 1 100%; text-align: right; margin-top: 4px; }
}


/* Search Results */
.qg-search-result-card {
    display: block; padding: 20px; background: var(--qg-white);
    border: 1px solid var(--qg-gray-200); border-radius: var(--qg-radius);
    text-decoration: none; transition: all 0.3s; height: 100%;
}
.qg-search-result-card:hover { border-color: var(--qg-orange); box-shadow: 0 4px 16px rgba(50,39,135,0.1); transform: translateY(-2px); }
.qg-search-result-card h6 { font-size: 15px; font-weight: 600; color: var(--qg-black); margin-bottom: 6px; }
.qg-search-result-card span { font-size: 12px; color: var(--qg-orange); font-weight: 500; }
.qg-search-result-card p { font-size: 13px; color: var(--qg-gray-500); margin: 8px 0 0; line-height: 1.5; }


/* Live Search Results in Overlay */
.qg-search-results {
    max-width: 600px; margin: 0 auto; max-height: 400px; overflow-y: auto;
}
.qg-search-results::-webkit-scrollbar { width: 4px; }
.qg-search-results::-webkit-scrollbar-thumb { background: var(--qg-gray-300); border-radius: 4px; }
.qg-sr-item {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    border-radius: 10px; text-decoration: none; transition: background 0.15s;
    color: var(--qg-black);
}
.qg-sr-item:hover { background: var(--qg-gray-100); }
.qg-sr-item i { color: var(--qg-orange); font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.qg-sr-item-text { flex: 1; }
.qg-sr-item-text strong { display: block; font-size: 15px; font-weight: 500; }
.qg-sr-item-text small { color: var(--qg-gray-500); font-size: 12px; }
.qg-sr-empty { text-align: center; padding: 30px; color: var(--qg-gray-400); font-size: 14px; }
.qg-sr-viewall {
    display: block; text-align: center; padding: 12px; margin-top: 8px;
    color: var(--qg-orange); font-size: 13px; font-weight: 600;
    text-decoration: none; border-top: 1px solid var(--qg-gray-200);
}
.qg-sr-viewall:hover { color: #fff; }

/* Map Embed */
.qg-map-embed { border-radius: 10px; overflow: hidden; margin-bottom: 4px; }
.qg-map-embed iframe { width: 100%; height: 200px; border: none; border-radius: 10px; }


/* Form Validation Errors */
.qg-field-error {
    color: #e74c3c; font-size: 12px; margin-top: 4px; font-weight: 500;
    animation: qgShake 0.3s ease;
}
@keyframes qgShake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}


/* ---- LINKS PAGE ---- */
.qg-links-page { padding: 60px 0 80px; }
.qg-links-profile { text-align: center; margin-bottom: 40px; }
.qg-links-avatar {
    width: 140px; height: 140px; border-radius: 28px;
    background: transparent; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    animation: qgLinkFloat 0.6s ease both;
}
.qg-links-avatar img { max-height: 100px; max-width: 130px; object-fit: contain; }
.qg-links-name {
    font-size: 2rem; font-weight: 800; margin-bottom: 6px;
    background: linear-gradient(90deg, var(--qg-black), var(--qg-orange));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: qgLinkFloat 0.6s 0.1s ease both; opacity: 0;
}
.qg-links-bio {
    font-size: 15px; color: var(--qg-gray-500); max-width: 400px; margin: 0 auto;
    animation: qgLinkFloat 0.6s 0.2s ease both; opacity: 0;
}
.qg-links-divider {
    width: 50px; height: 3px; background: var(--qg-gradient); border-radius: 50px;
    margin: 28px auto; animation: qgLinkFloat 0.5s 0.25s ease both; opacity: 0;
}
.qg-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 650px; margin: 0 auto; }
.qg-link-card {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px;
    background: var(--qg-white); border: 1.5px solid var(--qg-gray-200);
    border-radius: 16px; text-decoration: none; color: var(--qg-black);
    transition: all 0.25s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04); opacity: 0;
    animation: qgLinkFloat 0.5s ease both;
}
.qg-link-card:hover {
    border-color: rgba(50,39,135,0.25); transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1); color: var(--qg-black);
}
.qg-link-card.full { grid-column: span 2; }
.qg-link-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 22px;
}
.qg-link-text { flex: 1; min-width: 0; }
.qg-link-label { font-weight: 700; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; }
.qg-link-sub { font-size: 12px; color: var(--qg-gray-500); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qg-link-arrow { font-size: 14px; color: var(--qg-gray-300); transition: all 0.2s; flex-shrink: 0; }
.qg-link-card:hover .qg-link-arrow { transform: translateX(3px); color: var(--qg-orange); }
.qg-li-website .qg-link-icon { background: var(--qg-orange-light); color: var(--qg-orange); }
.qg-li-instagram .qg-link-icon { background: #ffeef2; color: #E4405F; }
.qg-li-facebook .qg-link-icon { background: #e8f0ff; color: #1877F2; }
.qg-li-linkedin .qg-link-icon { background: #e5f0ff; color: #0A66C2; }
.qg-li-whatsapp .qg-link-icon { background: #e6faf0; color: #25D366; }
.qg-li-phone .qg-link-icon { background: #e6f9f7; color: #14B8A6; }
.qg-li-email .qg-link-icon { background: #fff7e6; color: #F59E0B; }
.qg-li-youtube .qg-link-icon { background: #ffebeb; color: #FF0000; }
.qg-li-map .qg-link-icon { background: #e8f5e9; color: #34A853; }
.qg-li-twitter .qg-link-icon { background: #f0f0f0; color: #000000; }
.qg-link-card:nth-child(1){animation-delay:.30s}.qg-link-card:nth-child(2){animation-delay:.36s}.qg-link-card:nth-child(3){animation-delay:.42s}.qg-link-card:nth-child(4){animation-delay:.48s}.qg-link-card:nth-child(5){animation-delay:.54s}.qg-link-card:nth-child(6){animation-delay:.60s}.qg-link-card:nth-child(7){animation-delay:.66s}.qg-link-card:nth-child(8){animation-delay:.72s}.qg-link-card:nth-child(9){animation-delay:.78s}.qg-link-card:nth-child(10){animation-delay:.84s}.qg-link-card:nth-child(11){animation-delay:.90s}.qg-link-card:nth-child(12){animation-delay:.96s}
@keyframes qgLinkFloat { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
@media (max-width: 575px) {
    .qg-links-grid { grid-template-columns: 1fr; }
    .qg-link-card.full { grid-column: span 1; }
    .qg-links-name { font-size: 1.6rem; }
}


/* Enhanced Micro-interactions */
.qg-btn { transition: all 0.3s cubic-bezier(.16,1,.3,1); }
.qg-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(50,39,135,0.25); }
.qg-btn-outline:hover { transform: translateY(-2px); }

/* Section headers bolder */
.qg-section-title { letter-spacing: -0.5px; }

/* Card lift everywhere */
.qg-form-card { transition: all 0.3s; }
.qg-form-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.06); }
.qg-contact-info-card { transition: all 0.3s cubic-bezier(.16,1,.3,1); }
.qg-contact-info-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.08); }


/* ---- HOMEPAGE SERVICE CARDS (new) ---- */
.qg-hp-svc-card {
    background: var(--qg-white); border: 1px solid var(--qg-gray-200); border-radius: 16px;
    padding: 28px; height: 100%; transition: all 0.35s cubic-bezier(.16,1,.3,1);
    position: relative; overflow: hidden;
}
.qg-hp-svc-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--qg-gradient); transform: scaleX(0); transition: transform 0.35s cubic-bezier(.16,1,.3,1);
    transform-origin: left;
}
.qg-hp-svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.06); }
.qg-hp-svc-card:hover::after { transform: scaleX(1); }
.qg-hp-svc-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.qg-hp-svc-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--qg-orange-light); color: var(--qg-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0; transition: all 0.3s;
}
.qg-hp-svc-card:hover .qg-hp-svc-icon { background: var(--qg-orange); color: #fff; }
.qg-hp-svc-head h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.qg-hp-svc-head h4 a { color: var(--qg-black); text-decoration: none; }
.qg-hp-svc-head p { font-size: 13px; color: var(--qg-gray-400); margin: 0; }
.qg-hp-svc-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    margin-bottom: 16px;
}
.qg-hp-svc-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border-radius: 10px; text-decoration: none; color: var(--qg-gray-700);
    font-size: 13px; font-weight: 500; transition: all 0.2s;
    background: var(--qg-gray-100); border: 1px solid transparent;
}
.qg-hp-svc-item:hover { background: var(--qg-orange-light); color: var(--qg-orange); border-color: rgba(50,39,135,0.15); }
.qg-hp-svc-item i { font-size: 9px; color: var(--qg-orange); }
.qg-hp-svc-more {
    display: inline-flex; align-items: center; gap: 6px; font-size: 13px;
    font-weight: 600; color: var(--qg-orange); text-decoration: none;
    padding: 8px 0; transition: gap 0.2s;
}
.qg-hp-svc-more:hover { gap: 10px; }

@media (max-width: 767px) {
    .qg-hp-svc-grid { grid-template-columns: 1fr; }
    .qg-hp-svc-head h4 { font-size: 16px; }
}
.qg-filter-pill{display:inline-flex;align-items:center;padding:8px 20px;border-radius:50px;font-size:13px;font-weight:600;text-decoration:none;color:var(--qg-gray-600);background:var(--qg-gray-100);border:1px solid transparent;transition:all 0.2s}
.qg-filter-pill:hover{color:var(--qg-orange);border-color:rgba(50,39,135,0.2);background:var(--qg-orange-light)}
.qg-filter-pill.active{color:#fff;background:var(--qg-orange);border-color:var(--qg-orange)}


/* ---- HOMEPAGE ABOUT SECTION ---- */
.qg-home-about {
    background: linear-gradient(135deg, #F5F3FB 0%, #ECEAF7 100%);
    position: relative;
    overflow: hidden;
}
.qg-home-about::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(50,39,135,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.qg-home-about::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(50,39,135,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.qg-home-about .container { position: relative; z-index: 1; }

/* ---- ABOUT PAGE STATS ---- */
.qg-about-stats {
    background: var(--qg-white);
    padding: 80px 0;
}
.qg-stats-grid-centered { max-width: 900px; margin: 0 auto; }
.qg-stats-grid-centered .qg-stat-item { text-align: center; padding: 0 20px; }



/* ---- CAREER CARDS - DUAL BUTTONS ---- */
.qg-career-card { display: block; }
.qg-career-actions { display: flex; gap: 10px; margin-top: 4px; }
.qg-btn-career-quick, .qg-btn-career-apply {
    flex: 1; display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; padding: 11px 18px; font-size: 13px; font-weight: 600;
    border-radius: 8px; text-decoration: none; border: none; cursor: pointer;
    transition: all 0.2s; font-family: inherit;
}
.qg-btn-career-quick {
    background: var(--qg-gray-100); color: var(--qg-gray-700);
    border: 1px solid var(--qg-gray-200);
}
.qg-btn-career-quick:hover {
    background: var(--qg-gray-200); color: var(--qg-black);
}
.qg-btn-career-apply {
    background: var(--qg-orange); color: #fff;
}
.qg-btn-career-apply:hover {
    background: var(--qg-orange-dark); color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(50,39,135,0.3);
}

/* ---- JOB DETAIL PAGE ---- */
.qg-job-detail-card, .qg-job-apply-form {
    background: #fff; border: 1px solid var(--qg-gray-200);
    border-radius: 16px; padding: 32px;
}
.qg-job-detail-head h1 {
    font-size: 28px; margin-bottom: 12px; color: var(--qg-black);
}
.qg-job-detail-meta {
    display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px;
    padding-bottom: 24px; border-bottom: 1px solid var(--qg-gray-200);
}
.qg-job-detail-meta span {
    font-size: 13px; color: var(--qg-gray-600); font-weight: 500;
}
.qg-job-detail-meta i { color: var(--qg-orange); margin-right: 4px; }
.qg-job-detail-body { font-size: 15px; line-height: 1.8; color: var(--qg-gray-600); }
.qg-job-detail-body h5 { font-size: 17px; margin: 16px 0 10px; color: var(--qg-black); font-weight: 700; }
.qg-job-detail-body h6 { font-size: 15px; margin: 14px 0 8px; color: var(--qg-black); font-weight: 600; }
.qg-job-detail-body ul, .qg-job-detail-body ol { padding-left: 22px; margin-bottom: 14px; }
.qg-job-detail-body p { margin-bottom: 14px; }
.qg-job-share {
    margin-top: 24px; padding-top: 20px;
    border-top: 1px solid var(--qg-gray-200);
    display: flex; align-items: center; gap: 10px;
}
.qg-job-share span { font-size: 13px; color: var(--qg-gray-500); margin-right: 4px; }
.qg-job-share a, .qg-job-share button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--qg-gray-100); color: var(--qg-gray-600);
    border: none; cursor: pointer; text-decoration: none;
    font-size: 14px; transition: all 0.2s;
}
.qg-job-share a:hover, .qg-job-share button:hover {
    background: var(--qg-orange); color: #fff;
}
.qg-job-apply-form h4 {
    font-size: 18px; font-weight: 700; color: var(--qg-black);
    margin-bottom: 4px;
}
.qg-job-apply-form .qg-form-field { margin-bottom: 14px; }
.qg-job-apply-form label {
    font-size: 12px; font-weight: 600; color: var(--qg-gray-600);
    margin-bottom: 6px; display: block;
}
.qg-job-apply-form input, .qg-job-apply-form textarea {
    width: 100%; padding: 10px 14px; font-size: 14px;
    border: 1px solid var(--qg-gray-200); border-radius: 8px;
    font-family: inherit; transition: border 0.2s;
}
.qg-job-apply-form input:focus, .qg-job-apply-form textarea:focus {
    outline: none; border-color: var(--qg-orange);
}

@media (max-width: 575px) {
    .qg-career-actions { flex-direction: column; }
    .qg-job-detail-card, .qg-job-apply-form { padding: 20px; }
    .qg-job-detail-head h1 { font-size: 22px; }
}


/* ============================================================
   TCP BRAND OVERRIDES  (purple #322787 + red #f70000, white BG)
   Appended to base sheet — intentionally last so these win.
   ============================================================ */
:root {
    /* Primary becomes TCP purple (already swapped from orange via sed) */
    --qg-orange:        #322787;
    --qg-orange-dark:   #241B62;
    --qg-orange-light:  #ECEAF7;
    --qg-orange-glow:   rgba(50, 39, 135, 0.08);

    /* TCP red — secondary accent */
    --tcp-red:          #f70000;
    --tcp-red-dark:     #c70000;
    --tcp-red-light:    #FFEBEB;

    /* Solid backgrounds (no soft pastel gradients) */
    --qg-gradient:        linear-gradient(135deg, #322787 0%, #5247A8 100%);
    --qg-gradient-soft:   linear-gradient(135deg, #FFFFFF 0%, #F7F8FA 100%);
    --qg-gradient-hero:   #FFFFFF;
    --qg-gradient-section:#FFFFFF;
}

/* Force white background — but ONLY for body and unspecified sections.
   Sections that need dark/purple bg (tcp-stat-strip, .qg-dark-section, or any
   section with inline background style) must keep their own background. */
body { background: #FFFFFF !important; }
section:not([style*="background"]):not(.tcp-stat-strip):not(.qg-dark-section):not(.qg-cta-section):not(.qg-breadcrumb) {
    background: #FFFFFF;
}
.qg-hero:not([style*="background"]) { background: #FFFFFF; }
.qg-bg-light {
    background: #F7F8FA !important;
}

/* Display headings — slightly more formal serif option for h1/h2 */
h1, h2,
.qg-section-title,
.qg-hero-title,
.qg-page-title {
    font-family: 'Playfair Display', 'Lexend', Georgia, serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
}

/* TCP red accent — h1/h2 inline <span> highlights */
h1 span, h2 span,
.qg-hero-title span,
.qg-section-title span {
    color: var(--tcp-red) !important;
    font-style: normal;
}

/* Section tag — purple tint */
.qg-section-tag {
    background: var(--qg-orange-light);
    color: var(--qg-orange);
    border: 1px solid rgba(50,39,135,0.15);
}

/* Primary button — solid purple */
.qg-btn-primary {
    background: var(--qg-orange);
    color: #FFFFFF;
    border: 1px solid var(--qg-orange);
}
.qg-btn-primary:hover {
    background: var(--qg-orange-dark);
    border-color: var(--qg-orange-dark);
    color: #FFFFFF;
}

/* Red CTA — high-impact actions */
.qg-btn-red, .qg-btn-cta {
    background: var(--tcp-red);
    color: #FFFFFF;
    border: 1px solid var(--tcp-red);
    box-shadow: 0 4px 14px rgba(247,0,0,0.22);
}
.qg-btn-red:hover, .qg-btn-cta:hover {
    background: var(--tcp-red-dark);
    border-color: var(--tcp-red-dark);
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Outline button — purple border */
.qg-btn-outline {
    background: transparent;
    color: var(--qg-orange);
    border: 1.5px solid var(--qg-orange);
}
.qg-btn-outline:hover {
    background: var(--qg-orange);
    color: #FFFFFF;
}

/* Top utility strip */
.qg-topstrip { background: #0F0926; color: rgba(255,255,255,0.85); padding: 10px 0; font-size: 12.5px; }
.qg-topstrip-inner { display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.qg-topstrip-tag { color: rgba(255,255,255,0.85); font-weight: 500; }
.qg-topstrip-tag i { color: var(--tcp-red); margin-right: 6px; }
.qg-topstrip-meta { display:flex; gap:18px; flex-wrap:wrap; }
.qg-topstrip-meta a { color: rgba(255,255,255,0.7); transition: color .2s; }
.qg-topstrip-meta a:hover { color: #FFFFFF; }
.qg-topstrip-meta i { margin-right: 5px; opacity:.7; }
@media(max-width:767px){
    .qg-topstrip{font-size:11.5px;text-align:center}
    .qg-topstrip-inner{justify-content:center}
    .qg-topstrip-tag{display:none}
}

/* Header — taller, formal, white BG */
.qg-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E8E8E8;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
    position: sticky; top: 0; z-index: 100;
}
.qg-logo img { height: 56px; width: auto; }
.qg-nav-list a { font-weight: 500; color: #1A1A1A; }
.qg-nav-list a:hover, .qg-nav-list a.qg-active {
    color: var(--qg-orange);
}
.qg-nav-cta {
    background: var(--tcp-red) !important;
    color: #FFFFFF !important;
    padding: 9px 18px !important;
    border-radius: 6px;
    font-weight: 600 !important;
}
.qg-nav-cta:hover { background: var(--tcp-red-dark) !important; color: #FFFFFF !important; }

/* Card hover — subtle, formal */
.qg-card {
    background: #FFFFFF;
    border: 1px solid #ECECEC;
    border-radius: 8px;
    box-shadow: none;
    transition: all .25s ease;
}
.qg-card:hover {
    border-color: rgba(50,39,135,0.3);
    box-shadow: 0 6px 24px rgba(50,39,135,0.08);
    transform: translateY(-2px);
}

/* Service category icon background — purple wash */
.qg-service-icon, .qg-svc-icon {
    background: var(--qg-orange-light) !important;
    color: var(--qg-orange) !important;
}

/* Stat / counter — formal */
.qg-stat-card, .adm-stat {
    background: #FFFFFF;
    border: 1px solid #ECECEC;
    border-radius: 8px;
}
.qg-stat-card .qg-stat-num, .qg-stat-num {
    color: var(--qg-orange);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Footer — deep purple */
.qg-footer { background: #1A1238; color: rgba(255,255,255,0.7); }
.qg-footer-cta {
    background: linear-gradient(135deg, var(--qg-orange) 0%, var(--qg-orange-dark) 100%);
    padding: 56px 0;
}
.qg-footer-cta-inner {
    display: flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap;
}
.qg-footer-cta-text h3 {
    color: #FFFFFF; font-size: 1.8rem; margin-bottom: 6px;
    font-family: 'Playfair Display', serif; font-weight: 600;
}
.qg-footer-cta-text p { color: rgba(255,255,255,0.85); margin: 0; font-size: 15px; }
.qg-footer-main { padding: 64px 0 32px; }
.qg-footer h5 { color: #FFFFFF; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.qg-footer-widget ul { list-style: none; padding: 0; margin: 0; }
.qg-footer-widget ul li { margin-bottom: 10px; }
.qg-footer-widget ul a { color: rgba(255,255,255,0.62); font-size: 13.5px; transition: color .2s; }
.qg-footer-widget ul a:hover { color: var(--tcp-red); }
.qg-footer-contact p { color: rgba(255,255,255,0.62); font-size: 13.5px; margin-bottom: 8px; line-height: 1.5; }
.qg-footer-contact i { color: var(--qg-orange); margin-right: 8px; width: 14px; }

.qg-footer-socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8);
    font-size: 14px; transition: all .2s; text-decoration: none; margin-right: 6px;
}
.qg-footer-socials a:hover { background: var(--tcp-red); color: #FFFFFF; transform: translateY(-2px); }

/* Hero — clean white with red span accent */
.qg-hero {
    background: #FFFFFF;
    padding: 80px 0 100px;
    position: relative;
    border-bottom: 1px solid #F0F0F0;
}
.qg-hero-tag {
    display: inline-block;
    background: var(--qg-orange-light);
    color: var(--qg-orange);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(50,39,135,0.15);
}
.qg-hero-title { font-size: 3.4rem; line-height: 1.15; color: #1A1238; margin-bottom: 22px; }
.qg-hero-desc { font-size: 17px; color: #555; line-height: 1.65; margin-bottom: 28px; max-width: 640px; }
.qg-hero-btns { display:flex; gap:14px; flex-wrap:wrap; }

/* Breadcrumb hero — formal banner */
.qg-breadcrumb {
    background: linear-gradient(135deg, #1A1238 0%, #322787 100%);
    color: #FFFFFF;
    padding: 70px 0 50px;
    text-align: center;
}
.qg-breadcrumb h1 {
    color: #FFFFFF;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 2.6rem;
    margin-bottom: 12px;
}
.qg-breadcrumb nav { font-size: 13.5px; color: rgba(255,255,255,0.75); }
.qg-breadcrumb nav a { color: rgba(255,255,255,0.85); text-decoration: none; }
.qg-breadcrumb nav a:hover { color: var(--tcp-red); }
.qg-bc-active { color: var(--tcp-red); font-weight: 500; }
.qg-bc-sep { margin: 0 10px; opacity: .5; font-size: 10px; }

/* Floating WhatsApp */
.qg-whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: #FFFFFF;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; box-shadow: 0 4px 14px rgba(37,211,102,0.4);
    z-index: 999; transition: all .2s; text-decoration: none;
}
.qg-whatsapp-float:hover { transform: scale(1.08); color: #FFFFFF; }

/* Back-to-top — right side, stacked above the WhatsApp float */
.qg-back-top {
    position: fixed;
    bottom: 90px;        /* sits above WhatsApp float (which is at bottom: 24px, height 54px + 12px gap) */
    right: 24px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--qg-orange);
    color: #FFFFFF !important;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s, transform .25s, visibility .25s, background .2s;
    box-shadow: 0 6px 16px rgba(50,39,135,0.35);
    z-index: 998;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.qg-back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.qg-back-top:hover { background: var(--tcp-red, #f70000); transform: translateY(-3px); }
@media (max-width: 575px){
    .qg-back-top { bottom: 80px; right: 18px; width: 40px; height: 40px; }
}

/* Preloader (drop "Quite Good" branding text — use logo instead) */
#qg-preloader { background: #FFFFFF; }
.qg-pl-logo { color: var(--qg-orange) !important; }
.qg-pl-q { color: var(--tcp-red) !important; }
.qg-pl-line-fill { background: var(--tcp-red) !important; }

/* Mega menu — keep but soften */
.qg-mega-menu {
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.qg-mega-svc:hover { color: var(--qg-orange); }
.qg-mega-svc:hover i { color: var(--tcp-red); }

/* Project cost pill */
.tcp-cost-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--qg-orange-light); color: var(--qg-orange);
    padding: 5px 12px; border-radius: 100px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px; font-weight: 600;
    border: 1px solid rgba(50,39,135,0.15);
}
.tcp-cost-pill.large { font-size: 17px; padding: 7px 16px; }

/* Highlight bar (used on stats/about) */
.tcp-accent-bar {
    width: 60px; height: 4px;
    background: var(--tcp-red);
    border-radius: 2px; margin-bottom: 18px;
}

/* Equipment / machinery card */
.tcp-eq-card {
    background: #FFFFFF;
    border: 1px solid #ECECEC;
    border-radius: 8px;
    padding: 22px;
    transition: all .25s;
    height: 100%;
    position: relative;
}
.tcp-eq-card:hover { border-color: var(--qg-orange); box-shadow: 0 6px 20px rgba(50,39,135,0.08); }
.tcp-eq-icon {
    width: 48px; height: 48px; border-radius: 10px;
    background: var(--qg-orange-light); color: var(--qg-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 14px;
}
.tcp-eq-qty {
    position: absolute; top: 18px; right: 18px;
    background: var(--tcp-red-light); color: var(--tcp-red);
    padding: 3px 10px; border-radius: 100px;
    font-size: 11.5px; font-weight: 700;
    font-family: 'Lexend', monospace;
}
.tcp-eq-card h6 {
    font-size: 15px; font-weight: 600; color: #1A1238;
    margin-bottom: 4px; line-height: 1.35;
}
.tcp-eq-card .tcp-eq-make { font-size: 12.5px; color: #666; margin-bottom: 8px; }
.tcp-eq-card .tcp-eq-cap {
    font-size: 13px; color: var(--qg-orange);
    font-weight: 500;
}

/* Project card — for projects.php grid */
.tcp-project-card {
    background: #FFFFFF;
    border: 1px solid #ECECEC;
    border-radius: 10px;
    overflow: hidden;
    transition: all .25s;
    height: 100%;
    display: flex; flex-direction: column;
}
.tcp-project-card:hover {
    border-color: var(--qg-orange);
    box-shadow: 0 8px 28px rgba(50,39,135,0.08);
    transform: translateY(-3px);
}
.tcp-project-card .tcp-pc-img {
    height: 200px; background: var(--qg-orange-light);
    background-size: cover; background-position: center;
    position: relative;
}
.tcp-project-card .tcp-pc-img-fallback {
    height: 100%; display: flex; align-items: center; justify-content: center;
    color: var(--qg-orange); opacity: .5; font-size: 64px;
}
.tcp-project-card .tcp-pc-cat {
    position: absolute; top: 14px; left: 14px;
    background: rgba(255,255,255,0.95);
    color: var(--qg-orange);
    padding: 4px 12px; border-radius: 100px;
    font-size: 11.5px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.tcp-project-card .tcp-pc-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.tcp-project-card h3 {
    font-size: 17px; font-weight: 600; line-height: 1.4;
    margin-bottom: 12px; color: #1A1238;
    font-family: 'Lexend', sans-serif !important;
}
.tcp-project-card .tcp-pc-meta {
    font-size: 12.5px; color: #777;
    margin-bottom: 12px; line-height: 1.5;
}
.tcp-project-card .tcp-pc-meta strong { color: #333; }
.tcp-project-card .tcp-pc-foot {
    margin-top: auto; padding-top: 14px;
    border-top: 1px solid #F0F0F0;
    display: flex; align-items: center; justify-content: space-between;
}
.tcp-pc-foot .tcp-pc-date { font-size: 12px; color: #999; }
.tcp-featured-badge {
    background: var(--tcp-red); color: #FFFFFF;
    padding: 3px 10px; border-radius: 100px;
    font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* Page title (used by breadcrumb-replacement page heros) */
.qg-page-title { font-size: 2.6rem; }

/* Filter pill bar */
.tcp-filter-bar {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 36px;
    padding-bottom: 22px;
    border-bottom: 1px solid #ECECEC;
}
.tcp-filter-pill {
    padding: 8px 16px; border-radius: 100px;
    background: #FFFFFF; border: 1px solid #DDDDDD;
    color: #555; font-size: 13px; font-weight: 500;
    text-decoration: none; transition: all .2s;
    display: inline-flex; align-items: center; gap: 6px;
}
.tcp-filter-pill:hover { border-color: var(--qg-orange); color: var(--qg-orange); }
.tcp-filter-pill.active { background: var(--qg-orange); color: #FFFFFF; border-color: var(--qg-orange); }
.tcp-filter-pill .tcp-filter-count {
    background: rgba(255,255,255,0.18); color: inherit;
    padding: 1px 7px; border-radius: 100px;
    font-size: 11px; font-weight: 700;
    margin-left: 4px;
}
.tcp-filter-pill:not(.active) .tcp-filter-count {
    background: #F0F0F0; color: #888;
}

/* Stat strip (homepage achievements) */
.tcp-stat-strip {
    background: linear-gradient(135deg, #1A1238 0%, #322787 100%);
    color: #FFFFFF;
    padding: 56px 0;
}
.tcp-stat-strip .tcp-stat-num {
    color: #FFFFFF; font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700; line-height: 1;
}
.tcp-stat-strip .tcp-stat-num span { color: var(--tcp-red); }
.tcp-stat-strip .tcp-stat-label {
    color: rgba(255,255,255,0.75);
    font-size: 13.5px; margin-top: 8px;
}

/* Ensure no orphan QG-isms */
.qg-hero-orbit-ring, .qg-hero-orbit-item, .qg-hero-dot { display: none !important; }

/* ==============================================================
   FIX: breadcrumb h1/nav visibility on dark purple gradient
   (overrides earlier .qg-breadcrumb-content h1 = qg-black rule)
   ============================================================== */
.qg-breadcrumb,
section.qg-breadcrumb {
    background: linear-gradient(135deg, #1A1238 0%, #322787 100%) !important;
    padding: 110px 0 50px !important;
    text-align: center;
    border-bottom: 0;
}
.qg-breadcrumb .qg-breadcrumb-content { text-align: center; }
.qg-breadcrumb .qg-breadcrumb-content h1,
section.qg-breadcrumb h1 {
    color: #FFFFFF !important;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 2.6rem;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.qg-breadcrumb .qg-breadcrumb-content nav,
section.qg-breadcrumb nav {
    font-size: 13.5px;
    color: rgba(255,255,255,0.8) !important;
}
.qg-breadcrumb .qg-breadcrumb-content nav a,
section.qg-breadcrumb nav a {
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
}
.qg-breadcrumb nav a:hover,
section.qg-breadcrumb nav a:hover { color: var(--tcp-red) !important; }
.qg-breadcrumb .qg-bc-active,
section.qg-breadcrumb .qg-bc-active { color: var(--tcp-red) !important; font-weight: 500; }
.qg-breadcrumb .qg-bc-sep,
section.qg-breadcrumb .qg-bc-sep { margin: 0 10px; opacity: .55; font-size: 10px; color: #fff; }
@media(max-width:767px) {
    .qg-breadcrumb,
    section.qg-breadcrumb { padding: 90px 0 36px !important; }
    .qg-breadcrumb h1 { font-size: 1.7rem !important; }
}

/* ==============================================================
   SIMPLE DROPDOWN MENU (replaces mega menu for Services)
   ============================================================== */
.qg-dropdown.qg-dropdown-simple { position: relative; }

/* Invisible hover bridge between parent link and menu — keeps the dropdown
   open while the cursor moves down to the menu items */
.qg-dropdown.qg-dropdown-simple::after {
    content: '';
    position: absolute;
    top: 100%; left: 0;
    width: 100%; height: 14px;
    background: transparent;
    pointer-events: none;
}
.qg-dropdown.qg-dropdown-simple:hover::after,
.qg-dropdown.qg-dropdown-simple.qg-dd-open::after {
    pointer-events: all;
}

.qg-dropdown.qg-dropdown-simple .qg-simple-menu {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: 100%;
    margin-top: 14px;
    left: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid #ECECEC;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(50,39,135,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s, visibility .2s, transform .2s;
    z-index: 1000;
    pointer-events: none;
}
/* Visual bridge — extends the menu's hit area UP to touch the parent link */
.qg-dropdown.qg-dropdown-simple .qg-simple-menu::before {
    content: '';
    position: absolute;
    top: -14px; left: 0;
    width: 100%; height: 14px;
    background: transparent;
}
.qg-dropdown.qg-dropdown-simple:hover .qg-simple-menu,
.qg-dropdown.qg-dropdown-simple.qg-dd-open .qg-simple-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}
.qg-simple-menu li { margin: 0; padding: 0; }
.qg-simple-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #1A1238 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background .15s, color .15s;
}
.qg-simple-menu li a:hover {
    background: var(--qg-orange-light);
    color: var(--qg-orange) !important;
}
.qg-simple-menu li a i {
    width: 22px;
    text-align: center;
    color: var(--qg-orange);
    font-size: 14px;
}
@media(max-width: 991px) {
    .qg-dropdown.qg-dropdown-simple .qg-simple-menu { display: none; }
}

/* Hide any leftover QG mega-menu refs */
.qg-mega-menu, .qg-mega-split, .qg-mega-left, .qg-mega-right { display: none !important; }

